[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210514080346.6d028243@slackpad.fritz.box>
Date: Fri, 14 May 2021 08:03:46 +0100
From: Andre Przywara <andre.przywara@....com>
To: Tobias Schramm <t.schramm@...jaro.org>
Cc: Jernej Škrabec <jernej.skrabec@...il.com>,
devicetree@...r.kernel.org, Rob Herring <robh+dt@...nel.org>,
Maxime Ripard <mripard@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] ARM: dts: sun8i: v3s: add pwm controller to v3s
dts
On Thu, 13 May 2021 22:35:27 +0200
Tobias Schramm <t.schramm@...jaro.org> wrote:
> The Allwinner V3s and V3 SoCs feature a pwm controller identical to the
> one used in the Allwinner A20.
> This commit adds it to the V3s dtsi.
>
> Signed-off-by: Tobias Schramm <t.schramm@...jaro.org>
Address and size match the manual, and the register description look
identical between A20 and V3s.
Reviewed-by: Andre Przywara <andre.przywara@....com>
Cheers,
Andre
> ---
> arch/arm/boot/dts/sun8i-v3s.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
> index eb4cb63fef13..456dee9de87f 100644
> --- a/arch/arm/boot/dts/sun8i-v3s.dtsi
> +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
> @@ -422,6 +422,15 @@ wdt0: watchdog@...0ca0 {
> clocks = <&osc24M>;
> };
>
> + pwm: pwm@...1400 {
> + compatible = "allwinner,sun8i-v3s-pwm",
> + "allwinner,sun7i-a20-pwm";
> + reg = <0x01c21400 0xc>;
> + clocks = <&osc24M>;
> + #pwm-cells = <3>;
> + status = "disabled";
> + };
> +
> lradc: lradc@...2800 {
> compatible = "allwinner,sun4i-a10-lradc-keys";
> reg = <0x01c22800 0x400>;
Powered by blists - more mailing lists