Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] pwm: add pwm AO on meson gx
@ 2017-06-07 13:30 Jerome Brunet
  2017-06-07 13:30 ` [PATCH 1/2] dt-bindings: pwm: meson: add comptabible for gxbb ao pwms Jerome Brunet
  0 siblings, 1 reply; 3+ messages in thread
From: Jerome Brunet @ 2017-06-07 13:30 UTC (permalink / raw)
  To: Thierry Reding, Kevin Hilman, Neil Armstrong
  Cc: Jerome Brunet, Carlo Caione, linux-pwm-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

The pwms found in the AO domain of the meson gx family have different
clock sources than the one found in the EE domain. The AO pwms have only
2 connected clock input which are clk81 and the crytal.

This patchset adds the necessary compatible and the clock data for it.

Jerome Brunet (2):
  dt-bindings: pwm: meson: add comptabible for gxbb ao pwms
  pwm: meson: add compatible for the gxbb ao pwms

 .../devicetree/bindings/pwm/pwm-meson.txt          |  4 ++-
 drivers/pwm/pwm-meson.c                            | 32 ++++++++++++++++++++--
 2 files changed, 32 insertions(+), 4 deletions(-)

-- 
2.9.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	[flat|nested] 3+ messages in thread

* [PATCH 1/2] dt-bindings: pwm: meson: add comptabible for gxbb ao pwms
  2017-06-07 13:30 [PATCH 0/2] pwm: add pwm AO on meson gx Jerome Brunet
@ 2017-06-07 13:30 ` Jerome Brunet
  2017-06-07 13:35   ` Neil Armstrong
  0 siblings, 1 reply; 3+ messages in thread
From: Jerome Brunet @ 2017-06-07 13:30 UTC (permalink / raw)
  To: Thierry Reding, Kevin Hilman, Neil Armstrong
  Cc: Jerome Brunet, Carlo Caione, linux-pwm, devicetree, linux-amlogic,
	linux-kernel

Add compatible string to properly handle the PWMs found in the AO domain
of the gxbb (and gxl) family

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 Documentation/devicetree/bindings/pwm/pwm-meson.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/pwm/pwm-meson.txt b/Documentation/devicetree/bindings/pwm/pwm-meson.txt
index 5376a4468cb6..5b07bebbf6f7 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-meson.txt
+++ b/Documentation/devicetree/bindings/pwm/pwm-meson.txt
@@ -2,7 +2,9 @@ Amlogic Meson PWM Controller
 ============================
 
 Required properties:
-- compatible: Shall contain "amlogic,meson8b-pwm" or "amlogic,meson-gxbb-pwm".
+- compatible: Shall contain "amlogic,meson8b-pwm"
+                         or "amlogic,meson-gxbb-pwm"
+                         or "amlogic,meson-gxbb-ao-pwm"
 - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
   the cells format.
 
-- 
2.9.4

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

* Re: [PATCH 1/2] dt-bindings: pwm: meson: add comptabible for gxbb ao pwms
  2017-06-07 13:30 ` [PATCH 1/2] dt-bindings: pwm: meson: add comptabible for gxbb ao pwms Jerome Brunet
@ 2017-06-07 13:35   ` Neil Armstrong
  0 siblings, 0 replies; 3+ messages in thread
From: Neil Armstrong @ 2017-06-07 13:35 UTC (permalink / raw)
  To: Jerome Brunet, Thierry Reding, Kevin Hilman
  Cc: Carlo Caione, linux-pwm, devicetree, linux-amlogic, linux-kernel

On 06/07/2017 03:30 PM, Jerome Brunet wrote:
> Add compatible string to properly handle the PWMs found in the AO domain
> of the gxbb (and gxl) family
> 
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>  Documentation/devicetree/bindings/pwm/pwm-meson.txt | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/pwm/pwm-meson.txt b/Documentation/devicetree/bindings/pwm/pwm-meson.txt
> index 5376a4468cb6..5b07bebbf6f7 100644
> --- a/Documentation/devicetree/bindings/pwm/pwm-meson.txt
> +++ b/Documentation/devicetree/bindings/pwm/pwm-meson.txt
> @@ -2,7 +2,9 @@ Amlogic Meson PWM Controller
>  ============================
>  
>  Required properties:
> -- compatible: Shall contain "amlogic,meson8b-pwm" or "amlogic,meson-gxbb-pwm".
> +- compatible: Shall contain "amlogic,meson8b-pwm"
> +                         or "amlogic,meson-gxbb-pwm"
> +                         or "amlogic,meson-gxbb-ao-pwm"
>  - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
>    the cells format.
>  
> 

Acked-by: Neil Armstrong <narmstrong@baylibre.com>

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

end of thread, other threads:[~2017-06-07 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-07 13:30 [PATCH 0/2] pwm: add pwm AO on meson gx Jerome Brunet
2017-06-07 13:30 ` [PATCH 1/2] dt-bindings: pwm: meson: add comptabible for gxbb ao pwms Jerome Brunet
2017-06-07 13:35   ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox