Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753431AbcCVXQP (ORCPT ); Tue, 22 Mar 2016 19:16:15 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:35948 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752177AbcCVXQL (ORCPT ); Tue, 22 Mar 2016 19:16:11 -0400 Date: Tue, 22 Mar 2016 23:16:02 +0000 From: Nicolas Saenz Julienne To: Geert Uytterhoeven Cc: Linus Walleij , Alexandre Courbot , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Subject: Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594 Message-ID: <20160322231558.GA2611@vian> References: <1457998330-8070-1-git-send-email-nicolassaenzj@gmail.com> <20160322104207.GA2842@marie-Aspire-5600> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1557 Lines: 42 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