[PATCH] ARM: dts: pxa300-raumfeld: Replace deprecated spi-gpio properties
Daniel Mack
daniel at zonque.org
Tue May 16 06:18:49 PDT 2023
On 5/16/23 15:16, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
>
> As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
> 'gpio-miso', 'gpio-mosi' and 'gpio-sck' are deprecated properties.
>
> Use the recommeded 'miso-gpios', 'mosi-gpios' and 'sck-gpios' instead.
>
> Signed-off-by: Fabio Estevam <festevam at denx.de>
Reviewed-by: Daniel Mack <daniel at zonque.org>
> ---
> arch/arm/boot/dts/pxa300-raumfeld-common.dtsi | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi b/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
> index 147c99191dc2..5e93f315588a 100644
> --- a/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
> +++ b/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
> @@ -74,9 +74,9 @@ spi: spi {
> #size-cells = <0>;
> pinctrl-names = "default";
> pinctrl-0 = <&spi_pins>;
> - gpio-sck = <&gpio 95 GPIO_ACTIVE_HIGH>;
> - gpio-miso = <&gpio 98 GPIO_ACTIVE_HIGH>;
> - gpio-mosi = <&gpio 97 GPIO_ACTIVE_HIGH>;
> + sck-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>;
> + miso-gpios = <&gpio 98 GPIO_ACTIVE_HIGH>;
> + mosi-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
> cs-gpios = <
> &gpio 34 GPIO_ACTIVE_HIGH
> &gpio 125 GPIO_ACTIVE_HIGH
More information about the linux-arm-kernel
mailing list