Skip to content

Commit

Permalink
powerpc/85xx: Fix cmd12 bug and add the chip compatible for eSDHC
Browse files Browse the repository at this point in the history
According to latest kernel, the auto-cmd12 property should be
"sdhci,auto-cmd12", and according to the SDHC binding and the workaround for
the special chip, add the chip compatible for eSDHC: "fsl,p1022-esdhc",
"fsl,mpc8536-esdhc", "fsl,p1020-esdhc", "fsl,p2020-esdhc" and
"fsl,p1010-esdhc".

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Jerry Huang authored and Kumar Gala committed Jan 18, 2012
1 parent 0cf572d commit f8b5a31
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
4 changes: 4 additions & 0 deletions arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@
};

/include/ "pq3-esdhc-0.dtsi"
sdhc@2e000 {
compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
};

/include/ "pq3-sec3.0-0.dtsi"
/include/ "pq3-mpic.dtsi"
/include/ "pq3-mpic-timer-B.dtsi"
Expand Down
3 changes: 2 additions & 1 deletion arch/powerpc/boot/dts/fsl/p1010si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@
/include/ "pq3-usb2-dr-0.dtsi"
/include/ "pq3-esdhc-0.dtsi"
sdhc@2e000 {
fsl,sdhci-auto-cmd12;
compatible = "fsl,p1010-esdhc", "fsl,esdhc";
sdhci,auto-cmd12;
};

/include/ "pq3-sec4.4-0.dtsi"
Expand Down
4 changes: 4 additions & 0 deletions arch/powerpc/boot/dts/fsl/p1020si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@
/include/ "pq3-usb2-dr-1.dtsi"

/include/ "pq3-esdhc-0.dtsi"
sdhc@2e000 {
compatible = "fsl,p1020-esdhc", "fsl,esdhc";
sdhci,auto-cmd12;
};
/include/ "pq3-sec3.3-0.dtsi"

/include/ "pq3-mpic.dtsi"
Expand Down
3 changes: 2 additions & 1 deletion arch/powerpc/boot/dts/fsl/p1022si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@

/include/ "pq3-esdhc-0.dtsi"
sdhc@2e000 {
fsl,sdhci-auto-cmd12;
compatible = "fsl,p1022-esdhc", "fsl,esdhc";
sdhci,auto-cmd12;
};

/include/ "pq3-sec3.3-0.dtsi"
Expand Down
4 changes: 4 additions & 0 deletions arch/powerpc/boot/dts/fsl/p2020si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@
/include/ "pq3-etsec1-1.dtsi"
/include/ "pq3-etsec1-2.dtsi"
/include/ "pq3-esdhc-0.dtsi"
sdhc@2e000 {
compatible = "fsl,p2020-esdhc", "fsl,esdhc";
};

/include/ "pq3-sec3.1-0.dtsi"
/include/ "pq3-mpic.dtsi"
/include/ "pq3-mpic-timer-B.dtsi"
Expand Down

0 comments on commit f8b5a31

Please sign in to comment.