Message ID | 20230718062200.79306-3-jaewon02.kim@samsung.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1545351vqt; Mon, 17 Jul 2023 23:39:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlEP+UsE0mCPiYc8NKHdRita5JY9NEtM4tzEN88GjYgs/9QqofHQaYYMC+gUv5UaJlU0p9AK X-Received: by 2002:a05:6a20:7f90:b0:133:8229:196e with SMTP id d16-20020a056a207f9000b001338229196emr15518891pzj.35.1689662398789; Mon, 17 Jul 2023 23:39:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689662398; cv=none; d=google.com; s=arc-20160816; b=eFb0Kxar0pmZitVbZIS6Eq1e/ouaXyi435Vu36v8JPssFerctTfG0Q6cZLbk8tkE+7 BTyupV3mbZ8CUiCDoHtFHPaeU8u+hXbu29WwnLlFNkCd2Y1uIW7JXC+twEQ99l3v3UoR Q/cgj997OItG4VFCXvzAf8HS/yNXTYj33ulS/C/q0I5VnTDWGtPJLat7IZCySOT6rhOq cMtqxodI5ZCAj/VfqkbAMFBkDX6ZaT341DVGW53usTj1U+m2WMOA0bZfjvWQFnnJecc/ wmoHtZFYgOseOrBl+nY1RHa5utUN/T5/bIAyD2Ifku6+4z4rJh+X7sgCWS9dM2Z9Wjcf ePbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=vYQIAYiSqk2C1mX1NBxVZiqE0v3Msi5msNaJNXfmdDA=; fh=4RsyRfkQCbXJqi2fqt7Zb55KGR2uU4g+z+SK6fsIGQ0=; b=x5r4hbcZiV4TOw+UyJNI0YJOaKrxceoCsZnwBYe1ViC+A9PJG4yEw0cYnHtne/bK+1 amZ/hhVoRInB5pDpOVb6L05KR1zc/H92RGft7mVkMrE28k4q3RnReh7jvdVviWzoMyCH 3yQB3Gp/SMIpBqS0l5aqu3UbNdhjngKDG3fQQ/zKuZVZJ2mH4kfZW3fgVFuT1PwgI058 iogpOSrMVsBQajsHHSFDaSR8IhjPnIgg8DWAGCXTjI1+3ca3Tlcosfu16na74hw8cDMz Hs86drEVa/cppeRqd00S9BzJgKGNc6rucX/r6PvB+6MzqljJD8dx+XW92uDNyaKz47J3 c/zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Rx2DYkqI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y23-20020a17090264d700b001b83767e879si1117353pli.266.2023.07.17.23.39.45; Mon, 17 Jul 2023 23:39:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Rx2DYkqI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbjGRG1s (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Tue, 18 Jul 2023 02:27:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjGRG1j (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Jul 2023 02:27:39 -0400 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4F051709 for <linux-kernel@vger.kernel.org>; Mon, 17 Jul 2023 23:27:27 -0700 (PDT) Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20230718062725epoutp0270315544b648189057aea74a3c27e490~y4lB1BE5f1722217222epoutp02W for <linux-kernel@vger.kernel.org>; Tue, 18 Jul 2023 06:27:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20230718062725epoutp0270315544b648189057aea74a3c27e490~y4lB1BE5f1722217222epoutp02W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1689661645; bh=vYQIAYiSqk2C1mX1NBxVZiqE0v3Msi5msNaJNXfmdDA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rx2DYkqI8knI76Vqrddh61jluNwO0RDVIoWk4vsITbkXFAAGEWaKkSbWcYP7Z9/el 8uGSvJ4IQh0GEL0rpgPPsFCh/erNTGdD2w/TLJVyn9KjBiS9SXwdAd5a+XB4DuvU/c haz/0lksnp7JIrpOVxIBZx7Te08oXJJA47ykbruw= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20230718062724epcas2p1b2f2cdddb702defa2f42c1caf10a2f08~y4lBWyg0p0717307173epcas2p1A; Tue, 18 Jul 2023 06:27:24 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.99]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4R4ps845Fxz4x9QJ; Tue, 18 Jul 2023 06:27:24 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 40.67.32606.CC036B46; Tue, 18 Jul 2023 15:27:24 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20230718062724epcas2p38ce71c6a195738a7bdc3871e6cbcf71c~y4lAsdEon1013710137epcas2p3t; Tue, 18 Jul 2023 06:27:24 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230718062724epsmtrp161251800ddcfc4192013b2bcf2ce0307~y4lAreBiR2319023190epsmtrp1i; Tue, 18 Jul 2023 06:27:24 +0000 (GMT) X-AuditID: b6c32a47-9cbff70000007f5e-37-64b630ccccee Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 59.DC.64355.BC036B46; Tue, 18 Jul 2023 15:27:24 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230718062723epsmtip272ad21406fcbc91d01efd7aa03165083~y4lAYnTZN0242102421epsmtip2V; Tue, 18 Jul 2023 06:27:23 +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, Jaewon Kim <jaewon02.kim@samsung.com> Subject: [PATCH v6 2/2] arm64: dts: exynos: add pwm node for exynosautov9-sadk Date: Tue, 18 Jul 2023 15:22:00 +0900 Message-Id: <20230718062200.79306-3-jaewon02.kim@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-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8X 7lV5vP6v8f0/U0Vr9lj9n560q1cwu5ub7fXGapHa2on9j7IefY6Z45lyKVDD+OT8x6e5q34q +p/nvqeiUK1k9Do/dfFh83yeFW8E5IyD/vLcare9eu2AX5WrwYPVJpmJN9NqOm6aK7EUZyQa ajEXFScCAEl17C/HAgAA X-CMS-MailID: 20230718062724epcas2p38ce71c6a195738a7bdc3871e6cbcf71c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230718062724epcas2p38ce71c6a195738a7bdc3871e6cbcf71c References: <20230718062200.79306-1-jaewon02.kim@samsung.com> <CGME20230718062724epcas2p38ce71c6a195738a7bdc3871e6cbcf71c@epcas2p3.samsung.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771739439351537303 X-GMAIL-MSGID: 1771739439351537303 |
Series |
support PWM for exynosautov9
|
|
Commit Message
Jaewon Kim
July 18, 2023, 6:22 a.m. UTC
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 | 11 +++++++++++
2 files changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts index 101f51bf565a..bc1815f6ada2 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts +++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts @@ -49,6 +49,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..16669b0443fa 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -1560,6 +1560,17 @@ samsung,syscon-phandle = <&pmu_system_controller>; samsung,cluster-index = <1>; }; + + pwm: pwm@103f0000 { + compatible = "samsung,exynosautov9-pwm", + "samsung,exynos4210-pwm"; + reg = <0x103f0000 0x100>; + samsung,pwm-outputs = <0>, <1>, <2>, <3>; + #pwm-cells = <3>; + clocks = <&xtcxo>; + clock-names = "timers"; + status = "disabled"; + }; }; };