From patchwork Tue May 24 04:57:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 9132707 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CBF766075E for ; Tue, 24 May 2016 04:58:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3B5F281CB for ; Tue, 24 May 2016 04:58:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B7F602827C; Tue, 24 May 2016 04:58:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE1E9281CB for ; Tue, 24 May 2016 04:58:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753297AbcEXE6R (ORCPT ); Tue, 24 May 2016 00:58:17 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:9300 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751154AbcEXE6Q (ORCPT ); Tue, 24 May 2016 00:58:16 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 24 May 2016 13:58:13 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 6190B44081; Tue, 24 May 2016 13:58:13 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 3BA2C480A3; Tue, 24 May 2016 13:58:13 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 3323F480A5; Tue, 24 May 2016 13:58:13 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id PAJ31933; Tue, 24 May 2016 13:58:13 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="211923048" Received: from mail-sg2apc01lp0240.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.240]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 24 May 2016 13:58:11 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mwDAXUlQWqruhrnOwSIGeZe5dWBdDk15RVsqM+6U6iI=; b=gPus06yegj1GtRGREd2CO7Pg/b+PZtQCdczDKhnPLUFaVWG88LmWiMHt3NhOWz0aOfthT3aX+ICCO900KeKdGkemIKEMXfVU49X9v6k6DqxA+yWA4t4bn5PU/qDcC9OKuJmjjROTnyJU9OfXtwgLicCE5jkQhp84PMctMWF8UDo= Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; verge.net.au; dmarc=none action=none header.from=renesas.com; Received: from localhost (211.11.155.144) by TY1PR06MB0928.apcprd06.prod.outlook.com (10.164.99.154) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 24 May 2016 04:58:09 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , Yoshihiro Shimoda Subject: [PATCH 2/4] arm64: dts: salvator-x: enable usb2_phy of channel 0 Date: Tue, 24 May 2016 13:57:38 +0900 Message-ID: <1464065860-3948-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1464065860-3948-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1464065860-3948-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0018.jpnprd01.prod.outlook.com (10.161.74.156) To TY1PR06MB0928.apcprd06.prod.outlook.com (10.164.99.154) X-MS-Office365-Filtering-Correlation-Id: ff7d21b8-d084-4467-1565-08d3839000a9 X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0928; 2:mJErarXrPqw9TjZ4RaDlvzC5eIOC+Df+oapAj4CWgLLLvUesgCrB3i9l3QIFsDHwsU6J1JLkc2DloGgOThrH9LM/Y6CoHl/LX/WjyaR03mJNNpx3L/F1b8NTxPVD7q5e0GvCMVPP+d50a/hTNFh6Q0s3doP6KEZH7U7iUltawHganO6KTLt9qnX6+eFNcNwg; 3:QmrLwdPt2xNOOIA0Y4jBu/ShCp2YDaR3HY7UCF5/L7o8SQVS5LI7SGYK4IZp+8301SqbXFBBHLVZ9MPgomCyF6JoW+amj34zQ8j6MX/KwXjnLVNf5atRPkK92MVB3Tej X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:TY1PR06MB0928; X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0928; 25:l6n595Dng5DZGmpUiyzPXS2oiv9n5hjJ9HiDF5v+VPyLjHnJnpW36CBsabkQTAVX7YFVj7/fUjQ7BhV/OVr+vt/0s1PRcDP9krJumlqf5fRa9pk/loFNsTDW1PrDYE2WwvSAns8pLWthijWEWVSFJs3IwSX2pNK7sgPBQmdxS2ELHBcMdrwKezYs1jhNIjQzBqc/zje5tmE0xkEjKstBlYSoMvqEQLY8QDH184ySwF8dC5KKvkeCMhQ/mGdE5NW7u3dAgfzYl/cXK2jD68QwG7meccnbNe0D13pFXgmC+f5GlA6ZuD6/r5AVSRRPqWFDoWH2nrfY2Z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9QME5nSJr3ShadccbRbcLbt3WP6tozXr4y6L01p+pn+GgVdT1lcTdibtLBuisTruSP4jVF+RmiprvjcBL2IpAXxqhF64nZ3WK/Gg9SNM2ysxUhOLL6HrkB/3qhIvNsRZnsTZjGAbR9psucIzzWD434DuIdpfUPvcTi7Hi/p8ANCvH4kVN43L3CZUFwMBist6RSyEzEurCLiPUHjKHiB7AB/TbNXqpeumP7Fv4JmxWMVAXNAuhsmywolOwhX+J3LTjX+v+G2lg4JSaFpYSwaXJ/cnBRfkp3oi95kQc X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:TY1PR06MB0928; BCL:0; PCL:0; RULEID:; SRVR:TY1PR06MB0928; X-Forefront-PRVS: 09525C61DB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(42186005)(77096005)(5008740100001)(48376002)(66066001)(50466002)(189998001)(78352003)(5003940100001)(50226002)(5001770100001)(4326007)(92566002)(50986999)(76176999)(33646002)(107886002)(2950100001)(81166006)(47776003)(8676002)(229853001)(4001430100002)(42382002)(19580405001)(2906002)(586003)(36756003)(3846002)(6116002)(19580395003)(76506005)(5004730100002); DIR:OUT; SFP:1102; SCL:1; SRVR:TY1PR06MB0928; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TY1PR06MB0928; 23:CRJN3zbDejetFBUoXXUZyDeEFGJL79/7A++/ivvFN?= =?us-ascii?Q?fz3euMy2cUNf5gctRONQ1TTc62f+mLVwgZIMj1RBOm1THn143m6KZRHtkmEJ?= =?us-ascii?Q?y0eSBY2GEMB5dy7qfJdfk7XnsrkMwXPdMSYr12dCVUouVfzH4Ke5ES0iFrAL?= =?us-ascii?Q?jfnvfnzrjAvRzoBbgGRh541jKvXqp2ZY/MF1n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7oxPux0xxDhcgdaj3hZdJZd8jGqnt7AGvfTsC5LDXnw4BTA5SI3qzFrIrSW0xyYHbOs0CKQpM41yZo6Q==; 24:84u1bL5c9928YQQTFN1fLM4gInr8ntjRaN9ezKNnE3L49E+5NqqO8SWfJE6vMtFrEPugEtPaZM4o3G4uln5Gh+/qcvAho+vcphz7Wqir8Tc=; 7:5caR6jDZ1cR4NEGMXl80/1LVylRn17PiV4RwFUfvCG+1BdSM2URr31hRjfwcL5LqzwkZupV4Tuox+cE3yO0P4wiCAar1nLedjRTU5FzNVGmuVFv8y/7oixmtF0RBW9fDl/yj0HyfgKpN9+6/Mi/OWNGPvB57Whjp1eyojcBPTMWydbwmhDs4G4wbH+HphyEK; 20:LwwLJBu9M6+CQ+DxATA0F7DqR5L6Qmf2P96+XX5zlRMudLRVUe35VIRJIb7jzhAw3WjgEH1JbCwZ8mxkDRMDaky3/BrieUGrqzQNH+oXm1sAWqLzLRFqv0PfftkM77eGYGaODcbNaAo/OV0nK+fxC7kC07xZ/3mMxr1xWoSIdrQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 04:58:09.6482 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR06MB0928 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch also adds a regulator node for USB2.0 to handle VBUS on/off by the phy-rcar-gen3-usb2 driver. Signed-off-by: Yoshihiro Shimoda --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index c09ead3..21e7e09 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -112,6 +112,17 @@ 1800000 0>; }; + vbus0_usb2_phy0: regulator@5 { + compatible = "regulator-fixed"; + + regulator-name = "USB20_VBUS0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + gpio = <&gpio6 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + audio_clkout: audio_clkout { /* * This is same as <&rcar_sound 0> @@ -349,6 +360,11 @@ function = "audio_clk"; }; + usb0_pins: usb0 { + groups = "usb0"; + function = "usb0"; + }; + usb1_pins: usb1 { groups = "usb1"; function = "usb1"; @@ -541,6 +557,14 @@ status = "okay"; }; +&usb2_phy0 { + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; + + vbus-supply = <&vbus0_usb2_phy0>; + status = "okay"; +}; + &usb2_phy1 { pinctrl-0 = <&usb1_pins>; pinctrl-names = "default";