From patchwork Fri Jul 28 12:16:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 9868637 X-Patchwork-Delegate: geert@linux-m68k.org 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 8EC896035E for ; Fri, 28 Jul 2017 12:20:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8471A288CF for ; Fri, 28 Jul 2017 12:20:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 791DD288D9; Fri, 28 Jul 2017 12:20:27 +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 DA957288CF for ; Fri, 28 Jul 2017 12:20:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751915AbdG1MUZ (ORCPT ); Fri, 28 Jul 2017 08:20:25 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:34480 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751833AbdG1MUR (ORCPT ); Fri, 28 Jul 2017 08:20:17 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 28 Jul 2017 21:20:15 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 35DFF43A43; Fri, 28 Jul 2017 21:20:15 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.40,425,1496070000"; d="scan'208";a="251660745" Received: from mail-ty1jpn01lp0182.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([23.103.139.182]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 28 Jul 2017 21:20:14 +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=VmqaNFkzUNJLmnJeAdGf7kqfO1zE9b1+HdQrHfHUldY=; b=B2rkoZJ7UExKYCPGECk5kT575Cd4WDzgVQCXZkWPqNVIkADmHeWrR2xJ1LhyIm+WUzRA+gOVN5uK5rU2Cyw3K3itHva/NexnNLoKkMhp5XqO6h6fsvXRTsvy96rBGvkFhtBEPUXn0JjaNxji5i1f9It5vwjiHNL0/YmfsHQMBGg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost.localdomain (211.11.155.138) by TY1PR06MB0989.apcprd06.prod.outlook.com (10.164.99.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Fri, 28 Jul 2017 12:20:11 +0000 From: Yoshihiro Shimoda To: balbi@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH 3/3] usb: gadget: udc: renesas_usb3: add support for R-Car M3-W Date: Fri, 28 Jul 2017 21:16:59 +0900 Message-Id: <1501244219-11840-4-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501244219-11840-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1501244219-11840-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: SG2PR06CA0107.apcprd06.prod.outlook.com (10.170.138.33) To TY1PR06MB0989.apcprd06.prod.outlook.com (10.164.99.23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d2ff32ce-8d0e-4225-ce53-08d4d5b2ff70 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254125)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:TY1PR06MB0989; X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0989; 3:j5elJtPzIV0qyXogq36DLheP/+IYVuvrbYo+xGti6tqQ++vOf734Ve/rZoKPNi47s85XRRdzQDGctExnlQE4S/0Bsxoy1FtGcnptephQU6MRvKCawTfQXb91p6guiEz65Y+OsdEYCG7+WdQ5HGWNGPjrx+re3N0tS6GtYrRNnj7ID56vCwA2QppFb/tUEBNCdtHE4xddSNiENMrybAJTK9kl1+qTOuaE5HSVv+qnqA75eOI4CjSQac0bnvFCrBqH8EMwCK1/Vvq6x/N2P3wPCLdgweomk2GoFML73mcKz2MLX4KbC0V2r3i9qgCPZD5bQjA/4ch0CpSBc3S43vH1ucIvlOImNKlWY+kGzsydcQI6UG3QBEQUCLmNv3cJf5mf+8vQ0HPNarI6BgkOr/6gO7JdA7qkhrkbWeBY3Qg67tl6XIHXLgo/DKXBCpCPrk/6mod9FZb+rUBC3Z7qGjIaBHDkdFHO5KTqo46NNHgqoIYpcvNlI5iYg7+cgACszqDxG5tfFYKzVcZxPP/YubWgcH4cSfD7JO2eKmJoZKTY4jVsPkLkMu4m+luigo7cxEFqMPESCGVnHAgNhQkdEXgCl8XYwE3CD51Y8pGh10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ZGLy7HAeffwhTutLlNg2U7pDU4nIhaHGWOAviX11axUzsIKt/iZNFbuH3vbj8qVLuWC37jHm4bCrkw4nv1/JpDr20IcrD7jblkO6wb3AIO5Y80naOXDHGC Wg= X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0989; 31:UG85AoB+0oJpu3hi9rwdzuH2lzzFNL/h0ncTpXIzp//Ii0tnTvoEd5/sXe4E/5t8MyEa16POpeyM4ruQ4krCeFYuTb+dqCaN7ce/hx0mtjxFwPCLloyURXH4goKdbqDYFxwk76ZlY7uQfpJ5koY3kgqZPsGEbW1pWnVWDZ8VKD8yExzujiozihIscFNzwvVWOxNgXuOUsqLnhwDPz4nYRxMuJbsWXeZjEfNg1s6tT3WBZr62HFnxa6KgPgzrcRKatgb4uZ5pEywVfrrlgNFAN1aEpT5V2zgZoPBcUuwAC/4pgAGspXr7g6UTiCVgGUcsls9wAT7V7zrfNGvUumUFlrgQOpylXrV8zPfqW2/YWJZaMFK0+BucKOZtWpyhMYQX8eYEbdX7igYFz4fB+C3KgnIDasnTE/VLzBbh6t0nhT5KwIT9ry56llb683YmbFvdvMAmDaOlrwpnKirBfaH31+Bcfl+sffyKHoCt5nTIkkzqWntVadfrk80t9UMOruZKgpTpbqUmcSK1lV2QgOIPkwSO5Luk12mInzwxjN7zta0nwFnA6px+UHfKdKPmSGHQKmrwV416q0IMaMo/GQJcZq7hn1CKgk9CAQXQ0nVXgC038HwpfBrI2P+8mwl0weqs2QnF8XhtOtgMm2LO0vozWfDa1vubzzCFgOD4qENMwNo= X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0989; 20:pa9R58MrlLkz9skxZjS3FcowHj+e+1TinojLGBSqNYQmyDtU9Gq/xJShEvU1ohLu8kE8qAX49ZYbRETgoqObsSDjTS8ONYkiO2nk6pmITH3upZa10VH85D0JejcqOFiqBLze09BlpS8KacPtN6k2I23VHFYAMPRjrmSwsL99U3SCPJJYEa+JKVX273Ph22iJsJtPvPbtP8+ChgG10Nx9AdUruyNRMAY6x02hPp9CSare3UZu52tcnM63L/u4cy0dmfWI4/nu7WqNIGU0uQoJQMMxwj13RD0dR6xfP09D/mOnfUNoJTOPbFdCbc3SCtlqld1270SWUmW9jRDee3KxlKR4SBcWoDKWZbBIKKXyTVx8/2XlkAyVRIhuVEsaucTS1x9/T/Yaapqx8Zaxy742nIm0LzPGzu8hCflyd6aBnjFleklLch1IjFdbXdq35E/3mX8eOMkJQpkGarb/WerYZ7d8N/X6XhOZfce5EUm/DKQckhH1XKFhI5Wtnd6kqUzy X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(10201501046)(6055026)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123560025)(20161123562025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:TY1PR06MB0989; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:TY1PR06MB0989; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TY1PR06MB0989; 4:vELktG7HFi/Uec9w99Hw3ixDAcRVcxIV91TytMCf3z?= =?us-ascii?Q?qZHp8i5yF9GiOS/Ce3s1Vv6qCEhUbMYJd3XdB2A2fyt94aldK4GQAteIe54L?= =?us-ascii?Q?nBSpcW7a20VRRb4dOtddPTmxDW/UXYLI0Cpcd2o3gslDh9GcoZYixujkZddW?= =?us-ascii?Q?SBRrZeHcX4x4CtwqLn1h24ketHfzWF/eqEtTOZLG6RkHNCCVNKxRNdfRgN4v?= =?us-ascii?Q?2GO8sB6mXQeRBQuNviD4kq2ri0R5mLAEtCrN/LZsE2jd8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pO6GNCDZJIeeFJ0UawnLmX4gzODEO?= X-Forefront-PRVS: 03827AF76E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(6069001)(6009001)(39850400002)(39410400002)(39840400002)(39400400002)(39860400002)(39450400003)(189002)(199003)(36756003)(33646002)(25786009)(7350300001)(6506006)(6666003)(4326008)(47776003)(5660300001)(66066001)(50466002)(2906002)(48376002)(81166006)(50226002)(81156014)(8676002)(42882006)(2950100002)(6512007)(305945005)(78352004)(68736007)(110136004)(107886003)(38730400002)(42186005)(105586002)(106356001)(6486002)(53936002)(5003940100001)(498600001)(189998001)(3846002)(6116002)(76176999)(50986999)(97736004)(101416001)(7736002)(3720700003); DIR:OUT; SFP:1102; SCL:1; SRVR:TY1PR06MB0989; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:0; A:0; LANG:en; Received-SPF: None (protection.outlook.com: localhost.localdomain does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TY1PR06MB0989; 23:9ETvxfDGCnxrPSmn0QR0oQ8CFy/qAI/rh9f7ONbTO?= =?us-ascii?Q?quHFe2pYlqZTbFBKIWCthIQrjsnY/gtv/Uy5R6FOzQUAZtajj9v+Ktme5Pyl?= =?us-ascii?Q?IeaZJLWe2Ea+wArZG9wanmXTaYAJ2l35kNmY4vKUTE6bRZzAZITtIX7TS/L1?= =?us-ascii?Q?R1Qe7cTc+BJ+FOqSdwIVvlT2QVMhvwWY8bdVPEyqHL7t0nZjy78CrBgaGnln?= =?us-ascii?Q?YxDfE/QoDd+yfbbaNgNijIiSfyrH7bnbdddoYmDVa8tbqSzLo9FBl8HgUL4p?= =?us-ascii?Q?GGzFggzysHJKqHBr8ZSgmkqmIO87YU7lDJRiPs5X6E1Zy9YlwWCmjzd88V9I?= =?us-ascii?Q?q70ZHkDRcpTRj8UfCqqC9TaRh1XdHoSjgKUTVDKCd2QJoLd6PvJMFeLvRG2h?= =?us-ascii?Q?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ROkQ/gB?= =?us-ascii?Q?SVqJFtkQ3xpMLmpErIrpVSrhl7o5WGRJB0T5wUpaGif?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TY1PR06MB0989; 6:3S5nAyikXU0tV3ZpDBv9VbibNaEwjmHpxVrDCsZjDU?= =?us-ascii?Q?w+CB6vFurowTCq5RYvT+NJTlieMIzKo3xjy40OLO0bbu2AI1tQJrwah+HS2B?= =?us-ascii?Q?iHx2TMfJRWufN2IfE0DWnCspZy6SptCgMyiSDIbNolnio+l+o71vA0nGP92K?= =?us-ascii?Q?E9XmM6uNqECO+XHIe5MFHsmERxuHVftZ4bJ7nOEH/FsM0ivZf3JGAEkPJY1J?= =?us-ascii?Q?Mev0qkMLybh4ev78goLpET3M3f2mTK9j+EFGaft1mRfPOEyI/OGQKTMmGYPz?= =?us-ascii?Q?XRqe6hG6vXfKCyr0WM2+FdM3Ur8HbOLmti5LVzpFv4t+Rm4G9pSWnGEvBfip?= =?us-ascii?Q?F4RxbDqq2QAB0lvQgcnahrUJLr6F62+JkwrA8qWfMKn/BBzkAKJLqkBbZpxe?= =?us-ascii?Q?HGKWicTaG/NnKFMarHpvoRlCPNrHYOaw09aTo62rT1CRKtpua9bd4mDOag5O?= =?us-ascii?Q?fcGCRg/6zOH1j04XJu3kCc/NDhrZxfnELXQEJIpuN+JBLn1EXX538GVdcxWY?= =?us-ascii?Q?hNlB2zyqMEm5buEdz/xT+YtSyehiwoUkImpgw4L/AVctD5VeRyNTPXZQ5i8+?= =?us-ascii?Q?pLxn2/UiK197d9kFmuZJnUdNroorGHBFwD8qOVLVnyxsNY/0Lhuhli41+h6E?= =?us-ascii?Q?W5d7sj0fmRwNgzZy1z89SQ2gvMZklSDdR3ukH3st/a2iqJpulY9wwM9eVOkR?= =?us-ascii?Q?7RzFD8JEwLmg57A69Np2cqKAim+9QCwdyQgFwXuY07QVSG+qqWnaCDc6gtja?= =?us-ascii?Q?z9VQazl9lm0b60Et4m0dRpUfROVGNWSdvqFz7lAfbeI3M0y1FIV9D/mSOD7X?= =?us-ascii?Q?683EhAhAXbIEtQgDcLZXzeR738ZZu2iMgWhJ6uhn7QHTkSZ3lFTDqwTeHW0i?= =?us-ascii?Q?I03CljWzmSNBMN9wavVDFxICKJGlybQ0coJ3jG009ncPBigzuWGhmhBd52ng?= =?us-ascii?Q?LWDB27EPnDNB7P9ABzbSlrMB9dpoacUKMjKeF7qvzZmnNWpNxgVNA8/nzPtf?= =?us-ascii?Q?4P4NKhovW3IzaG7JqslVsS?= X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0989; 5:prxhbfWkpy/32yuSXODorY4/TLE6ph9Jq8kJydJX9fVvlv4SQDjm5E6WzbiGrf6Qu8SZv7rTldlUht+Zun4HO81l29tl2mwkWdm/Y2G3JZz7bvL/alQTT30KytbIgvhETMeDY0hh9bPdZ6j9yarCqt7/LF0QnBquThOHEP+xvk0lC80wowgfamFCQFaELwVheXJvullpMhWQfotFJSI4UOdomgJgXCWKEFnwZ/12wBeE3E2bIyYTmJEA34Yvj8YBcYIWS3amlVWqsRPqkWayGFJ40NfICPs9u0WfYKKYkaZzviRWrAvuQbLSRpB6W1Io2lJJbc2ZcWNTxMCoUtZZVcVgv+Cr0Nu0xbsBEtI8vmJ+BLk9VQ8TPJagVFjjljO5mQNsf06i7LdB3BFF/rAdtaIIqLERTnQJRcuYd8IuQxbswoS0J1jV/4YwTGNQpwFDaNp2TU+J/rgQFO9csS+39Qt6GtRb6SrEHm4d90oGUJHUh05llNWgWlR7CHH5v3dd; 24:nBpgO5Oe9fITAXbujiURma5ezi81OqE+5zZDBjBSW9Q8WjcWhpmu6/XaYFdS0l9AZIiwguFBEh68Z7Lgf4gm8OCTeR+GkADSTz4j2q92jXA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0989; 7:hQgJ6M+wAUxd9oEEpK5O+tHflHasfdisPQYDxsssLnqfcSDVsdi3Lsbrh9uvsC97VEjERGNTnh2E79u4lbhPtPneK2whw45aAdigWsfztYNMlkpaKz2KrdTW0srxCXm58JWJwiN6KGZ1mn7mKKkC5+f/Hee+L/ghQPhl0HRDkP2Ygt95nH9XbTxF71czmiQmeIvdPKWIH0+tRo+BR2OXp78+o8mDz+LOlM8+FXKXpwLmZHNWivjmOL5Ud4qPWN/LVeoHHvQ+l195ofELz4YtYQwXea/wFWqKjWmz0J0iATH9VhEQdyWCZ9MjT5BYslF1vihWdhcfspSAoBi1AnhayPZbRhRGxSp8ZENTNH5f0Mcs935UlB40CeQX4FBvEKrbQCjuaP0GrZ6W3qaSzqCEB6/3DzLUFolxsOiuMTKAzxhuyJz4na8ctviRGTSohI5ZdvPn3EbVY+6j+TLOAG4FV5yWGse99WvEc4s2/JfOcHRwYmjzYfBrt0CM0M9wMuiPWZe7tLK3f5PNu/T5clGyn05kh9sw3Wn/KDFNv1IEuzPTrnfW3eKz2vZy08fMaqAX5WFtDVyf9YHnuAD/iDW6vIVuxcomtQkfC7i0t1xsO8JAZNwUToMnCuxDPbB9kmIXo8+j9mrTcdfwHsmr7IQKpqOWX7fXO6KvN0Gh68Geq+uGHRWA1JV6EZdVS4huj24Jxzguvmg1visSwc8G/f7hlMjXR1dcTbhuHeO6tC+XFFnbWr4oTFCW0aseYumQ2EP9Pmd/ESCAiUIbWP8qyskDumttTwAS1Hw21KsY30WkhAA= X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0989; 20:1B1mwvOZkAAWnXkF7kCyiCHoLySqphIWsJ4C7GY0e++42/iJX4eQvl87EVaCX6UIdtGVsWrf9ivt2zmv3Jk8qvBa55RVulz0+ORskCp4Th+X1y3c75jXNrJS6EIczygyEsXQFX0WI3ya2vBgZC4/uN61QdEcIC9i+/gprp6+/+A= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2017 12:20:11.8340 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR06MB0989 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 adds support for R-Car M3-W. This patch also adds R-Car Gen3 generic version's compatible. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/usb/renesas_usb3.txt | 16 +++++++++++++--- drivers/usb/gadget/udc/renesas_usb3.c | 8 ++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/renesas_usb3.txt b/Documentation/devicetree/bindings/usb/renesas_usb3.txt index 8d52766..e280258 100644 --- a/Documentation/devicetree/bindings/usb/renesas_usb3.txt +++ b/Documentation/devicetree/bindings/usb/renesas_usb3.txt @@ -3,20 +3,30 @@ Renesas Electronics USB3.0 Peripheral driver Required properties: - compatible: Must contain one of the following: - "renesas,r8a7795-usb3-peri" + - "renesas,r8a7796-usb3-peri" + - "renesas,rcar-gen3-usb3-peri" for a generic R-Car Gen3 compatible + device + + When compatible with the generic version, nodes must list the + SoC-specific version corresponding to the platform first + followed by the generic version. + - reg: Base address and length of the register for the USB3.0 Peripheral - interrupts: Interrupt specifier for the USB3.0 Peripheral - clocks: clock phandle and specifier pair -Example: +Example of R-Car H3 ES1.x: usb3_peri0: usb@ee020000 { - compatible = "renesas,r8a7795-usb3-peri"; + compatible = "renesas,r8a7795-usb3-peri", + "renesas,rcar-gen3-usb3-peri"; reg = <0 0xee020000 0 0x400>; interrupts = ; clocks = <&cpg CPG_MOD 328>; }; usb3_peri1: usb@ee060000 { - compatible = "renesas,r8a7795-usb3-peri"; + compatible = "renesas,r8a7795-usb3-peri", + "renesas,rcar-gen3-usb3-peri"; reg = <0 0xee060000 0 0x400>; interrupts = ; clocks = <&cpg CPG_MOD 327>; diff --git a/drivers/usb/gadget/udc/renesas_usb3.c b/drivers/usb/gadget/udc/renesas_usb3.c index aa2b185..45410f3 100644 --- a/drivers/usb/gadget/udc/renesas_usb3.c +++ b/drivers/usb/gadget/udc/renesas_usb3.c @@ -2506,6 +2506,14 @@ static void renesas_usb3_init_ram(struct renesas_usb3 *usb3, struct device *dev, .compatible = "renesas,r8a7795-usb3-peri", .data = &renesas_usb3_priv_gen3, }, + { + .compatible = "renesas,r8a7796-usb3-peri", + .data = &renesas_usb3_priv_gen3, + }, + { + .compatible = "renesas,rcar-gen3-usb3-peri", + .data = &renesas_usb3_priv_gen3, + }, { }, }; MODULE_DEVICE_TABLE(of, usb3_of_match);