lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <PN0P287MB2258F2BB409F70955D6EE248FE75A@PN0P287MB2258.INDP287.PROD.OUTLOOK.COM>
Date: Wed, 11 Jun 2025 17:53:54 +0800
From: Chen Wang <unicorn_wang@...look.com>
To: Inochi Amaoto <inochiama@...il.com>, Rob Herring <robh@...nel.org>,
 Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
 <conor+dt@...nel.org>, Paul Walmsley <paul.walmsley@...ive.com>,
 Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
 Alexandre Ghiti <alex@...ti.fr>, Richard Cochran <richardcochran@...il.com>,
 Longbin Li <looong.bin@...il.com>
Cc: Han Gao <rabenda.cn@...il.com>, devicetree@...r.kernel.org,
 linux-riscv@...ts.infradead.org, sophgo@...ts.linux.dev,
 linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
 Yixun Lan <dlan@...too.org>
Subject: Re: [PATCH 11/11] riscv: dts: sophgo: add pwm controller for SG2044

"sophgo,sg2044-pwm" should have not been in 6.16, submit this after that?

Others. LGTM.

Reviewed-by: Chen Wang <unicorn_wang@...look.com>

Thanks

On 2025/6/9 7:28, Inochi Amaoto wrote:
> From: Longbin Li <looong.bin@...il.com>
>
> Add pwm device node for SG2044.
>
> Signed-off-by: Longbin Li <looong.bin@...il.com>
> Signed-off-by: Inochi Amaoto <inochiama@...il.com>
> ---
>   arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts |  4 ++++
>   arch/riscv/boot/dts/sophgo/sg2044.dtsi               | 10 ++++++++++
>   2 files changed, 14 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> index 01340f21848f..b50c3a872d8b 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> +++ b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> @@ -63,6 +63,10 @@ mcu: syscon@17 {
>   	};
>   };
>   
> +&pwm {
> +	status = "okay";
> +};
> +
>   &sd {
>   	bus-width = <4>;
>   	no-sdio;
> diff --git a/arch/riscv/boot/dts/sophgo/sg2044.dtsi b/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> index b65e491deb8f..f88cabe75790 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> @@ -347,6 +347,16 @@ portc: gpio-controller@0 {
>   			};
>   		};
>   
> +		pwm: pwm@...000c000 {
> +			compatible = "sophgo,sg2044-pwm";
> +			reg = <0x70 0x4000c000 0x0 0x1000>;
> +			#pwm-cells = <3>;
> +			clocks = <&clk CLK_GATE_APB_PWM>;
> +			clock-names = "apb";
> +			resets = <&rst RST_PWM>;
> +			status = "disabled";
> +		};
> +
>   		syscon: syscon@...0000000 {
>   			compatible = "sophgo,sg2044-top-syscon", "syscon";
>   			reg = <0x70 0x50000000 0x0 0x1000>;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ