[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <277004ed-3b6b-4ee5-39e4-beb75a272e60@linaro.org>
Date: Thu, 10 Nov 2022 13:11:42 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Vivek Yadav <vivek.2311@...sung.com>, rcsekar@...sung.com,
krzysztof.kozlowski+dt@...aro.org, wg@...ndegger.com,
mkl@...gutronix.de, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, pankaj.dubey@...sung.com,
ravi.patel@...sung.com, alim.akhtar@...sung.com,
linux-fsd@...la.com, robh+dt@...nel.org
Cc: linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, devicetree@...r.kernel.org,
aswani.reddy@...sung.com, sriranjani.p@...sung.com
Subject: Re: [PATCH v2 1/6] dt-bindings: Document the SYSREG specific
compatibles found on FSD SoC
On 10/11/2022 12:18, Vivek Yadav wrote:
>>> +maintainers:
>>> + - Alim Akhtar <alim.akhtar@...sung.com>
>>> +
>>> +description: |
>>> + This is a system control registers block, providing multiple low
>>> +level
>>> + platform functions like board detection and identification,
>>> +software
>>> + interrupt generation.
>>> +
>>> +properties:
>>> + compatible:
>>> + oneOf:
>>
>> No need for oneOf.
>>
> Removing this results into dt_binding_check error, so this is required.
No, this is not required. You do not have more than one condition for oneOf.
>>> + - items:
>>> + - enum:
>>> + - tesla,sysreg_fsys0
>>> + - tesla,sysreg_peric
>>
>> From where did you get underscores in compatibles?
>>
> I have seen in MCAN Driver <drivers/net/can/m_can/m_can_platform.c> and also too many other yaml files.
> Do you have any ref standard guideline of compatible which says underscore is not allowed.
git grep compatible arch/arm64/boot/dts/exynos/ | grep _
git grep compatible arch/arm/boot/dts/exynos* | grep _
Both give 0 results. For few other SoCs there such cases but that's
really, really exception. Drop underscores.
Best regards,
Krzysztof
Powered by blists - more mailing lists