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: 7167301 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 D6D5CBEEC1 for ; Sat, 12 Sep 2015 23:00:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08AA62082A for ; Sat, 12 Sep 2015 23:00:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2B44020855 for ; Sat, 12 Sep 2015 23:00:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754893AbbILXAX (ORCPT ); Sat, 12 Sep 2015 19:00:23 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:33812 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753066AbbILXAW (ORCPT ); Sat, 12 Sep 2015 19:00:22 -0400 Received: by lahg1 with SMTP id g1so36924983lah.1 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=Z6rB4nfk3TG/PC+GnF3LVM/ifE/OcZ5HKc0fI6q98svvv6D+n7wWQObqYdABwVXDsd OL4wHh22FsUxl+yDc9wfyvwWGYhqJww3wgx9h1dC/RM2zTvuNaaRVpqqqrgM7argNH9U e8/MKUoeIAFqJWbPD9RtWWRQtIlAD3ELVJySIJNzMLSH78m0Eoc8iZBJbh8QHfvDAj5V fxS2Z/mDwz7Fqg0AdThuhG8aPTTBw9dWauzQrzg4RTMG3+cCt61wRilWgyJi+RxZsrTz 0dSmC4/EVGBaS2cKPdWWq1iYm3daLbd0MUp8H60+DOowE3dCZ+nv4DS/aLhSqOMJvMyL W3ig== X-Gm-Message-State: ALoCoQmrlw/UR+iB6pYZDlTJEDGU/BFjsn5l3a1+GXjPcwPEhdF94tf7YuWFyP7d+LScMVrq/tyM 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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 {