Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5245129rwp; Sun, 16 Jul 2023 23:55:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlH3IRULAgreshf2l2WlvU9di8VF1DWLD17JqK/y2vkuDz1DJOo+cvBsNy2MfMLt8FnVU32m X-Received: by 2002:a17:906:7a52:b0:993:eef2:5d53 with SMTP id i18-20020a1709067a5200b00993eef25d53mr4506698ejo.0.1689576940521; Sun, 16 Jul 2023 23:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689576940; cv=none; d=google.com; s=arc-20160816; b=jGQTC0H4EinL3bvjP6Q2mhVlFMtwNXuGnZBaT2jM6VEfT/zikMbfx7/1HOmnpbi+Z5 kPthFuiVld37SnSGOrSCXByxzBvoVWf9u1S7AiTiiSta3Vr8+2PVgMNv6dyK47IIwSYR W8+LVkc+oZVPTY3H5vGu53dS9h99PfE52uMMPNX/xaxxcGAbD7GBTvrLXjSenSWiIyV2 Y+onFJvaUwlDGeVqt4loU35b7Pj77NIvQ576kz7AFv8wUrhtN7FvtaOqKpvzlt6W6X71 FFoeWbkag/hxVIqFXpq6T345ydnORFeiatP4CCQEZXNUtUuw0oZF4aWN2oHd/rbKI7A4 6TBw== 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:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=7IlN+/vOFpy/kZO8jlCQ1rWIEH+D8SX1OhK9NB37YCk=; fh=/BeTJFI5VQakC+Q+r5xPs8BcKCx+/QievVkF85swJ/U=; b=ZLOJKn/6xzp7dcYzIF1eo6vURKR9NfPZq09rTb7L1pfeIPb2q5XhdB7LxDJ7oA79c8 WVRwyfD2X6tjnVKOsDNWBhexqJrU9FHmzPUQL5OPEfTwCtYvH4ep9aFDvuHrau96Yswa zLSiSf8gbRTZdM0qxivahSsT0J6ceg8WA1EMrrdFwD8yTLEfLBfAqzyzIU/2BLquOHKW Cw5CUjhcYDFIaZnBF52NjOvg+EaVqFYk0kSXoWYZD4IhbE72tFmOLOcPWT3t+rQ507yh hSDt+XVYsSlq3ATXBUfDBZBP3f02+2MR0rhguuWtG7QwsEFkTmQIpULKDbrVGgCkpBaz yPsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=X0zpziFk; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o15-20020a170906358f00b0095317ae767esi6873209ejb.46.2023.07.16.23.55.16; Sun, 16 Jul 2023 23:55:40 -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=X0zpziFk; 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 S229756AbjGQGiq (ORCPT + 99 others); Mon, 17 Jul 2023 02:38:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229752AbjGQGil (ORCPT ); Mon, 17 Jul 2023 02:38:41 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BA6311C for ; Sun, 16 Jul 2023 23:38:40 -0700 (PDT) Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230717063838epoutp031a9e30f25675d511cf200fbf6ce3afdd~ylFijfD8J2127521275epoutp03T for ; Mon, 17 Jul 2023 06:38:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230717063838epoutp031a9e30f25675d511cf200fbf6ce3afdd~ylFijfD8J2127521275epoutp03T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1689575918; bh=7IlN+/vOFpy/kZO8jlCQ1rWIEH+D8SX1OhK9NB37YCk=; h=From:To:Cc:Subject:Date:References:From; b=X0zpziFk2gwcHXZHdcfH64MdFNpkvMeFvr6Ic9KEQLxI10Y7w9MtfboxTh0fRJXZ0 bCbKwmCFNwlHbw+2S/itKoUsSKDS8r4ieIdIwZE4n4CycxocBhs1eu4JucCUuEf1Eb Utd/Q6GSiCphnoLqkb+6mZ945K5tqdHEZzHqRLmw= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20230717063837epcas2p37b528d9a3d00d4a148c41b90d4917c9e~ylFh779rH1900219002epcas2p3U; Mon, 17 Jul 2023 06:38:37 +0000 (GMT) Received: from epsmges2p1.samsung.com (unknown [182.195.36.92]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4R4C8Y4XWPz4x9Q1; Mon, 17 Jul 2023 06:38:37 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id 4F.4D.49913.DE1E4B46; Mon, 17 Jul 2023 15:38:37 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20230717063837epcas2p3780fbf0f8c12ca070aa296766d0eb5e8~ylFhEBG441900219002epcas2p3P; Mon, 17 Jul 2023 06:38:37 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230717063837epsmtrp10579e02b2b7977c549a5225cf3a1414c~ylFhDBuos1682716827epsmtrp1B; Mon, 17 Jul 2023 06:38:36 +0000 (GMT) X-AuditID: b6c32a45-5cfff7000000c2f9-93-64b4e1ed0f2c Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id DC.60.34491.CE1E4B46; Mon, 17 Jul 2023 15:38:36 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230717063836epsmtip2d0ed344014d8d5ae2e73c3633f2a756b~ylFgx2w2U2665326653epsmtip2J; Mon, 17 Jul 2023 06:38:36 +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, Jaewon Kim Subject: [PATCH v3] arm64: dts: exynos: add pwm node for exynosautov9-sadk Date: Mon, 17 Jul 2023 15:33:19 +0900 Message-Id: <20230717063319.19974-1-jaewon02.kim@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBKsWRmVeSWpSXmKPExsWy7bCmhe7bh1tSDBY8UrJ4MG8bm8WaveeY LOYfOcdqsaPhCKtF34uHzBabHl9jtbi8aw6bxYzz+5gsWvceYXfg9Ni0qpPN4861PWwem5fU e/RtWcXo8XmTXABrVLZNRmpiSmqRQmpecn5KZl66rZJ3cLxzvKmZgaGuoaWFuZJCXmJuqq2S i0+ArltmDtA9SgpliTmlQKGAxOJiJX07m6L80pJUhYz84hJbpdSClJwC8wK94sTc4tK8dL28 1BIrQwMDI1OgwoTsjMe33jEXXOepWHHsC2MD4y6uLkZODgkBE4mp/56zdjFycQgJ7GCUOLh9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TkpqTWZZapG+XwJXx+NY75oLrPBUrjn1hbGDcxdXFyMkhIWAi0beu k7mLkYtDSGA3o8T15ctYIRIyEsuf9bFB2MIS91uOsEIUvWeUmH9yGQtIgk1AW+L7+sVgCRGB dYwSLd9eMoI4zAJbGCUuHn8G1i4s4CVx/9hXdhCbRUBV4uamW4wgNq+ArcTpTS+gVshLrN5w gHkCI88CRoZVjJKpBcW56bnFhgWGeanlesWJucWleel6yfm5mxjBwaWluYNx+6oPeocYmTgY DzFKcDArifB+X7UpRYg3JbGyKrUoP76oNCe1+BCjNAeLkjiv+IveFCGB9MSS1OzU1ILUIpgs EwenVAOTRJmhZrAo82Hd96vmNjnkK4TdPLn4Enu2XUteXF6fobr8uTNal691Ciw785Tz1Gcm l6Wf/03cN1dz3fcVhrH15oy8+fs/ZH3Y27+FfaJfWKx6QWO1qcDmkoRyds7jx0v9bjul+Ldk Hdx7O3dNq8ijfZ/cDEv+mi65p/h408QmKQnBNJXbf7MM1hntfBk8xfmvDPelW7MeCtefPLzl xPfJXdIB2tJ+WzJnFV6f0iocn1PsdfDAQp8Ph9eKnSia+13oZIfd9xu7fRxuen3vaLySbbRJ 86dG8czyiwouIos+V4RJKPYWH+0qs+381ddu83V+am3E8pgjllUr9B+W14lsf35svhyfnkhz 3KffGcxKLMUZiYZazEXFiQDIcj6nnQIAAA== X-CMS-MailID: 20230717063837epcas2p3780fbf0f8c12ca070aa296766d0eb5e8 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: 20230717063837epcas2p3780fbf0f8c12ca070aa296766d0eb5e8 References: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.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 --- Changes in v3: - removed adding compatible to driver. Changes in v2: - add compatible string to driver. --- arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts | 6 ++++++ arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 10 ++++++++++ 2 files changed, 16 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..3b906f4db907 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -1560,6 +1560,16 @@ 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"; + }; }; }; -- 2.17.1