From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967953AbeBOL4r (ORCPT ); Thu, 15 Feb 2018 06:56:47 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35249 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967907AbeBOL4p (ORCPT ); Thu, 15 Feb 2018 06:56:45 -0500 X-Google-Smtp-Source: AH8x227H7H4mWLZnNONdYzmgSP3GC9e37nXO/w1HdlMAUMHGVHf49ZW/zSLwe/yCLFjypiT0jvyUuA== Subject: Re: [PATCH v2] ARM64: dts: meson-axg: enable IR controller To: Yixun Lan , Kevin Hilman , Rob Herring , devicetree@vger.kernel.org Cc: Jerome Brunet , Mark Rutland , Carlo Caione , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20171204053858.1697-1-yixun.lan@amlogic.com> From: Neil Armstrong Organization: Baylibre Message-ID: Date: Thu, 15 Feb 2018 12:56:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20171204053858.1697-1-yixun.lan@amlogic.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/12/2017 06:38, Yixun Lan wrote: > Enable IR remote controller which find in Amlogic's Meson-AXG SoC. > > Signed-off-by: Yixun Lan > > --- > > Changes since v1 at [1]: > - drop the compatbile 'amlogic,meson-gx-ir' > > [1] > http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005527.html > --- > arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++++++ > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 14 ++++++++++++++ > 2 files changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > index 0864d1ff2d9b..ca676cafdbb3 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > @@ -34,3 +34,9 @@ > pinctrl-0 = <&i2c1_z_pins>; > pinctrl-names = "default"; > }; > + > +&ir { > + status = "okay"; > + pinctrl-0 = <&remote_input_ao_pins>; > + pinctrl-names = "default"; > +}; > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index 9bb85893c1b7..f68f709762dd 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -616,6 +616,13 @@ > #gpio-cells = <2>; > gpio-ranges = <&pinctrl_aobus 0 0 15>; > }; > + > + remote_input_ao_pins: remote_input_ao { > + mux { > + groups = "remote_input_ao"; > + function = "remote_input_ao"; > + }; > + }; > }; > > i2c_AO: i2c@5000 { > @@ -664,6 +671,13 @@ > clock-names = "xtal", "pclk", "baud"; > status = "disabled"; > }; > + > + ir: ir@8000 { > + compatible = "amlogic,meson-gxbb-ir"; > + reg = <0x0 0x8000 0x0 0x20>; > + interrupts = ; > + status = "disabled"; > + }; > }; > }; > }; > Reviewed-by: Neil Armstrong From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Armstrong Subject: Re: [PATCH v2] ARM64: dts: meson-axg: enable IR controller Date: Thu, 15 Feb 2018 12:56:41 +0100 Message-ID: References: <20171204053858.1697-1-yixun.lan@amlogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20171204053858.1697-1-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org> Content-Language: en-US Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yixun Lan , Kevin Hilman , Rob Herring , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Jerome Brunet , Mark Rutland , Carlo Caione , linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 04/12/2017 06:38, Yixun Lan wrote: > Enable IR remote controller which find in Amlogic's Meson-AXG SoC. > > Signed-off-by: Yixun Lan > > --- > > Changes since v1 at [1]: > - drop the compatbile 'amlogic,meson-gx-ir' > > [1] > http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005527.html > --- > arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++++++ > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 14 ++++++++++++++ > 2 files changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > index 0864d1ff2d9b..ca676cafdbb3 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > @@ -34,3 +34,9 @@ > pinctrl-0 = <&i2c1_z_pins>; > pinctrl-names = "default"; > }; > + > +&ir { > + status = "okay"; > + pinctrl-0 = <&remote_input_ao_pins>; > + pinctrl-names = "default"; > +}; > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index 9bb85893c1b7..f68f709762dd 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -616,6 +616,13 @@ > #gpio-cells = <2>; > gpio-ranges = <&pinctrl_aobus 0 0 15>; > }; > + > + remote_input_ao_pins: remote_input_ao { > + mux { > + groups = "remote_input_ao"; > + function = "remote_input_ao"; > + }; > + }; > }; > > i2c_AO: i2c@5000 { > @@ -664,6 +671,13 @@ > clock-names = "xtal", "pclk", "baud"; > status = "disabled"; > }; > + > + ir: ir@8000 { > + compatible = "amlogic,meson-gxbb-ir"; > + reg = <0x0 0x8000 0x0 0x20>; > + interrupts = ; > + status = "disabled"; > + }; > }; > }; > }; > Reviewed-by: Neil Armstrong -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: narmstrong@baylibre.com (Neil Armstrong) Date: Thu, 15 Feb 2018 12:56:41 +0100 Subject: [PATCH v2] ARM64: dts: meson-axg: enable IR controller In-Reply-To: <20171204053858.1697-1-yixun.lan@amlogic.com> References: <20171204053858.1697-1-yixun.lan@amlogic.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/12/2017 06:38, Yixun Lan wrote: > Enable IR remote controller which find in Amlogic's Meson-AXG SoC. > > Signed-off-by: Yixun Lan > > --- > > Changes since v1 at [1]: > - drop the compatbile 'amlogic,meson-gx-ir' > > [1] > http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005527.html > --- > arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++++++ > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 14 ++++++++++++++ > 2 files changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > index 0864d1ff2d9b..ca676cafdbb3 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > @@ -34,3 +34,9 @@ > pinctrl-0 = <&i2c1_z_pins>; > pinctrl-names = "default"; > }; > + > +&ir { > + status = "okay"; > + pinctrl-0 = <&remote_input_ao_pins>; > + pinctrl-names = "default"; > +}; > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index 9bb85893c1b7..f68f709762dd 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -616,6 +616,13 @@ > #gpio-cells = <2>; > gpio-ranges = <&pinctrl_aobus 0 0 15>; > }; > + > + remote_input_ao_pins: remote_input_ao { > + mux { > + groups = "remote_input_ao"; > + function = "remote_input_ao"; > + }; > + }; > }; > > i2c_AO: i2c at 5000 { > @@ -664,6 +671,13 @@ > clock-names = "xtal", "pclk", "baud"; > status = "disabled"; > }; > + > + ir: ir at 8000 { > + compatible = "amlogic,meson-gxbb-ir"; > + reg = <0x0 0x8000 0x0 0x20>; > + interrupts = ; > + status = "disabled"; > + }; > }; > }; > }; > Reviewed-by: Neil Armstrong From mboxrd@z Thu Jan 1 00:00:00 1970 From: narmstrong@baylibre.com (Neil Armstrong) Date: Thu, 15 Feb 2018 12:56:41 +0100 Subject: [PATCH v2] ARM64: dts: meson-axg: enable IR controller In-Reply-To: <20171204053858.1697-1-yixun.lan@amlogic.com> References: <20171204053858.1697-1-yixun.lan@amlogic.com> Message-ID: To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org On 04/12/2017 06:38, Yixun Lan wrote: > Enable IR remote controller which find in Amlogic's Meson-AXG SoC. > > Signed-off-by: Yixun Lan > > --- > > Changes since v1 at [1]: > - drop the compatbile 'amlogic,meson-gx-ir' > > [1] > http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005527.html > --- > arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++++++ > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 14 ++++++++++++++ > 2 files changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > index 0864d1ff2d9b..ca676cafdbb3 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts > @@ -34,3 +34,9 @@ > pinctrl-0 = <&i2c1_z_pins>; > pinctrl-names = "default"; > }; > + > +&ir { > + status = "okay"; > + pinctrl-0 = <&remote_input_ao_pins>; > + pinctrl-names = "default"; > +}; > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index 9bb85893c1b7..f68f709762dd 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -616,6 +616,13 @@ > #gpio-cells = <2>; > gpio-ranges = <&pinctrl_aobus 0 0 15>; > }; > + > + remote_input_ao_pins: remote_input_ao { > + mux { > + groups = "remote_input_ao"; > + function = "remote_input_ao"; > + }; > + }; > }; > > i2c_AO: i2c at 5000 { > @@ -664,6 +671,13 @@ > clock-names = "xtal", "pclk", "baud"; > status = "disabled"; > }; > + > + ir: ir at 8000 { > + compatible = "amlogic,meson-gxbb-ir"; > + reg = <0x0 0x8000 0x0 0x20>; > + interrupts = ; > + status = "disabled"; > + }; > }; > }; > }; > Reviewed-by: Neil Armstrong