Message ID | 1469098021-7692-3-git-send-email-yoshihiro.shimoda.uh@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a48cce0066bd74dee09b562b49cb075688c171a1 |
Delegated to: | Simon Horman |
Headers | show
Return-Path: <linux-renesas-soc-owner@kernel.org> 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 54BB8602F0 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 21 Jul 2016 10:47:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4583927BFC for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 21 Jul 2016 10:47:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39EC827D64; Thu, 21 Jul 2016 10:47:47 +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 104C627E78 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 21 Jul 2016 10:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752289AbcGUKrh (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Thu, 21 Jul 2016 06:47:37 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:29758 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752282AbcGUKrd (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Thu, 21 Jul 2016 06:47:33 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 21 Jul 2016 19:47:32 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 4F10A4E1A4; Thu, 21 Jul 2016 19:47:32 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 37CF41806F; Thu, 21 Jul 2016 19:47:32 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 31C981800A; Thu, 21 Jul 2016 19:47:32 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id VAQ27679; Thu, 21 Jul 2016 19:47:32 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'208";a="215594427" Received: from mail-hk2apc01lp0216.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.216]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 21 Jul 2016 19:47:31 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4CCnnRSjbUDYtDTnV9I9/LwqRllmHq1z7uGsFTAP/kE=; b=RTVUwipTuhmQ7RcSpRh7Mxf/JLbwMNqwfoyhtvNVP97j8WDkxbsrdJcrLCW5zaS72OEhrUiM8b2V7Klb2Bpyu6VZ4w1W3QfpCzgd8vIDR5BJDpCGyHqgwt2j9tc52WNcylmo8LXYYeE4tZlEsYuUcEBHsL3hpCr428l23vnzoLg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by SIXPR06MB0557.apcprd06.prod.outlook.com (10.160.238.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.10; Thu, 21 Jul 2016 10:47:28 +0000 From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> To: <horms@verge.net.au>, <magnus.damm@gmail.com>, <robh+dt@kernel.org>, <mark.rutland@arm.com> CC: <devicetree@vger.kernel.org>, <linux-renesas-soc@vger.kernel.org>, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Subject: [PATCH v3 2/5] arm64: dts: salvator-x: enable usb2_phy of channel 0 Date: Thu, 21 Jul 2016 19:46:58 +0900 Message-ID: <1469098021-7692-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1469098021-7692-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1469098021-7692-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0084.jpnprd01.prod.outlook.com (10.165.51.172) To SIXPR06MB0557.apcprd06.prod.outlook.com (10.160.238.150) X-MS-Office365-Filtering-Correlation-Id: fb6422bc-cb90-499f-806c-08d3b1546946 X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0557; 2:BLieI922dnCE5+Yhld8hdxKtZYurVkK+xgoO9WlN3sJOLHZhP6tFkz3fmxLzrTWC6MedrqeLI/SQZoZf0gdXSTXI744HrUTouxKBZAqOA0EfOmXfwWJ8dFSWR1PSGwu1UFc3lSDlpXOsnv/cj+jnyyuLVgvrL2wz/nMWvks/tX93GDKktGB309GLTKr0X6ji; 3:A3sKVGtIgCp4yxHUciZvY4gGIri+74GYGIfoqfKWRW4Xei/C/OfNQ0xrLQz0J5Esj0KFY4A9OZtrpKBGJJ/+7Qx/nCB5kLvNGR61QcXI+AreE5C+u49L7nZR5FwGpQMb X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06M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8lpv6KM9yPuFxGbWn7qMS3OJXeHcjd3k6f5V9gm8ZNz6Z9rpKK4sCpZQyAOXPPmfMWOQu74j2tWamIh9PzdAumj2hbtwmzJJtOnXR5jvgIvov43KedV17KyefBl5KMbJ9y1LnhDHMMGOLPWo/tSowo0L6bO1DUrCWXOA89dPYfOQHfW4vnKyweEmMolordqYJkxohHTRVKyf7EjZeP6uxqtzbAMKH389VFUe/ruGHvvcODbgwvilZMSTOA0aTEA/zBl2IjtXjm1xjYbqSbMWgtYYUiyXZ7t5kFbnbxpIWJF3op6b8RakT5OVVWOK+6HHzRsiABKhdGSqxZvU85Bn1GAOVetFIeYV/3wnO5jUejPEblopAHTj/WD67wKHTZz6BlpKQCC4tuSoRKa3fbOG8TPXnL2EYJ0TetHMA6DPLa7PTmqTq/ra3fm9sFdtKthmFDotuB5IX5pToz1XSapTXrf1JA6TdO+DCnuGboanqE9xAMQ X-Microsoft-Antispam-PRVS: <SIXPR06MB05573D9CE71979F045BDB308B8090@SIXPR06MB0557.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:SIXPR06MB0557; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB0557; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0557; 4:fJ2yDN22RCV0aozr+r2Jr5WdvVeNcRMkY48vqQ6Cs8BB42g9OMb/6OGo5PlZp0fk9ChaZ3ht+C/hPPn0JErgaUCMg5YEHUp/eIizEXXm0I0xs7Ox8F9ZrlF1QZ3/Oq6VedLqOl9EonnQMOOXgnrJp3UfUTq65/ILy2I7Rz/9PXcAcEHMeMcWIMV1GhuXSlb/SIX64AgQV7HDdnjaBssGoCCpKx+NgsB7Aq5prhpvwohz3vywG1hf0wxcEU/OiloyTKh27Jjo3fIpGs5Yl6kW/7cHuYDLfCn5Do0zt1xe38TWTw5KjkzuBYpks8okMSJiEAO6wfAtqOWEcydPO/zSX5n9WxD86oCmtwsjxQ8TjjuVqkweVCA0542yoOd2nSxwqe//riaSU3xlLhXBjxpvwA== X-Forefront-PRVS: 0010D93EFE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(6069001)(7916002)(189002)(199003)(92566002)(76506005)(33646002)(42186005)(50986999)(105586002)(36756003)(66066001)(47776003)(4001430100002)(2950100001)(77096005)(48376002)(5003940100001)(78352004)(7846002)(305945005)(50226002)(81156014)(81166006)(7736002)(19580395003)(5001770100001)(97736004)(19580405001)(189998001)(107886002)(50466002)(68736007)(586003)(229853001)(3846002)(6116002)(76176999)(101416001)(106356001)(8676002)(4326007)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB0557; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:0; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB0557; 23:JFFAXvM3Iw75i3xxtT4RtdAQ+QZFUfVv/PrT9WoK8?= =?us-ascii?Q?F97ISSZbyUR1V+xL99HP1JVZZWoiCFlOS6E8IX/4fzMgLaw0TSZidC9pcEzJ?= =?us-ascii?Q?TPRO3DhKeFFrVhhP3IeWxeEE215UJtHoEYyvTxMN6sev8yyTK58wXF6arSfZ?= =?us-ascii?Q?Qu6pFsjNe49CvZ1CoV13hHjHJjRZ+/ALRmn6XYdHwErEdCAfBEEXeC+eapFq?= =?us-ascii?Q?IxMlliD0d5GFxoKLXrKXbFUtBy3SYDxxNijYFUmMTnnvbKE9rmFkVHVmnKQo?= =?us-ascii?Q?IoPDClJoHuEG/NAlHrTjoCTnOVAD1rxuxbkyIh1XBQJDjTKaur5+xdJOl9nK?= =?us-ascii?Q?I6MYlaam2PUUyu14Kp+jaySGa0JREiTkwikEFA4ipFLmTxwebQkqPhuxs9cV?= =?us-ascii?Q?gScwDGcGuo8w7HxTgfTWcKmTnr9oMlu5uhE7P8sIgR1uRRY1uwjwRcA82nYx?= =?us-ascii?Q?HXhHfr3qZGHEOHnsfwm5RWD4/yG1rsiTMuq8i3P0VIwE0UKMSLrTwBJ6KhwV?= =?us-ascii?Q?dXdr87qCsrWg4SR77UvXqf44HdcwsG14gwaQDowgBxEXGN1/xCu0oF5e3S8v?= =?us-ascii?Q?AS1CST9lNTFWipZL9wHvwSx+i9QperiZzl/o6lCuByycndTrKa+pEWKN7dbe?= =?us-ascii?Q?ON1gkURb2jCUexRmA1bJJ8AbHwXwYdRSke5R215adFP5nIk9KyOIYxSGRFLe?= =?us-ascii?Q?CVK+/zlU0JmuKLR+IWGOh/8RTTQXt14RXdfEq1D4nramar41RZEVFUr/0grM?= =?us-ascii?Q?s0HwNAG0A33djcy6Bt206fK/+S46bPiRqFypsox5HPwiXe6CaWOJ3fqv21eG?= =?us-ascii?Q?zF1aaNBpDUfsk4C7A3YApQ4vQyiGXotfVDMfwSccLiypNY7Zi02UnrFdLAxW?= =?us-ascii?Q?7rbyLjZUAEG8Pxqx05xhoqEdLRFECwDzssOmIXS+zaKLxWdXkuX7D4N4jbXS?= =?us-ascii?Q?Vs4G8hcjXl86y9En24XR7KQXtLInwarsNDZzcfmu65C6F7Jsgm7hbPlXNpRp?= =?us-ascii?Q?jDe9frnqRgqHHeBZuda2DqfIDXq0MJiQQA9eTuJBEV+FDGxXWY93TxR+yMCi?= =?us-ascii?Q?kHprqF/wF5tKpkdqrPDaCYW4VnJwExtO87dAI5/crxju1ERrc4KcIfb2yil3?= =?us-ascii?Q?s0U9HS0YEHgyt7n5683nbCpb7auknJykZ4fwV+gGNGatpuyIlE+3w=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0557; 6:DxykTOBQA1TMrCR4eNZBrk38rVS3nvvnFf/v2ma+GozQ1rYs+lvFGvOdvuaM2hSEFoLqaBU4WaLWLZMb3jWQnI4g3opMq9M8B1Hy/SZzLlX4gBf/eWJfDDfUxpr+xaWUjbe7Xr1CmVtDQn+m3HPIdlutVbbv9l75Ik6NpC5JENCB6rpyCZ3qKZF38FAAtLoFdS5pEYls8hA0xBrnmU+ufKB7frgba15kLTUSz6C5JYDtGFK3SDKiJ78vcRvjuU7GeCNJUudsaSnuSDfmC7XWxEBKKRl9ctx/x2QUED6M519Au8PE4RENF3jEiXIWeKU+AkrjqoffC3Z7TzTvaLjWjA==; 5:BD/XVMSSodYcu5WGagr80eSW2poy+xENLxGkxiuKfu/q4vUsXHYEZOHaaFKwn4hrI0cTbh5HcF3Sx+v2ksdoL7nS4a59k37Go8Oe09af88VEngs1tRXM5leRwHRqJs1hcDLMALe6t2F3mAlwxwoFvQ==; 24:etmlRYbmr+RQVmaZqSGVZZW18qzBzh2pka8JJyJzFldVBQ0vIOoZbazTCE1Yy6elfYIeidQk71SCibAPFTrHjFyC8kUBs4fGkGzl5owp87w=; 7:phVQRXrYKLzrbXd1Xkpo8LFXTNDj0ntXMeH+ikdzXDV5u0zM7Bn65MPHtDmhdeLxsEbTF8Iy7b+cSu4oYlgfIZGeQmkZb1XflGtPS6gi7ZzmLVQOaG+i2mQ0LOTXR5VEZVQae37er5EIL+Jhbk7VEfKlaOt0TRvhNJG2Sc6HyR1YmXfuj6s4rowi3YvBtTOhWfIsPK6g05RMqp0OJVYVe3o1L6vpVBIRYoYWyf7zTXkSS13LAhQZX8rjbD7/PXRr SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB0557; 20:o1VvVNJhvbGxaf1I5hzeIn8xnNiOSA+LYmBKMOiI/kWkPOf5IPjIVa7HoE5ZyzWhyhPvaYZRPo+AIJfHfVyWLTyLm5NdsUU7X3cKrbGePkk+1N4We16Y/UZZQLv5dzYDIhwZvni/ToY6CbxfwADaFtcx7VVr8yIMulErCAifkKA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2016 10:47:28.7786 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0557 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-renesas-soc.vger.kernel.org> X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index 98f0263..8c8bfdc 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -110,6 +110,17 @@ 1800000 0>; }; + vbus0_usb2: regulator-vbus0-usb2 { + 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> @@ -193,6 +204,11 @@ function = "audio_clk"; }; + usb0_pins: usb0 { + groups = "usb0"; + function = "usb0"; + }; + usb1_pins: usb1 { groups = "usb1"; function = "usb1"; @@ -369,6 +385,14 @@ status = "okay"; }; +&usb2_phy0 { + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; + + vbus-supply = <&vbus0_usb2>; + status = "okay"; +}; + &usb2_phy1 { pinctrl-0 = <&usb1_pins>; pinctrl-names = "default";
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 <yoshihiro.shimoda.uh@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+)