From patchwork Wed Sep 16 23:53:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7201551 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5D1069F380 for ; Wed, 16 Sep 2015 23:54:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A966207B0 for ; Wed, 16 Sep 2015 23:54:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE2F920795 for ; Wed, 16 Sep 2015 23:54:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752858AbbIPXyI (ORCPT ); Wed, 16 Sep 2015 19:54:08 -0400 Received: from mail-lb0-f179.google.com ([209.85.217.179]:34980 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752852AbbIPXyH (ORCPT ); Wed, 16 Sep 2015 19:54:07 -0400 Received: by lbpo4 with SMTP id o4so950628lbp.2 for ; Wed, 16 Sep 2015 16:54:04 -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:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=uT0AAhA9riElMAjrxwruQ7B/5DmkNiMb8PpK/jNIrYA=; b=JHAWhGfhzdnBxQzPtFjA8NFvvFKL3RY2edSm4L04ZXa3T7JAbmGwl1BNRPc3lJ7ARC lSRCnbBHW0EmYqqABxjfkt9qztFttfAzd6HjRHv9SW049HXLza5JkVnlmUkNHMOkcZNf aYUwE+1ypXZuZGN/9qzlvMn1DNOmOTW+UHVWkisoj+si970f4V13vVzINhMVuPLIwFt0 YrszYqBlUHlO9r3CfxrDatDWKQSliZjpR8NOmc7dFEfFrJbK6z37NoV5cX5XrLu0PrZr IP/0nTgVwzwvNBKEZYOx2Vohu+ke5N45UFvkEWP57NN2hdxB/yf7OMPE34IWN+gKDJtj TnQg== X-Gm-Message-State: ALoCoQnIIH9BXYdO9ARSET2VbQg3xEcYPApspEs3k4wqRxGPoNpeUgVxPzsqbh4LZKv5SZZls0zc X-Received: by 10.152.21.162 with SMTP id w2mr26370230lae.49.1442447644644; Wed, 16 Sep 2015 16:54:04 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp23-242.pppoe.mtu-net.ru. [81.195.23.242]) by smtp.gmail.com with ESMTPSA id dt5sm72470lac.26.2015.09.16.16.54.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 16:54:03 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: shmobile: r8a7794: add HS-USB DT support Date: Thu, 17 Sep 2015 02:53:58 +0300 Message-ID: <49756124.B9jeO4ArbL@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; ; ) In-Reply-To: <1674850.BZpGW9kEud@wasted.cogentembedded.com> References: <1674850.BZpGW9kEud@wasted.cogentembedded.com> 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 Define the R8A7794 generic part of the HS-USB device node. It is up to the board file to enable the device. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-20150914-v4.3-rc1' tag of Simon Horman's 'renesas.git' repo plus the R8A7794/ PCI USB and USB PHY support patches posted last week. arch/arm/boot/dts/r8a7794.dtsi | 12 ++++++++++++ 1 file changed, 12 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 @@ -718,6 +718,18 @@ }; }; + hsusb: usb@e6590000 { + compatible = "renesas,usbhs-r8a7794"; + reg = <0 0xe6590000 0 0x100>; + interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp7_clks R8A7794_CLK_HSUSB>; + power-domains = <&cpg_clocks>; + renesas,buswait = <4>; + phys = <&usb0 1>; + phy-names = "usb"; + status = "disabled"; + }; + usbphy: usb-phy@e6590100 { compatible = "renesas,usb-phy-r8a7794"; reg = <0 0xe6590100 0 0x100>;