From: Chen Wang <chen.wang@linux.dev>
To: "Hiago De Franco" <hfranco@baylibre.com>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Inochi Amaoto" <inochiama@gmail.com>,
"Paul Walmsley" <pjw@kernel.org>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Alexandre Ghiti" <alex@ghiti.fr>
Cc: Chen Wang <unicorn_wang@outlook.com>,
linux-pwm@vger.kernel.org, devicetree@vger.kernel.org,
sophgo@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org
Subject: Re: [PATCH 3/3] riscv: dts: sophgo: cv180x: add PWM controller nodes
Date: Mon, 30 Nov 2026 13:34:26 +0800 [thread overview]
Message-ID: <dbcbde27-02ed-423c-97c1-d33062fa9ad2@linux.dev> (raw)
In-Reply-To: <20261117-milkv-duo-pwm-v1-3-3f1786ea57b7@baylibre.com>
On 11/17/2026 8:57 PM, Hiago De Franco wrote:
> The CV180x/CV181x/SG200x SoCs provide four PWM controller instances at
> 0x03060000, 0x03061000, 0x03062000 and 0x03063000.
>
> Add the corresponding nodes to the shared cv180x.dtsi, so that they are
> available to every SoC including it, and keep them disabled by default
> since the boards still need to describe how the outputs are wired.
>
> Signed-off-by: Hiago De Franco <hfranco@baylibre.com>
Reviewed-by: Chen Wang <chen.wang@linux.dev>
Thanks,
Chen
> ---
> arch/riscv/boot/dts/sophgo/cv180x.dtsi | 40 ++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> index d2ec70fd515e..c478e7eb549f 100644
> --- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> @@ -160,6 +160,46 @@ portd: gpio-controller@0 {
> };
> };
>
> + pwm0: pwm@3060000 {
> + compatible = "sophgo,cv1800b-pwm";
> + reg = <0x3060000 0x1000>;
> + #pwm-cells = <3>;
> + clocks = <&clk CLK_PWM>;
> + clock-names = "apb";
> + resets = <&rst RST_PWM0>;
> + status = "disabled";
> + };
> +
> + pwm1: pwm@3061000 {
> + compatible = "sophgo,cv1800b-pwm";
> + reg = <0x3061000 0x1000>;
> + #pwm-cells = <3>;
> + clocks = <&clk CLK_PWM>;
> + clock-names = "apb";
> + resets = <&rst RST_PWM1>;
> + status = "disabled";
> + };
> +
> + pwm2: pwm@3062000 {
> + compatible = "sophgo,cv1800b-pwm";
> + reg = <0x3062000 0x1000>;
> + #pwm-cells = <3>;
> + clocks = <&clk CLK_PWM>;
> + clock-names = "apb";
> + resets = <&rst RST_PWM2>;
> + status = "disabled";
> + };
> +
> + pwm3: pwm@3063000 {
> + compatible = "sophgo,cv1800b-pwm";
> + reg = <0x3063000 0x1000>;
> + #pwm-cells = <3>;
> + clocks = <&clk CLK_PWM>;
> + clock-names = "apb";
> + resets = <&rst RST_PWM3>;
> + status = "disabled";
> + };
> +
> saradc: adc@30f0000 {
> compatible = "sophgo,cv1800b-saradc";
> reg = <0x030f0000 0x1000>;
>
prev parent reply other threads:[~2026-11-30 5:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 12:57 [PATCH 0/3] Add PWM support for the Sophgo CV1800B Hiago De Franco
2026-11-17 12:57 ` [PATCH 1/3] dt-bindings: pwm: sophgo: add PWM controller for CV1800B Hiago De Franco
2026-11-17 17:28 ` Conor Dooley
2026-11-17 12:57 ` [PATCH 2/3] pwm: sophgo-sg2042: add support " Hiago De Franco
2026-11-30 5:30 ` Chen Wang
2026-11-17 12:57 ` [PATCH 3/3] riscv: dts: sophgo: cv180x: add PWM controller nodes Hiago De Franco
2026-11-30 5:34 ` Chen Wang [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=dbcbde27-02ed-423c-97c1-d33062fa9ad2@linux.dev \
--to=chen.wang@linux.dev \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hfranco@baylibre.com \
--cc=inochiama@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=sophgo@lists.linux.dev \
--cc=ukleinek@kernel.org \
--cc=unicorn_wang@outlook.com \
/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