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: 3957181 X-Patchwork-Delegate: lethal@linux-sh.org 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AE1E9BFF02 for ; Wed, 9 Apr 2014 19:19:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E829A206BA for ; Wed, 9 Apr 2014 19:19:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2959F206B7 for ; Wed, 9 Apr 2014 19:19:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934257AbaDITT1 (ORCPT ); Wed, 9 Apr 2014 15:19:27 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:58945 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934124AbaDITTZ (ORCPT ); Wed, 9 Apr 2014 15:19:25 -0400 Received: by mail-la0-f42.google.com with SMTP id ec20so1540791lab.29 for ; Wed, 09 Apr 2014 12:19:24 -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=aP3wbaxn0XeUY2RoXQHUukHuBUxTdugL9O8CmHdudh6nr6VYWU3a34/KY1lX6VoYeU GkEoQO2Cg4RxXPhP2V1d4XeCgac8z3LFlekNyKvTLzALjXd2RknarNc2i2mXr6Grio0I VKXwn3Z4YDXmCMiiuk6/kBGGAvvu6PUtGIOb1HyEbYFGNPkXcUITRfJxip2LdOB3hNIV EpTPZnfZP3R44Wi4CKTVvIrJ4V7CbtsPHywepXtK9gmKnWvwnZdcGTW1EqgZHdfJ3uoj 3Gv3AXfQ1qyL27HNQWJYo4A0yUFm2hze0+VlotLBsO37KaiXw0u4WrJ/I3XWA+zSUIj1 +Yyw== X-Gm-Message-State: ALoCoQnWTECri2+8oP62Spm7XQ7LjOH7WT67lksXZb8+Y5FgZGUOUvo/ayBThaYb7OGzFqIf1BuF 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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org 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> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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-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(+) -- 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/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"; + }; }; };