From patchwork Wed Apr 9 19:19:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 3957381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E14F1BFF02 for ; Wed, 9 Apr 2014 19:27:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2986D206B1 for ; Wed, 9 Apr 2014 19:27:15 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 266C620166 for ; Wed, 9 Apr 2014 19:27:14 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXy9J-0001JP-0i; Wed, 09 Apr 2014 19:27:05 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXy9G-0001YD-2g; Wed, 09 Apr 2014 19:27:02 +0000 Received: from mail-la0-f44.google.com ([209.85.215.44]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXy95-0001X5-UQ for linux-arm-kernel@lists.infradead.org; Wed, 09 Apr 2014 19:26:52 +0000 Received: by mail-la0-f44.google.com with SMTP id c6so1533844lan.31 for ; Wed, 09 Apr 2014 12:26:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:cc:from:organization:date :mime-version:content-type:content-transfer-encoding:message-id; bh=g5E3MW4DeMW60fRsFWWl5LzyxuvTcix4qKritXLjfyA=; b=m1/wk9Njvfyv3H6frCPWS5ye50tP2L2/E6sKmqxFekHIwdkQ7fhjrX3SoFcQ5tk3Pr TdgYHYrYWtVhOF+IisKpdcDyUy6/NBAgJnswXx5BCgna2KFmQTGmQmBnRjoWDQKH6lOh Zr7pU03pKZ97it3S0ZefL6xL0mLcDEANZXbzzW2XdZp7qtbenD6QRqvePHTz1dlnodJn x9y2Hk2ThQts3z5hqdjbUSyknxAhC/iy2B6qmpkfTRF4q2gHeTQPxLjYyhQ9HpRbQgUs FNvnL451Ct0qjj1mpfeRvF7VbfLE/pRitZ+ncP0UYMWjCLJtErjWWe2Ag7MGzjsKQCoj 4HlA== X-Gm-Message-State: ALoCoQlgzUYr2cvtOuXRo08F67Ax1HYXiFyN35Xhp2sdEDOEJcM0QdOyMnVfEcK49MnS/AYq0Kth X-Received: by 10.152.184.66 with SMTP id es2mr8794114lac.22.1397071163878; Wed, 09 Apr 2014 12:19:23 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp85-140-143-17.pppoe.mtu-net.ru. [85.140.143.17]) by mx.google.com with ESMTPSA id kk4sm1504221lbb.22.2014.04.09.12.19.22 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 09 Apr 2014 12:19:23 -0700 (PDT) To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Subject: [PATCH] ARM: shmobile: r8a7791: link PCI USb devices to USB PHY From: Sergei Shtylyov Organization: Cogent Embedded Date: Wed, 9 Apr 2014 23:19:30 +0400 MIME-Version: 1.0 Message-Id: <201404092319.31646.sergei.shtylyov@cogentembedded.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140409_152652_135897_65C5A614 X-CRM114-Status: GOOD ( 11.84 ) X-Spam-Score: -2.6 (--) Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Describe the PCI USB devices that are behind the PCI bridges, adding necessary links to the USB PHY device. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-v3.14-20140408' tag of Simon Horman's 'renesas.git' repo plus R8A7791/Koelsch PCI and USB PHY support patches posted yesterday and day before. The patch requires the internal PCI and USB PHY drivers (also already posted) in order to work... arch/arm/boot/dts/r8a7791.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi +++ renesas/arch/arm/boot/dts/r8a7791.dtsi @@ -891,6 +891,20 @@ bus-range = <0 0>; #address-cells = <3>; #size-cells = <2>; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + phys = <&usbphy 0 0>; + phy-names = "usb"; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + phys = <&usbphy 0 0>; + phy-names = "usb"; + }; }; pci1: pci@ee0d0000 { @@ -904,5 +918,19 @@ bus-range = <1 1>; #address-cells = <3>; #size-cells = <2>; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + phys = <&usbphy 2 0>; + phy-names = "usb"; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + phys = <&usbphy 2 0>; + phy-names = "usb"; + }; }; };