From d312ed3e2ba944837638b60f3ba5dc2c0754dad1 Mon Sep 17 00:00:00 2001 From: Huibin Hong Date: Thu, 1 Mar 2018 18:51:46 +0800 Subject: [PATCH] spi/rockchip: add pinctrl state high_speed Change-Id: I2c81fabab31cf5cc07590f38ae517eccd5fa93f2 Signed-off-by: Huibin Hong --- Documentation/devicetree/bindings/spi/spi-rockchip.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.txt b/Documentation/devicetree/bindings/spi/spi-rockchip.txt index 374c669e8230..1e278bacc101 100644 --- a/Documentation/devicetree/bindings/spi/spi-rockchip.txt +++ b/Documentation/devicetree/bindings/spi/spi-rockchip.txt @@ -32,7 +32,7 @@ Optional Properties: - rx-sample-delay-ns: nanoseconds to delay after the SCLK edge before sampling Rx data (may need to be fine tuned for high capacitance lines). No delay (0) by default. - +- pinctrl-names: high_speed for speed is higher than 24MHz Example: @@ -47,4 +47,7 @@ Example: interrupts = ; clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>; clock-names = "spiclk", "apb_pclk"; + pinctrl-names = "default", "high_speed"; + pinctrl-0 = <&spi0_clk &spi0_csn0 &spi0_csn1 &spi0_miso &spi0_mosi>; + pinctrl-1 = <&spi0_clk_hs &spi0_csn0 &spi0_csn1 &spi0_miso_hs &spi0_mosi_hs>; };