From patchwork Mon Jul 31 03:25:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wenyou Yang X-Patchwork-Id: 795530 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xLQ3b6BlPz9sRr for ; Mon, 31 Jul 2017 13:31:39 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 56668C21FC1; Mon, 31 Jul 2017 03:31:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id D11EAC21ED4; Mon, 31 Jul 2017 03:31:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 648F1C21F93; Mon, 31 Jul 2017 03:31:05 +0000 (UTC) Received: from eusmtp01.atmel.com (eusmtp01.atmel.com [212.144.249.243]) by lists.denx.de (Postfix) with ESMTPS id E56AFC21FC7 for ; Mon, 31 Jul 2017 03:31:03 +0000 (UTC) Received: from apsmtp01.atmel.com (10.168.254.30) by eusmtp01.atmel.com (10.145.145.31) with Microsoft SMTP Server id 14.3.235.1; Mon, 31 Jul 2017 05:31:00 +0200 Received: from shaarm01.corp.atmel.com (10.168.254.13) by apsmtp01.corp.atmel.com (10.168.254.30) with Microsoft SMTP Server id 14.3.235.1; Mon, 31 Jul 2017 11:34:04 +0800 From: Wenyou Yang To: U-Boot Mailing List Date: Mon, 31 Jul 2017 11:25:30 +0800 Message-ID: <20170731032531.22547-2-wenyou.yang@microchip.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170731032531.22547-1-wenyou.yang@microchip.com> References: <20170731032531.22547-1-wenyou.yang@microchip.com> MIME-Version: 1.0 Subject: [U-Boot] [PATCH 1/2] misc: i2c_eeprom: Add compatible for 24AA02E48 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add the new compatible "microchip,24aa02e48" to accommodate 24AA02E48, the 24AA02E48 is a 2K I2C Serial EEPROM with pre-programmed globally unique, 48-bit node address, and 8-byte page size. Signed-off-by: Wenyou Yang --- drivers/misc/i2c_eeprom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c index a14e83225b..b2de3dffc6 100644 --- a/drivers/misc/i2c_eeprom.c +++ b/drivers/misc/i2c_eeprom.c @@ -66,6 +66,7 @@ static int i2c_eeprom_std_probe(struct udevice *dev) static const struct udevice_id i2c_eeprom_std_ids[] = { { .compatible = "i2c-eeprom", .data = 0 }, + { .compatible = "microchip,24aa02e48", .data = 3 }, { .compatible = "atmel,24c01a", .data = 3 }, { .compatible = "atmel,24c02", .data = 3 }, { .compatible = "atmel,24c04", .data = 4 },