Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759294AbcCVK5K (ORCPT ); Tue, 22 Mar 2016 06:57:10 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:33743 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759261AbcCVK4x (ORCPT ); Tue, 22 Mar 2016 06:56:53 -0400 MIME-Version: 1.0 In-Reply-To: <20160322104207.GA2842@marie-Aspire-5600> References: <1457998330-8070-1-git-send-email-nicolassaenzj@gmail.com> <20160322104207.GA2842@marie-Aspire-5600> Date: Tue, 22 Mar 2016 11:56:51 +0100 X-Google-Sender-Auth: ewn5fUXorvhZJ3x7v8ce7K0aHEE Message-ID: Subject: Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594 From: Geert Uytterhoeven To: nicolas saenz julienne 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 41 Hi Nicolas, On Tue, Mar 22, 2016 at 11:42 AM, nicolas saenz julienne wrote: >> Why did you choose the "lvc" variant? > Well to be honest the HW people did and it's all I could test with. I don't > know much about these naming schemes, apart from the intuition it has to do > with frequency and line levels. > >> Ideally, you want to put the oldest "manuf,74x594" variant here. > What do you mean by oldest? What would you suggest? it's funny because the chip > is going to be used on a new product that is meant to be produced for years. 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 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? 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