From nobody Wed Dec 17 12:04:47 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 4039033CE9E for ; Thu, 16 Oct 2025 13:38:25 +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=1760621907; cv=none; b=WYSxiWttTFkKkm7qyVlBwe/g3wqbNHDvcovVZMAz5tArreb1kRbEjL2PKu3cDvTaXiSW7vol7+JU8njG7AKJ457csueEZ4iou0WRIoSqaBrHy49ClhL2x/TNyd4ViKWUT6KAZrN6ZhSiQkHpcvOk/LGUTsmmbMZgC6JDEppsCG0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760621907; c=relaxed/simple; bh=p0H3481Zkl0+z4VK6agde6AJuDWosgsfDjd3XFle06A=; h=From:Date:Subject:MIME-Version:Message-Id:In-Reply-To:To:Cc: Content-Type:References; b=YI+uJRp718BYrqcohFDSvoQjgkT1QtcpybIrH1j+Nss51YQZimROzdcJN5tuxPdb8loSNfQZWQQSLbxkwCcUiBgHLGG3U4pZ9DFdbyQGoieMYrnaR5IdccM0r0pu/YEe+jVRyAYH9AcMtf7unnpK2EzyfOW039C7sglm/aFk7l8= 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=F+D2+SNP; 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="F+D2+SNP" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20251016133823euoutp0204066a41b0bedf6974d5210e1330faa8~u-EsMKT-N2255022550euoutp02L for ; Thu, 16 Oct 2025 13:38:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20251016133823euoutp0204066a41b0bedf6974d5210e1330faa8~u-EsMKT-N2255022550euoutp02L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1760621903; bh=eT8RkG+U24IE++XjMWy2IQGAD04kyyT/SL/9uQZEpkY=; h=From:Date:Subject:In-Reply-To:To:Cc:References:From; b=F+D2+SNPfpFNqJ+SG5HWvDoARfX8LYlDg5TlSts/eVidFSNL9gEjfC/BUzJP+SFH+ 5My35VspDd/ERFNRzUqQH1hAcdSo8F1GdGFU667+ydXa9HfzqiqxaZ0iHIuz+wA7rX 19cKmvab+PM9cD3iK+xRYdP9GsRy/85qGBQJUEVk= Received: from eusmtip2.samsung.com (unknown [203.254.199.222]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20251016133822eucas1p15e605481cd324276ec87ab596e1527e8~u-Erj7ICo0900709007eucas1p1u; Thu, 16 Oct 2025 13:38:22 +0000 (GMT) Received: from AMDC4942.eu.corp.samsungelectronics.net (unknown [106.210.136.40]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20251016133821eusmtip2c380633bb1fec812660bd2026a113d83~u-EqbQR1l2342023420eusmtip2Y; Thu, 16 Oct 2025 13:38:21 +0000 (GMT) From: Michal Wilczynski Date: Thu, 16 Oct 2025 15:38:06 +0200 Subject: [PATCH v16 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: <20251016-rust-next-pwm-working-fan-for-sending-v16-6-a5df2405d2bd@samsung.com> In-Reply-To: <20251016-rust-next-pwm-working-fan-for-sending-v16-0-a5df2405d2bd@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 , Daniel Almeida , 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, Elle Rhumsaa X-Mailer: b4 0.15-dev X-CMS-MailID: 20251016133822eucas1p15e605481cd324276ec87ab596e1527e8 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20251016133822eucas1p15e605481cd324276ec87ab596e1527e8 X-EPHeader: CA X-CMS-RootMailID: 20251016133822eucas1p15e605481cd324276ec87ab596e1527e8 References: <20251016-rust-next-pwm-working-fan-for-sending-v16-0-a5df2405d2bd@samsung.com> Add the Device Tree node for the T-HEAD TH1520 SoC's PWM controller. Reviewed-by: Drew Fustini Tested-by: Drew Fustini Reviewed-by: Elle Rhumsaa 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 e680d1a7c821f381d116748ed063fe2649aedaca..9ed0465cb527ccbc5b2b1ae3d90= 24091c6859754 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -502,6 +502,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