Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363102

Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594

From Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594
Date 2016-03-23 00:20 +0100
Message-ID <rfDKG-34K-3@gated-at.bofh.it> (permalink)
References <rcKfD-2br-7@gated-at.bofh.it> <rcZ50-3S4-15@gated-at.bofh.it> <rfscz-3bq-59@gated-at.bofh.it> <rfscz-3bq-57@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Geert, thanks for your reply.

On Tue, Mar 22, 2016 at 11:56:51AM +0100, Geert Uytterhoeven wrote:
[..]
> For DT bindings, it doesn't matter who manufactured the part, or which
> technology was used (TTL, HC, LVC, ...).
> 
> Logically, the shiny new parts are compatible with the old ones, from as early
> as the 1960s.
> 
> Especially for standard logic glue, where you can source parts from several
> manufacturers, and which are available in many different technologies, it
> doesn't make much sense to have all combinations in the DT bindings.
> 
> https://en.wikipedia.org/wiki/7400_series
That did the trick.

> 
> Now, which one to pick?
> Given the precedence set by the existing compatible value "fairchild,74hc595",
> perhaps the most logical one to add is "fairchild,74hc594"?
> 
> Or can we just drop the manufacturer?
Well as you say DT doesn't care for technology nor manufacturer. I'd go for
dropping the manufacturer and adding an "x" for the technology (i.e. 74x595).
I saw that the binding is being used on some boards is there any rule against
changing bindings that are already being used?

> 
> 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
I'll happily do a new version of the patch if the idea is worth it.

	Nicolas

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594 Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-22 12:00 +0100
  Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594 Nicolas Saenz Julienne <nicolassaenzj@gmail.com> - 2016-03-23 00:20 +0100

csiph-web