[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221116164337.GA203961-robh@kernel.org>
Date: Wed, 16 Nov 2022 10:43:37 -0600
From: Rob Herring <robh@...nel.org>
To: Vivek Yadav <vivek.2311@...sung.com>
Cc: 'Krzysztof Kozlowski' <krzysztof.kozlowski@...aro.org>,
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,
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 Thu, Nov 10, 2022 at 04:48:03PM +0530, Vivek Yadav wrote:
>
>
> > -----Original Message-----
> > From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> > Sent: 09 November 2022 16:39
> > 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 09/11/2022 11:09, Vivek Yadav wrote:
> > > From: Sriranjani P <sriranjani.p@...sung.com>
> > >
> >
> > Use subject prefixes matching the subsystem (git log --oneline -- ...).
> >
> Okay, I will add the correct prefixes.
> > > Describe the compatible properties for SYSREG controllers found on FSD
> > > SoC.
> >
> > This is ARM SoC patch, split it from the patchset.
> >
> I understand this patch is not to be subset of CAN patches, I will send these patches separately.
> These patches will be used by EQos patches. As per reference, I am adding the Address link.
> https://lore.kernel.org/all/20221104120517.77980-1-sriranjani.p@samsung.com/
>
> > >
> > > Signed-off-by: Alim Akhtar <alim.akhtar@...sung.com>
> > > Signed-off-by: Pankaj Kumar Dubey <pankaj.dubey@...sung.com>
> > > Signed-off-by: Ravi Patel <ravi.patel@...sung.com>
> > > Signed-off-by: Vivek Yadav <vivek.2311@...sung.com>
> > > Cc: devicetree@...r.kernel.org
> > > Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
> > > Cc: Rob Herring <robh+dt@...nel.org>
> >
> > Drop the Cc list from commit log. It's not helpful.
> >
> Okay, I will remove.
> > > Signed-off-by: Sriranjani P <sriranjani.p@...sung.com>
> > > ---
> > > .../devicetree/bindings/arm/tesla-sysreg.yaml | 50
> > +++++++++++++++++++
> > > MAINTAINERS | 1 +
> > > 2 files changed, 51 insertions(+)
> > > create mode 100644
> > > Documentation/devicetree/bindings/arm/tesla-sysreg.yaml
> > >
> > > diff --git a/Documentation/devicetree/bindings/arm/tesla-sysreg.yaml
> > > b/Documentation/devicetree/bindings/arm/tesla-sysreg.yaml
> > > new file mode 100644
> > > index 000000000000..bbcc6dd75918
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/arm/tesla-sysreg.yaml
> >
> > arm is only for top level stuff. This goes to soc under tesla or samsung
> > directory.
> >
> Okay, this is specific to Samsung fsd SoC, I will be moving this file to arm/samsung in next patch series. Hope that is fine.
> > > @@ -0,0 +1,50 @@
> > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2
> > > +---
> > > +$id:
> > > +https://protect2.fireeye.com/v1/url?k=1ad2834a-7b59967c-1ad30805-
> > 000b
> > > +abff9b5d-1f65584e412e916c&q=1&e=a870a282-632a-4896-ae53-
> > 3ecb50f02be5&
> > > +u=http%3A%2F%2Fdevicetree.org%2Fschemas%2Farm%2Ftesla-
> > sysreg.yaml%23
> > > +$schema:
> > > +https://protect2.fireeye.com/v1/url?k=13876e33-720c7b05-1386e57c-
> > 000b
> > > +abff9b5d-edae3ff711999305&q=1&e=a870a282-632a-4896-ae53-
> > 3ecb50f02be5&
> > > +u=http%3A%2F%2Fdevicetree.org%2Fmeta-schemas%2Fcore.yaml%23
> > > +
> > > +title: Tesla Full Self-Driving platform's system registers
> > > +
> > > +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.
> > > + - 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.
Section 2.3.1 defining 'compatible' in the DT spec:
The compatible string should consist only of lowercase letters, digits
and dashes, and should start with a letter. A single comma is typically
only used following a vendor prefix. Underscores should not be used.
Powered by blists - more mailing lists