Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2257276rwp; Fri, 14 Jul 2023 03:28:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlEg2vwLNHzbeQ/6M2POJnpxhy1EMUeZ5PM8ugPgPEnoZVR/y5t9QSKGH24L+JixfZIjgTJJ X-Received: by 2002:a17:903:1209:b0:1b8:b288:626e with SMTP id l9-20020a170903120900b001b8b288626emr4704037plh.35.1689330502490; Fri, 14 Jul 2023 03:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689330502; cv=none; d=google.com; s=arc-20160816; b=xRxsD3KIJqCytb5MXMAbHTZspsgfgedkpq8U9UZoL689wFDYBovQkmxCwaaL1+s92x A/k3frreOQ++fk88Ud2AVHIWk8EDfaZvEM4s8Jnl3CQuHOY729Gcbrp+N1FJMYRsFHgn YxCHdO6bnrx86+wWoeLsbsI5o302KsCG7Jp71ue5xHXU07kpckC1OO88XnHZFyYaEZl4 2bKr+/UrGPuMXP2nAKwPVWfI8DsVHdNwk7IvRxORfZOujaneeNfOI9VHrjn4CqUYDUbz DiucTRZhAqOU7/QeyoOGPbvmn8rCtlsoiCVeLfFGpEJG6RzguWip8fek9GwvbDQ9sTRU R9AA== 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=5y2wn7eKoq4joqL9pyavaB3xiLHVTS+gBfYcdENKvTA=; fh=kDQ3WEJAf8uRbMc5V4FEJEHcQvdDJi3kJtqJ5WZmaHc=; b=KVRcVSx2wX5JQdXS5YCBKqnEXPmrKw73y6Z+tHw4iIn7xf4Kk3xtFJXzMYZvqPhI3C BVTrfG6xQw4pM/u7DAXTBrYjkJcktYs1I/esm2iAy0Kd3KeiInlIJTiuwFQCfz5IOp3n gDXg80rgfpDiMDcDwCAP4WlWWj2KOWsH8COAscSlfBVLgsfsNuhuZOT+yutEjg1DLv3w vERZ7tYaWCJu0zLyPr4+Ww91xWLJK6flDp/XLxtMkBxj2dp8opa3OOeIIWvRaZzQa7u5 SH6Sds6IKpXcftcu/FHaRjamWS5a7QRotP3GJul/gwIh6RxUW0UW+ZjJGg17H/GX6qVe v7zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=VqrB9gqb; 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 u18-20020a17090341d200b001bb0fdb28a3si1953316ple.210.2023.07.14.03.28.10; Fri, 14 Jul 2023 03:28:22 -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=VqrB9gqb; 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 S236127AbjGNKPd (ORCPT + 99 others); Fri, 14 Jul 2023 06:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236111AbjGNKPM (ORCPT ); Fri, 14 Jul 2023 06:15:12 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6296735AF for ; Fri, 14 Jul 2023 03:14:41 -0700 (PDT) Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20230714101436epoutp0124e02f32845e5b8fdfd95a6fbeea90c3~xtGPhWvn-0708507085epoutp01i for ; Fri, 14 Jul 2023 10:14:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20230714101436epoutp0124e02f32845e5b8fdfd95a6fbeea90c3~xtGPhWvn-0708507085epoutp01i 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 To: Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar 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 , Jaewon Kim 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/JzEu3VfIOjneONzUzMNQ1tL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WpSXmKPExsWy7bCSnC6XwsYUg5vr2SwezNvGZnF5v7bF mr3nmCzmHznHarGj4QirRd+Lh8wWmx5fY7W4vGsOm8Xdu6sYLWac38dk0br3CLvFz13zWCxu T5zM6MDrsXPWXXaPTas62TzuXNvD5rF5Sb1H/18Dj74tqxg9Pm+SC2CP4rJJSc3JLEst0rdL 4MrY2vGXtWAXd8X1X2+ZGxiPcnYxcnJICJhIfH25lQnEFhLYziixr0cDIi4jsfxZHxuELSxx v+UIaxcjF1DNe0aJ46/PMoIk2AS0Jb6vXwyWEBFYzCTxpvshmMMs8IdRor9pBStIlbCAn8TM xo3sXYwcHCwCqhJvD9WAhHkFbCVWv93OCrFBXmL1hgPMIDangJ3Es3+b2CAuspX48PgH0wRG vgWMDKsYRVMLinPTc5MLDPWKE3OLS/PS9ZLzczcxggNXK2gH47L1f/UOMTJxMB5ilOBgVhLh Vdm2LkWINyWxsiq1KD++qDQntfgQozQHi5I4r3JOZ4qQQHpiSWp2ampBahFMlomDU6qBaWeu 7FOtt80820tvH1djWXMj8Lpksl0W49TMmxUtJ+/m8ji98g0uX//qK9fmHGV7oy8H+RpFBThC /v702znxZctPTe1nmrNar7yrWbMhbdmzCfM8o1+c+xC7kmWlyz/vO7fl1/Cv373j1ZkEpS83 3s5Z3JFy2zlsye4yvdsMbfGhxZ/X5c486dNdUp2eetMjN/aBb9Sso4/efK1pflgx6f2Pnk8n GV2+82fv8P/OKv55AV9keUey3rJFZ9PuZqSonE1fzBJau2tSjcyvmtmBfcq7T06O4ZjygXfy 99hTUmZ6FZy7xDncqhwe/ur93bd3DqfdYuXTurcfXuWWEss59ap/e6eP6pZkaeU98xxjKpVY ijMSDbWYi4oTAehOQf3LAgAA X-CMS-MailID: 20230714101434epcas2p1d52a733cf3d9c5d0d8f2c26ef1a85a00 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: 20230714101434epcas2p1d52a733cf3d9c5d0d8f2c26ef1a85a00 References: <20230714100929.94563-1-jaewon02.kim@samsung.com> 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,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: 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 --- 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..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"; + }; }; }; -- 2.17.1