Skip to content

Commit f97ee8f

Browse files
wangbaolin719storulf
authored andcommitted
dt-bindings: mmc: sprd: Add pinctrl support
When changing SD card voltage signal for Spreadtrum SD host controller, it also need to switch related pin's state. Thus add pinctrl properties' description in documentation. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent eef9e0a commit f97ee8f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/mmc/sdhci-sprd.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Required properties:
1919
Optional properties:
2020
- assigned-clocks: the same with "sdio" clock
2121
- assigned-clock-parents: the default parent of "sdio" clock
22+
- pinctrl-names: should be "default", "state_uhs"
23+
- pinctrl-0: should contain default/high speed pin control
24+
- pinctrl-1: should contain uhs mode pin control
2225

2326
PHY DLL delays are used to delay the data valid window, and align the window
2427
to sampling clock. PHY DLL delays can be configured by following properties,
@@ -50,6 +53,10 @@ sdio0: sdio@20600000 {
5053
assigned-clocks = <&ap_clk CLK_EMMC_2X>;
5154
assigned-clock-parents = <&rpll CLK_RPLL_390M>;
5255

56+
pinctrl-names = "default", "state_uhs";
57+
pinctrl-0 = <&sd0_pins_default>;
58+
pinctrl-1 = <&sd0_pins_uhs>;
59+
5360
sprd,phy-delay-sd-uhs-sdr104 = <0x3f 0x7f 0x2e 0x2e>;
5461
bus-width = <8>;
5562
non-removable;

0 commit comments

Comments
 (0)