Re: [PATCH] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5420

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arun,

On Fri, May 2, 2014 at 5:48 AM, Arun Kumar K <arun.kk@xxxxxxxxxxx> wrote:
> Adds the PWM nodes to 5420 pinctrl dtsi file.
>
> Signed-off-by: Arun Kumar K <arun.kk@xxxxxxxxxxx>
> ---
>  arch/arm/boot/dts/exynos5420-pinctrl.dtsi |   28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> index e62c8eb..ba686e4 100644
> --- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
> @@ -624,6 +624,34 @@
>                         samsung,pin-drv = <0>;
>                 };
>
> +               pwm0_out: pwm0-out {
> +                       samsung,pins = "gpb2-0";
> +                       samsung,pin-function = <2>;
> +                       samsung,pin-pud = <0>;
> +                       samsung,pin-drv = <0>;
> +               };
> +
> +               pwm1_out: pwm1-out {
> +                       samsung,pins = "gpb2-1";
> +                       samsung,pin-function = <2>;
> +                       samsung,pin-pud = <0>;
> +                       samsung,pin-drv = <0>;
> +               };
> +
> +               pwm2_out: pwm2-out {
> +                       samsung,pins = "gpb2-2";
> +                       samsung,pin-function = <2>;
> +                       samsung,pin-pud = <0>;
> +                       samsung,pin-drv = <0>;
> +               };
> +
> +               pwm3_out: pwm3-out {
> +                       samsung,pins = "gpb2-3";
> +                       samsung,pin-function = <2>;
> +                       samsung,pin-pud = <0>;
> +                       samsung,pin-drv = <0>;
> +               };
> +
>                 i2c7_hs_bus: i2c7-hs-bus {
>                         samsung,pins = "gpb2-2", "gpb2-3";
>                         samsung,pin-function = <3>;

Possibly pwm3-out belongs below this one (since the start pin is
"larger" than the start pin of i2c7-hs-bus).  Tomasz probably has a
definite opinion on this.

Otherwise, this looks great to me.  Perhaps you could send up the 5250 one, too?

Reviewed-by: Doug Anderson <dianders@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux