devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250
@ 2015-05-05  4:07 Pankaj Dubey
  2015-05-05  4:14 ` Krzysztof Kozłowski
  0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Dubey @ 2015-05-05  4:07 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc, devicetree
  Cc: robh+dt, kgene, yadi.brar01, k.kozlowski.k, k.kozlowski,
	Yadwinder Singh Brar

From: Yadwinder Singh Brar <yadi.brar@samsung.com>

This patch adds pinctrl configuration for using configuring gpx3-2 as an
external interrupt from max77686. Though max77686 RTC is enabled and gets
probed by default, it doesnt work as its unable to get interrupt.

This patch makes max77686 RTC work and also configures it as wakeup source.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Pankaj Dubey <pankaj.dubey@samsung.com>
---

Initial version of this patch was part of following series, though
they are not dependent on each other, resubmitting after rebasing
and detaching second one from first patch in the series [1]

[1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/303652.html

 arch/arm/boot/dts/exynos5250-smdk5250.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index bc27cc2..4fe186d 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -131,6 +131,9 @@
 		reg = <0x09>;
 		interrupt-parent = <&gpx3>;
 		interrupts = <2 IRQ_TYPE_NONE>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&max77686_irq>;
+		wakeup-source;
 
 		voltage-regulators {
 			ldo1_reg: LDO1 {
@@ -410,3 +413,12 @@
 		};
 	};
 };
+
+&pinctrl_0 {
+	max77686_irq: max77686-irq {
+		samsung,pins = "gpx3-2";
+		samsung,pin-function = <0xf>;
+		samsung,pin-pud = <0>;
+		samsung,pin-drv = <0>;
+	};
+};
-- 
2.2.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RESEND-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250
  2015-05-05  4:07 [RESEND-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250 Pankaj Dubey
@ 2015-05-05  4:14 ` Krzysztof Kozłowski
  2015-05-05  4:35   ` Pankaj Dubey
  2015-05-05 21:40   ` Kukjin Kim
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozłowski @ 2015-05-05  4:14 UTC (permalink / raw)
  To: Pankaj Dubey
  Cc: linux-arm-kernel, linux-samsung-soc, devicetree, robh+dt, kgene,
	yadi.brar01, Kozik, Yadwinder Singh Brar

2015-05-05 13:07 GMT+09:00 Pankaj Dubey <pankaj.dubey@samsung.com>:
> From: Yadwinder Singh Brar <yadi.brar@samsung.com>
>
> This patch adds pinctrl configuration for using configuring gpx3-2 as an
> external interrupt from max77686. Though max77686 RTC is enabled and gets
> probed by default, it doesnt work as its unable to get interrupt.
>
> This patch makes max77686 RTC work and also configures it as wakeup source.
>
> Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> Tested-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> ---
>
> Initial version of this patch was part of following series, though
> they are not dependent on each other, resubmitting after rebasing
> and detaching second one from first patch in the series [1]
>
> [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/303652.html

Thanks, but now it needs your Signed-off-by because you touched it.

Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RESEND-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250
  2015-05-05  4:14 ` Krzysztof Kozłowski
@ 2015-05-05  4:35   ` Pankaj Dubey
  2015-05-05 21:40   ` Kukjin Kim
  1 sibling, 0 replies; 4+ messages in thread
From: Pankaj Dubey @ 2015-05-05  4:35 UTC (permalink / raw)
  To: Krzysztof Kozłowski
  Cc: linux-arm-kernel, linux-samsung-soc, devicetree, robh+dt, kgene,
	yadi.brar01, Kozik, Yadwinder Singh Brar



On Tuesday 05 May 2015 09:44 AM, Krzysztof Kozłowski wrote:
> 2015-05-05 13:07 GMT+09:00 Pankaj Dubey <pankaj.dubey@samsung.com>:
>> From: Yadwinder Singh Brar <yadi.brar@samsung.com>
>>
>> This patch adds pinctrl configuration for using configuring gpx3-2 as an
>> external interrupt from max77686. Though max77686 RTC is enabled and gets
>> probed by default, it doesnt work as its unable to get interrupt.
>>
>> This patch makes max77686 RTC work and also configures it as wakeup source.
>>
>> Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
>> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>> Tested-by: Pankaj Dubey <pankaj.dubey@samsung.com>
>> ---
>>
>> Initial version of this patch was part of following series, though
>> they are not dependent on each other, resubmitting after rebasing
>> and detaching second one from first patch in the series [1]
>>
>> [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/303652.html
>
> Thanks, but now it needs your Signed-off-by because you touched it.
>
> Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>

Thanks for quick response. Will resubmit it again including my 
Signed-off-by.

> Best regards,
> Krzysztof
>

Thanks,
Pankaj Dubey

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RESEND-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250
  2015-05-05  4:14 ` Krzysztof Kozłowski
  2015-05-05  4:35   ` Pankaj Dubey
@ 2015-05-05 21:40   ` Kukjin Kim
  1 sibling, 0 replies; 4+ messages in thread
From: Kukjin Kim @ 2015-05-05 21:40 UTC (permalink / raw)
  To: Krzysztof Kozłowski
  Cc: Pankaj Dubey, linux-arm-kernel, linux-samsung-soc, devicetree,
	robh+dt, kgene, yadi.brar01, Kozik, Yadwinder Singh Brar

On 05/05/15 13:14, Krzysztof Kozłowski wrote:
> 2015-05-05 13:07 GMT+09:00 Pankaj Dubey <pankaj.dubey@samsung.com>:
>> From: Yadwinder Singh Brar <yadi.brar@samsung.com>
>>
>> This patch adds pinctrl configuration for using configuring gpx3-2 as an
>> external interrupt from max77686. Though max77686 RTC is enabled and gets
>> probed by default, it doesnt work as its unable to get interrupt.
>>
>> This patch makes max77686 RTC work and also configures it as wakeup source.
>>
>> Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
>> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>> Tested-by: Pankaj Dubey <pankaj.dubey@samsung.com>
>> ---
>>
>> Initial version of this patch was part of following series, though
>> they are not dependent on each other, resubmitting after rebasing
>> and detaching second one from first patch in the series [1]
>>
>> [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/303652.html
> 
> Thanks, but now it needs your Signed-off-by because you touched it.
> 
Just note, to more clarify, Signed-off-by should be added who wants to
submit anything into mailing-list even no updating and just posting...

> Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 
Thanks,
Kukjin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-05 21:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-05  4:07 [RESEND-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250 Pankaj Dubey
2015-05-05  4:14 ` Krzysztof Kozłowski
2015-05-05  4:35   ` Pankaj Dubey
2015-05-05 21:40   ` Kukjin Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).