Hi All,
I am using IMX6q custom board, where I have to add max14830 SPI to quad uart device
for that I have added an entry in my device tree for max14830 as below:
&ecspi1 {
fsl,spi-num-chipselects = <1>;
cs-gpios = <&gpio4 9 0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1_2>;
status = "okay";
max148300: max14830@0 {
compatible = "maxim,max14830";
reg = <0>;
clocks = <&xtal_max>;
clock-names = "xtal";
spi-max-frequency = <10000000>;
};
&iomuxc
{
MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x1b0b0;
};
and I load the driver max310x.ko, it gives me an error max14830 ID 0x00 does not match.
Can anybody help me where I am going wrong?
TIA,
Arti.