Hey,
I am trying to port a camera driver from 28.2 to 32.2. I am using the camera porting guide instructions as presented in the link: Tegra Linux Driver.
I am using the tegracam_device_register() function for driver registration.
I use the following regmap values in my driver.
struct regmap_config sensor_regmap_config {
reg_bits = 16;
val_bits = 8;
};
If I do not add the sensor_regmap_config, the dmesg says “regmap init failed: -22”
“tegra camera driver registration failed”
On adding the sensor_regmap_config, the flashing fails.
Unable to handle kernel read from unreadable memory at virtual address 000000000.
Mem abort info:
Exception class = DABT (current EL)
IL = 32 bits
SET = 0
FnV = 0
EA = 0
S1PTW = 0