Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5055523imm; Tue, 26 Jun 2018 05:16:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK4O/9q6XUesWJwPc+7u20tfp7TJCbe1ohDWBsWteZbYyPki7aEevOeVVmkRH1rUCyHBH52 X-Received: by 2002:a17:902:7581:: with SMTP id j1-v6mr1388048pll.218.1530015370366; Tue, 26 Jun 2018 05:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530015370; cv=none; d=google.com; s=arc-20160816; b=L7Nj8/cjK3g7sQOY3d2NnyOACw+pF9PWHHiGR4hWGMArxTJDLK4PaSlDo1IgesWrJ2 /JYc3QD+qaNykADF6/Mw6f9ZWp4qGLEcCkEfGzz5sPw0XqnRSQm9gNb4eTB7CY8SMMVY f6WerlMTuVU7HIskfsx4NHxgPnZW7cvnWBtS42HrjtN4c8//AEi9rDhTpHf9jJTnAKW6 kqiTWZEExuZGDNOT4QCHjEDJms8mgkhAz8OkAraKFMN+BRvQuuZ9S0URrcc3A5Arf45t LY+9Hnrf08mSc5yMd1t1mOlnejt704vyzT1NjfuMwfIZAuEPK9wEU7U0o/K9V7fJJn/o mxVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=p4gTwVeRrZnPHykxZqqrpkGEk2ET/pEzl2vLLNd0IBo=; b=oCl0EHINn6Hk6Mku9iz1BkLUfgPi4+JCjK7wg3JMW6r37pBrnTi26+Hy2x3N8PlNxb /wQetvrFfVWfEru/GmUg0JkrVPqKB0KwnseLjJkdn5kEm8Rs7i/Y75IY7kfGmWzaLzTZ EY6JTdk8bcuBADSqGlcQ6qimgLGzD4yqHy0CErqWizrWp8Nww3y0q0sEqgceDlhn1jzz R3tiH2lJ4ZtIctgkXBdloJv/CeHBF36dYgTl1u2PX/uwszWVNa1xU2CzO5QR3lvvWP9I RSmh+aYLbdO487vqhjQgwJ4X6oT/tBRaVCIu2AnieWd7v5SMC+AGhVfaJmjurvDyY+B3 pxAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22-v6si1466017plo.123.2018.06.26.05.15.55; Tue, 26 Jun 2018 05:16:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935467AbeFZMOf (ORCPT + 99 others); Tue, 26 Jun 2018 08:14:35 -0400 Received: from mga12.intel.com ([192.55.52.136]:12300 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934583AbeFZMOe (ORCPT ); Tue, 26 Jun 2018 08:14:34 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2018 05:14:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,274,1526367600"; d="scan'208";a="66425992" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by fmsmga004.fm.intel.com with ESMTP; 26 Jun 2018 05:14:27 -0700 Message-ID: Subject: Re: [PATCH v2 0/2] Add a property in at24.c From: Andy Shevchenko 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 Date: Tue, 26 Jun 2018 15:14:26 +0300 In-Reply-To: References: <1529994128-26770-1-git-send-email-alanx.chiang@intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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