Commit a3aaee9f authored by Shawn Guo's avatar Shawn Guo Committed by Ben Hutchings

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

commit a46d2619 upstream.

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>
Acked-by: default avatarChris Ball <cjb@laptop.org>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 63aa21ef
...@@ -10,8 +10,8 @@ Required properties: ...@@ -10,8 +10,8 @@ Required properties:
Optional properties: Optional properties:
- fsl,card-wired : Indicate the card is wired to host permanently - fsl,card-wired : Indicate the card is wired to host permanently
- 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
- cd-gpios : Specify GPIOs for card detection - cd-gpios : Specify GPIOs for card detection
- wp-gpios : Specify GPIOs for write protection - wp-gpios : Specify GPIOs for write protection
...@@ -21,8 +21,8 @@ esdhc@70004000 { ...@@ -21,8 +21,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 {
......
...@@ -29,8 +29,8 @@ soc { ...@@ -29,8 +29,8 @@ soc {
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";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment