[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <119675e462ce53a05acf55bb3d9fe91f@disroot.org>
Date: Wed, 18 Jun 2025 16:07:16 +0000
From: Kaustabh Chakraborty <kauschluss@...root.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Alim Akhtar <alim.akhtar@...sung.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] dt-bindings: samsung: exynos-sysreg: add exynos7870
sysregs
On 2025-06-18 15:40, Krzysztof Kozlowski wrote:
> On 18/06/2025 16:49, Kaustabh Chakraborty wrote:
>> On 2025-06-18 14:37, Krzysztof Kozlowski wrote:
>>> On 18/06/2025 16:32, Kaustabh Chakraborty wrote:
>>>> On 2025-06-18 09:46, Krzysztof Kozlowski wrote:
>>>>> On 12/06/2025 17:23, Kaustabh Chakraborty wrote:
>>>>>> Add sysreg compatible strings for the Exynos7870 SoC. Two sysregs
>>>>>> are
>>>>>> added, used for the SoC MIPI PHY's CSIS and DSIM blocks.
>>>>>>
>>>>>> Signed-off-by: Kaustabh Chakraborty <kauschluss@...root.org>
>>>>>> ---
>>>>>> .../devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
>>>>>> | 6 ++++++
>>>>>> 1 file changed, 6 insertions(+)
>>>>>>
>>>>>> diff --git
>>>>>> a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
>>>>>> b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
>>>>>> index
>>>>>> d27ed6c9d61ea9db77229eca60b6b9a0abc5d305..174bdb8ee932ff965de6fc17aef004a3cedffeb3
>>>>>> 100644
>>>>>> ---
>>>>>> a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
>>>>>> +++
>>>>>> b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
>>>>>> @@ -52,6 +52,12 @@ properties:
>>>>>> - samsung,exynosautov9-sysreg
>>>>>> - const: syscon
>>>>>> deprecated: true
>>>>>> + - items:
>>>>>> + - enum:
>>>>>> + - samsung,exynos7870-cam-sysreg
>>>>>> + - samsung,exynos7870-disp-sysreg
>>>>>> + - const: samsung,exynos7870-sysreg
>>>>>
>>>>>
>>>>> Drop. These are not really compatible or your commit msg is
>>>>> incomplete.
>>>>> Don't use deprecated syntax and backwards compatible solutions for
>>>>> new
>>>>> hardware.
>>>>
>>>> Are you sure? The deprecated one is actually the item above. From
>>>> what
>>>> I
>>>
>>> Yes. Think why were they added.
>>>
>>>> understand, those are generic sysregs and don't mention their
>>>> functions.
>>>
>>> And what is a generic sysreg?
>>
>> What I meant is, usually compatibles go like this (in order):
>
> No, they don't. So you checked why they were added?
Checked it, understood. It's meant to be:
"samsung,exynos<soc>-<function>-sysreg", "syscon"
>
> Best regards,
> Krzysztof
Powered by blists - more mailing lists