Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a46d2619 authored by Shawn Guo's avatar Shawn Guo
Browse files

ARM: dts: imx51-babbage: fix esdhc cd/wp properties



The binding doc and dts use properties "fsl,{cd,wp}-internal" while
esdhc driver uses "fsl,{cd,wp}-controller".  Fix binding doc and dts
to get them match driver code.

Reported-by: default avatarChris Ball <cjb@laptop.org>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Cc: <stable@vger.kernel.org>
Acked-by: default avatarChris Ball <cjb@laptop.org>
parent c944b0b9
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -10,8 +10,8 @@ Required properties:
- compatible : Should be "fsl,<chip>-esdhc"
- compatible : Should be "fsl,<chip>-esdhc"


Optional properties:
Optional properties:
- fsl,cd-internal : Indicate to use controller internal card detection
- fsl,cd-controller : Indicate to use controller internal card detection
- fsl,wp-internal : Indicate to use controller internal write protection
- fsl,wp-controller : Indicate to use controller internal write protection


Examples:
Examples:


@@ -19,8 +19,8 @@ esdhc@70004000 {
	compatible = "fsl,imx51-esdhc";
	compatible = "fsl,imx51-esdhc";
	reg = <0x70004000 0x4000>;
	reg = <0x70004000 0x4000>;
	interrupts = <1>;
	interrupts = <1>;
	fsl,cd-internal;
	fsl,cd-controller;
	fsl,wp-internal;
	fsl,wp-controller;
};
};


esdhc@70008000 {
esdhc@70008000 {
+2 −2
Original line number Original line Diff line number Diff line
@@ -25,8 +25,8 @@
		aips@70000000 { /* aips-1 */
		aips@70000000 { /* aips-1 */
			spba@70000000 {
			spba@70000000 {
				esdhc@70004000 { /* ESDHC1 */
				esdhc@70004000 { /* ESDHC1 */
					fsl,cd-internal;
					fsl,cd-controller;
					fsl,wp-internal;
					fsl,wp-controller;
					status = "okay";
					status = "okay";
				};
				};