[PATCH 03/24] ARM: dts: exynos: drop unused pinctrl defines in Exynos3250

Alim Akhtar alim.akhtar at gmail.com
Thu Jan 6 10:20:56 PST 2022


Hello Krzysztof

On Sat, Jan 1, 2022 at 10:42 AM Krzysztof Kozlowski
<krzysztof.kozlowski at canonical.com> wrote:
>
> The PIN_OUT/PIN_OUT_SET/PIN_CFG defines for pin controller pin
> configuration are not used.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
> ---
Thanks!
Reviewed-by: Alim Akhtar <alim.akhtar at samsung.com>

>  arch/arm/boot/dts/exynos3250-pinctrl.dtsi | 25 -----------------------
>  1 file changed, 25 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
> index dff3c6e3aa1f..a616cb1aca29 100644
> --- a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi
> @@ -19,31 +19,6 @@ _pin {                                                               \
>                 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>;            \
>         }
>
> -#define PIN_OUT(_pin, _drv)                                            \
> -       _pin {                                                          \
> -               samsung,pins = #_pin;                                   \
> -               samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;        \
> -               samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;               \
> -               samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>;            \
> -       }
> -
> -#define PIN_OUT_SET(_pin, _val, _drv)                                  \
> -       _pin {                                                          \
> -               samsung,pins = #_pin;                                   \
> -               samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;        \
> -               samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;               \
> -               samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>;            \
> -               samsung,pin-val = <_val>;                               \
> -       }
> -
> -#define PIN_CFG(_pin, _sel, _pull, _drv)                               \
> -       _pin {                                                          \
> -               samsung,pins = #_pin;                                   \
> -               samsung,pin-function = <_sel>;                          \
> -               samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>;           \
> -               samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>;            \
> -       }
> -
>  #define PIN_SLP(_pin, _mode, _pull)                                    \
>         _pin {                                                          \
>                 samsung,pins = #_pin;                                   \
> --
> 2.32.0
>


-- 
Regards,
Alim



More information about the linux-arm-kernel mailing list