Re: [PATCHv4] MIPS: JZ4780: DTS: Add I2C nodes

2019-09-12 Thread kbuild test robot
Hi Alexandre,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc8 next-20190904]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Alexandre-GRIVEAUX/MIPS-JZ4780-DTS-Add-I2C-nodes/20190910-210527
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.4.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>):

>> ERROR: Input tree has errors, aborting (use -f to force output)

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


[PATCHv4] MIPS: JZ4780: DTS: Add I2C nodes

2019-09-10 Thread Alexandre GRIVEAUX
Add the devicetree nodes for the I2C core of the JZ4780 SoC, disabled
by default.

Signed-off-by: Alexandre GRIVEAUX 
---
 arch/mips/boot/dts/ingenic/jz4780.dtsi | 86 ++
 1 file changed, 86 insertions(+)

diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi 
b/arch/mips/boot/dts/ingenic/jz4780.dtsi
index b03cdec56de9..a76ecd69bfd0 100644
--- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
@@ -239,6 +239,92 @@
status = "disabled";
};
 
+   i2c0: i2c@1005 {
+   compatible = "ingenic,jz4780-i2c";
+   #address-cells = <1>;
+   #size-cells = <0>;
+
+   reg = <0x1005 0x1000>;
+
+   interrupt-parent = <>;
+   interrupts = <60>;
+
+   clocks = < JZ4780_CLK_SMB0>;
+   clock-frequency = <10>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c0_data>;
+
+   status = "disabled";
+   };
+
+   i2c1: i2c@10051000 {
+   compatible = "ingenic,jz4780-i2c";
+   #address-cells = <1>;
+   #size-cells = <0>;
+   reg = <0x10051000 0x1000>;
+
+   interrupt-parent = <>;
+   interrupts = <59>;
+
+   clocks = < JZ4780_CLK_SMB1>;
+   clock-frequency = <10>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c1_data>;
+
+   status = "disabled";
+   };
+
+   i2c2: i2c@10052000 {
+   compatible = "ingenic,jz4780-i2c";
+   #address-cells = <1>;
+   #size-cells = <0>;
+   reg = <0x10052000 0x1000>;
+
+   interrupt-parent = <>;
+   interrupts = <58>;
+
+   clocks = < JZ4780_CLK_SMB2>;
+   clock-frequency = <10>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c2_data>;
+
+   status = "disabled";
+   };
+
+   i2c3: i2c@10053000 {
+   compatible = "ingenic,jz4780-i2c";
+   #address-cells = <1>;
+   #size-cells = <0>;
+   reg = <0x10053000 0x1000>;
+
+   interrupt-parent = <>;
+   interrupts = <57>;
+
+   clocks = < JZ4780_CLK_SMB3>;
+   clock-frequency = <10>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c3_data>;
+
+   status = "disabled";
+   };
+
+   i2c4: i2c@10054000 {
+   compatible = "ingenic,jz4780-i2c";
+   #address-cells = <1>;
+   #size-cells = <0>;
+   reg = <0x10054000 0x1000>;
+
+   interrupt-parent = <>;
+   interrupts = <56>;
+
+   clocks = < JZ4780_CLK_SMB4>;
+   clock-frequency = <10>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c4_data>;
+
+   status = "disabled";
+   };
+
watchdog: watchdog@10002000 {
compatible = "ingenic,jz4780-watchdog";
reg = <0x10002000 0x10>;
-- 
2.20.1