Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2029086rwp; Thu, 13 Jul 2023 22:41:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlHlR+AH+XEJp59GdNhN1/cq0M9mtTQBKvTp8QutzzVi9ztEH0inomMNH8ASUKYL0ETkzw4Q X-Received: by 2002:a05:6871:1d4:b0:1b7:8836:95c3 with SMTP id q20-20020a05687101d400b001b7883695c3mr4518670oad.54.1689313281816; Thu, 13 Jul 2023 22:41:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689313281; cv=none; d=google.com; s=arc-20160816; b=DMSbz8SWfM8nQwxYBbrxTnpTxWeDSdMlKzf5qpGfj4RDs7dMltyg8xESrDdeoxC6sZ Eo5045AqbifLH0UhpqOILmkGGDzXGTTum5sMQrxZyJzqSmZP1H/frZvsSMa1khSsg2yE +cIqcU8+yQoJReXfDhtxMxTJtKyaqj0VLWWm6HGKQaA8LlBsLTep3+dVqUAFGsAqNzaB 9rm2faJl+j7uXLqF9FVhvo1MhkA+Z1cW9eHY+kQF/d1ogRSDM75ENnidwVsjnfi2L1/r 15NM7pePQbR8mkrJXiiJi5VxoPLOhTcl3cVG0bSj08KfFE+QZqivRZzPiP8hHmPMM71A A1SQ== 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 :content-transfer-encoding:in-reply-to:from:content-language:cc:to :subject:user-agent:mime-version:date:message-id:dkim-signature :dkim-filter; bh=FH9ncGZNeuvXThGojUuRBNFIVkXtbRJVe1BwpUu+UwE=; fh=iEdGmpFm5A1vYjSFDNmzvs184vDLIyxH5rvpv8FjEX4=; b=ttjYmS/M+JpSX/pSmsYzhqXmJuuSStNlF4TGTnE/t9HDxnz5pd/Gv6/hSq6ZeRz8uu MBmwCJDNPS1hp4V8Jc7ZdIDyRlDgF7BOK+9vwq/BOG7vPynZJTn8orW1Xn2+cCJPtpXJ RWShy/vvuSZ7ttZ5R7FgKskghz02mcEy3pc55sPfilcMnBaW6EKM8bG5wwaZStPPtFgQ NUiqshRJKA8CAduUS9nnyhV1ik8zL9E7o1qAK4XnHEHmecjaYlZ8bATjj4IjTDN0DlFk Gb8Gr6Z//OcPIN+ltZMlgxN+qzf3BjRg7qF4Wh5riXy28yKexRnOQBC5HLFfD/g4VOk3 oMXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=bqM9DdJj; 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 r68-20020a632b47000000b00534866eb2c2si6258671pgr.835.2023.07.13.22.41.09; Thu, 13 Jul 2023 22:41:21 -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=bqM9DdJj; 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 S235084AbjGNFcF (ORCPT + 99 others); Fri, 14 Jul 2023 01:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235093AbjGNFbl (ORCPT ); Fri, 14 Jul 2023 01:31:41 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 667923A8E for ; Thu, 13 Jul 2023 22:31:18 -0700 (PDT) Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230714053115epoutp03f911e8ab575adb053b38f57388badb5a~xpO2WpucW0270602706epoutp03s for ; Fri, 14 Jul 2023 05:31:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230714053115epoutp03f911e8ab575adb053b38f57388badb5a~xpO2WpucW0270602706epoutp03s DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1689312675; bh=FH9ncGZNeuvXThGojUuRBNFIVkXtbRJVe1BwpUu+UwE=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=bqM9DdJjGi3oZwRqTqqPGyIVusfLot9dqS6t9EyP/DNAUbnht6B9pG0LfZtsQUR6+ 5c6KUHlPcrqmDiLQyTJWnjJ7PiQDsIJw5AbL5M0QfvXtZm26Hkf65QcGKjJ4Ij9MtF YnpQmtc9Z7oGp7V2MYRxcOj9pVynugAy+oJPiVXw= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20230714053115epcas2p2df39db9341dc7fb4d19e2cacf18fa7de~xpO18GDGp1685916859epcas2p2l; Fri, 14 Jul 2023 05:31:15 +0000 (GMT) Received: from epsmges2p4.samsung.com (unknown [182.195.36.98]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4R2KpB633fz4x9Py; Fri, 14 Jul 2023 05:31:14 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id 23.E4.32393.2ADD0B46; Fri, 14 Jul 2023 14:31:14 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20230714053114epcas2p1ebc203b5522cc05c984a55b30bdbcd1b~xpO1Q82Ar3185131851epcas2p1E; Fri, 14 Jul 2023 05:31:14 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230714053114epsmtrp2f7630b7f688b759da530ab3deca8f76e~xpO1P3dSl0594005940epsmtrp27; Fri, 14 Jul 2023 05:31:14 +0000 (GMT) X-AuditID: b6c32a48-0fa7ca8000007e89-b8-64b0dda2df51 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id EF.08.64355.2ADD0B46; Fri, 14 Jul 2023 14:31:14 +0900 (KST) Received: from [10.229.8.168] (unknown [10.229.8.168]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230714053114epsmtip29085bfc1299f6034c1ceadf41cdf3ec9~xpO09a-5i2248122481epsmtip25; Fri, 14 Jul 2023 05:31:14 +0000 (GMT) Message-ID: Date: Fri, 14 Jul 2023 14:28:41 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] arm64: dts: exynos: add pwm node for exynosautov9-sadk To: Krzysztof Kozlowski , 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 Content-Language: en-US From: Jaewon Kim In-Reply-To: <3bc9c34a-ba55-61c5-87ea-80b369841873@linaro.org> Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGJsWRmVeSWpSXmKPExsWy7bCmme6iuxtSDJ73GVo8mLeNzeLyfm2L NXvPMVnMP3KO1aLvxUNmi72vt7JbbHp8jdXi8q45bBYzzu9jsmjde4Tdgctj06pONo871/aw eWxeUu/Rt2UVo8fnTXIBrFHZNhmpiSmpRQqpecn5KZl56bZK3sHxzvGmZgaG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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: 20230714052025epcas2p46d5485a277c9f21ace14300dd9d7b4d8 References: <20230714051521.22720-1-jaewon02.kim@samsung.com> <3bc9c34a-ba55-61c5-87ea-80b369841873@linaro.org> X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Krzysztof On 23. 7. 14. 14:26, Krzysztof Kozlowski wrote: > On 14/07/2023 07:15, Jaewon Kim wrote: >> 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"; > Thanks for the patch. I think we should change existing practice for > Samsung SoC and start adding dedicated specific compatible for such > blocks. It's the same practice we follow in other SoCs. It's also > recommendation I give to other platforms. > > Therefore this should be "samsung,exynosautov9-pwm", > "samsung,exynos4210-pwm". Feel free to update other DTS as well. Okay, I will update "samsung,exynosautov9-pwm" compatible in next version. > >> + reg = <0x103f0000 0x100>; >> + samsung,pwm-outputs = <0>, <1>, <2>, <3>; >> + #pwm-cells = <3>; >> + clocks = <&xtcxo>; > This does not look like correct clock. Are you sure XTCXO goes to PWM? > > > > Best regards, > Krzysztof > > Thanks Jaewon Kim