Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752782AbdHBJbk (ORCPT ); Wed, 2 Aug 2017 05:31:40 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:49508 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323AbdHBJbj (ORCPT ); Wed, 2 Aug 2017 05:31:39 -0400 Subject: Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer To: CC: , , , , , , , References: <1497935361-11019-1-git-send-email-faiz_abbas@ti.com> From: Faiz Abbas Message-ID: Date: Wed, 2 Aug 2017 15:00:49 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1497935361-11019-1-git-send-email-faiz_abbas@ti.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 Content-Length: 1189 Lines: 50 On Tuesday 20 June 2017 10:39 AM, Faiz Abbas wrote: > Add support for onboard gpio buzzer. It works using > the gpio-beeper driver. Pinmux entries for GPIO > controlling the buzzer are also added. Gentle ping Regards, Faiz > > Signed-off-by: Faiz Abbas > --- > arch/arm/boot/dts/am437x-gp-evm.dts | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts > index 397e98b..24cdf6d 100644 > --- a/arch/arm/boot/dts/am437x-gp-evm.dts > +++ b/arch/arm/boot/dts/am437x-gp-evm.dts > @@ -149,6 +149,13 @@ > system-clock-frequency = <12000000>; > }; > }; > + > + beeper: beeper { > + compatible = "gpio-beeper"; > + pinctrl-names = "default"; > + pinctrl-0 = <&beeper_pins>; > + gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>; > + }; > }; > > &am43xx_pinmux { > @@ -510,6 +517,13 @@ > AM4372_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ > >; > }; > + > + beeper_pins: beeper_pins { > + pinctrl-single,pins = < > + AM4372_IOPAD(0x9e0, PIN_OUTPUT_PULLUP | MUX_MODE7) /* cam1_field.gpio4_12 */ > + >; > + }; > + > }; > > &uart0 { >