Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4754882imm; Mon, 25 Jun 2018 23:23:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIRx52twuWI9gxRCmxxD8suH9fMEy8aZ0eBJVGtHMNX1HXwp3LoyO6GsSpRyZB7NyIkfCBT X-Received: by 2002:a63:3dcc:: with SMTP id k195-v6mr201924pga.254.1529994223712; Mon, 25 Jun 2018 23:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529994223; cv=none; d=google.com; s=arc-20160816; b=qvpOqYD1/vX5WfUqJJPhPJXFAt5oT70yIfwADB5BcOFUTs7RnzVy6wWA4vuqRPiArR qpqz37Mjtk4jj8XJSVP6wE2T4JkUD+/ix+FBl7R2micsQUhAKZHcmKhR6WubiEQkWQJY krFdakdtRQqCBNZ20610ZPmahMu/B0hFPQtAHFeX8vpsaKWncfTl4PChLrR8J7WcoxSt YCYL3aS3422VdZ4NWAWqG8UWk/dy92ILRQaFQEV3ORqQdKcJTXlk7fX6qd6yAq3Lj0Rv ETUT+jDchJfSLk6lHgMIStyq+QBL88iUbFmSXJAsGgt9zSmJbvVhuuBq9wGxucKNlZ9q OlmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=dyhFTQAi5QA4NaYFNHAz1lc/g4ExsLD6OQocKLEo3aY=; b=s3YrMnur8T5urABsFGUxIxIy0+spjlYKw8WzftIxU6CQGE/LRJC8UjVbU+J1uVA6ZR DXBbLoE384PCrGVigI1brOoKxIa6oknpsf4yh9yw/mSv8XIHDWtEFA1p3xVX8Ks2ri7g A52yugnrzA+RMxGtXxU6G5n8BccsfqFHZ50X2rTLaNrFuiJlLcYaCs+uRhWkbtODnyRz x3pT4FOKiBOQjfPkSgYCTR2xORiedm+xZT7mC7JZekB6yScDpcDyq/xowLdPL0DpoDiq 3IBaIPlVFcu3nH1G0kY+XJe6rluZUiIprSD9KHg3LpUXde1naLk9O8IgwiDgbFfYZDNJ JkBQ== 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 t69-v6si798828pgd.271.2018.06.25.23.23.29; Mon, 25 Jun 2018 23:23:43 -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 S1751171AbeFZGWS (ORCPT + 99 others); Tue, 26 Jun 2018 02:22:18 -0400 Received: from mga06.intel.com ([134.134.136.31]:58874 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbeFZGWQ (ORCPT ); Tue, 26 Jun 2018 02:22:16 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2018 23:22:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,273,1526367600"; d="scan'208";a="240651341" Received: from shawn-bm6650-bm6350.itwn.intel.com ([10.5.253.27]) by fmsmga006.fm.intel.com with ESMTP; 25 Jun 2018 23:22:13 -0700 From: alanx.chiang@intel.com To: linux-i2c@vger.kernel.org Cc: andy.yeh@intel.com, sakari.ailus@linux.intel.com, andriy.shevchenko@intel.com, rajmohan.mani@intel.com, andy.shevchenko@gmail.com, brgl@bgdev.pl, robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, "alanx.chiang" Subject: [PATCH v2 0/2] Add a property in at24.c Date: Tue, 26 Jun 2018 14:22:06 +0800 Message-Id: <1529994128-26770-1-git-send-email-alanx.chiang@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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