mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Bastian Krause <bst@pengutronix.de>
Cc: barebox@lists.infradead.org, afa@pengutronix.de
Subject: Re: [PATCH] ARM: dts: i.MX8: add pwm aliases
Date: Wed, 6 Sep 2023 16:10:14 +0200	[thread overview]
Message-ID: <20230906141014.GD492117@pengutronix.de> (raw)
In-Reply-To: <20230906131113.1593228-1-bst@pengutronix.de>

On Wed, Sep 06, 2023 at 03:11:13PM +0200, Bastian Krause wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> ---
>  arch/arm/dts/imx8mm.dtsi | 4 ++++
>  arch/arm/dts/imx8mn.dtsi | 9 +++++++++
>  arch/arm/dts/imx8mp.dtsi | 7 +++++++
>  3 files changed, 20 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx8mm.dtsi b/arch/arm/dts/imx8mm.dtsi
> index 22ae01a20a2..982174375ec 100644
> --- a/arch/arm/dts/imx8mm.dtsi
> +++ b/arch/arm/dts/imx8mm.dtsi
> @@ -5,6 +5,10 @@
>  / {
>  	aliases {
>  		gpr.reboot_mode = &reboot_mode_gpr;
> +		pwm0 = &pwm1;
> +		pwm1 = &pwm2;
> +		pwm2 = &pwm3;
> +		pwm3 = &pwm4;
>  	};
>  };
>  
> diff --git a/arch/arm/dts/imx8mn.dtsi b/arch/arm/dts/imx8mn.dtsi
> index 17e8f78bf2d..098bf0a3671 100644
> --- a/arch/arm/dts/imx8mn.dtsi
> +++ b/arch/arm/dts/imx8mn.dtsi
> @@ -2,6 +2,15 @@
>  
>  #include <dt-bindings/features/imx8m.h>
>  
> +/ {
> +	aliases {
> +		pwm0 = &pwm1;
> +		pwm1 = &pwm2;
> +		pwm2 = &pwm3;
> +		pwm3 = &pwm4;
> +	};
> +};
> +
>  feat: &ocotp {
>  	#feature-cells = <1>;
>  	barebox,feature-controller;
> diff --git a/arch/arm/dts/imx8mp.dtsi b/arch/arm/dts/imx8mp.dtsi
> index 0059c7b87b6..04767ad382c 100644
> --- a/arch/arm/dts/imx8mp.dtsi
> +++ b/arch/arm/dts/imx8mp.dtsi
> @@ -8,6 +8,13 @@ remoteproc_cm7: remoteproc-cm7 {
>  		clocks = <&clk IMX8MP_CLK_M7_CORE>;
>  		syscon = <&src>;
>  	};
> +
> +	aliases {
> +		pwm0 = &pwm1;
> +		pwm1 = &pwm2;
> +		pwm2 = &pwm3;
> +		pwm3 = &pwm4;
> +	};
>  };
>  
>  /* Temporary workaround until snps,gfladj-refclk-lpm-sel-quirk is supported */
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



      reply	other threads:[~2023-09-06 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-06 13:11 Bastian Krause
2023-09-06 14:10 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230906141014.GD492117@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=afa@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=bst@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox