From patchwork Sat Sep 12 23:00:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7167311 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5CCCEBEEC1 for ; Sat, 12 Sep 2015 23:02:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 91BF120835 for ; Sat, 12 Sep 2015 23:02:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B03942082A for ; Sat, 12 Sep 2015 23:02:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zatmn-0005TD-Ug; Sat, 12 Sep 2015 23:00:45 +0000 Received: from mail-lb0-f177.google.com ([209.85.217.177]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zatml-0004ko-6R for linux-arm-kernel@lists.infradead.org; Sat, 12 Sep 2015 23:00:44 +0000 Received: by lbpo4 with SMTP id o4so53905654lbp.2 for ; Sat, 12 Sep 2015 16:00:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:mime-version:content-transfer-encoding:content-type; bh=mHdBv4dpv51k+GSOQX8NHW6Qt++PUcuD/Pi6ixTGRbA=; b=b9Ces550G3pW29vnNr9hxz4I37b2/+KXzTSdES3p3fd5vCZeHgaiYzalU9WM+t3lNX w1Uqnpj5j+7MA54G0CxTPIgGnpCzjIJWoKvSofUzFxmliaTADntD1KtmbT1LI6HwGQkS I1wvfcP4jOp/WMhBRvEAunpAqaZ7on9aTWseD4apP4e7Bv8C54jjQUeFZDMN8dHvTWdO +KemsAplDSq1JTxFEWIOkoMX3pon0lLQ9zHpVSAog6Q6eoN3mCjeMy5VFdeCa93K0Qi6 hDP5L95xQefaa12LBMT6gPVKarus7GxH1mehhJB61hBHE01CFK51Nr0kmrvZaY1Ns+Sm qcFQ== X-Gm-Message-State: ALoCoQmnJgl+1KsXkETt3ls/hpQRCQ62GQcObSwWgv8SeWmmOG+WieG5dJLuxbsVHcd4iuTbBuqd X-Received: by 10.152.18.133 with SMTP id w5mr5741335lad.72.1442098821115; Sat, 12 Sep 2015 16:00:21 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp24-5.pppoe.mtu-net.ru. [81.195.24.5]) by smtp.gmail.com with ESMTPSA id j2sm1105833lam.38.2015.09.12.16.00.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Sep 2015 16:00:20 -0700 (PDT) From: Sergei Shtylyov 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: r8a7794: link PCI USB devices to USB PHY Date: Sun, 13 Sep 2015 02:00:19 +0300 Message-ID: <10927620.1TFu7PRvi4@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.6-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150912_160043_535868_15247FBD X-CRM114-Status: GOOD ( 10.97 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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-20150911v2-v4.2' tag of Simon Horman's 'renesas.git' repo plus the R8A7794/SILK PCI USB and USB PHY support patches just posted. arch/arm/boot/dts/r8a7794.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7794.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -667,6 +667,20 @@ interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; + + usb@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + phys = <&usb0 0>; + phy-names = "usb"; + }; + + usb@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + phys = <&usb0 0>; + phy-names = "usb"; + }; }; pci1: pci@ee0d0000 { @@ -688,6 +702,20 @@ interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; + + usb@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + phys = <&usb2 0>; + phy-names = "usb"; + }; + + usb@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + phys = <&usb2 0>; + phy-names = "usb"; + }; }; usbphy: usb-phy@e6590100 {