diff mbox

[1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250

Message ID 1399542642-10001-1-git-send-email-ajaykumar.rs@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ajay Kumar May 8, 2014, 9:50 a.m. UTC
Adds the PWM nodes to 5250 pinctrl dtsi file.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
 arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Comments

Kim Kukjin May 16, 2014, 12:28 p.m. UTC | #1
Ajay Kumar wrote:
> 
> Adds the PWM nodes to 5250 pinctrl dtsi file.
> 
> Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
> ---
>  arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28
> ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
> index 9a49e68..886cfca 100644
> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
> @@ -351,6 +351,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_bus: i2c7-bus {
>  			samsung,pins = "gpb2-2", "gpb2-3";
>  			samsung,pin-function = <3>;
> --
> 1.7.9.5

Looks good to me, applied this and 2nd one.

Thanks,
Kukjin

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kim Kukjin May 17, 2014, 12:05 a.m. UTC | #2
On 05/16/14 21:28, Kukjin Kim wrote:
> Ajay Kumar wrote:
>>
>> Adds the PWM nodes to 5250 pinctrl dtsi file.
>>
>> Signed-off-by: Ajay Kumar<ajaykumar.rs@samsung.com>
>> ---
>>   arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28
>> ++++++++++++++++++++++++++++
>>   1 file changed, 28 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>> index 9a49e68..886cfca 100644
>> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>> @@ -351,6 +351,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_bus: i2c7-bus {
>>   			samsung,pins = "gpb2-2", "gpb2-3";
>>   			samsung,pin-function =<3>;
>> --
>> 1.7.9.5
>
> Looks good to me, applied this and 2nd one.
>
Oops, I can't find the branch including this patches and your patches in 
my mailbox...can you please send this patches again including 
linux-arm-kernel ml?

- Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ajay kumar May 17, 2014, 8:43 p.m. UTC | #3
Hi Kukjin,

On Sat, May 17, 2014 at 5:35 AM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> On 05/16/14 21:28, Kukjin Kim wrote:
>>
>> Ajay Kumar wrote:
>>>
>>>
>>> Adds the PWM nodes to 5250 pinctrl dtsi file.
>>>
>>> Signed-off-by: Ajay Kumar<ajaykumar.rs@samsung.com>
>>> ---
>>>   arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28
>>> ++++++++++++++++++++++++++++
>>>   1 file changed, 28 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>> index 9a49e68..886cfca 100644
>>> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>> @@ -351,6 +351,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_bus: i2c7-bus {
>>>                         samsung,pins = "gpb2-2", "gpb2-3";
>>>                         samsung,pin-function =<3>;
>>> --
>>> 1.7.9.5
>>
>>
>> Looks good to me, applied this and 2nd one.
>>
> Oops, I can't find the branch including this patches and your patches in my
> mailbox...can you please send this patches again including linux-arm-kernel
> ml?

These patches were created against the "for-next" branch.
Anyways, I will add the branch name and resend after including
linux-arm-kernel ml.

Regards,
Ajay
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
index 9a49e68..886cfca 100644
--- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
@@ -351,6 +351,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_bus: i2c7-bus {
 			samsung,pins = "gpb2-2", "gpb2-3";
 			samsung,pin-function = <3>;