From: Frank Li <Frank.li@nxp.com>
To: Rob Herring <robh@kernel.org>
Cc: conor@kernel.org, bhelgaas@google.com, conor+dt@kernel.org,
devicetree@vger.kernel.org, helgaas@kernel.org,
imx@lists.linux.dev, krzysztof.kozlowski+dt@linaro.org,
kw@linux.com, linux-kernel@vger.kernel.org,
linux-pci@vger.kernel.org, lpieralisi@kernel.org
Subject: Re: [PATCH v6 1/3] dt-bindings: pci: layerscape-pci: Convert to yaml format
Date: Tue, 5 Mar 2024 10:25:32 -0500 [thread overview]
Message-ID: <Zec5bAedt9n580xU@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20240305144636.GB3310214-robh@kernel.org>
On Tue, Mar 05, 2024 at 08:46:36AM -0600, Rob Herring wrote:
> On Mon, Mar 04, 2024 at 12:47:08PM -0500, Frank Li wrote:
> > On Mon, Mar 04, 2024 at 11:32:04AM -0600, Rob Herring wrote:
> > > On Fri, Mar 01, 2024 at 11:27:39AM -0500, Frank Li wrote:
> > > > Split layerscape-pci.txt into two yaml files: fsl,layerscape-pcie-ep.yaml
> > > > and fsl,layerscape-pcie.yaml.
> > > > yaml files contain the same content as the original txt file.
> > > >
> > > > Do below changes to pass dtb_binding check:
> > > > - Remove dma-coherent and fsl,pcie-scfg because not every SOC need it.
> > >
> > > You mean 'remove from required' right? Because they are still here.
> > >
> > > > - Set unevaluatedProperties to true in fsl,layerscape-pcie.yaml.
> > >
> > > Sorry, but that's not acceptable either. You need the $ref's in this
> > > patch.
> >
> >
> > Rob:
> >
> > If I squash this 3 patches, it will match most your comments. And will back
> > to my previous v3's patches,
> > https://lore.kernel.org/imx/20240214194145.2669744-1-Frank.Li@nxp.com/
>
> Plus our review comments I hope...
>
> >
> > Bjorn Helgaas suggest split to patches:
> > https://lore.kernel.org/imx/20240226210842.GA211190@bhelgaas/
> >
> > First one will be equal to origial txt, then add change base on that.
> >
> > I need a clear direction before I continue on this.
>
> Bjorn's suggestion doesn't work. I think it was confused in that you
> said you were 'adding' things. You aren't adding things, just fixing
> things to make the validation pass.
>
> If you want to split things, you could add reg and/or interrupt names to
> the common schema first. And then add Layerscape schemas. But don't add
> things you turn around and remove in the very next patch. I think
> Krzysztof told you the very same thing.
@Bjorn:
Do you agree squash these 3 patches? I don't want to split again.
I prefer focus on the real value things. It is not difficult to review at
one patches. Origianl txt actaully relately simple.
Frank
>
> Rob
next prev parent reply other threads:[~2024-03-05 15:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 16:27 [PATCH v6 0/3] dt-bindings: pci: layerscape-pci: Convert to yaml format Frank Li
2024-03-01 16:27 ` [PATCH v6 1/3] " Frank Li
2024-03-04 17:32 ` Rob Herring
2024-03-04 17:47 ` Frank Li
2024-03-05 14:46 ` Rob Herring
2024-03-05 15:25 ` Frank Li [this message]
2024-03-11 3:08 ` Frank Li
2024-03-01 16:27 ` [PATCH v6 2/3] dt-bindings: pci: layerscape-pci: Add snps,dw-pcie.yaml reference Frank Li
2024-03-04 18:17 ` Rob Herring
2024-03-04 19:10 ` Frank Li
2024-03-01 16:27 ` [PATCH v6 3/3] dt-bindings: pci: layerscape-pci-ep: Add snps,dw-pcie-ep.yaml reference Frank Li
2024-03-04 18:20 ` Rob Herring
2024-03-04 19:08 ` Frank Li
2024-03-05 14:37 ` Rob Herring
2024-03-05 15:30 ` Frank Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zec5bAedt9n580xU@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=bhelgaas@google.com \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=helgaas@kernel.org \
--cc=imx@lists.linux.dev \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kw@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox