AnsweredAssumed Answered

Warning (interrupts_property) imx6ul

Question asked by Asma Alekar on Sep 19, 2019
Latest reply on Sep 20, 2019 by igorpadykov

Hello Everyone,

I am working on imx6ul evk based custom board. I am getting a warning, which I dont understand what is it?

My device tree is as follows:

&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";

pca9535_0:gpio@20 {
compatible = "nxp,pca9535";
gpio-controller;
#gpio-cells = <2>;
reg = <0x20>;
interrupt-parent = <&gpio1>;
interrupts = <1 8>;
interrupt-controller;
#interrupt-cells = <2>;

gpio-line-names = "MSR_POWER_EN", "n_RS232_SHDN", "ENET_POWER_EN", "ESP32_EN",
"CAMERA_PWDN", "CAMERA_PS_EN", "n_ESP32_BOOT_EN", "PRINTER_DETECT_POWER_EN",
"n_CHARGER_EN", "CHARGER_OTG", "CHARGER_INT", "CHARGER_STAT",
"DOCK_CHARGE_PRES", "LCD_DET", "UART_RS232_POS_CTS", "n_RS232_EN";
status = "okay";
};

pca9535_1:gpio@21 {
compatible = "nxp,pca9535";
gpio-controller;
#gpio-cells = <2>;
reg = <0x21>;
interrupt-controller;
#interrupt-cells = <2>;

gpio-line-names = "SCI_CLKDIV2", "SCI_CLKDIV1", "n_TOUCH_RESET", "5V_DISABLE",
"n_ENET_PWDN", "n_LED_STAT_ORN", "GAUGE_GP_OUT", "n_LED_STAT_GRN",
"n_ENET_RESET", "V_USB_OUT_EN", "n_MSR_RESET", "DC_IN_PRES",
"BATT_DET", "n_CAMERA_RESET", "BL_BOOST_EN", "SCI_1V8_EN";
status = "okay";
};

bq27421: fuel-gauge@55 {
compatible = "ti,bq27421";
reg = <0x55>;
};

bq24195: charger@6b {
compatible = "ti,bq24190";
reg = <0x6b>;
interrupt-parent = <&pca9535_0>;
interrupts = <&pca9535_0 10 IRQ_TYPE_EDGE_FALLING>;
/*monitored-battery = <&bat>;*/
ti,system-minimum-microvolt = <3200000>;
};

};

 

I am getting following warning for charger@6b, Can anybosy explain what is this warning? and how it can be solved?

 

arch/arm/boot/dts/imx6ul-quest-qt850.dtb: Warning (interrupts_property): /soc/aips-bus@2100000/i2c@21a4000/charger@6b:#interrupt-cells: size is (12), expected multiple of 8

 

Thanks,

Asma

Outcomes