Message ID | 20230714100929.94563-4-jaewon02.kim@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD6A9EB64DC for <linux-arm-kernel@archiver.kernel.org>; Fri, 14 Jul 2023 10:15:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dFT+cbY8+7mVGRPVk3EXghR4FG1ZFr241C8zhIqBFZg=; b=VNK8/9GFwG7GlW dmxUk6RyHjvmL3DfLXWOSk/lFcMSZ8Tpns/Rb6C2GDiPw+qi+R857+kYjv3D+TRNocnycpiS6b3E8 eoU9CSAQhGYuynvJ+h2PM1GxHr5BbUsKbQPMcoLpyuS3hPkoR+nrOKOn2nzC3D3J7Lv2ZmjTGfCgf erz6cy4SKgBfa6Y++1iq8XImWKhMe2RD/57+dLADjlk4to2Q4pYzOv2dcqDdDFFF7bVz1hI0V884h 6aRYaZB2pl9aBJgvfcZhwGKa2+heJMSMOFdyVL8LY1Y4loYbulmv8l4y4IXzirg84tFCy/VKl+wb1 xMSQl7eyG4WswvuOtuwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKFpC-005mYH-1k; Fri, 14 Jul 2023 10:14:58 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKFp5-005mQ1-38 for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 10:14:55 +0000 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230714101436epoutp03a2e7789afc226c5604f1bdfb81a5950d~xtGPYkdJl0809608096epoutp03S for <linux-arm-kernel@lists.infradead.org>; Fri, 14 Jul 2023 10:14:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230714101436epoutp03a2e7789afc226c5604f1bdfb81a5950d~xtGPYkdJl0809608096epoutp03S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1689329676; bh=5y2wn7eKoq4joqL9pyavaB3xiLHVTS+gBfYcdENKvTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VqrB9gqbHHcf3LkWzZyhlAm2kTNaZRXgGrlQRAutv3XuqBN0d/A+bazr1FlIz80D6 83o2RLlUGzKM/v0zOnGh81JAGOprWo0cSsbrDwVlCl2YsoR0eTdbKkFHYHLXDpS70z UIYG5F7Nwk5sgBZ1bMp7UnCs7LrfiQkgeCK71rfk= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20230714101435epcas2p4f21db32a8183f267bd6ec493900ceaa9~xtGOn9q882145921459epcas2p4o; Fri, 14 Jul 2023 10:14:35 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.89]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4R2S570P47z4x9Q2; Fri, 14 Jul 2023 10:14:35 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 51.42.40133.A0021B46; Fri, 14 Jul 2023 19:14:34 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20230714101434epcas2p1d52a733cf3d9c5d0d8f2c26ef1a85a00~xtGNkhLfQ0423904239epcas2p1K; Fri, 14 Jul 2023 10:14:34 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230714101434epsmtrp28cef28463dd16bf95d5fac3370f4805a~xtGNjsV0p0309603096epsmtrp2T; Fri, 14 Jul 2023 10:14:34 +0000 (GMT) X-AuditID: b6c32a46-6fdfa70000009cc5-02-64b1200ad4f5 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 6D.E9.64355.A0021B46; Fri, 14 Jul 2023 19:14:34 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230714101433epsmtip10142344b7fe968c201268d93546300fa~xtGNWtkqX2241322413epsmtip19; Fri, 14 Jul 2023 10:14:33 +0000 (GMT) From: Jaewon Kim <jaewon02.kim@samsung.com> To: Thierry Reding <thierry.reding@gmail.com>, =?utf-8?q?Uwe_Kleine-K=C3=B6n?= =?utf-8?q?ig?= <u.kleine-koenig@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Alim Akhtar <alim.akhtar@samsung.com> Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Chanho Park <chanho61.park@samsung.com>, Jaewon Kim <jaewon02.kim@samsung.com> Subject: [PATCH v2 3/3] arm64: dts: exynos: add pwm node for exynosautov9-sadk Date: Fri, 14 Jul 2023 19:09:29 +0900 Message-Id: <20230714100929.94563-4-jaewon02.kim@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230714100929.94563-1-jaewon02.kim@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPKsWRmVeSWpSXmKPExsWy7bCmuS6XwsYUg50zrC0ezNvGZnF5v7bF mr3nmCzmHznHarGj4QirRd+Lh8wWmx5fY7W4vGsOm8Xdu6sYLWac38dk0br3CLvFz13zWCxu T5zM6MDrsXPWXXaPTas62TzuXNvD5rF5Sb1H/18Dj74tqxg9Pm+SC2CPyrbJSE1MSS1SSM1L zk/JzEu3VfIOjneONzUzMNQ1tLQwV1LIS8xNtVVy8QnQdcvMAbpVSaEsMacUKBSQWFyspG9n U5RfWpKqkJFfXGKrlFqQklNgXqBXnJhbXJqXrpeXWmJlaGBgZApUmJCdsbXjL2vBLu6K67/e MjcwHuXsYuTkkBAwkWj4dZqxi5GLQ0hgB6PEvZ9noZxPjBIT2kEynBDO565smI6vL7cyQRTt ZJS49vErG4TzkVFiyYP3rCBVbALaEt/XLwazRQQWMkk8u18GYjMLfGOUmPyHB8QWFgiQ6N7V C1TDwcEioCrx9lANSJhXwFZi9dvtrBDL5CVWbzjADGJzCthJPPu3CWyXhMBfdonNy78yQxS5 SOzZeIUJwhaWeHV8CzuELSXx+d1eNgg7W6J9+h+ooRUSFzfMhoobS8x61s4IcgOzgKbE+l36 IKaEgLLEkVssEBfzSXQc/ssOEeaV6GgTgmhUk7g/9RzUEBmJSUdWQh3gIXHh70FoiExklLh4 uYFxAqPcLIQFCxgZVzGKpRYU56anFhsVGMHjKzk/dxMjOCVque1gnPL2g94hRiYOxkOMEhzM SiK8KtvWpQjxpiRWVqUW5ccXleakFh9iNAUG3URmKdHkfGBSziuJNzSxNDAxMzM0NzI1MFcS 573XOjdFSCA9sSQ1OzW1ILUIpo+Jg1OqgcnLyYY34dE95u05CU+ep7Sla5eL7tgvtcX89OSN ++rjXz8RNyx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vdsMbfGhxZ/X5c486dNdUp2eetMjN/aBb9Sso4/efK1pflgx6f2Pnk8n GV2+82fv8P/OKv55AV9keUey3rJFZ9PuZqSonE1fzBJau2tSjcyvmtmBfcq7T06O4ZjygXfy 99hTUmZ6FZy7xDncqhwe/ur93bd3DqfdYuXTurcfXuWWEss59ap/e6eP6pZkaeU98xxjKpVY ijMSDbWYi4oTAehOQf3LAgAA X-CMS-MailID: 20230714101434epcas2p1d52a733cf3d9c5d0d8f2c26ef1a85a00 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230714101434epcas2p1d52a733cf3d9c5d0d8f2c26ef1a85a00 References: <20230714100929.94563-1-jaewon02.kim@samsung.com> <CGME20230714101434epcas2p1d52a733cf3d9c5d0d8f2c26ef1a85a00@epcas2p1.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230714_031452_487995_92EB320E X-CRM114-Status: GOOD ( 15.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
support PWM for exynosautov9
|
expand
|
diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts index 898c2fc345ed..e717bb1cad81 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts +++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts @@ -50,6 +50,12 @@ }; }; +&pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_tout3>; + status = "okay"; +}; + &serial_0 { pinctrl-0 = <&uart0_bus_dual>; status = "okay"; diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi index d3c5cdeff47f..672af47c79c1 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -1560,6 +1560,15 @@ samsung,syscon-phandle = <&pmu_system_controller>; samsung,cluster-index = <1>; }; + + pwm: pwm@103f0000 { + compatible = "samsung,exynosautov9-pwm"; + reg = <0x103f0000 0x100>; + samsung,pwm-outputs = <0>, <1>, <2>, <3>; + #pwm-cells = <3>; + clocks = <&xtcxo>; + clock-names = "timers"; + }; }; };
Add pwm node to support fan on exynosautov9-sadk board. PWM channel 3 of ExynosAutov9 is connected to fan for SoC cooling in SADK board. Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com> --- arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts | 6 ++++++ arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 9 +++++++++ 2 files changed, 15 insertions(+)