Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1701952 > unrolled thread

Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer

Started byFaiz Abbas <faiz_abbas@ti.com>
First post2017-08-02 11:40 +0200
Last post2017-08-10 18:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer Faiz Abbas <faiz_abbas@ti.com> - 2017-08-02 11:40 +0200
    Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer Tony Lindgren <tony@atomide.com> - 2017-08-07 09:00 +0200
    Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer Tony Lindgren <tony@atomide.com> - 2017-08-10 18:40 +0200

#1701952 — Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer

FromFaiz Abbas <faiz_abbas@ti.com>
Date2017-08-02 11:40 +0200
SubjectRe: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
Message-ID<u9Yid-86C-3@gated-at.bofh.it>

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 <faiz_abbas@ti.com>
> ---
>  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 {
> 

[toc] | [next] | [standalone]


#1705136

FromTony Lindgren <tony@atomide.com>
Date2017-08-07 09:00 +0200
Message-ID<ubKb9-4Nl-21@gated-at.bofh.it>
In reply to#1701952
* Faiz Abbas <faiz_abbas@ti.com> [170802 02:32]:
> 
> 
> 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

Sorry for the delay, I was offline last week. Will
take a look this week.

Regards,

Tony

[toc] | [prev] | [next] | [standalone]


#1708834

FromTony Lindgren <tony@atomide.com>
Date2017-08-10 18:40 +0200
Message-ID<ucYF5-86V-37@gated-at.bofh.it>
In reply to#1701952
* Faiz Abbas <faiz_abbas@ti.com> [170802 02:32]:
> 
> 
> 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

Applying finally into omap-for-v4.14/dt thanks.

Tony

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web