From: Geert Uytterhoeven <geert@linux-m68k.org> To: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: "Rob Herring" <robh+dt@kernel.org>, "Linus Walleij" <linus.walleij@linaro.org>, "Bartosz Golaszewski" <bgolaszewski@baylibre.com>, "Benoît Cousson" <bcousson@baylibre.com>, "Tony Lindgren" <tony@atomide.com>, "Jan Tuerk" <jan.tuerk@emtrion.com>, "Shawn Guo" <shawnguo@kernel.org>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org>, "open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>, "open list:TI ETHERNET SWITCH DRIVER (CPSW)" <linux-omap@vger.kernel.org>, "Linux ARM" <linux-arm-kernel@lists.infradead.org> Subject: Re: [PATCH 3/3] dt-bindings: gpio: pcf857x: Convert to json-schema Date: Thu, 27 May 2021 16:43:41 +0200 [thread overview] Message-ID: <CAMuHMdWwj7rwxmBX5CC+Qjnmkp1W+imXm1q5PXRZrm7ZB7jtMg@mail.gmail.com> (raw) In-Reply-To: <YKm1Z4/xULSzuoVV@pendragon.ideasonboard.com> Hi Laurent, On Sun, May 23, 2021 at 3:52 AM Laurent Pinchart <laurent.pinchart@ideasonboard.com> wrote: > On Fri, May 21, 2021 at 09:54:08AM +0200, Geert Uytterhoeven wrote: > > Convert the PCF857x-compatible I/O expanders Device Tree binding > > documentation to json-schema. > > > > Document missing compatible values, properties, and gpio hogs. > > > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > > --- > > Perhaps the "ti,pcf8575" construct should be removed, and the few users > > fixed instead? > > Given that the driver doesn't match against it, that could be done, if > you're confident enough that there's no difference between the TI and > NXP versions that would need to be taken into account. I've just checked the datasheets, and they're identical modulo shuffling. Probably TI is the mandatory second source for the NXP (née Philips) part. > > I have listed Laurent as the maintainer, as he wrote the original > > bindings. Laurent: Please scream if this is inappropriate ;-) > > I'm sure I'll regret it later, but I don't mind :-) Thanks! > > + lines-initial-states: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + description: > > + Bitmask that specifies the initial state of each line. > > + When a bit is set to zero, the corresponding line will be initialized to > > + the input (pulled-up) state. > > + When the bit is set to one, the line will be initialized to the > > + low-level output state. > > + If the property is not specified all lines will be initialized to the > > + input state. > > The line wrapping is weird. Is it? The different cases just start on a new line. Which makes no difference, as there's no "|". Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert@linux-m68k.org> To: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: "Rob Herring" <robh+dt@kernel.org>, "Linus Walleij" <linus.walleij@linaro.org>, "Bartosz Golaszewski" <bgolaszewski@baylibre.com>, "Benoît Cousson" <bcousson@baylibre.com>, "Tony Lindgren" <tony@atomide.com>, "Jan Tuerk" <jan.tuerk@emtrion.com>, "Shawn Guo" <shawnguo@kernel.org>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org>, "open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>, "open list:TI ETHERNET SWITCH DRIVER (CPSW)" <linux-omap@vger.kernel.org>, "Linux ARM" <linux-arm-kernel@lists.infradead.org> Subject: Re: [PATCH 3/3] dt-bindings: gpio: pcf857x: Convert to json-schema Date: Thu, 27 May 2021 16:43:41 +0200 [thread overview] Message-ID: <CAMuHMdWwj7rwxmBX5CC+Qjnmkp1W+imXm1q5PXRZrm7ZB7jtMg@mail.gmail.com> (raw) In-Reply-To: <YKm1Z4/xULSzuoVV@pendragon.ideasonboard.com> Hi Laurent, On Sun, May 23, 2021 at 3:52 AM Laurent Pinchart <laurent.pinchart@ideasonboard.com> wrote: > On Fri, May 21, 2021 at 09:54:08AM +0200, Geert Uytterhoeven wrote: > > Convert the PCF857x-compatible I/O expanders Device Tree binding > > documentation to json-schema. > > > > Document missing compatible values, properties, and gpio hogs. > > > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > > --- > > Perhaps the "ti,pcf8575" construct should be removed, and the few users > > fixed instead? > > Given that the driver doesn't match against it, that could be done, if > you're confident enough that there's no difference between the TI and > NXP versions that would need to be taken into account. I've just checked the datasheets, and they're identical modulo shuffling. Probably TI is the mandatory second source for the NXP (née Philips) part. > > I have listed Laurent as the maintainer, as he wrote the original > > bindings. Laurent: Please scream if this is inappropriate ;-) > > I'm sure I'll regret it later, but I don't mind :-) Thanks! > > + lines-initial-states: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + description: > > + Bitmask that specifies the initial state of each line. > > + When a bit is set to zero, the corresponding line will be initialized to > > + the input (pulled-up) state. > > + When the bit is set to one, the line will be initialized to the > > + low-level output state. > > + If the property is not specified all lines will be initialized to the > > + input state. > > The line wrapping is weird. Is it? The different cases just start on a new line. Which makes no difference, as there's no "|". Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-05-27 14:43 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-21 7:54 [PATCH 0/3] pcf857x: DTS fixes and DT binding to json-schema conversion Geert Uytterhoeven 2021-05-21 7:54 ` Geert Uytterhoeven 2021-05-21 7:54 ` [PATCH 1/3] ARM: dts: dra7x-evm: Align GPIO hog names with dt-schema Geert Uytterhoeven 2021-05-21 7:54 ` Geert Uytterhoeven 2021-05-23 1:54 ` Laurent Pinchart 2021-05-23 1:54 ` Laurent Pinchart 2021-05-27 12:02 ` Tony Lindgren 2021-05-27 12:02 ` Tony Lindgren 2021-05-21 7:54 ` [PATCH 2/3] ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells Geert Uytterhoeven 2021-05-21 7:54 ` Geert Uytterhoeven 2021-05-23 1:55 ` Laurent Pinchart 2021-05-23 1:55 ` Laurent Pinchart 2021-05-23 5:42 ` Shawn Guo 2021-05-23 5:42 ` Shawn Guo 2021-05-21 7:54 ` [PATCH 3/3] dt-bindings: gpio: pcf857x: Convert to json-schema Geert Uytterhoeven 2021-05-21 7:54 ` Geert Uytterhoeven 2021-05-21 10:04 ` Linus Walleij 2021-05-21 10:04 ` Linus Walleij 2021-05-21 10:23 ` Geert Uytterhoeven 2021-05-21 10:23 ` Geert Uytterhoeven 2021-05-21 18:24 ` Rob Herring 2021-05-21 18:24 ` Rob Herring 2021-05-27 15:04 ` Geert Uytterhoeven 2021-05-27 15:04 ` Geert Uytterhoeven 2021-05-23 1:52 ` Laurent Pinchart 2021-05-23 1:52 ` Laurent Pinchart 2021-05-27 14:43 ` Geert Uytterhoeven [this message] 2021-05-27 14:43 ` Geert Uytterhoeven
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=CAMuHMdWwj7rwxmBX5CC+Qjnmkp1W+imXm1q5PXRZrm7ZB7jtMg@mail.gmail.com \ --to=geert@linux-m68k.org \ --cc=bcousson@baylibre.com \ --cc=bgolaszewski@baylibre.com \ --cc=devicetree@vger.kernel.org \ --cc=jan.tuerk@emtrion.com \ --cc=laurent.pinchart@ideasonboard.com \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-gpio@vger.kernel.org \ --cc=linux-omap@vger.kernel.org \ --cc=robh+dt@kernel.org \ --cc=shawnguo@kernel.org \ --cc=tony@atomide.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.