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: 1514891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id C16233FC71 for ; Thu, 27 Sep 2012 15:16:16 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1THFmP-00026w-JG; Thu, 27 Sep 2012 15:13:34 +0000 Received: from mail-wg0-f49.google.com ([74.125.82.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1THFlL-0001jo-RY for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 15:12:30 +0000 Received: by wgbgg4 with SMTP id gg4so402347wgb.18 for ; Thu, 27 Sep 2012 08:12:26 -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=UHKptJNecnskGwOZMxVkaNjJqq4+VDBAUH1I9FyWvp8afvbGgBKbmAzdMg5UbxagMY DipZIfqgAdnTiXtry87om9unlj5LhQWveqFTU8KFKggDDYdsUilB07I17n8O5VTHYUSG 4epw48vVSSHWwka9mHktl9bGnF5FoA/vhcaD7BB4H9INMtwWu3bwkprXt38bXS5jOEh8 laIz6pCQ7qGTsusyN9xwijyOo4kGmizR34lka7qUox6iXp5HlEWkvzcs7O/wfqrKgjU4 wEeI/kxyqGJ4e7FgPbg1ao894FFlOT2uOd5C5Gr+mREiOdKZDHfACHggfeiSMdAHVQcM 7arQ== 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 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: ALoCoQkbWtnD7Zv0sPAyHTECt4jfTCLPVShlWWi8NlD9gnT53eHJWqp7YfXtgqGHQa3y1DvitxFr 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.49 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>; + }; + }; + }; +};