From patchwork Fri Jul 14 05:15:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaewon Kim X-Patchwork-Id: 13312956 Return-Path: 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 55811EB64DA for ; Fri, 14 Jul 2023 05:21:10 +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: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:In-Reply-To: List-Owner; bh=sNkuD/OcxU6bKH79DH0MpiU1oMhQ44JyDzkTolEOyqs=; b=hwcPE9PUU42jAc xLTQGsBp9KQvqvlmF0qSDHitvD8NpuCMI99XSdVYKIv4SyAqfnXzJKuTnaazcY6/stujzDkrXtVez MmTnUO1Zq2Wm5qbDr/lECo+PeHzEm6LWlNX7/CsJrmupHg2H4z31Whd4w/IMDL9UPHGp6Hatz/TkL K1XzFskeHg54/McE01TeJDW9kx1J11vESgf2arnmMGNqUwrca7Byd0XqBmoBKYGVD3l5Co64htumR 8A86guPR/4mdrctem1d26Mr9X7xkeobOJNT497kzKYE/DQmbbXGdiykhCHWeoKjKrRjKsKdwKI4+b YUCwzFBw2wK/aCGHi47Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKBEN-0053Ql-1L; Fri, 14 Jul 2023 05:20:39 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKBEJ-0053Q3-2Z for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 05:20:38 +0000 Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20230714052026epoutp02b0d7df4f033a41be90c7d5ead83670e0~xpFZxM-TR0527305273epoutp02_ for ; Fri, 14 Jul 2023 05:20:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20230714052026epoutp02b0d7df4f033a41be90c7d5ead83670e0~xpFZxM-TR0527305273epoutp02_ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1689312026; bh=HgQ1MLPChBeRR9u2P73bmaJa95URuggnT6VF1NFZi0Q=; h=From:To:Cc:Subject:Date:References:From; b=JyPr8RssLY52B0n037ypZPGohz6obYTJFsXoNj9n6VfGhd1m1v5pqbLlf3+scrpdA /k8codzMhaqwFGqVfR/rD3LaMnGZvdNvqmtwzfcwhCIv67ucfWtXGlfhYrsUrSMLCx Qr2a6jxoJPuDVR8+gfpM8fmOy4SNe7gBuR3HNiGw= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20230714052026epcas2p1cb17548c6bcdfafe38a129feed128ac8~xpFZZrydn1134511345epcas2p1s; Fri, 14 Jul 2023 05:20:26 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.101]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4R2KYj4hvcz4x9Q5; Fri, 14 Jul 2023 05:20:25 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 62.F5.40133.91BD0B46; Fri, 14 Jul 2023 14:20:25 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20230714052025epcas2p46d5485a277c9f21ace14300dd9d7b4d8~xpFYn5g8-1875118751epcas2p4T; Fri, 14 Jul 2023 05:20:25 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230714052025epsmtrp1ec16bc9ee2542943a04b8164b3626db9~xpFYnD_ot0608206082epsmtrp1m; Fri, 14 Jul 2023 05:20:25 +0000 (GMT) X-AuditID: b6c32a46-4edb870000009cc5-cc-64b0db19ec1f Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id EA.92.14748.91BD0B46; Fri, 14 Jul 2023 14:20:25 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230714052024epsmtip22a0713a12c6a631e2368ad5af71bed45~xpFYTiwBm1519115191epsmtip2H; Fri, 14 Jul 2023 05:20:24 +0000 (GMT) From: Jaewon Kim To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Chanho Park , Jaewon Kim Subject: [PATCH] arm64: dts: exynos: add pwm node for exynosautov9-sadk Date: Fri, 14 Jul 2023 14:15:21 +0900 Message-Id: <20230714051521.22720-1-jaewon02.kim@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFKsWRmVeSWpSXmKPExsWy7bCmqa7k7Q0pBk/bFC0ezNvGZnF5v7bF mr3nmCzmHznHarGj4QirRd+Lh8wWmx5fY7W4vGsOm8WM8/uYLFr3HmF34PLYtKqTzePOtT1s HpuX1Hv0bVnF6PF5k1wAa1S2TUZqYkpqkUJqXnJ+Sm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sIAAAAAAAAA+NgFuphluLIzCtJLcpLzFFi42LZdlhJXlfy9oYUg9v3mC0ezNvGZnF5v7bF mr3nmCzmHznHarGj4QirRd+Lh8wWmx5fY7W4vGsOm8WM8/uYLFr3HmF34PLYtKqTzePOtT1s HpuX1Hv0bVnF6PF5k1wAaxSXTUpqTmZZapG+XQJXxtnfP9gKdnBXPN/2hLmB8TBnFyMnh4SA icSKf+8YQWwhgd2MEmv7jCDiMhLLn/WxQdjCEvdbjrB2MXIB1bxnlPj/dgEzSIJNQFvi+/rF YAkRgXWMEi3fXjKCOMwC9xkl9my9C+RwcAgLuEtsPugM0sAioCrx4OZfsGZeAVuJCU1fGSE2 yEus3nCAeQIjzwJGhlWMkqkFxbnpucmGBYZ5qeV6xYm5xaV56XrJ+bmbGMEBpqWxg/He/H96 hxiZOBgPMUpwMCuJ8KpsW5cixJuSWFmVWpQfX1Sak1p8iFGag0VJnNdwxuwUIYH0xJLU7NTU gtQimCwTB6dUA5P0E3XJtUZ65z+qXBLZ+oSx0UfU/lFvwv0p6Swid+T+Z7Wp90UZWWs6LMsz /OA8efuBn4p8yRLbSmVaFvydaSp32KqURX2G9YNttsI37fq8n5ZKZLqu+OEnZLTm8eqNfzRj Xwb++lm1keORhZqddX5qxN48nevCzx10p63otJI8rsqXXf9TIcVZV33JsciDfx/J3t3Z52N4 w82Oz7Zt5tVPF43uvux9mP64yVvDv2FtrN2OCkux/8yXI79LXltexBjzOkSw2nCl49PL3h6M T1wV7nVKqDztWGlcKuxdpr0n/8nC5d0nXh/aUFSuf3DC2+Ne8+ZcYGGb/dVsfmeh1YL8fbtM azuTdp7N3/akTomlOCPRUIu5qDgRAPCfAVyfAgAA X-CMS-MailID: 20230714052025epcas2p46d5485a277c9f21ace14300dd9d7b4d8 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230714052025epcas2p46d5485a277c9f21ace14300dd9d7b4d8 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230713_222036_487418_0FD04863 X-CRM114-Status: GOOD ( 15.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts | 6 ++++++ arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 9 +++++++++ 2 files changed, 15 insertions(+) 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..e8860b03fe89 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,exynos4210-pwm"; + reg = <0x103f0000 0x100>; + samsung,pwm-outputs = <0>, <1>, <2>, <3>; + #pwm-cells = <3>; + clocks = <&xtcxo>; + clock-names = "timers"; + }; }; };