From patchwork Fri Sep 19 20:14:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 4940011 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BA1D49F350 for ; Fri, 19 Sep 2014 20:18:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C6D5D20115 for ; Fri, 19 Sep 2014 20:18:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 05FBD20108 for ; Fri, 19 Sep 2014 20:18:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XV4bo-0000II-Af; Fri, 19 Sep 2014 20:16:48 +0000 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XV4aJ-000641-WE for linux-arm-kernel@lists.infradead.org; Fri, 19 Sep 2014 20:15:17 +0000 Received: by mail-wi0-f172.google.com with SMTP id em10so163816wid.11 for ; Fri, 19 Sep 2014 13:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=n2NSrBfgSrLujYNhWCz2ISxic9zabVdKZTd1ZSFt5is=; b=ot+haXjzviDVF4PwK1FPkei9lyMMcGDdsx64hcPNwNNaeANpVxqgY2Ka+Yhh78Vs4w 09WRPut4Fl2YUJAL9k14lvunjHTfPwv76QR0GmxiA+f6d39ryhvleZz6B+XaUUvYFf2r Doztia9DfWa2dIvjoxtEEXfgA0sUN56jXHY3lHF2IeQ8FRAK6JDt+1N5r7IzlL3WDzNv ma8i3hjY46ig7ESdcFRiysPSXn0LuqdRs6qXZpOWRXDbVMCvZ/8SPsC8iTMx0XDp8cdz ceLNM6gIt1Rqvk2Kxkotw2aUW3jHRbUssCoseGxCvI+WC2OyTTUuMASKn4wPSKFGCpJl K8JA== X-Received: by 10.194.5.162 with SMTP id t2mr3161095wjt.97.1411157692925; Fri, 19 Sep 2014 13:14:52 -0700 (PDT) Received: from topkick.lan (f051005106.adsl.alicedsl.de. [78.51.5.106]) by mx.google.com with ESMTPSA id pn5sm3358177wjc.4.2014.09.19.13.14.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Sep 2014 13:14:51 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH 7/8] ARM: mvebu: armada-xp: Add I2C eeprom on Lenovo ix4-300d Date: Fri, 19 Sep 2014 22:14:43 +0200 Message-Id: <1411157684-6991-8-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1411157684-6991-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1411157684-6991-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140919_131516_209042_39509B0D X-CRM114-Status: GOOD ( 10.90 ) X-Spam-Score: -0.8 (/) Cc: Thomas Petazzoni , Andrew Lunn , Jason Cooper , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ezequiel Garcia , Gregory Clement , Benoit Masson , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is an I2C eeprom connected on Lenovo ix4-300d, add the corresponding node. Signed-off-by: Sebastian Hesselbarth --- IIRC, the eeprom contains some register init pairs (address, data) for and is empty otherwise. I'll have to check the boot loader code again, but (again) IIRC, stock u-boot already does the sequence in code and ignores the eeprom. Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Ezequiel Garcia Cc: Thomas Petazzoni Cc: Benoit Masson Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts index c5ee6c00766c..cef50da88e45 100644 --- a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +++ b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts @@ -98,6 +98,11 @@ reg = <0x2e>; }; + at24c64@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + pcf8563@51 { compatible = "nxp,pcf8563"; reg = <0x51>;