Re: [RFT 14/33] ARM: dts: exynos: Replace deprecated GPIO spi-gpio properties in Universal C210

From: Marek Szyprowski
Date: Mon Aug 31 2020 - 05:25:19 EST


On 30.08.2020 15:51, Krzysztof Kozlowski wrote:
> "gpio-sck" and "gpio-mosi" are deprecated so update the DTS to fix
> dtbs_checks warnings like:
>
> arch/arm/boot/dts/exynos4210-universal_c210.dt.yaml: spi-lcd:
> gpio-sck: False schema does not allow [[85, 1, 0]]
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Tested-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> ---
> arch/arm/boot/dts/exynos4210-universal_c210.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
> index 3509fdf8f245..279f0f8f86ed 100644
> --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
> +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
> @@ -124,8 +124,8 @@
> #address-cells = <1>;
> #size-cells = <0>;
>
> - gpio-sck = <&gpy3 1 GPIO_ACTIVE_HIGH>;
> - gpio-mosi = <&gpy3 3 GPIO_ACTIVE_HIGH>;
> + sck-gpios = <&gpy3 1 GPIO_ACTIVE_HIGH>;
> + mosi-gpios = <&gpy3 3 GPIO_ACTIVE_HIGH>;
> num-chipselects = <1>;
> cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>;
>

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland