From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8688C43144 for ; Tue, 26 Jun 2018 15:48:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CF1126D66 for ; Tue, 26 Jun 2018 15:48:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7CF1126D66 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752522AbeFZPsL (ORCPT ); Tue, 26 Jun 2018 11:48:11 -0400 Received: from mga03.intel.com ([134.134.136.65]:35649 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbeFZPsK (ORCPT ); Tue, 26 Jun 2018 11:48:10 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2018 08:48:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,274,1526367600"; d="scan'208";a="70152923" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga002.jf.intel.com with ESMTP; 26 Jun 2018 08:48:06 -0700 Message-ID: <94f847b50030a10c9dabd907a35c16a9f43e5af4.camel@linux.intel.com> Subject: Re: [PATCH v2 0/2] Add a property in at24.c From: Andy Shevchenko To: Bartosz Golaszewski Cc: alanx.chiang@intel.com, linux-i2c , andy.yeh@intel.com, Sakari Ailus , Rajmohan Mani , Andy Shevchenko , Rob Herring , Mark Rutland , Arnd Bergmann , Greg Kroah-Hartman , Linux Kernel Mailing List Date: Tue, 26 Jun 2018 18:48:05 +0300 In-Reply-To: References: <1529994128-26770-1-git-send-email-alanx.chiang@intel.com> <3a07d0d9fbe7178bbe9efa99fcb331df213a461f.camel@linux.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 15:30 +0200, Bartosz Golaszewski wrote: > 2018-06-26 15:23 GMT+02:00 Andy Shevchenko tel.com>: > > On Tue, 2018-06-26 at 14:36 +0200, Bartosz Golaszewski wrote: > > > 2018-06-26 14:14 GMT+02:00 Andy Shevchenko > > > : > > > > On Tue, 2018-06-26 at 09:41 +0200, Bartosz Golaszewski wrote: > > > > > 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. > > > > ^^^^^ > > > > > Every supported compatible has the width already specified in its > > > corresponding chip data. > > > > > > Please, read again carefully what I wrote before. > > > > Ok makes sense in that case. Could you just point me towards an > example model which has the address width different than the default > for its type? AFAIK, it's a companion device inside the camera voice coil IC, i.e. DONGWOON DW9714. -- Andy Shevchenko Intel Finland Oy