From nobody Sun Oct 5 10:47:09 2025 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0655D221265 for ; Wed, 6 Aug 2025 07:43:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754466184; cv=none; b=OFEy5eU2vm7AiTF4qLO2rw6L8+2UMbJPlOpi70JLay3tPIVnKhIr7FVCVxdGJPi3p4JpXjeZkxXDupE2nj81dA/52a0Tbr0BG1VqKzyrSCTwmdqDBQR4D6pxyB1tQrBK278ojJ/xpOom1CfOe0ItcgssMhRzb6Qj/K4XeZ2GRyg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754466184; c=relaxed/simple; bh=8oTAUzxmjJYIKw5Joa+cRWJz7tviXwysA9SB/6sHSyo=; h=From:Date:Subject:MIME-Version:Message-Id:In-Reply-To:To:Cc: Content-Type:References; b=fGX1Z9XXpwJN2aeEPVZ8l+QHlGhGL4+dWoLCwpRO4M4ei8VkusaWfSiCceRDmDvtE0+AOVFIJoXBf0C4yppHRvxpOgsWnS1mODroYFX+PueeDTIKa84Z1ojeCdDVs8WWMJ6K78b3jUxtCbh/p8M1MnInNYKVieDZXne2erybJNM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=pONKi1y0; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="pONKi1y0" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20250806074300euoutp02cdcb410837613d2d048afe5e778866ea~ZHbIYeOO91385213852euoutp02j for ; Wed, 6 Aug 2025 07:43:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20250806074300euoutp02cdcb410837613d2d048afe5e778866ea~ZHbIYeOO91385213852euoutp02j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1754466180; bh=i2ffb5TRdqcFNdp9wQmKYm6oC/yh6BrYkPG8pSNij+4=; h=From:Date:Subject:In-Reply-To:To:Cc:References:From; b=pONKi1y0q2d5P8Ijpjqvpp5a16L5zMXfxwzq8WaFgEko66tXBFHMSwuoxQO6cx98m YXaeq1GhleerbuRIXcQvpq+0jdaiLPtuFrpEBCOdTugcYgsxuNZchMlFWhuda2MoCB TocJNDzSRZl9MqkCm9BcoBZm1KoFjIjLocug9cAM= Received: from eusmtip2.samsung.com (unknown [203.254.199.222]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20250806074300eucas1p13e8773275da587232ef72dcb1f7706a3~ZHbH2BBTr0085500855eucas1p1o; Wed, 6 Aug 2025 07:43:00 +0000 (GMT) Received: from AMDC4942.eu.corp.samsungelectronics.net (unknown [106.210.136.40]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20250806074258eusmtip2bd98effedb80b6f7c0cb0acd9a7fcd7a~ZHbGx7nZN1336513365eusmtip2E; Wed, 6 Aug 2025 07:42:58 +0000 (GMT) From: Michal Wilczynski Date: Wed, 06 Aug 2025 09:42:51 +0200 Subject: [PATCH v13 6/7] riscv: dts: thead: Add PWM controller node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <20250806-rust-next-pwm-working-fan-for-sending-v13-6-690b669295b6@samsung.com> In-Reply-To: <20250806-rust-next-pwm-working-fan-for-sending-v13-0-690b669295b6@samsung.com> To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Michal Wilczynski , Guo Ren , Fu Wei , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Marek Szyprowski , Benno Lossin , Michael Turquette , Drew Fustini , Benno Lossin , Drew Fustini Cc: linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org X-Mailer: b4 0.15-dev X-CMS-MailID: 20250806074300eucas1p13e8773275da587232ef72dcb1f7706a3 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20250806074300eucas1p13e8773275da587232ef72dcb1f7706a3 X-EPHeader: CA X-CMS-RootMailID: 20250806074300eucas1p13e8773275da587232ef72dcb1f7706a3 References: <20250806-rust-next-pwm-working-fan-for-sending-v13-0-690b669295b6@samsung.com> Add the Device Tree node for the T-HEAD TH1520 SoC's PWM controller. Reviewed-by: Drew Fustini Tested-by: Drew Fustini Signed-off-by: Michal Wilczynski --- arch/riscv/boot/dts/thead/th1520.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/th= ead/th1520.dtsi index 42724bf7e90e08fac326c464d0f080e3bd2cd59b..513dc6977b2633503515ad26091= 3156fbe57d92f 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -493,6 +493,13 @@ uart2: serial@ffec010000 { status =3D "disabled"; }; =20 + pwm: pwm@ffec01c000 { + compatible =3D "thead,th1520-pwm"; + reg =3D <0xff 0xec01c000 0x0 0x4000>; + clocks =3D <&clk CLK_PWM>; + #pwm-cells =3D <3>; + }; + clk: clock-controller@ffef010000 { compatible =3D "thead,th1520-clk-ap"; reg =3D <0xff 0xef010000 0x0 0x1000>; --=20 2.34.1