From patchwork Mon Oct 1 10:43:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1530831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id CF945DFFAD for ; Mon, 1 Oct 2012 10:47:08 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TIdUu-0006Zj-L6; Mon, 01 Oct 2012 10:45:12 +0000 Received: from mail-we0-f177.google.com ([74.125.82.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TIdTw-0006D3-9G for linux-arm-kernel@lists.infradead.org; Mon, 01 Oct 2012 10:44:15 +0000 Received: by weyu50 with SMTP id u50so2919763wey.36 for ; Mon, 01 Oct 2012 03:44:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=ZDEOKJg1zEaOWp1K8YYrgN3YEkZQCNh+j9SSLzgLYPs=; b=a7cXGolvJWtyxGf64g8N/VI6Rh0mgCLWjLxGlKKAJvm2AEOWLhPcuDdBfHvlswR9OK LBph06MeurlWs3zYGxZdYZUMzO31F9GDIf/lCRAQEJubHfKq8Ug1yCwz6/InrmTwwK6k nAJM7NieTYR9W1mHkBkZx3RIJiw/S19xEhsc8q0M+E5hxCeqFs/iYbVEReDqP/K3DhfT Vsy9w0J3yq2YPEvoKoO8y/SbqwDfD9Nmb5APf7rS/vb75k259IEgX4eIbFjEvLrKbg2f RwwiXj3/iWQz5PvCi+wu7GlctCJ2ZHZN6iIZogBEWOz569b5MPNK7MdbgeSit6N+sCHe uhXA== Received: by 10.180.79.100 with SMTP id i4mr13743874wix.12.1349088250458; Mon, 01 Oct 2012 03:44:10 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id v3sm15856944wiw.7.2012.10.01.03.44.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2012 03:44:09 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] ARM: ux500: Create a Device Tree for early HREFs Date: Mon, 1 Oct 2012 11:43:46 +0100 Message-Id: <1349088228-8582-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349088228-8582-1-git-send-email-lee.jones@linaro.org> References: <1349088228-8582-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnmdeJo4yuFJkkZAXORJZsZ5+MaU42QGLtyqTeg0QjyR35bDz8/yuT6pd7PhM4onn+5yCXd X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org In ux500 platform code we currently support a number of devices. Two of these devices are fairly similar, but have key differences. Early (pre-v60) HREFs and the more up-to-date versions (v60+), and they both need to be supported by Device Tree. Here we apply a DT source file for the earlier versions. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/boot/dts/hrefprev60.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 arch/arm/boot/dts/hrefprev60.dts diff --git a/arch/arm/boot/dts/hrefprev60.dts b/arch/arm/boot/dts/hrefprev60.dts new file mode 100644 index 0000000..2dd28b9 --- /dev/null +++ b/arch/arm/boot/dts/hrefprev60.dts @@ -0,0 +1,28 @@ +/* + * Copyright 2012 ST-Ericsson AB + * + * The code contained herein is licensed under the GNU General Public + * License. You may obtain a copy of the GNU General Public License + * Version 2 or later at the following locations: + * + * http://www.opensource.org/licenses/gpl-license.html + * http://www.gnu.org/copyleft/gpl.html + */ + +/dts-v1/; +/include/ "dbx5x0.dtsi" +/include/ "href.dtsi" + +/ { + model = "ST-Ericsson HREF (pre-v60) platform with Device Tree"; + compatible = "st-ericsson,mop500"; + + soc-u9500 { + i2c@80004000 { + tps61052@33 { + compatible = "tps61052"; + reg = <0x33>; + }; + }; + }; +};