From: Conor Dooley <conor@kernel.org>
To: Erez <erezgeva2@gmail.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
Erez Geva <erezgeva@nwtime.org>,
linux-mtd@lists.infradead.org,
Tudor Ambarus <tudor.ambarus@linaro.org>,
Pratyush Yadav <pratyush@kernel.org>,
Michael Walle <mwalle@kernel.org>,
linux-kernel@vger.kernel.org,
Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
devicetree@vger.kernel.org, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Esben Haabendal <esben@geanix.com>
Subject: Re: [PATCH v4 3/5] dt-bindings: mtd: spi-nor: add OTP parameters
Date: Tue, 17 Sep 2024 21:39:37 +0100 [thread overview]
Message-ID: <20240917-taps-applied-6c0d411bbe08@squawk> (raw)
In-Reply-To: <CANeKEMNg_hPcVHVo2c9u1Vdzaso0ODT+2uLmip6sd26uK8d_FQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3552 bytes --]
On Tue, Sep 17, 2024 at 08:39:48PM +0200, Erez wrote:
> On Tue, 17 Sept 2024 at 19:32, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >
> > On 17/09/2024 19:24, Erez wrote:
> > >>>>>>
> > >>>>>> It does not look like you tested the bindings, at least after quick
> > >>>>>> look. Please run `make dt_binding_check` (see
> > >>>>>
> > >>>>> I run "make dt_binding_check" on kernel 6.6.
> > >>>>
> > >>>> Yeah, we are no on kernel 6.6. You can run it also on kernel v4.1 -
> > >>>> still does not matter.
> > >>>>
> > >>>> Don't develop on ancient code because then you ask us to review same
> > >>>> broken stuff we already fixed.
> > >>>
> > >>> I test with Beaglebone black for testing, it is difficult to run the
> > >>> last vanille version.
> > >>> I did backport the spi-nor driver.
> > >>> As for "make dt_binding_check" on last kernel, it need to upgrade the tools,
> > >>> and I did not think it could change that much.
> > >>>
> > >>
> > >> Well, it is possible to build kernel on small embedded board, but that's
> > >> quite cumbersone, slow and inefficient, considering that it's just
> > >> easier to cross compile. But anyway, binding check does not even need
> > >> cross compilation.
> > >>
> > >> Sorry, the code is obviously wrong, there is no such thing as u32, so
> > >> you did not test it. I provided link which explains how to test it. You
> > >> must do it on latest mainline kernel. Just like you must develop and
> > >> generate patches on latest mainline kernel, because this is where we
> > >> apply the patches. We do not apply them to v6.6.
> > >
> > > The patches are based on the lastest mainline kernel.
> > > I do not understand why you think otherwise.
> >
> > Because you wrote:
> > "I run "make dt_binding_check" on kernel 6.6."
> >
> > The command is either part of build process or final check process
> > (static analyzers etc). If you say you did this on v6.6, you got such
> > response.
>
> I know you are NOT a service.
> The device tree is not the focus of my work.
> It should not be broken like that.
>
> I install dt-schema_2023.11-3_all.deb
> with Debian trixie
> I get:
>
> l
> SCHEMA Documentation/devicetree/bindings/processed-schema.json
> Traceback (most recent call last):
> File "/usr/bin/dt-mk-schema", line 8, in <module>
> sys.exit(main())
> ^^^^^^
> File "/usr/lib/python3/dist-packages/dtschema/mk_schema.py", line 28, in main
> schemas = dtschema.DTValidator(args.schemas).schemas
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/dtschema/validator.py", line
> 363, in __init__
> self.make_property_type_cache()
> File "/usr/lib/python3/dist-packages/dtschema/validator.py", line
> 420, in make_property_type_cache
> self.props, self.pat_props = get_prop_types(self.schemas)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/dtschema/validator.py", line
> 187, in get_prop_types
> del props[r'^[a-z][a-z0-9\-]*$']
> ~~~~~^^^^^^^^^^^^^^^^^^^^^^^
> KeyError: '^[a-z][a-z0-9\\-]*$'
> make[2]: *** [Documentation/devicetree/bindings/Makefile:64:
> Documentation/devicetree/bindings/processed-schema.json] Error 1
> make[2]: *** Deleting file
> 'Documentation/devicetree/bindings/processed-schema.json'
> make[1]: *** [/home/builder/kernel/Makefile:1435: dt_binding_schemas] Error 2
Have you considered that this might be because of the invalid types you
used?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-09-17 20:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-17 9:49 [PATCH v4 0/5] Add support for SPI-NOR Macronix OTP Erez Geva
2024-09-17 9:49 ` [PATCH v4 1/5] mtd: spi-nor: core: add manufacturer flags Erez Geva
2024-09-17 9:49 ` [PATCH v4 2/5] mtd: spi-nor: core: add generic functions Erez Geva
2024-09-17 9:49 ` [PATCH v4 3/5] dt-bindings: mtd: spi-nor: add OTP parameters Erez Geva
2024-09-17 10:17 ` Erez
2024-09-17 10:35 ` Krzysztof Kozlowski
2024-09-17 10:42 ` Erez
2024-09-17 17:00 ` Krzysztof Kozlowski
2024-09-17 17:11 ` Erez
2024-09-17 17:17 ` Krzysztof Kozlowski
2024-09-17 17:24 ` Erez
2024-09-17 17:32 ` Krzysztof Kozlowski
2024-09-17 18:39 ` Erez
2024-09-17 20:39 ` Conor Dooley [this message]
2024-09-17 21:29 ` Erez
2024-09-18 8:23 ` Krzysztof Kozlowski
2024-09-18 9:46 ` Erez
2024-09-17 9:49 ` [PATCH v4 4/5] mtd: spi-nor: macronix: add support for OTP Erez Geva
2024-09-17 10:32 ` Erez
2024-09-17 9:49 ` [PATCH v4 5/5] mtd: spi-nor: macronix: add manufacturer flags Erez Geva
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=20240917-taps-applied-6c0d411bbe08@squawk \
--to=conor@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=erezgeva2@gmail.com \
--cc=erezgeva@nwtime.org \
--cc=esben@geanix.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=mwalle@kernel.org \
--cc=pratyush@kernel.org \
--cc=richard@nod.at \
--cc=robh@kernel.org \
--cc=tudor.ambarus@linaro.org \
--cc=vigneshr@ti.com \
/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;
as well as URLs for NNTP newsgroup(s).