Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3734972rwi; Wed, 12 Oct 2022 06:12:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4rhH/q5P1/VlYf18QhLEstTTOdO5Yo527922BFx2vqajM2OHo0q7MwOJLBO/Zmu6VjihkH X-Received: by 2002:a17:907:701:b0:780:2c44:e4dd with SMTP id xb1-20020a170907070100b007802c44e4ddmr23008479ejb.589.1665580354841; Wed, 12 Oct 2022 06:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665580354; cv=none; d=google.com; s=arc-20160816; b=dwD/Ba8ecK7YVgDKcTSZpGAwv8LWkurbWrEeIB6uhfBZtBdqiNJSMKJQj8TxRpUN0o uFVaNJ5RUijfGQeHN0wMvasNr5V9P1ebdpO7i/P2wEcDAs0Ev+aifZNlptzsIQ32U7Dm +HwTMU57QYy9V3BS8cHSX8ZY6ALpXUkdy7N1xXmTRx8rqLW1s1gA3kjP6fWTn6GPEC6l bPA2SR6oLJmS0o9UyyTIroNfa68cs9HGwktdWc0KFq/qCFp+x7QYCMl2L3Y/yZtcpnHL Yhy75Jwe6Lq6iidfiyRbaWleurlwNObBfemK/qhxxs7R2DcoeRQRacp7y+fN61ChhROX LX0g== 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-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=TIZ+90NjmK8GlLtfIWETUWYIx+4NieEBiUUq9DU2zoA=; b=QWriRyb9S14gCiAzDwMRuxJWirO4PDgxX/vxtYle5H8FmtVwyoqg6f1KZ66BPkfMy9 VVCyKlT6rW60GAy2Q0/ztmy1pm6yRAzRtiOmqifjlrgdPTfryMBfoJRR4aY1px7RHbv6 4YztsXEO+ioRCdzXR/WvgL7Rb0eDzIglHLhkS9FiujuCSL5LswShe87AHgtxHBPoZTMS 0fk3ZW7f+6Mm6/xQmOBXz0KY89ZHkHC1mIyffPYR3zsjZ1d+mxwgUGBd1I0bcJ2qfVQC d+Hg4C8UOXQwrbifcYZW9v5+8Cbmfui8DFhgNHxSMuEdcuckZFKWWKqWOxRSdh598dZV peKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LrjUUgdY; 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 w17-20020a056402269100b0045cc6aa0429si449398edd.250.2022.10.12.06.12.03; Wed, 12 Oct 2022 06:12:34 -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=LrjUUgdY; 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 S229947AbiJLMyu (ORCPT + 99 others); Wed, 12 Oct 2022 08:54:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbiJLMyr (ORCPT ); Wed, 12 Oct 2022 08:54:47 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5464C90C6 for ; Wed, 12 Oct 2022 05:54:33 -0700 (PDT) Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20221012125428epoutp035247b60c9f5edff885a25270c3b754ba~dU4U-HLfN1309113091epoutp03D for ; Wed, 12 Oct 2022 12:54:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20221012125428epoutp035247b60c9f5edff885a25270c3b754ba~dU4U-HLfN1309113091epoutp03D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1665579268; bh=TIZ+90NjmK8GlLtfIWETUWYIx+4NieEBiUUq9DU2zoA=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=LrjUUgdYihtiOPMfc5MoQXcN+ox2+gsszkMQ0VMVKZkP6Xt5BCH6cKBIm8tB2JRPq NAV6cNekkoRg/jG5hkyEK8uHNsT2ko5XAyn0QKXF/QnRCeebfduPBnQLyxgiSGS3Cf B9lCgnJvhdZEZsfbXKFudjpBYgagTKEFDbcvWq5A= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221012125428epcas5p20b0a7ee1be0543cbf35d7938fbd2950d~dU4UNZUxN0493404934epcas5p2K; Wed, 12 Oct 2022 12:54:28 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.178]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4MnXfT2qWMz4x9Pq; Wed, 12 Oct 2022 12:54:25 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id E0.2B.56352.109B6436; Wed, 12 Oct 2022 21:54:25 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20221012083058epcas5p4e706c2396a492ac60234ea1286467992~dRSQmku3b1855818558epcas5p46; Wed, 12 Oct 2022 08:30:58 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221012083058epsmtrp26b191784c535a1204b36927fc2c80bfa~dRSQlb9vB0346803468epsmtrp2n; Wed, 12 Oct 2022 08:30:58 +0000 (GMT) X-AuditID: b6c32a4b-383ff7000001dc20-a1-6346b901b632 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 20.54.18644.24B76436; Wed, 12 Oct 2022 17:30:58 +0900 (KST) Received: from FDSFTE070 (unknown [107.116.189.86]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221012083056epsmtip1c51f7bf9bc28460843b662f8dd839e0d~dRSO7ZVKV2740327403epsmtip1K; Wed, 12 Oct 2022 08:30:56 +0000 (GMT) From: "Padmanabhan Rajanbabu" To: "'Krzysztof Kozlowski'" , , , , , , Cc: , , In-Reply-To: Subject: RE: [PATCH V2] arm64: dts: fix drive strength macros as per FSD HW UM Date: Wed, 12 Oct 2022 14:00:55 +0530 Message-ID: <00d401d8de14$f40db1c0$dc291540$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJk+NbFvx0TMYgY6fQwuHFOTIN1bQKGmwhfAVNgZ0Ws02cq4A== Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKJsWRmVeSWpSXmKPExsWy7bCmpi7jTrdkg80NAhYP5m1js7i8X9ti /pFzrBZ9Lx4yW+x9vZXdYsqf5UwWl3fNYbOYcX4fk8WirV/YLVr3HmF34PLYtKqTzePOtT1s Hn1bVjF6fN4kF8ASlW2TkZqYklqkkJqXnJ+SmZduq+QdHO8cb2pmYKhraGlhrqSQl5ibaqvk 4hOg65aZA3SPkkJZYk4pUCggsbhYSd/Opii/tCRVISO/uMRWKbUgJafApECvODG3uDQvXS8v tcTK0MDAyBSoMCE749HJrawFKxUr3u8/xdbA2C/dxcjJISFgItF1ezNbFy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cHlsWtXJ5nHn2h42 j74tqxg9Pm+SC2CJ4rJJSc3JLEst0rdL4MrofD6FueCKQsWl6wdYGhg3SHUxcnJICJhI9D3c ydbFyMUhJLCDUeJn71M2iIS0xPT+PVC2sMTKf8/ZIYqeMUocOfcbLMEmYC6xaO9SRpCEiMBn Rol1M5aAJZgFMiW6jx5lgeg4wCixfMd5VpAEp4CdxPdz09hBbGEBP4ndTU1ARRwcLAKqEu96 VUHCvAKWEpN272aEsAUlTs58wgIxU1vi6c2ncPayha+ZIa5TkPj5dBnYeBEBJ4lFrb1MEDXi Ekd/9jBPYBSehWTULCSjZiEZNQtJywJGllWMkqkFxbnpucWGBUZ5qeV6xYm5xaV56XrJ+bmb GMExpqW1g3HPqg96hxiZOBgPMUpwMCuJ8LqEuCUL8aYkVlalFuXHF5XmpBYfYpTmYFES573Q dTJeSCA9sSQ1OzW1ILUIJsvEwSnVwFT04lKK7jr7Bcatf23XV5ksl9r6QMi/NOdN4OlpJ09z bznk1BEdOnXKfUvOrxUqqvv3Gj7fOb+XJ/LuQlmNkouTxIs0ar42/8iS5lDY9zWi6sjE8wlP 10w8P+elm9Dq6n6mB/nT/d6f0k3a1ppQxqHGxVfsUXnazm/aJGnfAqawl/r/sh/rrJxUcCHg 48G72fMymnsljqVNyq1gu7Je9M8S9vPiEe4aCzUnhW/5M505faGJqj9fblel/eujO24ai9av 8/xcYxlxWOiai5khi/d3vhsxEYaxgTMeO2fuPjfpZuO3vdmFiv07VwTnLdkjppO35L268fUL D3ryAs9NuqAZ1fn4x6nzsy5eltfZxqHEUpyRaKjFXFScCACgwHbBIAMAAA== X-CMS-MailID: 20221012083058epcas5p4e706c2396a492ac60234ea1286467992 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221011083029epcas5p3cef6047d23d0682a9cb70ba6178067a8 References: <20221011080359.76220-1-p.rajanbabu@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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS 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 > -----Original Message----- > From: Krzysztof Kozlowski =5Bmailto:krzysztof.kozlowski=40linaro.org=5D > Sent: 12 October 2022 02:28 AM > To: Padmanabhan Rajanbabu ; > robh+dt=40kernel.org; krzysztof.kozlowski+dt=40linaro.org; > alim.akhtar=40samsung.com; chanho61.park=40samsung.com; > linus.walleij=40linaro.org; pankaj.dubey=40samsung.com > Cc: devicetree=40vger.kernel.org; linux-kernel=40vger.kernel.org; linux- > samsung-soc=40vger.kernel.org > Subject: Re: =5BPATCH V2=5D arm64: dts: fix drive strength macros as per = FSD HW > UM >=20 > On 11/10/2022 04:03, Padmanabhan Rajanbabu wrote: > > Drive strength macros defined for FSD platform is not reflecting > > actual name and values as per HW UM. FSD SoC pinctrl has following > > four levels of >=20 > s/name/names/ Okay. >=20 > > drive-strength and their corresponding values: > > Level-1 <-> 0 > > Level-2 <-> 1 > > Level-4 <-> 2 > > Level-6 <-> 3 > > > > The commit 684dac402f21 (=22arm64: dts: fsd: Add initial pinctrl > > support=22) used drive strength macros defined for Exynos4 SoC family. > > For some IPs the macros values of Exynos4 matched and worked well, but > > Exynos4 SoC family drive-strength (names and values) is not exactly > > matching with FSD SoC. > > > > Fix the drive strength macros to reflect actual names and values given > > in FSD HW UM. This also ensures that the existing peripherals in > > device tree file is using correct drive strength MACROs to function as > > expected. > > > > Fixes: 684dac402f21 (=22arm64: dts: fsd: Add initial pinctrl support=22= ) > > Signed-off-by: Padmanabhan Rajanbabu > > --- >=20 > Rest of commit msg looks ok. >=20 > > arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi =7C 34 +++++++++++---------= -- > > arch/arm64/boot/dts/tesla/fsd-pinctrl.h =7C 6 ++-- > > 2 files changed, 20 insertions(+), 20 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi > > b/arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi > > index d0abb9aa0e9e..e3852c946352 100644 > > --- a/arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi > > +++ b/arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi > > =40=40 -55,14 +55,14 =40=40 > > samsung,pins =3D =22gpf5-0=22; > > samsung,pin-function =3D ; > > samsung,pin-pud =3D ; > > - samsung,pin-drv =3D ; > > + samsung,pin-drv =3D ; > > =7D; > > > > ufs_refclk_out: ufs-refclk-out-pins =7B > > samsung,pins =3D =22gpf5-1=22; > > samsung,pin-function =3D ; > > samsung,pin-pud =3D ; > > - samsung,pin-drv =3D ; > > + samsung,pin-drv =3D ; > > =7D; > > =7D; > > > > =40=40 -239,105 +239,105 =40=40 > > samsung,pins =3D =22gpb6-1=22; > > samsung,pin-function =3D ; > > samsung,pin-pud =3D ; > > - samsung,pin-drv =3D ; > > + samsung,pin-drv =3D ; > > =7D; > > > > pwm1_out: pwm1-out-pins =7B > > samsung,pins =3D =22gpb6-5=22; > > samsung,pin-function =3D ; > > samsung,pin-pud =3D ; > > - samsung,pin-drv =3D ; > > + samsung,pin-drv =3D ; > > =7D; > > > > hs_i2c0_bus: hs-i2c0-bus-pins =7B > > samsung,pins =3D =22gpb0-0=22, =22gpb0-1=22; > > samsung,pin-function =3D ; > > samsung,pin-pud =3D ; > > - samsung,pin-drv =3D ; > > + samsung,pin-drv =3D ; >=20 > You are now changing both the value for register and the meaning (name). > Your commit msg indicated that the names are not correct, not the values. > Based on the commit msg, I expect the DTBs are the same. Are they? If not= , > it these are two different commits with their own explanations/reasoning. In some cases, yes, both name and values requires modification. I understoo= d=20 that I have to split this into two patches, correcting the MACRO names and = values in one patch and fixing the drive strength for some of the IPs in other pat= ch. >=20 > Best regards, > Krzysztof