Message ID | 20221004-up-aml-fix-spi-v4-4-0342d8e10c49@baylibre.com |
---|---|
State | Accepted |
Commit | ce759829b8fffac891780611b54a6be26a2d5a5f |
Headers | show |
Series | spi: amlogic: meson-spicc: Use pinctrl to drive CLK line when idle | expand |
On 21/10/2022 15:31, Amjad Ouled-Ameur wrote: > Add SPICC Controller pin nodes for CLK line when idle for Amlogic GXBB > SoCs. > > Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com> > --- > arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi > index 7c029f552a23..923d2d8bbb9c 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi > @@ -427,6 +427,20 @@ mux { > }; > }; > > + spi_idle_high_pins: spi-idle-high-pins { > + mux { > + groups = "spi_sclk"; > + bias-pull-up; > + }; > + }; > + > + spi_idle_low_pins: spi-idle-low-pins { > + mux { > + groups = "spi_sclk"; > + bias-pull-down; > + }; > + }; > + > spi_ss0_pins: spi-ss0 { > mux { > groups = "spi_ss0"; > Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
On Fri, Oct 21, 2022 at 3:31 PM Amjad Ouled-Ameur <aouledameur@baylibre.com> wrote: > > Add SPICC Controller pin nodes for CLK line when idle for Amlogic GXBB > SoCs. > > Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 7c029f552a23..923d2d8bbb9c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -427,6 +427,20 @@ mux { }; }; + spi_idle_high_pins: spi-idle-high-pins { + mux { + groups = "spi_sclk"; + bias-pull-up; + }; + }; + + spi_idle_low_pins: spi-idle-low-pins { + mux { + groups = "spi_sclk"; + bias-pull-down; + }; + }; + spi_ss0_pins: spi-ss0 { mux { groups = "spi_ss0";
Add SPICC Controller pin nodes for CLK line when idle for Amlogic GXBB SoCs. Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com> --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)