Message ID | 1524039005-30618-12-git-send-email-yoshihiro.shimoda.uh@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-usb-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 551466031B for <patchwork-linux-usb@patchwork.kernel.org>; Wed, 18 Apr 2018 08:11:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BC6628595 for <patchwork-linux-usb@patchwork.kernel.org>; Wed, 18 Apr 2018 08:11:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CDED2859A; Wed, 18 Apr 2018 08:11:11 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 949D328595 for <patchwork-linux-usb@patchwork.kernel.org>; Wed, 18 Apr 2018 08:11:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753784AbeDRILB (ORCPT <rfc822;patchwork-linux-usb@patchwork.kernel.org>); Wed, 18 Apr 2018 04:11:01 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:64945 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753767AbeDRIK4 (ORCPT <rfc822; linux-usb@vger.kernel.org>); Wed, 18 Apr 2018 04:10:56 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 18 Apr 2018 17:10:54 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id B12588A1F0; Wed, 18 Apr 2018 17:10:54 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.48,464,1517842800"; d="scan'208";a="278555624" Received: from mail-pu1apc01lp0019.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.19]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Apr 2018 17:10:52 +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=ejvK1RZQVd9Jok2Imau8Kx/biZxHxVC3zL49yJRTduw=; b=R7tZZN8AypOLZKUWgeTdC4BOSmSjFC8Rf2otXdNcdw/MbsERsEM8B4adEFpRNEhwmMyrbJsgMUpnkG8xHQ4xK4YR7K+Fkp9TZ/L8WgeH7kJDYT8zQKGUpRYfFgOTWzRfIrkKC9d+RL23VJgZG+w2v8seJpe6fTuqyAej/Wfvqb8= Authentication-Results: linuxfoundation.org; dkim=none (message not signed) header.d=none; linuxfoundation.org; dmarc=none action=none header.from=renesas.com; Received: from localhost.localdomain (211.11.155.138) by SG2PR06MB0982.apcprd06.prod.outlook.com (2a01:111:e400:5213::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Wed, 18 Apr 2018 08:10:45 +0000 From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> To: gregkh@linuxfoundation.org, robh+dt@kernel.org, mark.rutland@arm.com, frowand.list@gmail.com Cc: heikki.krogerus@linux.intel.com, hdegoede@redhat.com, andy.shevchenko@gmail.com, p.zabel@pengutronix.de, linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Subject: [PATCH/RFC 11/11] arm64: dts: renesas: r8a7795: salvator-xs: add OF graph for usb role switch Date: Wed, 18 Apr 2018 17:10:05 +0900 Message-Id: <1524039005-30618-12-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524039005-30618-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1524039005-30618-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: OSAPR01CA0023.jpnprd01.prod.outlook.com (2603:1096:603:2a::35) To SG2PR06MB0982.apcprd06.prod.outlook.com (2a01:111:e400:5213::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(48565401081)(2017052603328)(7153060)(7193020); SRVR:SG2PR06MB0982; X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0982; 3:EWYtcoLYlyGz2SMiKwkE7Jh84S6O7aTXgYn+AmFdWWLRFqYXfFZpB1/fpAJi8vA3xaxDFIGHPRYIGJ2A/R368PbpBCo9ig0F8TzSHcMsyOqmxPQRKZs6yQyo+dvd4sndEYR35eEe2g44YZRZuKEsSN0s0bCfKPYT0EeYIP04hSebOMWxHfRJ2RCvwW2LQM5vqDpM3wx3S4gQBLB8MhCM3VkFIM/LfNBLCQgrmqeqDDwks7XvfGUH6egeVZDAwGqr; 25:+5GtBoSQccMP9y1IKSFv8Yw5pggEJm8NORdRHJEmArfJa87bjI4co9WiaEGVfxqpiT8SBsKNrPeFqt9T5IBYt/c+JlA2ZvzAeTTJ0kCbrSmZYjjO/D70J60oJ08V8NPmyIerU9YZy4mZkuVD6yfXagEfdX6xZsTZPMGdWz8Twt08WTAa7Nfp4mWcZVZKp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Igfcvt7zXLUWWlu0tW7G7l/bhQ1oEzlKtInaAQHZEyiGpcLGVxPQiBw1zb16R4JgYjhTMzMxrBV4K5AeBFhTtdmsYUcTO6M054lsHWHcEYzrTiSMyFKaVZiVnf4MiU2PQJ7NzcXebcE0KlwGek7pFaQDPh3YduiyZPH/wzTuOXhOz0c5tdzbTYusw== X-Microsoft-Antispam-PRVS: <SG2PR06MB098273D18CD8F8FA10499D47B8B60@SG2PR06MB0982.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231232)(944501327)(52105095)(93006095)(6055026)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(6072148)(201708071742011); SRVR:SG2PR06MB0982; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0982; X-Forefront-PRVS: 06469BCC91 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(39860400002)(346002)(376002)(396003)(366004)(39380400002)(7416002)(956004)(2616005)(6116002)(446003)(3846002)(47776003)(8936002)(97736004)(66066001)(50466002)(4326008)(2906002)(76176011)(42882007)(53936002)(52116002)(6512007)(476003)(107886003)(386003)(11346002)(6506007)(51416003)(36756003)(25786009)(316002)(6666003)(305945005)(16586007)(5660300001)(7736002)(48376002)(78352004)(8676002)(6486002)(50226002)(16526019)(81166006)(39060400002)(498600001)(26005)(3720700003); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0982; H:localhost.localdomain; FPR:; SPF:None; LANG:en; MLV:ovr; PTR:InfoNoRecords; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0982; 23:TQDbMonuN/z9CO4UJOlT37WZFyGG6ef1ZQCLDUHq9?= =?us-ascii?Q?pB/eaFfXjKsu4AV3mMBsub50dACrpyyHirC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/RaYN28BOwfcrzLUSSVyvc8KbrZHeQCU+85w5hjD1cVxRIpiyM7cFs1rIn/4L7A1JKPbfFHA=; 24:IaqgCYDy2OG8Yqsb/oGNlZ/lVn31OKWtHY+uPlddqXBwIKJf/he4LQ+TRjOqZN//+X3FLcNjCUAjK3u4WlIHPtZ4vdZ5dgExupA+1+tVjwc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0982; 7:QQbTFEfz+IkW0PTPwHItM+CyjxmnobVk52r+FWaka4Tl1DwAgKR6f0JIXcmzHbyOPsX7sjF3WW5kKzHnk0y40ZwWPhlDKMF1E6491Q4nxBkkmFhZVlqAuxCeIMhb6LPaDMomJwGtCCxFVL5KgYkookU7nP2bGdIYfO9gUxw/w7hDwuwDZtoKXnAaX6+evQ5GhVyoZfbS4RTkuytSuGRa+yL/X5SmzcoSvyldpsIYZl51e9vy8WnMHQgVZ8VyQUky; 20:i5N5YDqshSbnGzXQDtsQV7Nl4ZxowOP+XUxRsoxT9GZtn7tmZKW5Gf93y6qfY9zvc+LoPjGnZ0OQvzbpBZ7sBS/eTYZoXqMHLWoc0BWKq2IEjT4jR3YaPvfMKL7gOxnGdHGejCOGOcBxLtTUzqBly9lpaqSKZZ5EvQuAkr8AZOE= X-MS-Office365-Filtering-Correlation-Id: f7b5d59c-8404-4738-f678-08d5a503e3f1 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2018 08:10:45.8063 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f7b5d59c-8404-4738-f678-08d5a503e3f1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0982 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts index 8b50ceb..c815fca 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts @@ -36,6 +36,24 @@ device_type = "memory"; reg = <0x7 0x00000000 0x0 0x40000000>; }; + + /* TODO: should be into salvator-common.dtsi */ + usb3 { + compatible = "usb-a-connector"; + label = "USB3_0"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + usb3_connector0: endpoint { + remote-endpoint = <&usb3_role_sw0_ep>; + }; + }; + }; + }; }; &du { @@ -107,3 +125,13 @@ status = "okay"; }; + + &usb3_role_sw0 { + ports { + port@3 { + usb3_role_sw0_ep: endpoint { + remote-endpoint = <&usb3_connector0>; + }; + }; + }; + };
This patch adds OF graph properties for usb role switch. TODO: - Each node should be in salvator-common.dtsi. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- .../arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+)