From patchwork Wed Dec 19 17:19:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 13660 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 191D723E2D for ; Wed, 19 Dec 2012 17:19:56 +0000 (UTC) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) by fiordland.canonical.com (Postfix) with ESMTP id AA872A19537 for ; Wed, 19 Dec 2012 17:19:55 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id e13so3193696iej.32 for ; Wed, 19 Dec 2012 09:19:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=HBkBlhVG4/ZGJzXDHpXaLS0hCjPtFERj7i/V8BqAxDE=; b=iQKJj1jANptfNJscazi5qmwnbLZB/TLabiyBOcldFIhrAppx8sgNAHzGXsxW9wDTI3 DC4cBjV6W1rG7nKlfg5qURL3yYwxGhV6U3bTjOIpyaeWJg8xeeL2eEtyFE+zRDO6WMzy kZNYAPsSLMI65DaPc70ELgC7VgyvRThPvU4u1cKY+dV+laMB1q7wJgfrZ934egtGZmt2 7Lvz4CKvKNxd3uX2hr9C5nDhGBDrCA3AUwDkhbyupLd7nv39T0qYDgykTA4As+WVw3fv qASLqgv7I0rwOCdD7OA1pT3xsAcsUb3khrxDt7eifK0fwS/XsdpoeXv1uOedlmqYhURI LoqA== X-Received: by 10.50.195.135 with SMTP id ie7mr7505217igc.8.1355937594593; Wed, 19 Dec 2012 09:19:54 -0800 (PST) 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.67.115 with SMTP id m19csp251265igt; Wed, 19 Dec 2012 09:19:53 -0800 (PST) X-Received: by 10.194.82.168 with SMTP id j8mr12945971wjy.15.1355937592934; Wed, 19 Dec 2012 09:19:52 -0800 (PST) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx.google.com with ESMTPS id u19si9239346wjw.47.2012.12.19.09.19.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Dec 2012 09:19:52 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.180 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.180; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.180 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-f180.google.com with SMTP id hj13so1400117wib.1 for ; Wed, 19 Dec 2012 09:19:52 -0800 (PST) X-Received: by 10.180.99.72 with SMTP id eo8mr5403806wib.34.1355937592162; Wed, 19 Dec 2012 09:19:52 -0800 (PST) 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 i2sm21415170wiw.3.2012.12.19.09.19.50 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Dec 2012 09:19:51 -0800 (PST) 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 1/4] ARM: ux500: Provide a means to obtain the SMSC9115 clock when DT is enabled Date: Wed, 19 Dec 2012 17:19:44 +0000 Message-Id: <1355937587-31730-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlEmUfy3V05YS2d5eQj63UlAktaro+r4JDdZ4appP+JyLTeGRYuF8WVg+fdX/NLYwTYGeHP Device Tree names devices differently to how some frameworks expect them. Until we can move a platform over to the new way of obtaining resources, we have to use the OF_DEV_AUXDATA() macros to craft a device name which can be used in searches during allocation time. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/cpu-db8500.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index db0bb75..dfb68ce 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -284,6 +284,7 @@ static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = { OF_DEV_AUXDATA("st,nomadik-i2c", 0x80128000, "nmk-i2c.2", NULL), OF_DEV_AUXDATA("st,nomadik-i2c", 0x80110000, "nmk-i2c.3", NULL), OF_DEV_AUXDATA("st,nomadik-i2c", 0x8012a000, "nmk-i2c.4", NULL), + OF_DEV_AUXDATA("smsc,lan9115", 0x50000000, "smsc911x", NULL), /* Requires device name bindings. */ OF_DEV_AUXDATA("stericsson,nmk_pinctrl", 0, "pinctrl-db8500", NULL), /* Requires clock name and DMA bindings. */