Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932463AbcLNLHG (ORCPT ); Wed, 14 Dec 2016 06:07:06 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:51406 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932179AbcLNLHF (ORCPT ); Wed, 14 Dec 2016 06:07:05 -0500 Date: Wed, 14 Dec 2016 11:06:35 +0000 From: Russell King - ARM Linux To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Jaghathiswari Rankappagounder Natarajan , openbmc@lists.ozlabs.org, robh+dt@kernel.org, mark.rutland@arm.com, gregkh@linuxfoundation.org, joel@jms.id.au, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, "linux-gpio@vger.kernel.org" , linus.walleij@linaro.org Subject: Re: [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Message-ID: <20161214110635.GB14217@n2100.armlinux.org.uk> References: <1481702104-8617-1-git-send-email-jaghu@google.com> <1481702104-8617-5-git-send-email-jaghu@google.com> <3917905.e4iOqADnVQ@wuerfel> <10697525.O7CkPN6Gfl@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10697525.O7CkPN6Gfl@wuerfel> 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: 835 Lines: 19 On Wed, Dec 14, 2016 at 10:00:46AM +0100, Arnd Bergmann wrote: > On Wednesday, December 14, 2016 9:55:47 AM CET Arnd Bergmann wrote: > > According to your introductory mail, the interface is assumed to be > > a 74HC164. Should we use that ID in the compatible string? > > > > We can always add other strings later if we want to support multiple > > wire formats. > > Actually, looking up 74hc164, that seems to be a gpio expander, > so maybe a more flexible way to do the same is to put a driver > for the expander into drivers/gpio/ and have the main driver > access the outputs of that using the gpiolib interface. There already is - drivers/gpio/gpio-74x164.c -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.