From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregory.clement@free-electrons.com (Gregory CLEMENT) Date: Tue, 29 Mar 2016 17:45:20 +0200 Subject: [PATCH v4 3/3] ARM: mvebu: Add the hardware monitor to the NSA320 device tree In-Reply-To: <1457192097-32538-4-git-send-email-linux@baker-net.org.uk> (Adam Baker's message of "Sat, 5 Mar 2016 15:34:57 +0000") References: <1457192097-32538-1-git-send-email-linux@baker-net.org.uk> <1457192097-32538-4-git-send-email-linux@baker-net.org.uk> Message-ID: <87poudwanj.fsf@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Adam, On sam., mars 05 2016, Adam Baker wrote: > Add an entry for the hardware monitoring MCU > > Signed-off-by: Adam Baker Applied on mvebu/dt, I only changed the tropic to "ARM: dts: kirkwood: Add the hardware monitor to the NSA320 device tree" as know requested by the arm-soc maintainer. Thanks, Gregory > --- > This patch is unchanged from the version Gregory CLEMENT said > he would apply once the hwmon maintainers accept 2/3 > --- > arch/arm/boot/dts/kirkwood-nsa320.dts | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/kirkwood-nsa320.dts b/arch/arm/boot/dts/kirkwood-nsa320.dts > index 24f686d..2a935e9 100644 > --- a/arch/arm/boot/dts/kirkwood-nsa320.dts > +++ b/arch/arm/boot/dts/kirkwood-nsa320.dts > @@ -193,10 +193,19 @@ > }; > }; > > + hwmon { > + compatible = "zyxel,nsa320-mcu"; > + pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>; > + pinctrl-names = "default"; > + > + data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; > + clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; > + act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; > + }; > + > /* The following pins are currently not assigned to a driver, > some of them should be configured as inputs. > - pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act > - &pmx_htp &pmx_vid_b1 > + pinctrl-0 = <&pmx_htp &pmx_vid_b1 > &pmx_power_resume_data &pmx_power_resume_clk>; */ > }; > > -- > 2.1.4 > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory CLEMENT Subject: Re: [PATCH v4 3/3] ARM: mvebu: Add the hardware monitor to the NSA320 device tree Date: Tue, 29 Mar 2016 17:45:20 +0200 Message-ID: <87poudwanj.fsf@free-electrons.com> References: <1457192097-32538-1-git-send-email-linux@baker-net.org.uk> <1457192097-32538-4-git-send-email-linux@baker-net.org.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1457192097-32538-4-git-send-email-linux-u8Lxuz9p/S1csCcyGdaD/Q@public.gmane.org> (Adam Baker's message of "Sat, 5 Mar 2016 15:34:57 +0000") Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Adam Baker Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Jean Delvare , Guenter Roeck , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org, carl.wolfgang-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Adam, On sam., mars 05 2016, Adam Baker wrote: > Add an entry for the hardware monitoring MCU > > Signed-off-by: Adam Baker Applied on mvebu/dt, I only changed the tropic to "ARM: dts: kirkwood: Add the hardware monitor to the NSA320 device tree" as know requested by the arm-soc maintainer. Thanks, Gregory > --- > This patch is unchanged from the version Gregory CLEMENT said > he would apply once the hwmon maintainers accept 2/3 > --- > arch/arm/boot/dts/kirkwood-nsa320.dts | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/kirkwood-nsa320.dts b/arch/arm/boot/dts/kirkwood-nsa320.dts > index 24f686d..2a935e9 100644 > --- a/arch/arm/boot/dts/kirkwood-nsa320.dts > +++ b/arch/arm/boot/dts/kirkwood-nsa320.dts > @@ -193,10 +193,19 @@ > }; > }; > > + hwmon { > + compatible = "zyxel,nsa320-mcu"; > + pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>; > + pinctrl-names = "default"; > + > + data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; > + clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; > + act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; > + }; > + > /* The following pins are currently not assigned to a driver, > some of them should be configured as inputs. > - pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act > - &pmx_htp &pmx_vid_b1 > + pinctrl-0 = <&pmx_htp &pmx_vid_b1 > &pmx_power_resume_data &pmx_power_resume_clk>; */ > }; > > -- > 2.1.4 > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- 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