From patchwork Thu Oct 1 22:05:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7311911 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 AA8659F302 for ; Thu, 1 Oct 2015 22:05:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D7569207E7 for ; Thu, 1 Oct 2015 22:05:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA1C4207CC for ; Thu, 1 Oct 2015 22:05:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751193AbbJAWFR (ORCPT ); Thu, 1 Oct 2015 18:05:17 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:33855 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751167AbbJAWFQ (ORCPT ); Thu, 1 Oct 2015 18:05:16 -0400 Received: by lbbmp1 with SMTP id mp1so17178427lbb.1 for ; Thu, 01 Oct 2015 15:05:14 -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=GmaJwrobOgll3WrDIHTdEeli++NYpGLInA6YxIoDmss=; b=JzUC2JL8JLDwyzZIPB3StkGbR4K51wkaFJ2RhXJShDFgMv3gqVubWXoHcyDWs73Xrk an7ufQ3oGWFuUSGoL6yPXaKw2bcJPo8ZDZB6iRI6hq/e4PsjLUvXjFmW1cLuY43kQMz1 svtSaUbPihSt5ypKD0nZJyE1aQC8g/E2RW6CAhyP9o4sOObAX0yfwBA9ot8db3Lz4K/a HvKHnSAJ2OlvARnN0rZyiSAPE63Le0PFRB9MRvo5Dymd8Ku40hMtd+ZgYB/rlZSMwEJN e7E27N20/GeqyAPY5HqQLNjDR8fwmIxj7K8/pDovq2gi6E9dNRkWE7Pk+1j0ABWs0MOL A87w== X-Gm-Message-State: ALoCoQnitTIf1r02p0ZgLUuAkcJiv8qZZbhxNHKXPU9dQ8saqTGucqKy6EPfW86Rh6lgBfir28j3 X-Received: by 10.25.41.79 with SMTP id p76mr2667259lfp.16.1443737114670; Thu, 01 Oct 2015 15:05:14 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-249-95.pppoe.mtu-net.ru. [83.237.249.95]) by smtp.gmail.com with ESMTPSA id eu2sm960110lbc.6.2015.10.01.15.05.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 15:05:13 -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 v2 1/2] ARM: shmobile: r8a7794: add USB PHY DT support Date: Fri, 02 Oct 2015 01:05:12 +0300 Message-ID: <4141247.ev8chFQgXD@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.7-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <4938706.NQELE8A71r@wasted.cogentembedded.com> References: <4938706.NQELE8A71r@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 USB PHY device node. It is up to the board file to enable the device. Signed-off-by: Sergei Shtylyov --- Changes in version 2: - added the "power-domains" property. arch/arm/boot/dts/r8a7794.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 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 @@ -690,6 +690,26 @@ 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; }; + usbphy: usb-phy@e6590100 { + compatible = "renesas,usb-phy-r8a7794"; + reg = <0 0xe6590100 0 0x100>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&mstp7_clks R8A7794_CLK_HSUSB>; + clock-names = "usbhs"; + power-domains = <&cpg_clocks>; + status = "disabled"; + + usb0: usb-channel@0 { + reg = <0>; + #phy-cells = <1>; + }; + usb2: usb-channel@2 { + reg = <2>; + #phy-cells = <1>; + }; + }; + clocks { #address-cells = <2>; #size-cells = <2>;