All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Chris Morgan <macroalpha82@gmail.com>
Cc: linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org,
	mripard@kernel.org, me@crly.cz, uwu@icenowy.me,
	samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org,
	conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	robh+dt@kernel.org, Chris Morgan <macromorgan@hotmail.com>
Subject: Re: [PATCH V2 2/4] arm: dts: sun8i: V3s: Add pinctrl for pwm
Date: Sat, 19 Aug 2023 23:02:45 +0100	[thread overview]
Message-ID: <20230819230126.7a9d92df@slackpad.lan> (raw)
In-Reply-To: <20230819032105.67978-3-macroalpha82@gmail.com>

On Fri, 18 Aug 2023 22:21:03 -0500
Chris Morgan <macroalpha82@gmail.com> wrote:

> From: Chris Morgan <macromorgan@hotmail.com>
> 
> Add pinctrl nodes for pwm0 and pwm1.
> 
> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
> ---
>  arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi
> index 2b76a5b8ec19..3276b3b5de19 100644
> --- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi
> +++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi
> @@ -414,6 +414,18 @@ mmc1_pins: mmc1-pins {
>  				bias-pull-up;
>  			};
>  
> +			/omit-if-no-ref/
> +			pwm0_pins: pwm0-pins {

Since conceptually a certain PWM only drives one output pin, I see
other DTs using singular for the names here, so:
			pwm0_pin: pwm0-pin {

The pins and function names match the manual and the driver, so that's
correct.

Cheers,
Andre.

> +				pins = "PB4";
> +				function = "pwm0";
> +			};
> +
> +			/omit-if-no-ref/
> +			pwm1_pins: pwm1-pins {
> +				pins = "PB5";
> +				function = "pwm1";
> +			};
> +
>  			spi0_pins: spi0-pins {
>  				pins = "PC0", "PC1", "PC2", "PC3";
>  				function = "spi0";


  reply	other threads:[~2023-08-19 22:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-19  3:21 [PATCH v2 0/4] Add Anbernic RG-Nano Chris Morgan
2023-08-19  3:21 ` [PATCH V2 1/4] ARM: dts: sun8i: V3: add alias to cpu node Chris Morgan
2023-08-19 22:00   ` Andre Przywara
2023-08-21 15:11     ` Chris Morgan
2023-08-19  3:21 ` [PATCH V2 2/4] arm: dts: sun8i: V3s: Add pinctrl for pwm Chris Morgan
2023-08-19 22:02   ` Andre Przywara [this message]
2023-08-21 15:11     ` Chris Morgan
2023-08-19  3:21 ` [PATCH V2 3/4] dt-bindings: arm: sunxi: add Anbernic RG-Nano Chris Morgan
2023-08-19  3:21 ` [PATCH V2 4/4] ARM: dts: sunxi: add support for " Chris Morgan
2023-08-19 22:03   ` Andre Przywara
2023-08-21 15:38     ` Chris Morgan
2023-08-21 17:06       ` Andre Przywara
2023-08-21 17:43         ` Chris Morgan
2023-08-21 23:17           ` Andre Przywara
2023-08-22  1:18             ` Chris Morgan
2023-08-23 19:32   ` Jernej Škrabec
2023-08-23 20:00     ` Chris Morgan

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=20230819230126.7a9d92df@slackpad.lan \
    --to=andre.przywara@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=macroalpha82@gmail.com \
    --cc=macromorgan@hotmail.com \
    --cc=me@crly.cz \
    --cc=mripard@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=samuel@sholland.org \
    --cc=uwu@icenowy.me \
    --cc=wens@csie.org \
    /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 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.