Message ID | 20221125070657.28335-2-sriranjani.p@samsung.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3919657wrr; Fri, 25 Nov 2022 02:50:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf5K9PQCcG04UdQCPTRcL+v7Wu7nY1udHVXlq6glrkVIqZUZi4NDuveHBHtb/2CWBBQ7faqU X-Received: by 2002:a17:903:4284:b0:189:f57:8f60 with SMTP id ju4-20020a170903428400b001890f578f60mr18768614plb.65.1669373404388; Fri, 25 Nov 2022 02:50:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669373404; cv=none; d=google.com; s=arc-20160816; b=TqVaztZhh5iGoaC9bZZcccj/O/j05arenG9QGmSm2sNeBZH1k61oFJz4KMkPsU5pkK JQvXV65dliyF4bYMB0xQPlzb7L37xkNOX+NpAyMWaGuhd8xUr59nkittyRM0n2xnnCu7 uqOZIWMBWqCM9XImc+J6jeSPzQfV9p9iArbRwk346XPIRfSDKU9OppHFiJ7VGQvPHrGU M5SFzP2pGPAPyb1Bkw7tHL6evEw0p2cLbcQ/fk1cTBiO0AKYiU7dOYrTHMY9L72Ty91g XY4gwBrD0mVYyrcje0EwQjOgWpMBm5l0dMdSOAlIqzELNUxa/0azvAZS+sfX1pG/yicy v1FA== 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=Qz+eV7p2SiAqzfOXSkHcLqNKXTb4xAoU6QB4WhAZL4Q=; b=kOJmryJZhBOAzIJs3rqDlgqcxweheMYIvQiEF4cnYzw6BjvQ0Y9VU7mjgkH8wcq4oE HUa2uTTHZkOU6avG9iycMsL71enotRJj+7yw4B4+j7xhUXI5MU1PUzarCVuxdXkks6gS UuyM39qJQbJSr/KfC+u7fPkY9xUxzKHJVATiih/PnuzYSiNQHuwvBGljYt0HDx2EKlTY 91iAnDqHs5J2MoKWa4pF9avCYBowAR577sR948SXtu8N+40HkGnVdwChWJZinLJKxcLK wPTQCPfa7dpdzIvZ/isJxdhzOa5++SH91vP5eFz4AFj0f804VXDIN+KRuIGnu9tRbgHK ug2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=ZdebLzh3; 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 u9-20020a170903124900b0017a034f7246si2693753plh.560.2022.11.25.02.49.51; Fri, 25 Nov 2022 02:50:04 -0800 (PST) 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=ZdebLzh3; 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 S229839AbiKYK3k (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Fri, 25 Nov 2022 05:29:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbiKYK3h (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 25 Nov 2022 05:29:37 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A5D41FF9E for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 02:29:35 -0800 (PST) Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221125102933epoutp02360b28c7c26bba1330df5bc0edf8a628~qzSWw_x5R0915209152epoutp02L for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 10:29:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221125102933epoutp02360b28c7c26bba1330df5bc0edf8a628~qzSWw_x5R0915209152epoutp02L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1669372173; bh=Qz+eV7p2SiAqzfOXSkHcLqNKXTb4xAoU6QB4WhAZL4Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZdebLzh3dM2qTMIgSEcqWrm+w0CpKjawHq66JPsualOtmslBgAvEqGPrmSk/CkmhR T9p6VUTeR2T42NvGPZn4ZA9s2HytsLeRCg9UEw//vSq2HJzXIytXhC73sPDzkxMJys CW7wEUZC/TOloHt3uODnvLnwos5HAznk5y51bta8= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221125102933epcas5p2265aadf5491ea285db05e44a8662f0ab~qzSWbmWMR0249602496epcas5p2r; Fri, 25 Nov 2022 10:29:33 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.180]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4NJWLz5v57z4x9Pw; Fri, 25 Nov 2022 10:29:31 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 0E.9F.01710.B0990836; Fri, 25 Nov 2022 19:29:31 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221125070709epcas5p329c4a6d9caf4e9903b60f2e6624fb7b3~qwhop-9Sq0788907889epcas5p34; Fri, 25 Nov 2022 07:07:09 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221125070709epsmtrp2244c3e8b469dcf97e2c5adcce5f18b4c~qwhopJV_Y2100721007epsmtrp2Q; Fri, 25 Nov 2022 07:07:09 +0000 (GMT) X-AuditID: b6c32a49-c9ffa700000006ae-16-6380990b5fe2 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id E8.3B.18644.D9960836; Fri, 25 Nov 2022 16:07:09 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221125070708epsmtip1a8131bd72e47498ce23bfc71fc2c42d0~qwhnWrNME0174001740epsmtip14; Fri, 25 Nov 2022 07:07:07 +0000 (GMT) From: Sriranjani P <sriranjani.p@samsung.com> To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, devicetree@vger.kernel.org, alim.akhtar@samsung.com, pankaj.dubey@samsung.com, ravi.patel@samsung.com Cc: linux-kernel@vger.kernel.org, Sriranjani P <sriranjani.p@samsung.com> Subject: [PATCH v2 1/2] dt-bindings: mfd: syscon: Add tesla compatibles found on FSD SoC Date: Fri, 25 Nov 2022 12:36:56 +0530 Message-Id: <20221125070657.28335-2-sriranjani.p@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221125070657.28335-1-sriranjani.p@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMKsWRmVeSWpSXmKPExsWy7bCmhi73zIZkg7kHdC0ezNvGZjH/yDlW i74XD5ktdrQtZLG4vGsOm8WirV/YLR5+2MNu0br3CLvF7TfrWB04PTat6mTzuHNtD5tH35ZV jB6fN8kFsERl22SkJqakFimk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XEiABfT/vz2AwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNLMWRmVeSWpSXmKPExsWy7bCSnO7czIZkg8mvJC0ezNvGZjH/yDlW i74XD5ktdrQtZLG4vGsOm8WirV/YLR5+2MNu0br3CLvF7TfrWB04PTat6mTzuHNtD5tH35ZV jB6fN8kFsERx2aSk5mSWpRbp2yVwZbyc2M1S8Ii1YtK0LpYGxuMsXYycHBICJhJ7n01k7mLk 4hAS2MEosfbgW2aIhIzEyQdLoGxhiZX/nrNDFDUzSfy4OpUVJMEmoCvReu0zE0hCRGAPo8S7 6SeAEhwczALeElN+q4HUCAtESKxeNh9sEIuAqsS+K9fYQGxeAVuJ1gl9TBAL5CVWbzjADNLK KWAn8ea+OEhYCKjkzIPTbBMY+RYwMqxilEwtKM5Nzy02LDDKSy3XK07MLS7NS9dLzs/dxAgO Py2tHYx7Vn3QO8TIxMF4iFGCg1lJhFfEriFZiDclsbIqtSg/vqg0J7X4EKM0B4uSOO+FrpPx QgLpiSWp2ampBalFMFkmDk6pBiYunVva8tsKLBP8OD9f8pma/0niUanLpFtR1lMD5Bx1Hkx8 1hIybxq35tMb6rNenznwcl+Mt/YfHo067f1r1v+5//ii1Q6DBzmcMu9N31ZsX77K5AibhM8q dtOtNut2yXx493XD4bkrn2ftZmTmixSyCl8mV35u9X33y/XcO+34H526ECeRYac8ddK6OSX7 TjXsW6R+67Xug/JMafN4VZVLO2ct5b1vuYGbVXPB4o1BR7Y7Mu/avyV3t+X3Cw5pH1dOeyCv P8nVUpbxq9b9qS4XnD1vBX69a1kR2q14V/vhq3KV1uSgVyqqv0/83J7z6JuHnd4jTk955+eK hQsfMGVtN1rosf1w+jqhb2lhtY5TlViKMxINtZiLihMBOnJMDq4CAAA= X-CMS-MailID: 20221125070709epcas5p329c4a6d9caf4e9903b60f2e6624fb7b3 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: 20221125070709epcas5p329c4a6d9caf4e9903b60f2e6624fb7b3 References: <20221125070657.28335-1-sriranjani.p@samsung.com> <CGME20221125070709epcas5p329c4a6d9caf4e9903b60f2e6624fb7b3@epcas5p3.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 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750464886849797688?= X-GMAIL-MSGID: =?utf-8?q?1750464886849797688?= |
Series |
arm64: dts: Add SYSREG nodes for FSD SoC
|
|
Commit Message
Sriranjani P
Nov. 25, 2022, 7:06 a.m. UTC
Add compatible for Tesla SYSREG controllers found on FSD SoC.
Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
1 file changed, 1 insertion(+)
Comments
On 25/11/2022 08:06, Sriranjani P wrote: > Add compatible for Tesla SYSREG controllers found on FSD SoC. > > Signed-off-by: Sriranjani P <sriranjani.p@samsung.com> > --- Thank you for your patch. There is something to discuss/improve. > Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml > index 4e4baf53796d..8c3334999bec 100644 > --- a/Documentation/devicetree/bindings/mfd/syscon.yaml > +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml > @@ -69,6 +69,7 @@ properties: > - samsung,exynos5433-sysreg > - samsung,exynos850-sysreg > - samsung,exynosautov9-sysreg > + - tesla,fsd-sysreg I think we made mistake starting from 5433. Before (Exynos3/4/5) there was only one block called actually SYSREG. For example on Exynos5433 we have SYSREG_DISP, SYSREG_CAM1 and so on. These are different so we should have dedicated compatibles. The same for Tesla - please provide dedicated compatibles per each block. I'll fix Exynos5433. Maybe someone can also fix Exynos850 and Autov9. Best regards, Krzysztof
On 25/11/2022 12:29, Krzysztof Kozlowski wrote: > On 25/11/2022 08:06, Sriranjani P wrote: >> Add compatible for Tesla SYSREG controllers found on FSD SoC. >> >> Signed-off-by: Sriranjani P <sriranjani.p@samsung.com> >> --- > > Thank you for your patch. There is something to discuss/improve. > >> Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml >> index 4e4baf53796d..8c3334999bec 100644 >> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml >> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml >> @@ -69,6 +69,7 @@ properties: >> - samsung,exynos5433-sysreg >> - samsung,exynos850-sysreg >> - samsung,exynosautov9-sysreg >> + - tesla,fsd-sysreg > > I think we made mistake starting from 5433. Before (Exynos3/4/5) there > was only one block called actually SYSREG. For example on Exynos5433 we > have SYSREG_DISP, SYSREG_CAM1 and so on. These are different so we > should have dedicated compatibles. The same for Tesla - please provide > dedicated compatibles per each block. > > I'll fix Exynos5433. Maybe someone can also fix Exynos850 and Autov9. To clarify - in case of Tesla, you do not need the fallbacks, so you just add few of: - tesla,fsd-xxx-sysreg within the enum. For Exynos850 and Autov9, just like for Exynso5433, we should keep it backwards compatible, so we need fallbacks. Best regards, Krzysztof
> -----Original Message----- > From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org] > Sent: 25 November 2022 17:10 > To: Sriranjani P <sriranjani.p@samsung.com>; robh+dt@kernel.org; > krzysztof.kozlowski+dt@linaro.org; lee@kernel.org; > devicetree@vger.kernel.org; alim.akhtar@samsung.com; > pankaj.dubey@samsung.com; ravi.patel@samsung.com; Sam Protsenko > <semen.protsenko@linaro.org>; Chanho Park > <chanho61.park@samsung.com> > Cc: linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 1/2] dt-bindings: mfd: syscon: Add tesla compatibles > found on FSD SoC > > On 25/11/2022 12:29, Krzysztof Kozlowski wrote: > > On 25/11/2022 08:06, Sriranjani P wrote: > >> Add compatible for Tesla SYSREG controllers found on FSD SoC. > >> > >> Signed-off-by: Sriranjani P <sriranjani.p@samsung.com> > >> --- > > > > Thank you for your patch. There is something to discuss/improve. > > > >> Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml > >> b/Documentation/devicetree/bindings/mfd/syscon.yaml > >> index 4e4baf53796d..8c3334999bec 100644 > >> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml > >> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml > >> @@ -69,6 +69,7 @@ properties: > >> - samsung,exynos5433-sysreg > >> - samsung,exynos850-sysreg > >> - samsung,exynosautov9-sysreg > >> + - tesla,fsd-sysreg > > > > I think we made mistake starting from 5433. Before (Exynos3/4/5) there > > was only one block called actually SYSREG. For example on Exynos5433 > > we have SYSREG_DISP, SYSREG_CAM1 and so on. These are different so we > > should have dedicated compatibles. The same for Tesla - please provide > > dedicated compatibles per each block. > > > > I'll fix Exynos5433. Maybe someone can also fix Exynos850 and Autov9. > > To clarify - in case of Tesla, you do not need the fallbacks, so you just add few > of: > - tesla,fsd-xxx-sysreg > within the enum. Thanks for improvement idea and clarification. I'll update accordingly in the next version. > > For Exynos850 and Autov9, just like for Exynso5433, we should keep it > backwards compatible, so we need fallbacks. I will update for Exynos850 and Autov9 as like Exynos5433 and post the patch. > > Best regards, > Krzysztof Thank you.
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 4e4baf53796d..8c3334999bec 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -69,6 +69,7 @@ properties: - samsung,exynos5433-sysreg - samsung,exynos850-sysreg - samsung,exynosautov9-sysreg + - tesla,fsd-sysreg - const: syscon