All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
@ 2017-06-20  5:09 ` Faiz Abbas
  0 siblings, 0 replies; 10+ messages in thread
From: Faiz Abbas @ 2017-06-20  5:09 UTC (permalink / raw)
  To: tony
  Cc: bcousson, robh+dt, mark.rutland, linux, linux-omap, devicetree,
	linux-arm-kernel, linux-kernel, Faiz Abbas

Add support for onboard gpio buzzer. It works using
the gpio-beeper driver. Pinmux entries for GPIO
controlling the buzzer are also added.

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 {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
@ 2017-06-20  5:09 ` Faiz Abbas
  0 siblings, 0 replies; 10+ messages in thread
From: Faiz Abbas @ 2017-06-20  5:09 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: bcousson-rdvid1DuHRBWk0Htik3J/w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	mark.rutland-5wv7dgnIgG8, linux-I+IVW8TIWO2tmTQ+vhA3Yw,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Faiz Abbas

Add support for onboard gpio buzzer. It works using
the gpio-beeper driver. Pinmux entries for GPIO
controlling the buzzer are also added.

Signed-off-by: Faiz Abbas <faiz_abbas-l0cyMroinI0@public.gmane.org>
---
 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 {
-- 
2.7.4

--
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

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
@ 2017-06-20  5:09 ` Faiz Abbas
  0 siblings, 0 replies; 10+ messages in thread
From: Faiz Abbas @ 2017-06-20  5:09 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for onboard gpio buzzer. It works using
the gpio-beeper driver. Pinmux entries for GPIO
controlling the buzzer are also added.

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 {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
  2017-06-20  5:09 ` Faiz Abbas
  (?)
@ 2017-08-02  9:30   ` Faiz Abbas
  -1 siblings, 0 replies; 10+ messages in thread
From: Faiz Abbas @ 2017-08-02  9:30 UTC (permalink / raw)
  To: tony
  Cc: bcousson, robh+dt, mark.rutland, linux, linux-omap, devicetree,
	linux-arm-kernel, linux-kernel



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 {
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
@ 2017-08-02  9:30   ` Faiz Abbas
  0 siblings, 0 replies; 10+ messages in thread
From: Faiz Abbas @ 2017-08-02  9:30 UTC (permalink / raw)
  To: tony
  Cc: mark.rutland, devicetree, linux, linux-kernel, robh+dt, bcousson,
	linux-omap, linux-arm-kernel



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 {
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
@ 2017-08-02  9:30   ` Faiz Abbas
  0 siblings, 0 replies; 10+ messages in thread
From: Faiz Abbas @ 2017-08-02  9:30 UTC (permalink / raw)
  To: linux-arm-kernel



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 {
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
  2017-08-02  9:30   ` Faiz Abbas
@ 2017-08-07  6:50     ` Tony Lindgren
  -1 siblings, 0 replies; 10+ messages in thread
From: Tony Lindgren @ 2017-08-07  6:50 UTC (permalink / raw)
  To: Faiz Abbas
  Cc: bcousson, robh+dt, mark.rutland, linux, linux-omap, devicetree,
	linux-arm-kernel, linux-kernel

* 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
@ 2017-08-07  6:50     ` Tony Lindgren
  0 siblings, 0 replies; 10+ messages in thread
From: Tony Lindgren @ 2017-08-07  6:50 UTC (permalink / raw)
  To: linux-arm-kernel

* 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
  2017-08-02  9:30   ` Faiz Abbas
@ 2017-08-10 16:36     ` Tony Lindgren
  -1 siblings, 0 replies; 10+ messages in thread
From: Tony Lindgren @ 2017-08-10 16:36 UTC (permalink / raw)
  To: Faiz Abbas
  Cc: bcousson, robh+dt, mark.rutland, linux, linux-omap, devicetree,
	linux-arm-kernel, linux-kernel

* 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer
@ 2017-08-10 16:36     ` Tony Lindgren
  0 siblings, 0 replies; 10+ messages in thread
From: Tony Lindgren @ 2017-08-10 16:36 UTC (permalink / raw)
  To: linux-arm-kernel

* 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-10 16:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-20  5:09 [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer Faiz Abbas
2017-06-20  5:09 ` Faiz Abbas
2017-06-20  5:09 ` Faiz Abbas
2017-08-02  9:30 ` Faiz Abbas
2017-08-02  9:30   ` Faiz Abbas
2017-08-02  9:30   ` Faiz Abbas
2017-08-07  6:50   ` Tony Lindgren
2017-08-07  6:50     ` Tony Lindgren
2017-08-10 16:36   ` Tony Lindgren
2017-08-10 16:36     ` Tony Lindgren

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.