Thread (4 messages) 4 messages, 4 authors, 2016-09-30

RE: [linux-devel] [PATCH v2 1/1] arm64: Add DTS support for FSL's LS1012A SoC

From: Leo Li <hidden>
Date: 2016-09-30 21:29:35
Also in: linux-arm-kernel

-----Original Message-----
From: linux-devel-bounces@gforge.freescale.net [mailto:linux-devel-
bounces@gforge.freescale.net] On Behalf Of Bhaskar U
Sent: Friday, September 30, 2016 4:19 PM
To: Stuart Yoder <redacted>; devicetree@vger.kernel.org;
shawnguo@kernel.org
Cc: oss@buserror.net; linux-devel@gforge.freescale.net; Pratiyush Srivastava
[off-list ref]; Prabhakar Kushwaha
[off-list ref]; linux-arm-kernel@lists.infradead.org
Subject: Re: [linux-devel] [PATCH v2 1/1] arm64: Add DTS support for FSL's
LS1012A SoC


quoted
-----Original Message-----
From: Stuart Yoder
Sent: Friday, September 30, 2016 7:28 PM
To: Bhaskar U <redacted>; devicetree@vger.kernel.org;
shawnguo@kernel.org
Cc: oss@buserror.net; linux-arm-kernel@lists.infradead.org; linux-
devel@gforge.freescale.net; Bhaskar U [off-list ref];
Prabhakar Kushwaha [off-list ref]; Pratiyush Srivastava
[off-list ref]
Subject: RE: [PATCH v2 1/1] arm64: Add DTS support for FSL's LS1012A
SoC
quoted
+		dspi0: dspi@2100000 {
+			compatible = "fsl,ls1012a-dspi",
+				     "fsl,ls1043a-dspi",
+				     "fsl,ls1021a-v1.0-dspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x2100000 0x0 0x10000>;
+			interrupts = <0 64 0x4>;
+			clock-names = "dspi";
+			clocks = <&clockgen 4 0>;
+			spi-num-chipselects = <5>;
+			big-endian;
+			status = "enabled";
"enabled" is not a valid status value.
So shall I put the status = "okay" ?

But there are other nodes like i2c below having status = "enabled", so do we
need to edit them also ? If yes then what should be written in the status ?
i2c0: i2c@2180000 {
                        compatible = "fsl,vf610-i2c";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0x0 0x2180000 0x0 0x10000>;
                        interrupts = <0 56 0x4>;
                        clock-names = "i2c";
                        clocks = <&clockgen 4 0>;
                        status = "enabled";
                };

                i2c1: i2c@2190000 {
                        compatible = "fsl,vf610-i2c";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0x0 0x2190000 0x0 0x10000>;
                        interrupts = <0 57 0x4>;
                        clock-names = "i2c";
                        clocks = <&clockgen 4 0>;
                        status = "enabled";
                };
The default is "okay".  You should just remove these status properties.

Regards,
Leo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help