From patchwork Thu Sep 27 15:12:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11771 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B2C0B23E54 for ; Thu, 27 Sep 2012 15:12:34 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 67446A18852 for ; Thu, 27 Sep 2012 15:12:34 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so4450868iej.11 for ; Thu, 27 Sep 2012 08:12:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=ZDEOKJg1zEaOWp1K8YYrgN3YEkZQCNh+j9SSLzgLYPs=; b=IT8vmCS1rCBfFpNAHN1AfrGJ65c/Uc0DiOOIdvX0A3SN5N8az8lzRKb+BQxnOvLfgw Gs52dUg6AFN0LtdzRPMKfd/ULiAHm3OFMp/ONsCj4UjtqpySLn+M7Ph+j6LIkdgAtwOc JfN8daSH9wCZ/yVWs6nyOqeOGq9N9X5d2pqCQ7Rdl9R9cA4qVK9LQMbYFOQfUs6xKaHB ilk7WQoieb8ALYG+SU3xUuSoL7y15eGq34ThdkBDgt1WwbuFY8w9543PxcHfB4whiQDF n2tuRWvXkaKvmr7kXzeN+BO1PORB4yvXhNJKj4k73jkfLsvy/W8PSOoDD27oVEKGRg0G CrnQ== Received: by 10.50.154.227 with SMTP id vr3mr14431197igb.43.1348758748598; Thu, 27 Sep 2012 08:12:28 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp420840igc; Thu, 27 Sep 2012 08:12:27 -0700 (PDT) Received: by 10.180.87.42 with SMTP id u10mr4571348wiz.0.1348758746581; Thu, 27 Sep 2012 08:12:26 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id q7si7085745wea.73.2012.09.27.08.12.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Sep 2012 08:12:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f172.google.com with SMTP id hq12so4955068wib.13 for ; Thu, 27 Sep 2012 08:12:26 -0700 (PDT) Received: by 10.180.99.99 with SMTP id ep3mr9069512wib.15.1348758746077; Thu, 27 Sep 2012 08:12:26 -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 t7sm13643780wix.6.2012.09.27.08.12.24 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Sep 2012 08:12:25 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones Subject: [PATCH 5/7] ARM: ux500: Create a Device Tree for early HREFs Date: Thu, 27 Sep 2012 16:12:04 +0100 Message-Id: <1348758726-25336-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348758726-25336-1-git-send-email-lee.jones@linaro.org> References: <1348758726-25336-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnd3s1N4uBwf40A8FNScpEivLK+ivtCPXWAud1HZaYA3cxvK7NowsTEAAiMaf91T49SD6qL 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>; + }; + }; + }; +};