From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: Re: [PATCH v2 0/2] Add a property in at24.c Date: Tue, 26 Jun 2018 15:14:26 +0300 Message-ID: References: <1529994128-26770-1-git-send-email-alanx.chiang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Bartosz Golaszewski , alanx.chiang@intel.com Cc: linux-i2c , andy.yeh@intel.com, Sakari Ailus , rajmohan.mani@intel.com, Andy Shevchenko , Rob Herring , Mark Rutland , Arnd Bergmann , Greg Kroah-Hartman , Linux Kernel Mailing List List-Id: linux-i2c@vger.kernel.org On Tue, 2018-06-26 at 09:41 +0200, Bartosz Golaszewski wrote: > 2018-06-26 8:22 GMT+02:00 : > > From: "alanx.chiang" > > > > In at24.c, it uses 8-bit addressing by default. In this patch, > > add a property address-width that provides a flexible method to > > pass the information to the driver. > > > > alanx.chiang (2): > > dt-bindings: at24: Add address-width property > > eeprom: at24: Add support for address-width property > > > > Documentation/devicetree/bindings/eeprom/at24.txt | 2 ++ > > drivers/misc/eeprom/at24.c | 16 > > ++++++++++++++++ > > 2 files changed, 18 insertions(+) > > > > -- > > 2.7.4 > > > > What is your use case exactly? Do you have an EEPROM model that's not > yet supported explicitly in the driver? Why would you need this > option? The current at24 driver has no address width support, thus, reusing same (allocated) IDs (non-DT case) is hard. -- Andy Shevchenko Intel Finland Oy