Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5351021imm; Tue, 26 Jun 2018 09:46:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJsxibmKcVwghXhzWVsPzeuyHPCRG1lyDj4hvsnWcDO5wE4TyRWvpIn7m0YMygCWECwDJjq X-Received: by 2002:a17:902:9a08:: with SMTP id v8-v6mr2453261plp.148.1530031570502; Tue, 26 Jun 2018 09:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530031570; cv=none; d=google.com; s=arc-20160816; b=Yo9EGf55XNQav8HIq+uWrdsxxLmjjJJE82RnubbYTds0rzQWPqJnIIlkLqTiDGjoHI OlBMjdmpTnsXpXmdxBfNX+W6+8vkZkAP0sDeG5aSUz0rwMd/lc1E2xu2y9+A9UJIMtsk X8Bb8NMCDBZP2vadAB0XvUD67SzYGkk5+P9j53U4Up5y5BfHbaYnN98Y8EXqZrWeEYBQ 43+j6GmTdcyrhgpzjJA/AbiYIQ1DmMtsT2s7dbB389fQhF9c8XpFq9+AJ3kBXwyHNUwM Xmp48N+wyxEpQzuOgwmjpmVUZ48jOiPSYBP+Dz9MRXjsKJFN0Cem0HzxF5f8ghU8j4cH vzkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=jYqNEUCN6p+afkQhvUm3cJL9LvoVyhRY9mGwb8SX+kM=; b=tISOFZJ4K7TTG0o5td/EPa2fz9nzWnZ+cJ/cEZlU6NnSEZ8bmX2f0jeNFgv1kWEMLt JLaXr4a5Ik/QBkoJIkNPoivi9qAI9013zT2POs9GzSVcdSmnDcM5rin3Tk+EZSnPtSZ1 h34+HhPHGvUofk3QpFIhVE3+g6t0d6dIlUE0i0Qk36zW7aLnWA+ycHWFG2ALBE2JJ4vF OwvUmLFPoNSeH/z986l2Xa3at/I/orh7e1QWCo13O73ZenhY8G3O7F2WWiGJD+b5ewwL ZORB3Hm/Ti51ovoUZgsHzvmPH5xeabrAPrL2pIZpViXGURFs2kg/iNZxan+W8urelBUh U/sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ScSXIVCC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2-v6si1673196pgu.420.2018.06.26.09.45.56; Tue, 26 Jun 2018 09:46: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; dkim=pass header.i=@kernel.org header.s=default header.b=ScSXIVCC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752424AbeFZQpJ (ORCPT + 99 others); Tue, 26 Jun 2018 12:45:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:49038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730AbeFZQpH (ORCPT ); Tue, 26 Jun 2018 12:45:07 -0400 Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 07BE826C03; Tue, 26 Jun 2018 16:45:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530031507; bh=jj1x94cUnVXL6neY2k3LHiA3Afq7+NPR1mrHXnDWxZE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ScSXIVCCsOoRhtzTeNWTXoJp+ePI5KvLx7XVXlmeVNwZ9DCGhnj8gz5RbELZVN9+U 9CzGiwE3+j2ACSearUEAgshYNvwebT1mv5vVrwe5JmgLdoRqFobykabOc/sgriWnB0 fOQvqd1jcXkknNu5mXhy0sCIBP32sVTSLrv7mwa0= Received: by mail-io0-f182.google.com with SMTP id l19-v6so16585109ioj.5; Tue, 26 Jun 2018 09:45:07 -0700 (PDT) X-Gm-Message-State: APt69E1GgdOfLbvKqn1bt33rq3WGsUtkGmivHKZOqmgniTnbGYN4zjvr mSdMhF8OgaOwjvagCgpn5c1vX9EZdSY/8GsCkw== X-Received: by 2002:a6b:c696:: with SMTP id w144-v6mr1890709iof.79.1530031506432; Tue, 26 Jun 2018 09:45:06 -0700 (PDT) MIME-Version: 1.0 References: <1529994128-26770-1-git-send-email-alanx.chiang@intel.com> <1529994128-26770-2-git-send-email-alanx.chiang@intel.com> In-Reply-To: <1529994128-26770-2-git-send-email-alanx.chiang@intel.com> From: Rob Herring Date: Tue, 26 Jun 2018 10:44:53 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] dt-bindings: at24: Add address-width property To: Alan Chiang Cc: Linux I2C , Andy Yeh , Sakari Ailus , Andy Shevchenko , Rajmohan Mani , Andy Shevchenko , Bartosz Golaszewski , Mark Rutland , Arnd Bergmann , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 26, 2018 at 12:22 AM wrote: > > From: "alanx.chiang" Please fix your author name and send bindings to the DT list if you want them reviewed. > > The AT24 series chips use 8-bit address by default. If some > chips would like to support more than 8 bits, should add the compatible > field for specfic chips in the driver. > > Provide a flexible way to determine the addressing bits through > address-width in this patch. > > Signed-off-by: Alan Chiang > Signed-off-by: Andy Yeh > > --- > since v1: > -- Remove the address-width field in the example. > > --- > Documentation/devicetree/bindings/eeprom/at24.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/eeprom/at24.txt b/Documentation/devicetree/bindings/eeprom/at24.txt > index 61d833a..9467482 100644 > --- a/Documentation/devicetree/bindings/eeprom/at24.txt > +++ b/Documentation/devicetree/bindings/eeprom/at24.txt > @@ -72,6 +72,8 @@ Optional properties: > > - wp-gpios: GPIO to which the write-protect pin of the chip is connected. > > + - address-width : number of address bits (one of 8, 16). > + > Example: > > eeprom@52 { > -- > 2.7.4 >