diff mbox

[v3,3/4] ARM64: dts: meson-gxbb: Add Meson GXBB PWM Controller nodes

Message ID 1471880193-21879-4-git-send-email-narmstrong@baylibre.com
State Not Applicable
Headers show

Commit Message

Neil Armstrong Aug. 22, 2016, 3:36 p.m. UTC
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Comments

Martin Blumenstingl Aug. 28, 2016, 4:29 p.m. UTC | #1
On Mon, Aug 22, 2016 at 5:36 PM, Neil Armstrong <narmstrong@baylibre.com> wrote:
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> index e502c24..e3f4d36 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> @@ -153,6 +153,27 @@
>                                 status = "disabled";
>                         };
>
> +                       pwm_ab: pwm@8550 {
> +                               compatible = "amlogic,meson-gxbb-pwm";
> +                               reg = <0x0 0x08550 0x0 0x10>;
> +                               #pwm-cells = <3>;
> +                               status = "disabled";
> +                       };
> +
> +                       pwm_cd: pwm@8650 {
> +                               compatible = "amlogic,meson-gxbb-pwm";
> +                               reg = <0x0 0x08650 0x0 0x10>;
> +                               #pwm-cells = <3>;
> +                               status = "disabled";
> +                       };
> +
> +                       pwm_ef: pwm@86c0 {
> +                               compatible = "amlogic,meson-gxbb-pwm";
> +                               reg = <0x0 0x086c0 0x0 0x10>;
> +                               #pwm-cells = <3>;
> +                               status = "disabled";
> +                       };
I have successfully tested pwm_e on my meson-gxbb-vega-s95-meta clone
(see [0] for the corresponding patches), thus:
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

[0] https://github.com/xdarklight/linux/tree/meson-gxbb-integration-4.8-20160828
--
To unsubscribe from this list: send the line "unsubscribe linux-pwm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index e502c24..e3f4d36 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -153,6 +153,27 @@ 
 				status = "disabled";
 			};
 
+			pwm_ab: pwm@8550 {
+				compatible = "amlogic,meson-gxbb-pwm";
+				reg = <0x0 0x08550 0x0 0x10>;
+				#pwm-cells = <3>;
+				status = "disabled";
+			};
+
+			pwm_cd: pwm@8650 {
+				compatible = "amlogic,meson-gxbb-pwm";
+				reg = <0x0 0x08650 0x0 0x10>;
+				#pwm-cells = <3>;
+				status = "disabled";
+			};
+
+			pwm_ef: pwm@86c0 {
+				compatible = "amlogic,meson-gxbb-pwm";
+				reg = <0x0 0x086c0 0x0 0x10>;
+				#pwm-cells = <3>;
+				status = "disabled";
+			};
+
 			uart_C: serial@8700 {
 				compatible = "amlogic,meson-uart";
 				reg = <0x0 0x8700 0x0 0x14>;
@@ -212,6 +233,13 @@ 
 				clocks = <&xtal>;
 				status = "disabled";
 			};
+
+			pwm_ab_AO: pwm@550 {
+				compatible = "amlogic,meson-gxbb-pwm";
+				reg = <0x0 0x0550 0x0 0x10>;
+				#pwm-cells = <3>;
+				status = "disabled";
+			};
 		};
 
 		periphs: periphs@c8834000 {