[3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos5433
Message ID | 20221125112201.240178-3-krzysztof.kozlowski@linaro.org |
---|---|
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 q4csp3941542wrr; Fri, 25 Nov 2022 03:29:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf6oCvdWggnhPM6DcV1n6NdPeHp/F3A/P7LQhzJaq7jnLEKMgLAqYwndAitPr1/9Wl+H5E0z X-Received: by 2002:aa7:d594:0:b0:46a:6950:e229 with SMTP id r20-20020aa7d594000000b0046a6950e229mr9142457edq.120.1669375764247; Fri, 25 Nov 2022 03:29:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669375764; cv=none; d=google.com; s=arc-20160816; b=RitIa6p+CYGJWQ9HYjuIzUBXhHQriLGR1RC/PX63qv9/A8jXbin8cY26KjosoquspV 0iVI/eInXEiRCBGdx04QQ2kfjfPNlsyTwrpCF8/byIMN/DGMAKjO/Ai7fH6lqwoDqHHE HaSE5vY269gOY1klM5jExvboYQLOs2pP5eesX6Bj9H2j1jy1kli6gxzHDcgNNTFp9G0H K15PQ1DqH+NALnpd3nybzipR+4pFe6EptNdiVU2O17XkvC/xEhpmP5UdS/V9isrkFPWe brg/a5xPkGsNLcLQwJC/LdWjritbpv03oolYESfAkpMc9Nn8vfEY364KgUEcHYKHEqhj Rh+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PF6DmvVYufXGd2lmUCQ3WJQxDOndZjW1o6pFboJNT+A=; b=q+FbclLe82vP0YmPgJXrQbQnWj4ZSYcEdbnR+WqicxepdGFFqNsuiKYO4Ix/EEillt jM+ObYmhjQPV/q1GhEMOJkLLIbynko3nQ5uOiWeddwPKkJi0eXJteYmbSF1segSMkjJv hVoAwT3Xs0ZHqTuKq7taI7E2Cr/BpWYAkW8rkS4sqcJCvfbyydu9h3n9SIN4BEx4HKLt TvMHV7VvgsuwPkQ2vdg3cekcUe2KObTSCPPPl5JtwS+RXc2d4tfd01aGkdEtOjP46yXe 0rxQaAYhLtHgBKZrD+4826U6akQ6iC+v7Veoph4PXyWaNAKCQbNOmxmcpEWgJNiaK9pr mTXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PsKKWnAD; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw28-20020a1709066a1c00b007ae2b7df929si3358779ejc.72.2022.11.25.03.28.59; Fri, 25 Nov 2022 03:29:24 -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=@linaro.org header.s=google header.b=PsKKWnAD; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230118AbiKYLX0 (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Fri, 25 Nov 2022 06:23:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231153AbiKYLWo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 25 Nov 2022 06:22:44 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DF3D11164 for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 03:22:37 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id j4so6461343lfk.0 for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 03:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PF6DmvVYufXGd2lmUCQ3WJQxDOndZjW1o6pFboJNT+A=; b=PsKKWnADnCUcm+Kjj9gEq6PbAPRhaIwE/FOmb7FcQ3wOICswOLtS/qFZqciAk/Vj2c M1oN2WOXu52B9nUyvPPFHvHfajUF6YYmkiUhvusXRqwcBuZb3qYVn6oaPf78lI6q+MjJ QOpfj7kV5uKMA9O3q/QFEJXvuABhnYcDxqHlRMwRt7CIVbNMRgBhdHGK3MOF3vl4DfBX 8PgkkAksDN4bgF0BSkiiYRU0v/Yesy1WlWQ8HFXdevtHqtevP5nmPYmfUslYYytOnWpV 98jOiZ39WqqaJPhYIwH/MfYI6NBIQVI2G7veb7gPAHIUJeAKAmnhba9fTIdZHV6LURLb dJrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PF6DmvVYufXGd2lmUCQ3WJQxDOndZjW1o6pFboJNT+A=; b=AIJ/7izqc3Xj2xHax3eQMf4N928xuxmeJKmvT7JzN4tkBk6N8XyywRXz81VH4iJHmp hBWyWkliEJ4krfc9DNht9NTf5c++Qx//uXXKTwvx/TiY7FtN/fAReEVIcGpjBfMOOdA4 uygfQ/j8J1P78fb05gbIpvmKWUf7wV80yZke4VsLaH4YhGhjKRcCX1gCovRSpSLBbpq7 S+4EhuWJjQQZXDY2wZARhVtrFwnqwfDunAOkfU1bDSHIEzGmE+OCjXjuurqD5X1GH/0Z Z+bbJCi1yWo2uv8f+CELBED+Um/skT3O7jd5mH1FVsdg7h3i/hHw6dUsaYWdX39mHrMQ KTJQ== X-Gm-Message-State: ANoB5pmUXMq1sNcSOnljOsiatRE8kJv21DONe7Lj/I5aFEK+zln88E/0 sfOxVMQPPJ6t3YHNECmSMvfHGw== X-Received: by 2002:a05:6512:2252:b0:4b1:7c15:e922 with SMTP id i18-20020a056512225200b004b17c15e922mr8395209lfu.214.1669375354674; Fri, 25 Nov 2022 03:22:34 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id c1-20020a056512074100b004a478c2f4desm483904lfs.163.2022.11.25.03.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 03:22:34 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Lee Jones <lee@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Sriranjani P <sriranjani.p@samsung.com>, Chanho Park <chanho61.park@samsung.com>, Sam Protsenko <semen.protsenko@linaro.org> Subject: [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos5433 Date: Fri, 25 Nov 2022 12:22:00 +0100 Message-Id: <20221125112201.240178-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221125112201.240178-1-krzysztof.kozlowski@linaro.org> References: <20221125112201.240178-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: <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?1750467361177885387?= X-GMAIL-MSGID: =?utf-8?q?1750467361177885387?= |
Series |
[1/4] arm64: dts: exynos: add dedicated SYSREG compatibles to Exynos5433
|
|
Commit Message
Krzysztof Kozlowski
Nov. 25, 2022, 11:22 a.m. UTC
Exynos5433 has several different SYSREGs, so use dedicated compatibles
for them.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Cc: Sriranjani P <sriranjani.p@samsung.com>
Cc: Chanho Park <chanho61.park@samsung.com>
Cc: Sam Protsenko <semen.protsenko@linaro.org>
---
.../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
Comments
On Fri, 25 Nov 2022 at 05:22, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > Exynos5433 has several different SYSREGs, so use dedicated compatibles > for them. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Cc: Sriranjani P <sriranjani.p@samsung.com> > Cc: Chanho Park <chanho61.park@samsung.com> > Cc: Sam Protsenko <semen.protsenko@linaro.org> > --- Hi Krzysztof, Just curious: what is the rationale for adding those more specific sysregs? AFAIR, e.g. in Exynos850, different SysReg instances have pretty much the same register layout. Other than that: Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> > .../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > index 68064a5e339c..42357466005e 100644 > --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml > @@ -17,10 +17,21 @@ properties: > - samsung,exynos3-sysreg > - samsung,exynos4-sysreg > - samsung,exynos5-sysreg > - - samsung,exynos5433-sysreg > - samsung,exynos850-sysreg > - samsung,exynosautov9-sysreg > - const: syscon > + - items: > + - enum: > + - samsung,exynos5433-cam0-sysreg > + - samsung,exynos5433-cam1-sysreg > + - samsung,exynos5433-disp-sysreg > + - samsung,exynos5433-fsys-sysreg > + - const: samsung,exynos5433-sysreg > + - const: syscon > + - items: > + - const: samsung,exynos5433-sysreg > + - const: syscon > + deprecated: true > > reg: > maxItems: 1 > -- > 2.34.1 >
> -----Original Message----- > From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org] > Sent: 25 November 2022 16:52 > To: Lee Jones <lee@kernel.org>; Rob Herring <robh+dt@kernel.org>; Krzysztof > Kozlowski <krzysztof.kozlowski+dt@linaro.org>; Alim Akhtar > <alim.akhtar@samsung.com>; devicetree@vger.kernel.org; linux- > kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-samsung- > soc@vger.kernel.org > Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>; Sriranjani P > <sriranjani.p@samsung.com>; Chanho Park <chanho61.park@samsung.com>; > Sam Protsenko <semen.protsenko@linaro.org> > Subject: [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated > SYSREG compatibles to Exynos5433 > > Exynos5433 has several different SYSREGs, so use dedicated compatibles for > them. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Cc: Sriranjani P <sriranjani.p@samsung.com> > Cc: Chanho Park <chanho61.park@samsung.com> > Cc: Sam Protsenko <semen.protsenko@linaro.org> > --- Reviewed-by: Sriranjani P <sriranjani.p@samsung.com> > .../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git > a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- > sysreg.yaml > b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- > sysreg.yaml > index 68064a5e339c..42357466005e 100644 > --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- > sysreg.yaml > +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- > sysre > +++ g.yaml > @@ -17,10 +17,21 @@ properties: > - samsung,exynos3-sysreg > - samsung,exynos4-sysreg > - samsung,exynos5-sysreg > - - samsung,exynos5433-sysreg > - samsung,exynos850-sysreg > - samsung,exynosautov9-sysreg > - const: syscon > + - items: > + - enum: > + - samsung,exynos5433-cam0-sysreg > + - samsung,exynos5433-cam1-sysreg > + - samsung,exynos5433-disp-sysreg > + - samsung,exynos5433-fsys-sysreg > + - const: samsung,exynos5433-sysreg > + - const: syscon > + - items: > + - const: samsung,exynos5433-sysreg > + - const: syscon > + deprecated: true > > reg: > maxItems: 1 > -- > 2.34.1
On 25/11/2022 15:22, Sam Protsenko wrote: > On Fri, 25 Nov 2022 at 05:22, Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> wrote: >> >> Exynos5433 has several different SYSREGs, so use dedicated compatibles >> for them. >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> >> --- >> >> Cc: Sriranjani P <sriranjani.p@samsung.com> >> Cc: Chanho Park <chanho61.park@samsung.com> >> Cc: Sam Protsenko <semen.protsenko@linaro.org> >> --- > > Hi Krzysztof, > > Just curious: what is the rationale for adding those more specific > sysregs? AFAIR, e.g. in Exynos850, different SysReg instances have > pretty much the same register layout. > On Exynos5433 all these blocks have different registers. Are you saying that Exynos850 has four (or more) sysregs which are exactly the same? Same registers? Why would they duplicate it? Best regards, Krzysztof
On Fri, 25 Nov 2022 at 08:47, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 25/11/2022 15:22, Sam Protsenko wrote: > > On Fri, 25 Nov 2022 at 05:22, Krzysztof Kozlowski > > <krzysztof.kozlowski@linaro.org> wrote: > >> > >> Exynos5433 has several different SYSREGs, so use dedicated compatibles > >> for them. > >> > >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > >> > >> --- > >> > >> Cc: Sriranjani P <sriranjani.p@samsung.com> > >> Cc: Chanho Park <chanho61.park@samsung.com> > >> Cc: Sam Protsenko <semen.protsenko@linaro.org> > >> --- > > > > Hi Krzysztof, > > > > Just curious: what is the rationale for adding those more specific > > sysregs? AFAIR, e.g. in Exynos850, different SysReg instances have > > pretty much the same register layout. > > > > On Exynos5433 all these blocks have different registers. Are you saying > that Exynos850 has four (or more) sysregs which are exactly the same? > Same registers? Why would they duplicate it? > Ah, no, you are right. Just checked it, they are different. Just first couple of registers are similar between blocks, that's why I memorized it wrong. So as I understand, adding those new compatibles follows "describe HW, not a driver" rule? Because AFAIU, right now it'll fallback to "syscon" compatible anyway. > Best regards, > Krzysztof >
On 25/11/2022 15:57, Sam Protsenko wrote: > On Fri, 25 Nov 2022 at 08:47, Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> wrote: >> >> On 25/11/2022 15:22, Sam Protsenko wrote: >>> On Fri, 25 Nov 2022 at 05:22, Krzysztof Kozlowski >>> <krzysztof.kozlowski@linaro.org> wrote: >>>> >>>> Exynos5433 has several different SYSREGs, so use dedicated compatibles >>>> for them. >>>> >>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>>> >>>> --- >>>> >>>> Cc: Sriranjani P <sriranjani.p@samsung.com> >>>> Cc: Chanho Park <chanho61.park@samsung.com> >>>> Cc: Sam Protsenko <semen.protsenko@linaro.org> >>>> --- >>> >>> Hi Krzysztof, >>> >>> Just curious: what is the rationale for adding those more specific >>> sysregs? AFAIR, e.g. in Exynos850, different SysReg instances have >>> pretty much the same register layout. >>> >> >> On Exynos5433 all these blocks have different registers. Are you saying >> that Exynos850 has four (or more) sysregs which are exactly the same? >> Same registers? Why would they duplicate it? >> > > Ah, no, you are right. Just checked it, they are different. Just first > couple of registers are similar between blocks, that's why I memorized > it wrong. > > So as I understand, adding those new compatibles follows "describe HW, > not a driver" rule? Because AFAIU, right now it'll fallback to > "syscon" compatible anyway. Yes, they describe hardware. Of course all of these sysregs are similar as they are just bunch of SFR/MMIO-region, but they have different roles/features. For example some other devices (users) of syscon/sysreg should reference specific device, not any sysreg. On several other architectures we use specific compatibles, so I think for Samsung we should do the same. Different case was for Exynos 3/4/5 where there was only one SYSREG. Best regards, Krzysztof
>-----Original Message----- >From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org] >Sent: Friday, November 25, 2022 8:31 PM >To: Sam Protsenko <semen.protsenko@linaro.org> >Cc: Lee Jones <lee@kernel.org>; Rob Herring <robh+dt@kernel.org>; >Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>; Alim Akhtar ><alim.akhtar@samsung.com>; devicetree@vger.kernel.org; linux- >kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- >samsung-soc@vger.kernel.org; Sriranjani P <sriranjani.p@samsung.com>; >Chanho Park <chanho61.park@samsung.com> >Subject: Re: [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add >dedicated SYSREG compatibles to Exynos5433 > >On 25/11/2022 15:57, Sam Protsenko wrote: >> On Fri, 25 Nov 2022 at 08:47, Krzysztof Kozlowski >> <krzysztof.kozlowski@linaro.org> wrote: >>> >>> On 25/11/2022 15:22, Sam Protsenko wrote: >>>> On Fri, 25 Nov 2022 at 05:22, Krzysztof Kozlowski >>>> <krzysztof.kozlowski@linaro.org> wrote: >>>>> >>>>> Exynos5433 has several different SYSREGs, so use dedicated >>>>> compatibles for them. >>>>> >>>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>>>> >>>>> --- >>>>> >>>>> Cc: Sriranjani P <sriranjani.p@samsung.com> >>>>> Cc: Chanho Park <chanho61.park@samsung.com> >>>>> Cc: Sam Protsenko <semen.protsenko@linaro.org> >>>>> --- >>>> >>>> Hi Krzysztof, >>>> >>>> Just curious: what is the rationale for adding those more specific >>>> sysregs? AFAIR, e.g. in Exynos850, different SysReg instances have >>>> pretty much the same register layout. >>>> >>> >>> On Exynos5433 all these blocks have different registers. Are you >>> saying that Exynos850 has four (or more) sysregs which are exactly the >same? >>> Same registers? Why would they duplicate it? >>> >> >> Ah, no, you are right. Just checked it, they are different. Just first >> couple of registers are similar between blocks, that's why I memorized >> it wrong. >> >> So as I understand, adding those new compatibles follows "describe HW, >> not a driver" rule? Because AFAIU, right now it'll fallback to >> "syscon" compatible anyway. > >Yes, they describe hardware. Of course all of these sysregs are similar as they >are just bunch of SFR/MMIO-region, but they have different roles/features. >For example some other devices (users) of syscon/sysreg should reference >specific device, not any sysreg. > Yes, these are dedicated / extended SFR region to provide IP/Block specific side-band signals / configurations. >On several other architectures we use specific compatibles, so I think for >Samsung we should do the same. > Yes, most of the SoC's sysreg are dedicated/included in the IP block itself now a day, so make sense to have a dedicated compatible. >Different case was for Exynos 3/4/5 where there was only one SYSREG. > AFAIR, this is correct. >Best regards, >Krzysztof
>-----Original Message----- >From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org] >Sent: Friday, November 25, 2022 4:52 PM >To: Lee Jones <lee@kernel.org>; Rob Herring <robh+dt@kernel.org>; >Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>; Alim Akhtar ><alim.akhtar@samsung.com>; devicetree@vger.kernel.org; linux- >kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- >samsung-soc@vger.kernel.org >Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>; Sriranjani P ><sriranjani.p@samsung.com>; Chanho Park <chanho61.park@samsung.com>; >Sam Protsenko <semen.protsenko@linaro.org> >Subject: [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated >SYSREG compatibles to Exynos5433 > >Exynos5433 has several different SYSREGs, so use dedicated compatibles for >them. > >Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > >--- > >Cc: Sriranjani P <sriranjani.p@samsung.com> >Cc: Chanho Park <chanho61.park@samsung.com> >Cc: Sam Protsenko <semen.protsenko@linaro.org> >--- > .../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >diff --git >a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- >sysreg.yaml >b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- >sysreg.yaml >index 68064a5e339c..42357466005e 100644 >--- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- >sysreg.yaml >+++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- >sysre >+++ g.yaml >@@ -17,10 +17,21 @@ properties: > - samsung,exynos3-sysreg > - samsung,exynos4-sysreg > - samsung,exynos5-sysreg >- - samsung,exynos5433-sysreg > - samsung,exynos850-sysreg > - samsung,exynosautov9-sysreg > - const: syscon >+ - items: >+ - enum: >+ - samsung,exynos5433-cam0-sysreg >+ - samsung,exynos5433-cam1-sysreg >+ - samsung,exynos5433-disp-sysreg >+ - samsung,exynos5433-fsys-sysreg >+ - const: samsung,exynos5433-sysreg >+ - const: syscon >+ - items: >+ - const: samsung,exynos5433-sysreg >+ - const: syscon >+ deprecated: true Any reason to add "deprecated: true" here for above compatible? > > reg: > maxItems: 1 >-- >2.34.1
On 25/11/2022 18:06, Alim Akhtar wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org] >> Sent: Friday, November 25, 2022 4:52 PM >> To: Lee Jones <lee@kernel.org>; Rob Herring <robh+dt@kernel.org>; >> Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>; Alim Akhtar >> <alim.akhtar@samsung.com>; devicetree@vger.kernel.org; linux- >> kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- >> samsung-soc@vger.kernel.org >> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>; Sriranjani P >> <sriranjani.p@samsung.com>; Chanho Park <chanho61.park@samsung.com>; >> Sam Protsenko <semen.protsenko@linaro.org> >> Subject: [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add > dedicated >> SYSREG compatibles to Exynos5433 >> >> Exynos5433 has several different SYSREGs, so use dedicated compatibles for >> them. >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> >> --- >> >> Cc: Sriranjani P <sriranjani.p@samsung.com> >> Cc: Chanho Park <chanho61.park@samsung.com> >> Cc: Sam Protsenko <semen.protsenko@linaro.org> >> --- >> .../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 13 ++++++++++++- >> 1 file changed, 12 insertions(+), 1 deletion(-) >> >> diff --git >> a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- >> sysreg.yaml >> b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- >> sysreg.yaml >> index 68064a5e339c..42357466005e 100644 >> --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- >> sysreg.yaml >> +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos- >> sysre >> +++ g.yaml >> @@ -17,10 +17,21 @@ properties: >> - samsung,exynos3-sysreg >> - samsung,exynos4-sysreg >> - samsung,exynos5-sysreg >> - - samsung,exynos5433-sysreg >> - samsung,exynos850-sysreg >> - samsung,exynosautov9-sysreg >> - const: syscon >> + - items: >> + - enum: >> + - samsung,exynos5433-cam0-sysreg >> + - samsung,exynos5433-cam1-sysreg >> + - samsung,exynos5433-disp-sysreg >> + - samsung,exynos5433-fsys-sysreg >> + - const: samsung,exynos5433-sysreg >> + - const: syscon >> + - items: >> + - const: samsung,exynos5433-sysreg >> + - const: syscon >> + deprecated: true > Any reason to add "deprecated: true" here for above compatible? Because it should be used alone as unspecific. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml index 68064a5e339c..42357466005e 100644 --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml @@ -17,10 +17,21 @@ properties: - samsung,exynos3-sysreg - samsung,exynos4-sysreg - samsung,exynos5-sysreg - - samsung,exynos5433-sysreg - samsung,exynos850-sysreg - samsung,exynosautov9-sysreg - const: syscon + - items: + - enum: + - samsung,exynos5433-cam0-sysreg + - samsung,exynos5433-cam1-sysreg + - samsung,exynos5433-disp-sysreg + - samsung,exynos5433-fsys-sysreg + - const: samsung,exynos5433-sysreg + - const: syscon + - items: + - const: samsung,exynos5433-sysreg + - const: syscon + deprecated: true reg: maxItems: 1