Commit 0654bb3c authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Ulf Hansson

mmc: sdhci-pxav3: Document clocks and additional clock-names property

Now that sdhci-pxav3 driver allows to have more than one IP clock defined,
document both clocks and clock-names properties.
Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 8afdc9cc
...@@ -12,6 +12,10 @@ Required properties: ...@@ -12,6 +12,10 @@ Required properties:
* for "marvell,armada-380-sdhci", two register areas. The first one * for "marvell,armada-380-sdhci", two register areas. The first one
for the SDHCI registers themselves, and the second one for the for the SDHCI registers themselves, and the second one for the
AXI/Mbus bridge registers of the SDHCI unit. AXI/Mbus bridge registers of the SDHCI unit.
- clocks: Array of clocks required for SDHCI; requires at least one for
I/O clock.
- clock-names: Array of names corresponding to clocks property; shall be
"io" for I/O clock and "core" for optional core clock.
Optional properties: Optional properties:
- mrvl,clk-delay-cycles: Specify a number of cycles to delay for tuning. - mrvl,clk-delay-cycles: Specify a number of cycles to delay for tuning.
...@@ -23,6 +27,8 @@ sdhci@d4280800 { ...@@ -23,6 +27,8 @@ sdhci@d4280800 {
reg = <0xd4280800 0x800>; reg = <0xd4280800 0x800>;
bus-width = <8>; bus-width = <8>;
interrupts = <27>; interrupts = <27>;
clocks = <&chip CLKID_SDIO1XIN>, <&chip CLKID_SDIO1>;
clock-names = "io", "core";
non-removable; non-removable;
mrvl,clk-delay-cycles = <31>; mrvl,clk-delay-cycles = <31>;
}; };
...@@ -32,5 +38,6 @@ sdhci@d8000 { ...@@ -32,5 +38,6 @@ sdhci@d8000 {
reg = <0xd8000 0x1000>, <0xdc000 0x100>; reg = <0xd8000 0x1000>, <0xdc000 0x100>;
interrupts = <0 25 0x4>; interrupts = <0 25 0x4>;
clocks = <&gateclk 17>; clocks = <&gateclk 17>;
clock-names = "io";
mrvl,clk-delay-cycles = <0x1F>; mrvl,clk-delay-cycles = <0x1F>;
}; };
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