Message ID | 1460469448-9065-5-git-send-email-peter.griffin@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F166EC0553 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 12 Apr 2016 14:00:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85C9D20270 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 12 Apr 2016 14:00:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F32E2035E for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 12 Apr 2016 14:00:34 +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 1apyqN-0007nI-7A; Tue, 12 Apr 2016 13:59:03 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1apypS-00072c-Al for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2016 13:58:07 +0000 Received: by mail-wm0-x22f.google.com with SMTP id l6so189339177wml.1 for <linux-arm-kernel@lists.infradead.org>; Tue, 12 Apr 2016 06:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3iAO4QfET+KyBMqs9zo2VbgAxOcWWXYZcfRZlwOMxP4=; b=JG1HVGm611APSCoxGDXVgdD9t2QC+1tGM6RA+tc+Ryz/958QjIdytklX3bEu8OtDRE B3DYjxUn4EAjU0qylVvDoHNeK/YRjxD0WnU/TL6Vr8ONA/zbMv7xRrjKSix4gpoBqR++ sjm1sPSXb3O+q8eLZbOdnm1wRAb01E895KN2o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3iAO4QfET+KyBMqs9zo2VbgAxOcWWXYZcfRZlwOMxP4=; b=UEzkzpBzklZ3QyX0vLWogUCYbcdEc9fzxOSPAk0Vt+mMW355gNmfWEy3RMtbvsdFSF NkmmWsgmYGOF0akj98DBBlS9B9/FPDQXRNXtn4bvixe09u8knd6O4wEekIOJG/9nauKo /syS5HEwSf5knFv9ogaOQiu+SF4kDyA0dLz+q/timbd3CRXISCovoTzQnzPkD+83iwk8 q4ECfR7FW0ovsb2msxRcrKSUH9y/K8W2L9Kz8Lz4TUPMwK5txiKi1rjr7HwtRAZ0OC3g tQ5Bf5tL2bYdAmsZwvhzhI2IKOz+qRw1HUB0em58z584EseggMXZRiLGSYWx8woPbJzl UoHA== X-Gm-Message-State: AOPr4FWuse8HZXENJ/7QHNh3S7q2nk6+qXlsVJfl9zpMxncIHC0WXcliTOpDsna33Dti5tr/ X-Received: by 10.194.2.225 with SMTP id 1mr4338000wjx.29.1460469464866; Tue, 12 Apr 2016 06:57:44 -0700 (PDT) Received: from localhost.localdomain (cpc84787-aztw28-2-0-cust15.18-1.cable.virginm.net. [82.37.140.16]) by smtp.gmail.com with ESMTPSA id lh1sm33546922wjb.20.2016.04.12.06.57.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 06:57:43 -0700 (PDT) From: Peter Griffin <peter.griffin@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com Subject: [PATCH v2 4/4] ARM: STi: DT: STiH407: Add DT node for at24c256 eeprom Date: Tue, 12 Apr 2016 14:57:28 +0100 Message-Id: <1460469448-9065-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460469448-9065-1-git-send-email-peter.griffin@linaro.org> References: <1460469448-9065-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160412_065806_707176_2D8306D1 X-CRM114-Status: GOOD ( 11.98 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 |
diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 133375b..0d7c6dd 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -58,6 +58,15 @@ i2c@9845000 { status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + eeprom@50 { + compatible = "at,24c256"; + pagesize = <64>; + reg = <0x50>; + }; }; i2c@9540000 {
More accurately describe the i2c bus hardware by including a dt node for the eeprom device. Now that at24c256 can be accessed via the nvmem framework it allows for example the stmmac driver to be extended to get the MAC address from the at24c256 eeprom. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> --- Changes in v2: - Add more verbose patch description --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)