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: 11886 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 4B59123E57 for ; Mon, 1 Oct 2012 10:44:13 +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 EC0D6A18ADA for ; Mon, 1 Oct 2012 10:44:12 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so11252295iej.11 for ; Mon, 01 Oct 2012 03:44:12 -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=GTjrUhcEDAMR/9AgvZWLpq7mzvL5e8n54bnD7P9QogzIRhr8KgG9q9UJL/cnEpg7co bcQxfK8c0U1CTz22x6tshnG5hnn4mi5+xk+k2yqa6hKlHxPqiDy+COOLq9MPiX7yMzsU jL00GeA8etlM03N/BrX+Jd0di8STPwtniv5+2WQ+Yykn/waWkTj9Fjb0QFUJW7G5TzEZ 4EDke3KqmiMj8uHhEnIaDo8To4tke4lhnmLECn/s4Xcl7FYqpLTPVfWp6YSahEybFQJZ DmnZ5aXwAaTPn+TZYUhyGsOgG8K8QWhfioLbllhZA8J6S7iXcTeB1pxXKDnWyCi+wZvq 1WgA== Received: by 10.50.154.227 with SMTP id vr3mr5213746igb.43.1349088252659; Mon, 01 Oct 2012 03:44:12 -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 ex8csp17900igc; Mon, 1 Oct 2012 03:44:11 -0700 (PDT) Received: by 10.216.144.92 with SMTP id m70mr8041104wej.222.1349088250958; Mon, 01 Oct 2012 03:44:10 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id l58si7484929wep.112.2012.10.01.03.44.10 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2012 03:44:10 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 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-wg0-f50.google.com with SMTP id 16so1699759wgi.31 for ; Mon, 01 Oct 2012 03:44:10 -0700 (PDT) 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 Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones 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: ALoCoQmuoxvNxPED4Qo7oN5v3rvrbkXAa8fcDStzIiiw2IXwFDtUHAJLxCPctSy58gP+LJlAAX4k 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>; + }; + }; + }; +};