All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene@kernel.org>
To: Pankaj Dubey <pankaj.dubey@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org,
	robh+dt@kernel.org, kgene@kernel.org, yadi.brar01@gmail.com,
	k.kozlowski.k@gmail.com, k.kozlowski@samsung.com,
	Yadwinder Singh Brar <yadi.brar@samsung.com>
Subject: Re: [RESEND-v2-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250
Date: Wed, 06 May 2015 06:35:34 +0900	[thread overview]
Message-ID: <554937A6.1030906@kernel.org> (raw)
In-Reply-To: <1430800796-30960-1-git-send-email-pankaj.dubey@samsung.com>

On 05/05/15 13:39, Pankaj Dubey wrote:
> 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>
> [pankaj.dubey: resubmitted after rebasing to latest kgene tree]
> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> Tested-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> Acked-by: Krzysztof Kozlowski <k.kozlowski@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
> 
> v2:
>  -Included my Signed-off-by for touching this patch.
>  -Included Acked-by from Krzysztof Kozlowski.
> 
>  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>;
> +	};
> +};

Applied, thanks.

- Kukjin

WARNING: multiple messages have this Message-ID (diff)
From: kgene@kernel.org (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [RESEND-v2-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250
Date: Wed, 06 May 2015 06:35:34 +0900	[thread overview]
Message-ID: <554937A6.1030906@kernel.org> (raw)
In-Reply-To: <1430800796-30960-1-git-send-email-pankaj.dubey@samsung.com>

On 05/05/15 13:39, Pankaj Dubey wrote:
> 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>
> [pankaj.dubey: resubmitted after rebasing to latest kgene tree]
> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> Tested-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> Acked-by: Krzysztof Kozlowski <k.kozlowski@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
> 
> v2:
>  -Included my Signed-off-by for touching this patch.
>  -Included Acked-by from Krzysztof Kozlowski.
> 
>  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>;
> +	};
> +};

Applied, thanks.

- Kukjin

  reply	other threads:[~2015-05-05 21:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05  4:39 [RESEND-v2-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250 Pankaj Dubey
2015-05-05  4:39 ` Pankaj Dubey
2015-05-05 21:35 ` Kukjin Kim [this message]
2015-05-05 21:35   ` Kukjin Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=554937A6.1030906@kernel.org \
    --to=kgene@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=k.kozlowski.k@gmail.com \
    --cc=k.kozlowski@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=pankaj.dubey@samsung.com \
    --cc=robh+dt@kernel.org \
    --cc=yadi.brar01@gmail.com \
    --cc=yadi.brar@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.