From patchwork Fri Jul 1 01:35:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902499 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D72DDC433EF for ; Fri, 1 Jul 2022 01:35:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229639AbiGABf4 (ORCPT ); Thu, 30 Jun 2022 21:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbiGABfz (ORCPT ); Thu, 30 Jun 2022 21:35:55 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2120.outbound.protection.outlook.com [40.107.113.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2F095A469; Thu, 30 Jun 2022 18:35:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aLBCkF8+mF5whwMZOQmizmYpBwnnldCC3criApQ2mBa3/FWlBuVn5kSxzlNO0rJbwfnLljs+XlhFt5MWp7pxPV0SGiILt7ihp+lFdRGqRBNzR8NVpNxVNsABiNqaDclYdHYuc6uaJWoMpnTgP9KphCWLx8Dz6Ein/OmlF+Aj6aHAltaw2lXWar/VylS7r1a9kXdjLcc1OjFCTR0UFl5x4WMcT07MSCbmbHjjSQo4EYmdvd4NVBnOrmYN/8UYTGyerNQGYo99w8XHfvtzljj+Ed2+yTRhT3+tXtVyjNhuXGTiT3Y63lU60pQabwI8/3OjniCQ7Y/gQ2ASgUk2hzz1+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8WD58BT8xHCDBMA70+61AxXzkcu28gGcOWj0M2MIEFA=; b=FYRY0lWJrw0KzDknaQDymlRNZnzq4w82ZrzansswYecRSzpPKDJ68fQLUV3DySNKawguEvduaZHVqm4Jz2NV/edenzWd/HLOtGo309yAGA5TvKtVAUFmBummirB4/3ACYCsqTYR2bObhTtx+5y0EpsPo2cfYiFZbs6K6L+6QMU4JaidHg4pIjsDC1ho6TALjP9cbN9VwutVytMWE4Dc8yj3gdZeHswAd/C2ggE1RpWLLQ8oL8qA8o0VjDwCnGdlTPPY7WHElxgIhCCxTLIt54GTUoByIO8SoRh6jtbJ0/WeYYaT6IPXWr7NOqJ9US4UhMjlLZHqRNQRAOXVVcHwAYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8WD58BT8xHCDBMA70+61AxXzkcu28gGcOWj0M2MIEFA=; b=YRX2hS0PGc4JJWdGKqirkX+a7rgzHtE5QF54X0iGO4eEUT1EV0wKTQBVle7HX4EYHF8PSSpQystzSvHc+OMp47BkdrJGgN8jBJXJQfNcADajKC0fAjoHtfcv+mBC58JjkH2TNpHgSlUgwnwtBZ7MdyguPdzHJgVryG4Td64u7ZI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB9275.jpnprd01.prod.outlook.com (2603:1096:400:197::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15; Fri, 1 Jul 2022 01:35:52 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:35:52 +0000 Message-ID: <87fsjlty13.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 01/23] dt-bindings: pinctrl: renesas,pfc: Document r8a779g0 support User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:35:52 +0000 X-ClientProxiedBy: TYCPR01CA0046.jpnprd01.prod.outlook.com (2603:1096:405:1::34) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 78a305d7-2708-4249-06ca-08da5b02092b X-MS-TrafficTypeDiagnostic: TYCPR01MB9275:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ei1ibc+Hf3jHd2olmhHSVy98PfvKOxuutWDngFqaGmAthdab7r9/fukVwVTFmIIrx3WADNHHMc2pHzPxRzLtblInywWIVCaC6kYQIj/FRGjn0SmEZ9FqCMBF/bTDOBU1YM2RvJkPwNiDNOYLg5o90jkWu+TjDRdPbqRrnY2BF5bpQkZnpNLX3pZX75BE8LNUba55abtwowIe/tsGjQKzpvKGhJ9aqXN8gE51N3/gruJ/T8WFRn/iG2B+186WG/NsCVl89A303/p05PgXKJSD9O/55fnK4zzM/zF05iYj1OKE4EbIyTgJ8Km9FXv/G5WVRWFkxCWhjIRjxkRJmZHWIg58YegFLt5qjWt6nJ08DARz43txg+lFYUJyO8u3SLWLK7k7oHmpDEWl2+rC/zsqX+izUD2Kim33xpNzRdQuhL/2PVgSP3Ku/GvSaA37BIZUDLJbFZljhH5KpB/Q5PE6rjldM8h017cBxDsgHUBeyv2A5MzsF47SA3hAW4YTUsBHUhvfKhgWezzWPAvNPx2O3gSheuNmfIcwbsx4EfmjefjckcW76TG2s2vX89L0Gt0G9ROqHRZPMdJepMBRbD/g2IAZHzczrXGF+h3iKQTANBsAL2XXkr1z2ZZngpVPTVIrsuoOFdQb6m8M8QmdJBL6NuX9TRZofXKmSOY1pCLQFep1SmdFadFmK/pkBZuZazlkMdRN4WOlB05meZPIg1W4zOjaFDPnUZZtUKNlKjvqxOd033ahLIa+m61RhYLbRYop4WCyJ6ctg4mXdoZgtTAQYz+5SbfufImuYYhUe6N7iPYhQQ1nqtB7OCUFS6ufG2pX X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(136003)(39860400002)(346002)(396003)(366004)(376002)(36756003)(26005)(6512007)(4744005)(6486002)(54906003)(8936002)(52116002)(2616005)(5660300002)(478600001)(110136005)(41300700001)(2906002)(66946007)(8676002)(4326008)(86362001)(316002)(38350700002)(186003)(38100700002)(66556008)(6506007)(66476007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: F5yhGHDer1zy6GRc8Z5eZa3XG44vOs4V2KnOVw4kE3rJmdE+vbGFTKvn46nORTszXHAkUcmafMD1kQbXTcdJ7HJC9EG/BpOvdjpAqrkm92cHNvPXAt7cjOgt0yv9Blr4oHcIqzt7mt8eie+c2E3bOvcto71Gad7V/bujX2YrFZHvhi7Z5B/S+8dws8EzFLGzVD+ptkOgkFYaLh9zWDYP14wZVJ78Ss/GT41jpZ53QHEgX3Z19MnPMPKrAET3C6lCITclccXoYoCvem6NZa19QTEttCRbzDDDwzNMyQC8zubgfoTzklxxpmZkyMEmzZI/oxRNH7WBKLR7Lm6SpnikzJNDw5l8SKRfbIMouthecd9jMn+Uk1oyof8DK1YiS7a9HnUSiUCOXoYo1Z2w+cw1YD3fkTzBVhTUWIU9iNALORrhcfrpE8pGuJ2JJoKWY3wkqoWVlfumtUPT2ZHsPW4zBCEJfE090wnwArVzRWjcbeMt0QnwfdVP1vyFhyw7VdfI24FJWjrZq7mdos4m/pbFjp0h0kUS2bnTrPH4L1YWXdVZHG8+zQqUdIZNcZo9x/Q5ZkelZOQbzppIhfBmPbuMVQiLXIWzJuR3HflyrMYC7HSmul6S2I97rNkrkIJ77K2gT2p5EFicnVxIluNAmj9P9SXyHZYOVb9lvhtmLvB05JsHlRnqaX8rGqzExBpLWX3WcNnnZrp4ALzbKXrBgBVz6Ya7UyaUnQJmkEr+uYBmWitnBmqbOhbBinnEz6PEzS8zXQ7sKBCRW7zJbVxRE9sL6D35nGkIGuPa3o9DV3jhQLC9fegizNtjm+e+AuzrDA0YNE8V9vvqLjvivs9XCXTtQO6yffr6lK/mUp7SzAhTTR7z41OXAeGP86QFYWJXg8ecugB+2HpP6jB6s8iGKLZAOSpR9rAkWbm2d9vb6+TFRfbm8v6n7lQWJaNh6SrgzSEENdjIaE6GW51thIPxkeJ8+9K83iO+0bR40VyqqTIX+q6azqGDpNZO2KoAwseOTss83sAxZZipwb0k+oP+/48iJpuQt2LMklx0YuiHnR+YkNU5uS6vPWcUoF0rdgGXhYbHwFBAXDAkyBxTB3bJ/5sDx7OIzgvdYF/3edJvrDpxkej/kiD0NON32akZxGdGaVWnG+YQUq/3FYbEmBIlddBjO3bcirz9lvuR+8d5265jAvhdNjYp+wBIl8PYrInfM52JLwZX0T9kYKvYsUKYxd/vaCpixkfKU0eN8USne67NOvCNHqiF5uAjUn/bNBNEOGL3tzuy7myAB2177gw5rJJ/Mg6vAsUUcSHY2eNpGkYAIEFUFMACEWRi/LnsHtMHhwbwMFccUMY5Pdcv9xGWUSjIy56zVKaV0FyLgRQTIcHIXYTlbnD4ihMukrCJ78LVe2zbsigOxoH+gWy4UNLD1xbluAAEwD6rv2kK6lb9mLn8FLXNh7HzaYuxuv0k7gP26xHJjgK7ewqUGT7ONyr0YTKEMxpDpzOB8/emiOvEwUdj62sCmhofUC2IMpsfaSZzd2Ronb4Ua9h+oGMJ286vjP62m7FZz1SHO5hl18ZmOREB+GV8PFxuNd6EBwSTN8FqGa6CUCiWMrOp8r4Slh033+LLtp6S/VzH24mYLPspMV7yLqU= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78a305d7-2708-4249-06ca-08da5b02092b X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:35:52.9004 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OyUNXHNavE45lIfMZ3AZYrIv84P/7jPwReFwpyDjBJZaGLXaaNWYHMMtbOcYZzWlzoqvYVTd8Cz4bQHNPyjKTMaM7gSAZu7x+iIcehPUNpPjDIWODeODckvF8U7bYmcB X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB9275 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto Document Pin Function Controller (PFC) support for the Renesas R-Car V4H (R8A779G0) SoC. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml b/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml index 2a57df75d832..4fc758fea7e6 100644 --- a/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +++ b/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml @@ -45,6 +45,7 @@ properties: - renesas,pfc-r8a77995 # R-Car D3 - renesas,pfc-r8a779a0 # R-Car V3U - renesas,pfc-r8a779f0 # R-Car S4-8 + - renesas,pfc-r8a779g0 # R-Car V4H - renesas,pfc-sh73a0 # SH-Mobile AG5 reg: From patchwork Fri Jul 1 01:36:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902500 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82908C43334 for ; Fri, 1 Jul 2022 01:36:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230467AbiGABgI (ORCPT ); Thu, 30 Jun 2022 21:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbiGABgI (ORCPT ); Thu, 30 Jun 2022 21:36:08 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2125.outbound.protection.outlook.com [40.107.114.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E6F75C942; Thu, 30 Jun 2022 18:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MUeZ3z06WmkvrmTCdvxzN2BM86Upu2c2TmewGAfHx5n1XsbggEAD1zBZjrOFQvHVFXPu6E4XWv54zYUt56G42/i2NKusFBLlTvEdZBXUgB5ZPsdY6NcGLOnF5C0pW3WAWh4FpGsZR6yXVCJu8MUg3ositr+/7CUJaBYiVWhoyhApNTzY7ySKft5pKtRsJE+/qasd4k+j70dW4xbocmRXhjnwPDBrFxbzgMG3vdlMDsRveNoc17RJIpCdkF6jIQ/gHzaGJMxfhwDeXjtpNa6UsfmVEDF8M7t+25MgXhf5TLFjk4+13OUTXKR4usBVhYjAP3GR16X7zFEedsp437G2ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1gDgZitjomYv+GaoSanKNXQ9YClgzIAblqwCGuyqe0o=; b=X7eiXizVG5rJwn3J4L/wSY5WtakADmPOXjoF53x86ac8qJ1n+JY/J5QM1fMhrYzgK9UASC3R8D2q/AUyr/0UWUm7YVjFiSIP5BDYhzCPbkzfBdhhXs9YKN/cqIqb3bCyZ33OYjGAeLs5VolCK31hXWgIwb12TVh+q6voB7aKY9H1hz4ABO94TqKpBNy8H/0TDRpLkfly172BYFks3kjoL5NY9qp2b+/D5Ro29YOjvb2hBc5PNz0FeoPABwRLAugWP/gkQMskFQdE3EN2AwS38Z1dz3xZFoswAyxKDklwVsr9oG1Nt8kN03E5cPzHD7hLSEvacujm5lh4Ai+osq5tEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1gDgZitjomYv+GaoSanKNXQ9YClgzIAblqwCGuyqe0o=; b=oadc7WbHXV6cNLQUstC6d2QYq9+0LguJqpwzYgmC6UFyOOpMp/Zh425lN+2oXzt1aK65DgLc+mhxoaaAqK9bQFzi6qStUgXx5Lqj8GcXsLhOSKfNXvYQmOiM1UqjspaSj07w1I6V0jB70EmvxnP2cfQLyEfbg0Rqv9ZtNI/ICI8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:36:04 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:36:04 +0000 Message-ID: <87edz5ty0r.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 02/23] pinctrl: renesas: Add PORT_GP_CFG_13 macros User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:36:04 +0000 X-ClientProxiedBy: TYCP286CA0117.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:29c::15) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4908b9b2-29c6-47a8-ff4d-08da5b021023 X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ll6GRZ20ZKSQBI4sHL+w7xhLesdlOXcX5U4aYohY1IBQ7V+8PlpBcc6lWeJv5VzTt/K/lj4sSO2qaNsiya4IDGTsGcPcVjXSp3OvBvFBwpsx709pre6VfK5L6qVA8miFsZb8Lse3iNxp4dnOng1vsSTMFGWtWKYrLQBjpUOg4q2C2I5D9PhSEsxklpQus8wsJTtDgKSI7ln7Q/Fs+3hXGsDWE+SIyLE4gTvlB4KfG7zKMcDP6CMcWYzQgigCKWKWJTh/wKBZ6eHCd5vh5J++oHS7yUTNaijuhgtJtS54gSkDX7/Dw802pxy8d64yCUjqdDxeioO8+Gzzto8jXM8IS0Q+4aWz2Ux5RgD0farAGhO/EJN16yaP6l/A8Ik/sTguRFijmJMDSEVeDp136gAu+wX2+FSddq4m/QU0ZFXi/n4PPNRWAIGtoTHDdiqLqqXSFIegdVjTYzHyETvWD9Xw0m0wJ1nFOo1jrpa5X5wYYsU2SlwIcYrzOQKIpSHQBnfU9BwqlJ2QNK+MvNnURWTWj2tlYRRH2P0n9Rk+tVVLU7OU23XQpQkIKDauIChpHBmO1E2hNgsiRFy31tnhKi7j9wxwFzcFMA+5xhA7fbk2xM3iV3PW00vq16Mhq81IHy23mK7cvr6b5mxaiLHTHyfxpF22a3THOEUs7vTeWh7J9ms8LHVVXy72fuml/iSR7S1fSFrJe7lV0fdGcnBDiXtO6tcEm4209dMdGUKx41nw6U8W0sB/hsaaRtRG+xFNGd37M0Mgymy7qKk80eEH46fOg8+KFa1CPq+3lw1sFDic3137TkmUY4zs4ejEzQGxwp+M X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: l1I+K96zXrbSxHuYoVoI+YOCNbbHBu45KPAMkj+7iJQSlgM5PliO8b0646YQ1tlD3Hc7uk2IUAh7DYQ6CmWcsbO2KSu2oLYX1GD36n1THTM9nzge/izOyEq/xONWM63E+CfXKs1nffRratHPpSsmOvezW+YAPcuKUAKCVFN9MvVuiYnxF8GbcfnTk/CPa4oLcwKewTaBPAeB9GUwIs+YM4ba9KSGOsJNzZ76Hkuw4bIweKSNaL3Yc59leJP0E3sAdyL9+74yXMGJ56/z45LM7GKe2nUB0Py+MTxzzwEUmHNvSgUfa0mGVvxkODNiwDjvAsItXD7TTCCCZzGDR9LyGVQJTC3b0c9sP54C6Amoc9pBbO9upfl0xC8/UXppESrGFA9CutyB1Ho3akB6XnK8SVbqIW4hnp7pKQMtrfBjxu9QXJUlgx54rHJn1SvIh2sESIwU6ASo8bv4X+Iem/gty5zRhdikPZ4JWCadKa1I+I7tdjLi8QZD1gau16eD6jXjzby94XTkIEFyvFYFrDZsx08I9hGkDN1VwBetpx/zCaG7pG4n2mK0aYqZevdI5VrslOyvc0ZBHsIC8DkqU3Bg4l8kxnUYGL4eWElkSB0bke2sSt7YgGka+mK1QfoM8gMhDv3+Bq+hFny5czNLzEuzJPcIFa5D3Ja95v/mqHWWEnRfWSWQoYz4kkMRoRfGFFPxXeBNzV0dsbI/WXyUrpZdY4xeZfsowPoIGONDeKYeudDIp8sbhKnoQieAZcnE/7A2r4FpTDzsBCG/QXBKw76Du9pmU4YIr0mkilanffp6Xext+CTDIEdJdpQ+9Qql+tDvlNz13gSJoyBbl3VHBMCbrfdArzMo92OqwaxUgG2ZWoTGnU8w0YVp8P/YA+3UvdQK9BuaTu0wmHSTdhhRBGrUnOw9DoFQkf2SCgcZ+faTTbde3p1iUITc9okSphPzP1S4yvRIJfJ9q1zNj0sLz27RSeQ56Vy4X2eXFBDNVvoj3M4fgNhABAJ20OtBJL5uZS8lIeI1seOLtpunHp/RwHIHTchZKVV0V0SFPl9Y6e2CfbgmLcqCKO6EKAk8ZAaP7gbzPmbRHyHTkWY7hQ5JraXEdVaa3gYEbQMTGbAdo2c+VKzydBtzt9okA/jIcAFUJ536/EVRs/asRJqxuN5koxiFuUlK5UqAZoygyEyQ6R4vTb+z3ULLWgXHLu9aESI56Gm9u2vowBK6Nnx/5EugzSFncARC+tjwLy3NUzNR5CIpkFGn5KlL+Rn70YHnyHiWaySSvtFwsenfq5l62GwpbUG3hDGQB4wx37psaXFyHXw0kSaHYwJiOYTgGD1i3uGtt9KS/jjWmHlNhcdfRrEuWJdEEt34VkoksVGX0pzXxyTkp1eOP5HRg5TN0854fmbqgGprUZpZlRsa/9S8GF+o3TEcYFwbVnXrBcRkzm0Qbaja8sdrwhBbT4bx83Rpx99mlx+HyIjpt2UwbA92QGJZt0I67XBo5gNlr9tsU9ogYA/QEAT0/1fPLAD1q5AswC5vhGw+jArUP7NdhbMHfPzucCIBmEh0DgF4WOgONbU7cSur0a7V40OE4pwd90iKYlt5jR5y9SnKTszpixsj0kB3ieAxmHjtVsV5vWH9LNXpOCSI1tw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4908b9b2-29c6-47a8-ff4d-08da5b021023 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:36:04.6401 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: v9QDlgmodIeUrzqFwAYR6gPy1d05IoIrrShi+2paYLS9Sy29Msy1412ujrlgIdchwL7YaUrhqkXHdTVKougaUz4CHouGMMZKitV7OysyB4uJ2e2U2WJijT0t+mbi/91b X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto Add PORT_GP_CFG_13() and PORT_GP_13() helper macros, to be used by the r8a779g0 subdriver. Based on a larger patch in the BSP by LUU HOAI. Signed-off-by: LUU HOAI Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/sh_pfc.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/renesas/sh_pfc.h b/drivers/pinctrl/renesas/sh_pfc.h index 12bc279f5733..bd0ae9d7005a 100644 --- a/drivers/pinctrl/renesas/sh_pfc.h +++ b/drivers/pinctrl/renesas/sh_pfc.h @@ -492,9 +492,13 @@ extern const struct sh_pfc_soc_info shx3_pinmux_info; PORT_GP_CFG_1(bank, 11, fn, sfx, cfg) #define PORT_GP_12(bank, fn, sfx) PORT_GP_CFG_12(bank, fn, sfx, 0) -#define PORT_GP_CFG_14(bank, fn, sfx, cfg) \ +#define PORT_GP_CFG_13(bank, fn, sfx, cfg) \ PORT_GP_CFG_12(bank, fn, sfx, cfg), \ - PORT_GP_CFG_1(bank, 12, fn, sfx, cfg), \ + PORT_GP_CFG_1(bank, 12, fn, sfx, cfg) +#define PORT_GP_13(bank, fn, sfx) PORT_GP_CFG_13(bank, fn, sfx, 0) + +#define PORT_GP_CFG_14(bank, fn, sfx, cfg) \ + PORT_GP_CFG_13(bank, fn, sfx, cfg), \ PORT_GP_CFG_1(bank, 13, fn, sfx, cfg) #define PORT_GP_14(bank, fn, sfx) PORT_GP_CFG_14(bank, fn, sfx, 0) From patchwork Fri Jul 1 01:36:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902501 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F7EDC433EF for ; Fri, 1 Jul 2022 01:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231751AbiGABgb (ORCPT ); Thu, 30 Jun 2022 21:36:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbiGABga (ORCPT ); Thu, 30 Jun 2022 21:36:30 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2105.outbound.protection.outlook.com [40.107.114.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5741B5C942; Thu, 30 Jun 2022 18:36:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ev5H2aGrzL6NX4LxE9j3i1ZUPuMFZKvCOQr2NLMnJKNNqcmE6KlPraJf53qoEsSZQxz9AyWxQIqbTpbiZVrxkliNExcaVIF8M6lDB6GaHboz0DiqxZTZh3NcLiQjPwED1o6A+OkPvfZTThSFvCSBFils9N9sOaERaRHMcRMy31POQyDDGG+lWC/6lXuvThyBwsFjf4htqrrdbgkKoTPGJuvBWIcgsZR5Ni80MIKdwSETGnHDXzcIG190KBaM0HWwkSrccQXlUDkEsI6wJsQQZ/LwMLmFpVdgqg7ee/fldXkXnTfQSPVf7mV3Q023dE2g7FSu0y3v8uxrqiaB8diR0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hvCCp8/MEwShtJ0SOQ/y+fCQiT1buRghcxFQzfZsmaA=; b=AKfZ9C2SuxdyXGjGRnMqGIojY5abzjYgE/4RdMDXa39LZqpzRVojdXuDb/QVzPO+hjSlYZ9dP/VVf2PacDHm2nuzOpKtYzmj1Ggtz8llMHIrOisb8NHxc3b5kpd268wx5hziW0kBO1TexhUCaHV1F+f+cdrD2pWGqvkpoHs7B/RNQtCPQ0KDsArqoHeu25V/DmEbs5m/lYl51f97uDyCahuNx6Ha4FkNskME5S9RPsFK8o4peIfl9f7jBXIdRW5Dw9Rzr9rAYscsUvrMilpzE0SGRAOcIh4Gg8BtQmGC9YSXlaVAW7SSgBiKPEGmkvz7G/yQ3wSAqYQGRssXaSM7mQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hvCCp8/MEwShtJ0SOQ/y+fCQiT1buRghcxFQzfZsmaA=; b=O/Z/ywcWaLxvhwkwZesQTJWepbQW8p089/BcEfNO6c4vFEo7M5x5rzlkMtiIbUDggGmmfKksLzqJbpELdS3pLWVAgT8/3HfQO6OsTz3JFFr41zvEWnRlwiEkVXTMNHQVbOjxkB+bJj/u4nvfmTt021UkrFHsZy/tpftSGPU+J+4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by OSBPR01MB4567.jpnprd01.prod.outlook.com (2603:1096:604:72::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15; Fri, 1 Jul 2022 01:36:21 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:36:21 +0000 Message-ID: <87bku9ty0b.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 04/23] pinctrl: renesas: r8a779g0: Add pins, groups and functions User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:36:21 +0000 X-ClientProxiedBy: TYCP286CA0128.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b6::18) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a719a136-22d8-4c32-3396-08da5b021a34 X-MS-TrafficTypeDiagnostic: OSBPR01MB4567:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SkSVlwgXrK080fkWQFTU8c7AoDbd+UJzPEKzv1tW+mnJgRvUtJqJzW6azi3I7Ba5Eiu+LUwXd/lXkOEq1LR87usdBPooeUtAXplGwL5N1BZcPn4zl9DfI6qIFjQony23XhJthA02Vb5nXKHl5bSlN3E80R+I+tARFRyKPpeIf0Sdu//hpeTY3faknCQS4I7sb4MCEHylh7eBdotHL/G3JK46xrOXEnvlju5W9bVo+9wHduQzKSmgEIqqZ04LhFY9fiGP3tY9LpVqHzMSJb3MBqXBf5LtL+wl5v3KIQ8Q2V8XbcriWaNp3NDAac8msawD0+uq2fh7XvOIasd/uc29vaHvx45dMzoNfymnSy6/wFK4sjc0ZfoLJ4M0N28FFTUm7oLbf3y9zsaQe3wO9L1Mp8w7PvUGbJ+lPP9VAGwwjjL62tD/exVE3nVVnLI1YGDi9NWiMxtEEthgvczRiZx/fbRccF0QxfXMVPS84bgfBedqGPwtMv1Mr8a1jS0us3aXJpps2WwAzkEy+6nZG0PvuxXSi7jZd0Wht7buQL0M1w83u3tLLu1BaDWdo+fhKe/DYW+Q0ENSashGza37AypuzlkX8UqhEZFCJ81E9UV/RdF8q3lF3iPvBsSdrMSTi+ITnE3M+M+qX/0YCKY08VCS6sw1yzvoS3IvyNXycYbsWlNVDHv6Iz0O/QhU1IItrasfCv5G7pC7GuQFBU0NTdMJnIriSbYzYI/FdE2r0GWYmcwPu2IckQ1CN+pP5OyqH3DOGN12rmEt9Qy03SbO6zYELQS6mxROitpfRHjZzGnxIobc+k/O0ygl6aSOxIwTusnp X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(396003)(376002)(39860400002)(366004)(136003)(110136005)(54906003)(38100700002)(38350700002)(186003)(2906002)(36756003)(478600001)(83380400001)(6486002)(66476007)(66556008)(8676002)(4326008)(86362001)(41300700001)(52116002)(26005)(2616005)(316002)(8936002)(6512007)(5660300002)(6506007)(30864003)(66946007)(579004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: R0qZyzkI24HKopNIxbHhposI4wTewd6V19XJ0DHCRg2gzgTTSM+perwJ2LJ/S+7RJ3UHEGepr6UXAKPWESpRiKmCoebzKB9Jdad/8Kz+L3JRlg2iy61xF4dXgVqDBWZPXzY+JLeZcS7pAJFQQH+GsTS1awoXiXfBpQeMhVQIzPTNjxkTXtNtORC3pxw0GSR4+2o8RER90Mx5htNIYlHFxLrYci6mq4VfFQqStgaCiDZn+/brqKBP7VLYrWgWsK9m2Ls9GrdXBaeyJdbahT2GIu8pMe6NLlk4KlJg1zedAihifVlSu0NRJVRmeIaykUA67CITIinvIbhvSelnw5d3DGPUbgWX69j8dIH1pgjea1aIT7bhSO4woU9YLo2aUk83Now+xImDO6RTB0P+xM6h6GmIshKq13oh6xFTdxjwjb9D/cFRjMd/ffqqJBVUJygv6my9uTHjBLKKivTPduEl2COZ6NSBAC+HYyR6MkNvYJpEjip403u1eSuEABbrvlZJcHeSRIF2lTWG0i/NrLAqe6wt6BDBHEqayPsOxY5SOGwE08CdkaWVQPlTh0hjv25/m+6QSN1xH/mumdqzy0TLM6kPuAOVD+RtWXPWIdqEfaciHeTs7seKGqI04U/LdUnu5sfpuCxtz8qmTyKaIuYcMsHsqL+1QwMczAFpSNt9rA3xbM6Kg4MBkzoZJRgPv4RJaJy2KaR7SxSIVq7zFOjVndSWlLODtIpKUMHd9AqY6oAc3v9MR2miPk/PF2MJcJmo/8wwjOe1Hl1xa2+vDDfpQafFXSIe8vsQaKzZNPIOL3kEWbxJ0/bhnxPw469keoZr9p2/6G+diBSzFY/13JTX6Sm2YSfZLzedeDD86GICJu7wEVaTnOEvSvOa/uPSDPR6gwtbmS3k07IRmGWt/ubxD7nV8f24A05rKYA5Z3TJqglGmzUbuRttUqHa7GXxT42khlbMY4wcI58s+mVzmZFqrIa4GH23v9iy91bCe6Ru/SE2jRlH4sz4qm3HzpPBUlvACcxqe1eWFZHm4TTjcrI1ITfGi7BcBdD6ANtfkJOT3OgXxswm8n9SCduN9op+Ri5kZ9TPlEt7x2SEfZtYrMzMXvfCM/Di+VqeJ5Jp2jJgW9wMkbDUaoZC8Nbou6e3nB0aXVkH0GheVbDgBfkdoybD1WKYPcMFd1sopErG1GsVKJA/l3gd+JQ3OsAh7vzGGx3n9sq9uk13vjwFc/P9nTdloqElRqIFxsncM6H2xo2vd4m1YcMqLGNKiEyVdeFNZkaXc9MCrgB5X+n9pv4tG8G0PRiVPogfgKRi1VPJp0j0bGCXmEvkZvoQTtn1+UscVW3omfECh6SpFrmhO60NpZfW66diEzTeY574x0BdiKU/6unpscbWIBKRzO5Blhc/a5/RY6O7ta5BgSCKDj8auxEZyS0zj/cL23yiSgL2POo01A8POd3iNqBOompuvbVvQGZychee791zJFthteRPGpbjBYbLcYZQ98HGPc2hBZAEQH8fKBMsYMlvAn2K3aPfBPSJ+kBsnBe8xMeSYN35J3f3UmqLmOFpYVa49IAYSRuHQ1kFqiw/q6MoSlNDbBwV2VK4y+8MArqQvQ9p1xKbd20DLopA/afDJtwLin23wJu3pdc= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: a719a136-22d8-4c32-3396-08da5b021a34 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:36:21.5287 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KK5hs52CBjk2guqNmO/ksuxrpjV+ygQfxIsOGFaE5lrOoGicMKQ4/7jhpONB66EJFuP/BloiiHKqbOTNN/jiuUG5POHYpSA3mUfs3w2DJHJLzz1izjPdtX1RqyphErlw X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB4567 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Phong Hoang This patch adds SCIF, I2C, EthernetAVB, HSCIF, MMC, QSPI, MSIOF, PWM, CAN-FD, Ethernet-TSN, PCIe pins, groups, and functions [This patch was created based on Rev.0.51 datasheet] [Morimoto merged above patches into one, cleanup white space, sort modules alphabetically, fixup comments] Signed-off-by: Phong Hoang Signed-off-by: Hai Pham Signed-off-by: Thanh Quan Signed-off-by: CongDang Signed-off-by: Kazuya Mizuguch Signed-off-by: Tho Vu Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 1620 +++++++++++++++++++++++- 1 file changed, 1619 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 9ce894f83fc5..93b8810e8533 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -1211,12 +1211,1630 @@ static const struct sh_pfc_pin pinmux_pins[] = { PINMUX_GPIO_GP_ALL(), }; +/* - AVB0 ------------------------------------------------ */ +static const unsigned int avb0_link_pins[] = { + /* AVB0_LINK */ + RCAR_GP_PIN(7, 4), +}; +static const unsigned int avb0_link_mux[] = { + AVB0_LINK_MARK, +}; +static const unsigned int avb0_magic_pins[] = { + /* AVB0_MAGIC */ + RCAR_GP_PIN(7, 10), +}; +static const unsigned int avb0_magic_mux[] = { + AVB0_MAGIC_MARK, +}; +static const unsigned int avb0_phy_int_pins[] = { + /* AVB0_PHY_INT */ + RCAR_GP_PIN(7, 5), +}; +static const unsigned int avb0_phy_int_mux[] = { + AVB0_PHY_INT_MARK, +}; +static const unsigned int avb0_mdio_pins[] = { + /* AVB0_MDC, AVB0_MDIO */ + RCAR_GP_PIN(7, 13), RCAR_GP_PIN(7, 14), +}; +static const unsigned int avb0_mdio_mux[] = { + AVB0_MDC_MARK, AVB0_MDIO_MARK, +}; +static const unsigned int avb0_rgmii_pins[] = { + /* + * AVB0_TX_CTL, AVB0_TXC, AVB0_TD0, AVB0_TD1, AVB0_TD2, AVB0_TD3, + * AVB0_RX_CTL, AVB0_RXC, AVB0_RD0, AVB0_RD1, AVB0_RD2, AVB0_RD3, + */ + RCAR_GP_PIN(7, 16), RCAR_GP_PIN(7, 15), + RCAR_GP_PIN(7, 11), RCAR_GP_PIN(7, 7), + RCAR_GP_PIN(7, 6), RCAR_GP_PIN(7, 3), + RCAR_GP_PIN(7, 20), RCAR_GP_PIN(7, 19), + RCAR_GP_PIN(7, 18), RCAR_GP_PIN(7, 17), + RCAR_GP_PIN(7, 12), RCAR_GP_PIN(7, 8), +}; +static const unsigned int avb0_rgmii_mux[] = { + AVB0_TX_CTL_MARK, AVB0_TXC_MARK, + AVB0_TD0_MARK, AVB0_TD1_MARK, + AVB0_TD2_MARK, AVB0_TD3_MARK, + AVB0_RX_CTL_MARK, AVB0_RXC_MARK, + AVB0_RD0_MARK, AVB0_RD1_MARK, + AVB0_RD2_MARK, AVB0_RD3_MARK, +}; +static const unsigned int avb0_txcrefclk_pins[] = { + /* AVB0_TXCREFCLK */ + RCAR_GP_PIN(7, 9), +}; +static const unsigned int avb0_txcrefclk_mux[] = { + AVB0_TXCREFCLK_MARK, +}; +static const unsigned int avb0_avtp_pps_pins[] = { + /* AVB0_AVTP_PPS */ + RCAR_GP_PIN(7, 0), +}; +static const unsigned int avb0_avtp_pps_mux[] = { + AVB0_AVTP_PPS_MARK, +}; +static const unsigned int avb0_avtp_capture_pins[] = { + /* AVB0_AVTP_CAPTURE */ + RCAR_GP_PIN(7, 1), +}; +static const unsigned int avb0_avtp_capture_mux[] = { + AVB0_AVTP_CAPTURE_MARK, +}; +static const unsigned int avb0_avtp_match_pins[] = { + /* AVB0_AVTP_MATCH */ + RCAR_GP_PIN(7, 2), +}; +static const unsigned int avb0_avtp_match_mux[] = { + AVB0_AVTP_MATCH_MARK, +}; + +/* - AVB1 ------------------------------------------------ */ +static const unsigned int avb1_link_pins[] = { + /* AVB1_LINK */ + RCAR_GP_PIN(6, 4), +}; +static const unsigned int avb1_link_mux[] = { + AVB1_LINK_MARK, +}; +static const unsigned int avb1_magic_pins[] = { + /* AVB1_MAGIC */ + RCAR_GP_PIN(6, 1), +}; +static const unsigned int avb1_magic_mux[] = { + AVB1_MAGIC_MARK, +}; +static const unsigned int avb1_phy_int_pins[] = { + /* AVB1_PHY_INT */ + RCAR_GP_PIN(6, 3), +}; +static const unsigned int avb1_phy_int_mux[] = { + AVB1_PHY_INT_MARK, +}; +static const unsigned int avb1_mdio_pins[] = { + /* AVB1_MDC, AVB1_MDIO */ + RCAR_GP_PIN(6, 2), RCAR_GP_PIN(6, 0), +}; +static const unsigned int avb1_mdio_mux[] = { + AVB1_MDC_MARK, AVB1_MDIO_MARK, +}; +static const unsigned int avb1_rgmii_pins[] = { + /* + * AVB1_TX_CTL, AVB1_TXC, AVB1_TD0, AVB1_TD1, AVB1_TD2, AVB1_TD3, + * AVB1_RX_CTL, AVB1_RXC, AVB1_RD0, AVB1_RD1, AVB1_RD2, AVB1_RD3, + */ + RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6), + RCAR_GP_PIN(6, 13), RCAR_GP_PIN(6, 12), + RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 18), + RCAR_GP_PIN(6, 9), RCAR_GP_PIN(6, 8), + RCAR_GP_PIN(6, 15), RCAR_GP_PIN(6, 14), + RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 19), +}; +static const unsigned int avb1_rgmii_mux[] = { + AVB1_TX_CTL_MARK, AVB1_TXC_MARK, + AVB1_TD0_MARK, AVB1_TD1_MARK, + AVB1_TD2_MARK, AVB1_TD3_MARK, + AVB1_RX_CTL_MARK, AVB1_RXC_MARK, + AVB1_RD0_MARK, AVB1_RD1_MARK, + AVB1_RD2_MARK, AVB1_RD3_MARK, +}; +static const unsigned int avb1_txcrefclk_pins[] = { + /* AVB1_TXCREFCLK */ + RCAR_GP_PIN(6, 20), +}; +static const unsigned int avb1_txcrefclk_mux[] = { + AVB1_TXCREFCLK_MARK, +}; +static const unsigned int avb1_avtp_pps_pins[] = { + /* AVB1_AVTP_PPS */ + RCAR_GP_PIN(6, 10), +}; +static const unsigned int avb1_avtp_pps_mux[] = { + AVB1_AVTP_PPS_MARK, +}; +static const unsigned int avb1_avtp_capture_pins[] = { + /* AVB1_AVTP_CAPTURE */ + RCAR_GP_PIN(6, 11), +}; +static const unsigned int avb1_avtp_capture_mux[] = { + AVB1_AVTP_CAPTURE_MARK, +}; +static const unsigned int avb1_avtp_match_pins[] = { + /* AVB1_AVTP_MATCH */ + RCAR_GP_PIN(6, 5), +}; +static const unsigned int avb1_avtp_match_mux[] = { + AVB1_AVTP_MATCH_MARK, +}; + +/* - AVB2 ------------------------------------------------ */ +static const unsigned int avb2_link_pins[] = { + /* AVB2_LINK */ + RCAR_GP_PIN(5, 3), +}; +static const unsigned int avb2_link_mux[] = { + AVB2_LINK_MARK, +}; +static const unsigned int avb2_magic_pins[] = { + /* AVB2_MAGIC */ + RCAR_GP_PIN(5, 5), +}; +static const unsigned int avb2_magic_mux[] = { + AVB2_MAGIC_MARK, +}; +static const unsigned int avb2_phy_int_pins[] = { + /* AVB2_PHY_INT */ + RCAR_GP_PIN(5, 4), +}; +static const unsigned int avb2_phy_int_mux[] = { + AVB2_PHY_INT_MARK, +}; +static const unsigned int avb2_mdio_pins[] = { + /* AVB2_MDC, AVB2_MDIO */ + RCAR_GP_PIN(5, 6), RCAR_GP_PIN(5, 10), +}; +static const unsigned int avb2_mdio_mux[] = { + AVB2_MDC_MARK, AVB2_MDIO_MARK, +}; +static const unsigned int avb2_rgmii_pins[] = { + /* + * AVB2_TX_CTL, AVB2_TXC, AVB2_TD0, AVB2_TD1, AVB2_TD2, AVB2_TD3, + * AVB2_RX_CTL, AVB2_RXC, AVB2_RD0, AVB2_RD1, AVB2_RD2, AVB2_RD3, + */ + RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 16), + RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 12), + RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 8), + RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 18), + RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 14), + RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 9), +}; +static const unsigned int avb2_rgmii_mux[] = { + AVB2_TX_CTL_MARK, AVB2_TXC_MARK, + AVB2_TD0_MARK, AVB2_TD1_MARK, + AVB2_TD2_MARK, AVB2_TD3_MARK, + AVB2_RX_CTL_MARK, AVB2_RXC_MARK, + AVB2_RD0_MARK, AVB2_RD1_MARK, + AVB2_RD2_MARK, AVB2_RD3_MARK, +}; +static const unsigned int avb2_txcrefclk_pins[] = { + /* AVB2_TXCREFCLK */ + RCAR_GP_PIN(5, 7), +}; +static const unsigned int avb2_txcrefclk_mux[] = { + AVB2_TXCREFCLK_MARK, +}; +static const unsigned int avb2_avtp_pps_pins[] = { + /* AVB2_AVTP_PPS */ + RCAR_GP_PIN(5, 0), +}; +static const unsigned int avb2_avtp_pps_mux[] = { + AVB2_AVTP_PPS_MARK, +}; +static const unsigned int avb2_avtp_capture_pins[] = { + /* AVB2_AVTP_CAPTURE */ + RCAR_GP_PIN(5, 1), +}; +static const unsigned int avb2_avtp_capture_mux[] = { + AVB2_AVTP_CAPTURE_MARK, +}; +static const unsigned int avb2_avtp_match_pins[] = { + /* AVB2_AVTP_MATCH */ + RCAR_GP_PIN(5, 2), +}; +static const unsigned int avb2_avtp_match_mux[] = { + AVB2_AVTP_MATCH_MARK, +}; + +/* - CANFD0 ----------------------------------------------------------------- */ +static const unsigned int canfd0_data_pins[] = { + /* CANFD0_TX, CANFD0_RX */ + RCAR_GP_PIN(2, 10), RCAR_GP_PIN(2, 11), +}; +static const unsigned int canfd0_data_mux[] = { + CANFD0_TX_MARK, CANFD0_RX_MARK, +}; + +/* - CANFD1 ----------------------------------------------------------------- */ +static const unsigned int canfd1_data_pins[] = { + /* CANFD1_TX, CANFD1_RX */ + RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1), +}; +static const unsigned int canfd1_data_mux[] = { + CANFD1_TX_MARK, CANFD1_RX_MARK, +}; + +/* - CANFD2 ----------------------------------------------------------------- */ +static const unsigned int canfd2_data_pins[] = { + /* CANFD2_TX, CANFD2_RX */ + RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 13), +}; +static const unsigned int canfd2_data_mux[] = { + CANFD2_TX_MARK, CANFD2_RX_MARK, +}; + +/* - CANFD3 ----------------------------------------------------------------- */ +static const unsigned int canfd3_data_pins[] = { + /* CANFD3_TX, CANFD3_RX */ + RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 15), +}; +static const unsigned int canfd3_data_mux[] = { + CANFD3_TX_MARK, CANFD3_RX_MARK, +}; + +/* - CANFD4 ----------------------------------------------------------------- */ +static const unsigned int canfd4_data_pins[] = { + /* CANFD4_TX, CANFD4_RX */ + RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 17), +}; +static const unsigned int canfd4_data_mux[] = { + CANFD4_TX_MARK, CANFD4_RX_MARK, +}; + +/* - CANFD5 ----------------------------------------------------------------- */ +static const unsigned int canfd5_data_pins[] = { + /* CANFD5_TX, CANFD5_RX */ + RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3), +}; +static const unsigned int canfd5_data_mux[] = { + CANFD5_TX_MARK, CANFD5_RX_MARK, +}; + +/* - CANFD6 ----------------------------------------------------------------- */ +static const unsigned int canfd6_data_pins[] = { + /* CANFD6_TX, CANFD6_RX */ + RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8), +}; +static const unsigned int canfd6_data_mux[] = { + CANFD6_TX_MARK, CANFD6_RX_MARK, +}; + +/* - CANFD7 ----------------------------------------------------------------- */ +static const unsigned int canfd7_data_pins[] = { + /* CANFD7_TX, CANFD7_RX */ + RCAR_GP_PIN(2, 18), RCAR_GP_PIN(2, 19), +}; +static const unsigned int canfd7_data_mux[] = { + CANFD7_TX_MARK, CANFD7_RX_MARK, +}; + +/* - CANFD Clock ------------------------------------------------------------ */ +static const unsigned int can_clk_pins[] = { + /* CAN_CLK */ + RCAR_GP_PIN(2, 9), +}; +static const unsigned int can_clk_mux[] = { + CAN_CLK_MARK, +}; + +/* - HSCIF0 ----------------------------------------------------------------- */ +static const unsigned int hscif0_data_pins[] = { + /* HRX0, HTX0 */ + RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 12), +}; +static const unsigned int hscif0_data_mux[] = { + HRX0_MARK, HTX0_MARK, +}; +static const unsigned int hscif0_clk_pins[] = { + /* HSCK0 */ + RCAR_GP_PIN(1, 15), +}; +static const unsigned int hscif0_clk_mux[] = { + HSCK0_MARK, +}; +static const unsigned int hscif0_ctrl_pins[] = { + /* HRTS0_N, HCTS0_N */ + RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 13), +}; +static const unsigned int hscif0_ctrl_mux[] = { + HRTS0_N_MARK, HCTS0_N_MARK, +}; + +/* - HSCIF1 ----------------------------------------------------------------- */ +static const unsigned int hscif1_data_pins[] = { + /* HRX1, HTX1 */ + RCAR_GP_PIN(0, 15), RCAR_GP_PIN(0, 14), +}; +static const unsigned int hscif1_data_mux[] = { + HRX1_MARK, HTX1_MARK, +}; +static const unsigned int hscif1_clk_pins[] = { + /* HSCK1 */ + RCAR_GP_PIN(0, 18), +}; +static const unsigned int hscif1_clk_mux[] = { + HSCK1_MARK, +}; +static const unsigned int hscif1_ctrl_pins[] = { + /* HRTS1_N, HCTS1_N */ + RCAR_GP_PIN(0, 17), RCAR_GP_PIN(0, 16), +}; +static const unsigned int hscif1_ctrl_mux[] = { + HRTS1_N_MARK, HCTS1_N_MARK, +}; + +/* - HSCIF2 ----------------------------------------------------------------- */ +static const unsigned int hscif2_data_pins[] = { + /* HRX2, HTX2 */ + RCAR_GP_PIN(8, 8), RCAR_GP_PIN(8, 9), +}; +static const unsigned int hscif2_data_mux[] = { + HRX2_MARK, HTX2_MARK, +}; +static const unsigned int hscif2_clk_pins[] = { + /* HSCK2 */ + RCAR_GP_PIN(8, 13), +}; +static const unsigned int hscif2_clk_mux[] = { + HSCK2_MARK, +}; +static const unsigned int hscif2_ctrl_pins[] = { + /* HRTS2_N, HCTS2_N */ + RCAR_GP_PIN(8, 10), RCAR_GP_PIN(8, 12), +}; +static const unsigned int hscif2_ctrl_mux[] = { + HRTS2_N_MARK, HCTS2_N_MARK, +}; + +/* - HSCIF3 ----------------------------------------------------------------- */ +static const unsigned int hscif3_data_pins[] = { + /* HRX3, HTX3 */ + RCAR_GP_PIN(1, 24), RCAR_GP_PIN(1, 28), +}; +static const unsigned int hscif3_data_mux[] = { + HRX3_MARK, HTX3_MARK, +}; +static const unsigned int hscif3_clk_pins[] = { + /* HSCK3 */ + RCAR_GP_PIN(1, 25), +}; +static const unsigned int hscif3_clk_mux[] = { + HSCK3_MARK, +}; +static const unsigned int hscif3_ctrl_pins[] = { + /* HRTS3_N, HCTS3_N */ + RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 27), +}; +static const unsigned int hscif3_ctrl_mux[] = { + HRTS3_N_MARK, HCTS3_N_MARK, +}; + +/* - I2C0 ------------------------------------------------------------------- */ +static const unsigned int i2c0_pins[] = { + /* SDA0, SCL0 */ + RCAR_GP_PIN(8, 1), RCAR_GP_PIN(8, 0), +}; +static const unsigned int i2c0_mux[] = { + SDA0_MARK, SCL0_MARK, +}; + +/* - I2C1 ------------------------------------------------------------------- */ +static const unsigned int i2c1_pins[] = { + /* SDA1, SCL1 */ + RCAR_GP_PIN(8, 3), RCAR_GP_PIN(8, 2), +}; +static const unsigned int i2c1_mux[] = { + SDA1_MARK, SCL1_MARK, +}; + +/* - I2C2 ------------------------------------------------------------------- */ +static const unsigned int i2c2_pins[] = { + /* SDA2, SCL2 */ + RCAR_GP_PIN(8, 5), RCAR_GP_PIN(8, 4), +}; +static const unsigned int i2c2_mux[] = { + SDA2_MARK, SCL2_MARK, +}; + +/* - I2C3 ------------------------------------------------------------------- */ +static const unsigned int i2c3_pins[] = { + /* SDA3, SCL3 */ + RCAR_GP_PIN(8, 7), RCAR_GP_PIN(8, 6), +}; +static const unsigned int i2c3_mux[] = { + SDA3_MARK, SCL3_MARK, +}; + +/* - I2C4 ------------------------------------------------------------------- */ +static const unsigned int i2c4_pins[] = { + /* SDA4, SCL4 */ + RCAR_GP_PIN(8, 9), RCAR_GP_PIN(8, 8), +}; +static const unsigned int i2c4_mux[] = { + SDA4_MARK, SCL4_MARK, +}; + +/* - I2C5 ------------------------------------------------------------------- */ +static const unsigned int i2c5_pins[] = { + /* SDA5, SCL5 */ + RCAR_GP_PIN(8, 11), RCAR_GP_PIN(8, 10), +}; +static const unsigned int i2c5_mux[] = { + SDA5_MARK, SCL5_MARK, +}; + +/* - MMC -------------------------------------------------------------------- */ +static const unsigned int mmc_data_pins[] = { + /* MMC_SD_D[0:3], MMC_D[4:7] */ + RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0), + RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 5), + RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 6), + RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8), +}; +static const unsigned int mmc_data_mux[] = { + MMC_SD_D0_MARK, MMC_SD_D1_MARK, + MMC_SD_D2_MARK, MMC_SD_D3_MARK, + MMC_D4_MARK, MMC_D5_MARK, + MMC_D6_MARK, MMC_D7_MARK, +}; +static const unsigned int mmc_ctrl_pins[] = { + /* MMC_SD_CLK, MMC_SD_CMD */ + RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 10), +}; +static const unsigned int mmc_ctrl_mux[] = { + MMC_SD_CLK_MARK, MMC_SD_CMD_MARK, +}; +static const unsigned int mmc_cd_pins[] = { + /* SD_CD */ + RCAR_GP_PIN(3, 11), +}; +static const unsigned int mmc_cd_mux[] = { + SD_CD_MARK, +}; +static const unsigned int mmc_wp_pins[] = { + /* SD_WP */ + RCAR_GP_PIN(3, 12), +}; +static const unsigned int mmc_wp_mux[] = { + SD_WP_MARK, +}; +static const unsigned int mmc_ds_pins[] = { + /* MMC_DS */ + RCAR_GP_PIN(3, 4), +}; +static const unsigned int mmc_ds_mux[] = { + MMC_DS_MARK, +}; + +/* - MSIOF0 ----------------------------------------------------------------- */ +static const unsigned int msiof0_clk_pins[] = { + /* MSIOF0_SCK */ + RCAR_GP_PIN(1, 10), +}; +static const unsigned int msiof0_clk_mux[] = { + MSIOF0_SCK_MARK, +}; +static const unsigned int msiof0_sync_pins[] = { + /* MSIOF0_SYNC */ + RCAR_GP_PIN(1, 8), +}; +static const unsigned int msiof0_sync_mux[] = { + MSIOF0_SYNC_MARK, +}; +static const unsigned int msiof0_ss1_pins[] = { + /* MSIOF0_SS1 */ + RCAR_GP_PIN(1, 7), +}; +static const unsigned int msiof0_ss1_mux[] = { + MSIOF0_SS1_MARK, +}; +static const unsigned int msiof0_ss2_pins[] = { + /* MSIOF0_SS2 */ + RCAR_GP_PIN(1, 6), +}; +static const unsigned int msiof0_ss2_mux[] = { + MSIOF0_SS2_MARK, +}; +static const unsigned int msiof0_txd_pins[] = { + /* MSIOF0_TXD */ + RCAR_GP_PIN(1, 9), +}; +static const unsigned int msiof0_txd_mux[] = { + MSIOF0_TXD_MARK, +}; +static const unsigned int msiof0_rxd_pins[] = { + /* MSIOF0_RXD */ + RCAR_GP_PIN(1, 11), +}; +static const unsigned int msiof0_rxd_mux[] = { + MSIOF0_RXD_MARK, +}; + +/* - MSIOF1 ----------------------------------------------------------------- */ +static const unsigned int msiof1_clk_pins[] = { + /* MSIOF1_SCK */ + RCAR_GP_PIN(1, 3), +}; +static const unsigned int msiof1_clk_mux[] = { + MSIOF1_SCK_MARK, +}; +static const unsigned int msiof1_sync_pins[] = { + /* MSIOF1_SYNC */ + RCAR_GP_PIN(1, 2), +}; +static const unsigned int msiof1_sync_mux[] = { + MSIOF1_SYNC_MARK, +}; +static const unsigned int msiof1_ss1_pins[] = { + /* MSIOF1_SS1 */ + RCAR_GP_PIN(1, 1), +}; +static const unsigned int msiof1_ss1_mux[] = { + MSIOF1_SS1_MARK, +}; +static const unsigned int msiof1_ss2_pins[] = { + /* MSIOF1_SS2 */ + RCAR_GP_PIN(1, 0), +}; +static const unsigned int msiof1_ss2_mux[] = { + MSIOF1_SS2_MARK, +}; +static const unsigned int msiof1_txd_pins[] = { + /* MSIOF1_TXD */ + RCAR_GP_PIN(1, 4), +}; +static const unsigned int msiof1_txd_mux[] = { + MSIOF1_TXD_MARK, +}; +static const unsigned int msiof1_rxd_pins[] = { + /* MSIOF1_RXD */ + RCAR_GP_PIN(1, 5), +}; +static const unsigned int msiof1_rxd_mux[] = { + MSIOF1_RXD_MARK, +}; + +/* - MSIOF2 ----------------------------------------------------------------- */ +static const unsigned int msiof2_clk_pins[] = { + /* MSIOF2_SCK */ + RCAR_GP_PIN(0, 17), +}; +static const unsigned int msiof2_clk_mux[] = { + MSIOF2_SCK_MARK, +}; +static const unsigned int msiof2_sync_pins[] = { + /* MSIOF2_SYNC */ + RCAR_GP_PIN(0, 15), +}; +static const unsigned int msiof2_sync_mux[] = { + MSIOF2_SYNC_MARK, +}; +static const unsigned int msiof2_ss1_pins[] = { + /* MSIOF2_SS1 */ + RCAR_GP_PIN(0, 14), +}; +static const unsigned int msiof2_ss1_mux[] = { + MSIOF2_SS1_MARK, +}; +static const unsigned int msiof2_ss2_pins[] = { + /* MSIOF2_SS2 */ + RCAR_GP_PIN(0, 13), +}; +static const unsigned int msiof2_ss2_mux[] = { + MSIOF2_SS2_MARK, +}; +static const unsigned int msiof2_txd_pins[] = { + /* MSIOF2_TXD */ + RCAR_GP_PIN(0, 16), +}; +static const unsigned int msiof2_txd_mux[] = { + MSIOF2_TXD_MARK, +}; +static const unsigned int msiof2_rxd_pins[] = { + /* MSIOF2_RXD */ + RCAR_GP_PIN(0, 18), +}; +static const unsigned int msiof2_rxd_mux[] = { + MSIOF2_RXD_MARK, +}; + +/* - MSIOF3 ----------------------------------------------------------------- */ +static const unsigned int msiof3_clk_pins[] = { + /* MSIOF3_SCK */ + RCAR_GP_PIN(0, 3), +}; +static const unsigned int msiof3_clk_mux[] = { + MSIOF3_SCK_MARK, +}; +static const unsigned int msiof3_sync_pins[] = { + /* MSIOF3_SYNC */ + RCAR_GP_PIN(0, 6), +}; +static const unsigned int msiof3_sync_mux[] = { + MSIOF3_SYNC_MARK, +}; +static const unsigned int msiof3_ss1_pins[] = { + /* MSIOF3_SS1 */ + RCAR_GP_PIN(0, 1), +}; +static const unsigned int msiof3_ss1_mux[] = { + MSIOF3_SS1_MARK, +}; +static const unsigned int msiof3_ss2_pins[] = { + /* MSIOF3_SS2 */ + RCAR_GP_PIN(0, 2), +}; +static const unsigned int msiof3_ss2_mux[] = { + MSIOF3_SS2_MARK, +}; +static const unsigned int msiof3_txd_pins[] = { + /* MSIOF3_TXD */ + RCAR_GP_PIN(0, 4), +}; +static const unsigned int msiof3_txd_mux[] = { + MSIOF3_TXD_MARK, +}; +static const unsigned int msiof3_rxd_pins[] = { + /* MSIOF3_RXD */ + RCAR_GP_PIN(0, 5), +}; +static const unsigned int msiof3_rxd_mux[] = { + MSIOF3_RXD_MARK, +}; + +/* - MSIOF4 ----------------------------------------------------------------- */ +static const unsigned int msiof4_clk_pins[] = { + /* MSIOF4_SCK */ + RCAR_GP_PIN(1, 25), +}; +static const unsigned int msiof4_clk_mux[] = { + MSIOF4_SCK_MARK, +}; +static const unsigned int msiof4_sync_pins[] = { + /* MSIOF4_SYNC */ + RCAR_GP_PIN(1, 28), +}; +static const unsigned int msiof4_sync_mux[] = { + MSIOF4_SYNC_MARK, +}; +static const unsigned int msiof4_ss1_pins[] = { + /* MSIOF4_SS1 */ + RCAR_GP_PIN(1, 23), +}; +static const unsigned int msiof4_ss1_mux[] = { + MSIOF4_SS1_MARK, +}; +static const unsigned int msiof4_ss2_pins[] = { + /* MSIOF4_SS2 */ + RCAR_GP_PIN(1, 24), +}; +static const unsigned int msiof4_ss2_mux[] = { + MSIOF4_SS2_MARK, +}; +static const unsigned int msiof4_txd_pins[] = { + /* MSIOF4_TXD */ + RCAR_GP_PIN(1, 26), +}; +static const unsigned int msiof4_txd_mux[] = { + MSIOF4_TXD_MARK, +}; +static const unsigned int msiof4_rxd_pins[] = { + /* MSIOF4_RXD */ + RCAR_GP_PIN(1, 27), +}; +static const unsigned int msiof4_rxd_mux[] = { + MSIOF4_RXD_MARK, +}; + +/* - MSIOF5 ----------------------------------------------------------------- */ +static const unsigned int msiof5_clk_pins[] = { + /* MSIOF5_SCK */ + RCAR_GP_PIN(0, 11), +}; +static const unsigned int msiof5_clk_mux[] = { + MSIOF5_SCK_MARK, +}; +static const unsigned int msiof5_sync_pins[] = { + /* MSIOF5_SYNC */ + RCAR_GP_PIN(0, 9), +}; +static const unsigned int msiof5_sync_mux[] = { + MSIOF5_SYNC_MARK, +}; +static const unsigned int msiof5_ss1_pins[] = { + /* MSIOF5_SS1 */ + RCAR_GP_PIN(0, 8), +}; +static const unsigned int msiof5_ss1_mux[] = { + MSIOF5_SS1_MARK, +}; +static const unsigned int msiof5_ss2_pins[] = { + /* MSIOF5_SS2 */ + RCAR_GP_PIN(0, 7), +}; +static const unsigned int msiof5_ss2_mux[] = { + MSIOF5_SS2_MARK, +}; +static const unsigned int msiof5_txd_pins[] = { + /* MSIOF5_TXD */ + RCAR_GP_PIN(0, 10), +}; +static const unsigned int msiof5_txd_mux[] = { + MSIOF5_TXD_MARK, +}; +static const unsigned int msiof5_rxd_pins[] = { + /* MSIOF5_RXD */ + RCAR_GP_PIN(0, 12), +}; +static const unsigned int msiof5_rxd_mux[] = { + MSIOF5_RXD_MARK, +}; + +/* - PCIE ------------------------------------------------------------------- */ +static const unsigned int pcie0_clkreq_n_pins[] = { + /* PCIE0_CLKREQ_N */ + RCAR_GP_PIN(4, 21), +}; + +static const unsigned int pcie0_clkreq_n_mux[] = { + PCIE0_CLKREQ_N_MARK, +}; + +static const unsigned int pcie1_clkreq_n_pins[] = { + /* PCIE1_CLKREQ_N */ + RCAR_GP_PIN(4, 22), +}; + +static const unsigned int pcie1_clkreq_n_mux[] = { + PCIE1_CLKREQ_N_MARK, +}; + +/* - PWM0 ------------------------------------------------------------------- */ +static const unsigned int pwm0_pins[] = { + /* PWM0 */ + RCAR_GP_PIN(1, 15), +}; +static const unsigned int pwm0_mux[] = { + PWM0_MARK, +}; + +/* - PWM1 ------------------------------------------------------------------- */ +static const unsigned int pwm1_pins[] = { + /* PWM1 */ + RCAR_GP_PIN(2, 13), +}; +static const unsigned int pwm1_mux[] = { + PWM1_MARK, +}; + +/* - PWM2 ------------------------------------------------------------------- */ +static const unsigned int pwm2_pins[] = { + /* PWM2 */ + RCAR_GP_PIN(2, 14), +}; +static const unsigned int pwm2_mux[] = { + PWM2_MARK, +}; + +/* - PWM3 ------------------------------------------------------------------- */ +static const unsigned int pwm3_pins[] = { + /* PWM3 */ + RCAR_GP_PIN(1, 22), +}; +static const unsigned int pwm3_mux[] = { + PWM3_MARK, +}; + +/* - PWM4 ------------------------------------------------------------------- */ +static const unsigned int pwm4_pins[] = { + /* PWM4 */ + RCAR_GP_PIN(2, 16), +}; +static const unsigned int pwm4_mux[] = { + PWM4_MARK, +}; + +/* - PWM5 ------------------------------------------------------------------- */ +static const unsigned int pwm5_pins[] = { + /* PWM5 */ + RCAR_GP_PIN(2, 17), +}; +static const unsigned int pwm5_mux[] = { + PWM5_MARK, +}; + +/* - PWM6 ------------------------------------------------------------------- */ +static const unsigned int pwm6_pins[] = { + /* PWM6 */ + RCAR_GP_PIN(2, 18), +}; +static const unsigned int pwm6_mux[] = { + PWM6_MARK, +}; + +/* - PWM7 ------------------------------------------------------------------- */ +static const unsigned int pwm7_pins[] = { + /* PWM7 */ + RCAR_GP_PIN(2, 19), +}; +static const unsigned int pwm7_mux[] = { + PWM7_MARK, +}; + +/* - PWM8 ------------------------------------------------------------------- */ +static const unsigned int pwm8_pins[] = { + /* PWM8 */ + RCAR_GP_PIN(1, 13), +}; +static const unsigned int pwm8_mux[] = { + PWM8_MARK, +}; + +/* - PWM9 ------------------------------------------------------------------- */ +static const unsigned int pwm9_pins[] = { + /* PWM9 */ + RCAR_GP_PIN(1, 14), +}; +static const unsigned int pwm9_mux[] = { + PWM9_MARK, +}; + +/* - QSPI0 ------------------------------------------------------------------ */ +static const unsigned int qspi0_ctrl_pins[] = { + /* SPCLK, SSL */ + RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 15), +}; +static const unsigned int qspi0_ctrl_mux[] = { + QSPI0_SPCLK_MARK, QSPI0_SSL_MARK, +}; +static const unsigned int qspi0_data_pins[] = { + /* MOSI_IO0, MISO_IO1, IO2, IO3 */ + RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 18), + RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16), +}; +static const unsigned int qspi0_data_mux[] = { + QSPI0_MOSI_IO0_MARK, QSPI0_MISO_IO1_MARK, + QSPI0_IO2_MARK, QSPI0_IO3_MARK +}; + +/* - QSPI1 ------------------------------------------------------------------ */ +static const unsigned int qspi1_ctrl_pins[] = { + /* SPCLK, SSL */ + RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 25), +}; +static const unsigned int qspi1_ctrl_mux[] = { + QSPI1_SPCLK_MARK, QSPI1_SSL_MARK, +}; +static const unsigned int qspi1_data_pins[] = { + /* MOSI_IO0, MISO_IO1, IO2, IO3 */ + RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 23), + RCAR_GP_PIN(3, 24), RCAR_GP_PIN(3, 26), +}; +static const unsigned int qspi1_data_mux[] = { + QSPI1_MOSI_IO0_MARK, QSPI1_MISO_IO1_MARK, + QSPI1_IO2_MARK, QSPI1_IO3_MARK +}; + +/* - SCIF0 ------------------------------------------------------------------ */ +static const unsigned int scif0_data_pins[] = { + /* RX0, TX0 */ + RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 12), +}; +static const unsigned int scif0_data_mux[] = { + RX0_MARK, TX0_MARK, +}; +static const unsigned int scif0_clk_pins[] = { + /* SCK0 */ + RCAR_GP_PIN(1, 15), +}; +static const unsigned int scif0_clk_mux[] = { + SCK0_MARK, +}; +static const unsigned int scif0_ctrl_pins[] = { + /* RTS0_N, CTS0_N */ + RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 13), +}; +static const unsigned int scif0_ctrl_mux[] = { + RTS0_N_MARK, CTS0_N_MARK, +}; + +/* - SCIF1 ------------------------------------------------------------------ */ +static const unsigned int scif1_data_pins[] = { + /* RX1, TX1 */ + RCAR_GP_PIN(0, 15), RCAR_GP_PIN(0, 14), +}; +static const unsigned int scif1_data_mux[] = { + RX1_MARK, TX1_MARK, +}; +static const unsigned int scif1_clk_pins[] = { + /* SCK1 */ + RCAR_GP_PIN(0, 18), +}; +static const unsigned int scif1_clk_mux[] = { + SCK1_MARK, +}; +static const unsigned int scif1_ctrl_pins[] = { + /* RTS1_N, CTS1_N */ + RCAR_GP_PIN(0, 17), RCAR_GP_PIN(0, 16), +}; +static const unsigned int scif1_ctrl_mux[] = { + RTS1_N_MARK, CTS1_N_MARK, +}; + +/* - SCIF3 ------------------------------------------------------------------ */ +static const unsigned int scif3_data_pins[] = { + /* RX3, TX3 */ + RCAR_GP_PIN(1, 1), RCAR_GP_PIN(1, 0), +}; +static const unsigned int scif3_data_mux[] = { + RX3_MARK, TX3_MARK, +}; +static const unsigned int scif3_clk_pins[] = { + /* SCK3 */ + RCAR_GP_PIN(1, 4), +}; +static const unsigned int scif3_clk_mux[] = { + SCK3_MARK, +}; +static const unsigned int scif3_ctrl_pins[] = { + /* RTS3_N, CTS3_N */ + RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), +}; +static const unsigned int scif3_ctrl_mux[] = { + RTS3_N_MARK, CTS3_N_MARK, +}; + +/* - SCIF4 ------------------------------------------------------------------ */ +static const unsigned int scif4_data_pins[] = { + /* RX4, TX4 */ + RCAR_GP_PIN(8, 13), RCAR_GP_PIN(8, 12), +}; +static const unsigned int scif4_data_mux[] = { + RX4_MARK, TX4_MARK, +}; +static const unsigned int scif4_clk_pins[] = { + /* SCK4 */ + RCAR_GP_PIN(8, 8), +}; +static const unsigned int scif4_clk_mux[] = { + SCK4_MARK, +}; +static const unsigned int scif4_ctrl_pins[] = { + /* RTS4_N, CTS4_N */ + RCAR_GP_PIN(8, 10), RCAR_GP_PIN(8, 9), +}; +static const unsigned int scif4_ctrl_mux[] = { + RTS4_N_MARK, CTS4_N_MARK, +}; + +/* - SCIF Clock ------------------------------------------------------------- */ +static const unsigned int scif_clk_pins[] = { + /* SCIF_CLK */ + RCAR_GP_PIN(1, 17), +}; +static const unsigned int scif_clk_mux[] = { + SCIF_CLK_MARK, +}; + +/* - TPU ------------------------------------------------------------------- */ +static const unsigned int tpu_to0_pins[] = { + /* TPU0TO0 */ + RCAR_GP_PIN(2, 8), +}; +static const unsigned int tpu_to0_mux[] = { + TPU0TO0_MARK, +}; +static const unsigned int tpu_to1_pins[] = { + /* TPU0TO1 */ + RCAR_GP_PIN(2, 7), +}; +static const unsigned int tpu_to1_mux[] = { + TPU0TO1_MARK, +}; +static const unsigned int tpu_to2_pins[] = { + /* TPU0TO2 */ + RCAR_GP_PIN(2, 12), +}; +static const unsigned int tpu_to2_mux[] = { + TPU0TO2_MARK, +}; +static const unsigned int tpu_to3_pins[] = { + /* TPU0TO3 */ + RCAR_GP_PIN(2, 13), +}; +static const unsigned int tpu_to3_mux[] = { + TPU0TO3_MARK, +}; + +/* - TSN0 ------------------------------------------------ */ +static const unsigned int tsn0_link_pins[] = { + /* TSN0_LINK */ + RCAR_GP_PIN(4, 4), +}; +static const unsigned int tsn0_link_mux[] = { + TSN0_LINK_MARK, +}; +static const unsigned int tsn0_phy_int_pins[] = { + /* TSN0_PHY_INT */ + RCAR_GP_PIN(4, 3), +}; +static const unsigned int tsn0_phy_int_mux[] = { + TSN0_PHY_INT_MARK, +}; +static const unsigned int tsn0_mdio_pins[] = { + /* TSN0_MDC, TSN0_MDIO */ + RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 0), +}; +static const unsigned int tsn0_mdio_mux[] = { + TSN0_MDC_MARK, TSN0_MDIO_MARK, +}; +static const unsigned int tsn0_rgmii_pins[] = { + /* + * TSN0_TX_CTL, TSN0_TXC, TSN0_TD0, TSN0_TD1, TSN0_TD2, TSN0_TD3, + * TSN0_RX_CTL, TSN0_RXC, TSN0_RD0, TSN0_RD1, TSN0_RD2, TSN0_RD3, + */ + RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 12), + RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 14), + RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 18), + RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 11), + RCAR_GP_PIN(4, 10), RCAR_GP_PIN(4, 13), + RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 16), +}; +static const unsigned int tsn0_rgmii_mux[] = { + TSN0_TX_CTL_MARK, TSN0_TXC_MARK, + TSN0_TD0_MARK, TSN0_TD1_MARK, + TSN0_TD2_MARK, TSN0_TD3_MARK, + TSN0_RX_CTL_MARK, TSN0_RXC_MARK, + TSN0_RD0_MARK, TSN0_RD1_MARK, + TSN0_RD2_MARK, TSN0_RD3_MARK, +}; +static const unsigned int tsn0_txcrefclk_pins[] = { + /* TSN0_TXCREFCLK */ + RCAR_GP_PIN(4, 20), +}; +static const unsigned int tsn0_txcrefclk_mux[] = { + TSN0_TXCREFCLK_MARK, +}; +static const unsigned int tsn0_avtp_pps_pins[] = { + /* TSN0_AVTP_PPS0, TSN0_AVTP_PPS1 */ + RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 2), +}; +static const unsigned int tsn0_avtp_pps_mux[] = { + TSN0_AVTP_PPS0_MARK, TSN0_AVTP_PPS1_MARK, +}; +static const unsigned int tsn0_avtp_capture_pins[] = { + /* TSN0_AVTP_CAPTURE */ + RCAR_GP_PIN(4, 6), +}; +static const unsigned int tsn0_avtp_capture_mux[] = { + TSN0_AVTP_CAPTURE_MARK, +}; +static const unsigned int tsn0_avtp_match_pins[] = { + /* TSN0_AVTP_MATCH */ + RCAR_GP_PIN(4, 5), +}; +static const unsigned int tsn0_avtp_match_mux[] = { + TSN0_AVTP_MATCH_MARK, +}; + static const struct sh_pfc_pin_group pinmux_groups[] = { + SH_PFC_PIN_GROUP(avb0_link), + SH_PFC_PIN_GROUP(avb0_magic), + SH_PFC_PIN_GROUP(avb0_phy_int), + SH_PFC_PIN_GROUP(avb0_mdio), + SH_PFC_PIN_GROUP(avb0_rgmii), + SH_PFC_PIN_GROUP(avb0_txcrefclk), + SH_PFC_PIN_GROUP(avb0_avtp_pps), + SH_PFC_PIN_GROUP(avb0_avtp_capture), + SH_PFC_PIN_GROUP(avb0_avtp_match), + + SH_PFC_PIN_GROUP(avb1_link), + SH_PFC_PIN_GROUP(avb1_magic), + SH_PFC_PIN_GROUP(avb1_phy_int), + SH_PFC_PIN_GROUP(avb1_mdio), + SH_PFC_PIN_GROUP(avb1_rgmii), + SH_PFC_PIN_GROUP(avb1_txcrefclk), + SH_PFC_PIN_GROUP(avb1_avtp_pps), + SH_PFC_PIN_GROUP(avb1_avtp_capture), + SH_PFC_PIN_GROUP(avb1_avtp_match), + + SH_PFC_PIN_GROUP(avb2_link), + SH_PFC_PIN_GROUP(avb2_magic), + SH_PFC_PIN_GROUP(avb2_phy_int), + SH_PFC_PIN_GROUP(avb2_mdio), + SH_PFC_PIN_GROUP(avb2_rgmii), + SH_PFC_PIN_GROUP(avb2_txcrefclk), + SH_PFC_PIN_GROUP(avb2_avtp_pps), + SH_PFC_PIN_GROUP(avb2_avtp_capture), + SH_PFC_PIN_GROUP(avb2_avtp_match), + + SH_PFC_PIN_GROUP(canfd0_data), + SH_PFC_PIN_GROUP(canfd1_data), + SH_PFC_PIN_GROUP(canfd2_data), + SH_PFC_PIN_GROUP(canfd3_data), + SH_PFC_PIN_GROUP(canfd4_data), + SH_PFC_PIN_GROUP(canfd5_data), + SH_PFC_PIN_GROUP(canfd6_data), + SH_PFC_PIN_GROUP(canfd7_data), + SH_PFC_PIN_GROUP(can_clk), + + SH_PFC_PIN_GROUP(hscif0_data), + SH_PFC_PIN_GROUP(hscif0_clk), + SH_PFC_PIN_GROUP(hscif0_ctrl), + SH_PFC_PIN_GROUP(hscif1_data), + SH_PFC_PIN_GROUP(hscif1_clk), + SH_PFC_PIN_GROUP(hscif1_ctrl), + SH_PFC_PIN_GROUP(hscif2_data), + SH_PFC_PIN_GROUP(hscif2_clk), + SH_PFC_PIN_GROUP(hscif2_ctrl), + SH_PFC_PIN_GROUP(hscif3_data), + SH_PFC_PIN_GROUP(hscif3_clk), + SH_PFC_PIN_GROUP(hscif3_ctrl), + + SH_PFC_PIN_GROUP(i2c0), + SH_PFC_PIN_GROUP(i2c1), + SH_PFC_PIN_GROUP(i2c2), + SH_PFC_PIN_GROUP(i2c3), + SH_PFC_PIN_GROUP(i2c4), + SH_PFC_PIN_GROUP(i2c5), + + BUS_DATA_PIN_GROUP(mmc_data, 1), + BUS_DATA_PIN_GROUP(mmc_data, 4), + BUS_DATA_PIN_GROUP(mmc_data, 8), + SH_PFC_PIN_GROUP(mmc_ctrl), + SH_PFC_PIN_GROUP(mmc_cd), + SH_PFC_PIN_GROUP(mmc_wp), + SH_PFC_PIN_GROUP(mmc_ds), + + SH_PFC_PIN_GROUP(msiof0_clk), + SH_PFC_PIN_GROUP(msiof0_sync), + SH_PFC_PIN_GROUP(msiof0_ss1), + SH_PFC_PIN_GROUP(msiof0_ss2), + SH_PFC_PIN_GROUP(msiof0_txd), + SH_PFC_PIN_GROUP(msiof0_rxd), + + SH_PFC_PIN_GROUP(msiof1_clk), + SH_PFC_PIN_GROUP(msiof1_sync), + SH_PFC_PIN_GROUP(msiof1_ss1), + SH_PFC_PIN_GROUP(msiof1_ss2), + SH_PFC_PIN_GROUP(msiof1_txd), + SH_PFC_PIN_GROUP(msiof1_rxd), + + SH_PFC_PIN_GROUP(msiof2_clk), + SH_PFC_PIN_GROUP(msiof2_sync), + SH_PFC_PIN_GROUP(msiof2_ss1), + SH_PFC_PIN_GROUP(msiof2_ss2), + SH_PFC_PIN_GROUP(msiof2_txd), + SH_PFC_PIN_GROUP(msiof2_rxd), + + SH_PFC_PIN_GROUP(msiof3_clk), + SH_PFC_PIN_GROUP(msiof3_sync), + SH_PFC_PIN_GROUP(msiof3_ss1), + SH_PFC_PIN_GROUP(msiof3_ss2), + SH_PFC_PIN_GROUP(msiof3_txd), + SH_PFC_PIN_GROUP(msiof3_rxd), + + SH_PFC_PIN_GROUP(msiof4_clk), + SH_PFC_PIN_GROUP(msiof4_sync), + SH_PFC_PIN_GROUP(msiof4_ss1), + SH_PFC_PIN_GROUP(msiof4_ss2), + SH_PFC_PIN_GROUP(msiof4_txd), + SH_PFC_PIN_GROUP(msiof4_rxd), + + SH_PFC_PIN_GROUP(msiof5_clk), + SH_PFC_PIN_GROUP(msiof5_sync), + SH_PFC_PIN_GROUP(msiof5_ss1), + SH_PFC_PIN_GROUP(msiof5_ss2), + SH_PFC_PIN_GROUP(msiof5_txd), + SH_PFC_PIN_GROUP(msiof5_rxd), + + SH_PFC_PIN_GROUP(pcie0_clkreq_n), + SH_PFC_PIN_GROUP(pcie1_clkreq_n), + + SH_PFC_PIN_GROUP(pwm0), + SH_PFC_PIN_GROUP(pwm1), + SH_PFC_PIN_GROUP(pwm2), + SH_PFC_PIN_GROUP(pwm3), + SH_PFC_PIN_GROUP(pwm4), + SH_PFC_PIN_GROUP(pwm5), + SH_PFC_PIN_GROUP(pwm6), + SH_PFC_PIN_GROUP(pwm7), + SH_PFC_PIN_GROUP(pwm8), + SH_PFC_PIN_GROUP(pwm9), + + SH_PFC_PIN_GROUP(qspi0_ctrl), + BUS_DATA_PIN_GROUP(qspi0_data, 2), + BUS_DATA_PIN_GROUP(qspi0_data, 4), + SH_PFC_PIN_GROUP(qspi1_ctrl), + BUS_DATA_PIN_GROUP(qspi1_data, 2), + BUS_DATA_PIN_GROUP(qspi1_data, 4), + + SH_PFC_PIN_GROUP(scif0_data), + SH_PFC_PIN_GROUP(scif0_clk), + SH_PFC_PIN_GROUP(scif0_ctrl), + SH_PFC_PIN_GROUP(scif1_data), + SH_PFC_PIN_GROUP(scif1_clk), + SH_PFC_PIN_GROUP(scif1_ctrl), + SH_PFC_PIN_GROUP(scif3_data), + SH_PFC_PIN_GROUP(scif3_clk), + SH_PFC_PIN_GROUP(scif3_ctrl), + SH_PFC_PIN_GROUP(scif4_data), + SH_PFC_PIN_GROUP(scif4_clk), + SH_PFC_PIN_GROUP(scif4_ctrl), + SH_PFC_PIN_GROUP(scif_clk), + + SH_PFC_PIN_GROUP(tpu_to0), + SH_PFC_PIN_GROUP(tpu_to1), + SH_PFC_PIN_GROUP(tpu_to2), + SH_PFC_PIN_GROUP(tpu_to3), + + SH_PFC_PIN_GROUP(tsn0_link), + SH_PFC_PIN_GROUP(tsn0_phy_int), + SH_PFC_PIN_GROUP(tsn0_mdio), + SH_PFC_PIN_GROUP(tsn0_rgmii), + SH_PFC_PIN_GROUP(tsn0_txcrefclk), + SH_PFC_PIN_GROUP(tsn0_avtp_pps), + SH_PFC_PIN_GROUP(tsn0_avtp_capture), + SH_PFC_PIN_GROUP(tsn0_avtp_match), +}; +static const char * const avb0_groups[] = { + "avb0_link", + "avb0_magic", + "avb0_phy_int", + "avb0_mdio", + "avb0_rgmii", + "avb0_txcrefclk", + "avb0_avtp_pps", + "avb0_avtp_capture", + "avb0_avtp_match", }; -static const struct sh_pfc_function pinmux_functions[] = { +static const char * const avb1_groups[] = { + "avb1_link", + "avb1_magic", + "avb1_phy_int", + "avb1_mdio", + "avb1_rgmii", + "avb1_txcrefclk", + "avb1_avtp_pps", + "avb1_avtp_capture", + "avb1_avtp_match", +}; + +static const char * const avb2_groups[] = { + "avb2_link", + "avb2_magic", + "avb2_phy_int", + "avb2_mdio", + "avb2_rgmii", + "avb2_txcrefclk", + "avb2_avtp_pps", + "avb2_avtp_capture", + "avb2_avtp_match", +}; + +static const char * const canfd0_groups[] = { + "canfd0_data", +}; +static const char * const canfd1_groups[] = { + "canfd1_data", +}; + +static const char * const canfd2_groups[] = { + "canfd2_data", +}; + +static const char * const canfd3_groups[] = { + "canfd3_data", +}; + +static const char * const canfd4_groups[] = { + "canfd4_data", +}; + +static const char * const canfd5_groups[] = { + "canfd5_data", +}; + +static const char * const canfd6_groups[] = { + "canfd6_data", +}; + +static const char * const canfd7_groups[] = { + "canfd7_data", +}; + +static const char * const can_clk_groups[] = { + "can_clk", +}; + +static const char * const hscif0_groups[] = { + "hscif0_data", + "hscif0_clk", + "hscif0_ctrl", +}; + +static const char * const hscif1_groups[] = { + "hscif1_data", + "hscif1_clk", + "hscif1_ctrl", +}; + +static const char * const hscif2_groups[] = { + "hscif2_data", + "hscif2_clk", + "hscif2_ctrl", +}; + +static const char * const hscif3_groups[] = { + "hscif3_data", + "hscif3_clk", + "hscif3_ctrl", +}; + +static const char * const i2c0_groups[] = { + "i2c0", +}; + +static const char * const i2c1_groups[] = { + "i2c1", +}; + +static const char * const i2c2_groups[] = { + "i2c2", +}; + +static const char * const i2c3_groups[] = { + "i2c3", +}; + +static const char * const i2c4_groups[] = { + "i2c4", +}; + +static const char * const i2c5_groups[] = { + "i2c5", +}; + +static const char * const mmc_groups[] = { + "mmc_data1", + "mmc_data4", + "mmc_data8", + "mmc_ctrl", + "mmc_cd", + "mmc_wp", + "mmc_ds", +}; + +static const char * const msiof0_groups[] = { + "msiof0_clk", + "msiof0_sync", + "msiof0_ss1", + "msiof0_ss2", + "msiof0_txd", + "msiof0_rxd", +}; + +static const char * const msiof1_groups[] = { + "msiof1_clk", + "msiof1_sync", + "msiof1_ss1", + "msiof1_ss2", + "msiof1_txd", + "msiof1_rxd", +}; + +static const char * const msiof2_groups[] = { + "msiof2_clk", + "msiof2_sync", + "msiof2_ss1", + "msiof2_ss2", + "msiof2_txd", + "msiof2_rxd", +}; + +static const char * const msiof3_groups[] = { + "msiof3_clk", + "msiof3_sync", + "msiof3_ss1", + "msiof3_ss2", + "msiof3_txd", + "msiof3_rxd", +}; + +static const char * const msiof4_groups[] = { + "msiof4_clk", + "msiof4_sync", + "msiof4_ss1", + "msiof4_ss2", + "msiof4_txd", + "msiof4_rxd", +}; + +static const char * const msiof5_groups[] = { + "msiof5_clk", + "msiof5_sync", + "msiof5_ss1", + "msiof5_ss2", + "msiof5_txd", + "msiof5_rxd", +}; + +static const char * const pcie_groups[] = { + "pcie0_clkreq_n", + "pcie1_clkreq_n", +}; + +static const char * const pwm0_groups[] = { + "pwm0", +}; + +static const char * const pwm1_groups[] = { + "pwm1", +}; + +static const char * const pwm2_groups[] = { + "pwm2", +}; + +static const char * const pwm3_groups[] = { + "pwm3", +}; + +static const char * const pwm4_groups[] = { + "pwm4", +}; + +static const char * const pwm5_groups[] = { + "pwm5", +}; + +static const char * const pwm6_groups[] = { + "pwm6", +}; + +static const char * const pwm7_groups[] = { + "pwm7", +}; + +static const char * const pwm8_groups[] = { + "pwm8", +}; + +static const char * const pwm9_groups[] = { + "pwm9", +}; + +static const char * const qspi0_groups[] = { + "qspi0_ctrl", + "qspi0_data2", + "qspi0_data4", +}; + +static const char * const qspi1_groups[] = { + "qspi1_ctrl", + "qspi1_data2", + "qspi1_data4", +}; + +static const char * const scif0_groups[] = { + "scif0_data", + "scif0_clk", + "scif0_ctrl", +}; + +static const char * const scif1_groups[] = { + "scif1_data", + "scif1_clk", + "scif1_ctrl", +}; + +static const char * const scif3_groups[] = { + "scif3_data", + "scif3_clk", + "scif3_ctrl", +}; + +static const char * const scif4_groups[] = { + "scif4_data", + "scif4_clk", + "scif4_ctrl", +}; + +static const char * const scif_clk_groups[] = { + "scif_clk", +}; + +static const char * const tpu_groups[] = { + "tpu_to0", + "tpu_to1", + "tpu_to2", + "tpu_to3", +}; + +static const char * const tsn0_groups[] = { + "tsn0_link", + "tsn0_phy_int", + "tsn0_mdio", + "tsn0_rgmii", + "tsn0_txcrefclk", + "tsn0_avtp_pps", + "tsn0_avtp_capture", + "tsn0_avtp_match", +}; + +static const struct sh_pfc_function pinmux_functions[] = { + SH_PFC_FUNCTION(avb0), + SH_PFC_FUNCTION(avb1), + SH_PFC_FUNCTION(avb2), + + SH_PFC_FUNCTION(canfd0), + SH_PFC_FUNCTION(canfd1), + SH_PFC_FUNCTION(canfd2), + SH_PFC_FUNCTION(canfd3), + SH_PFC_FUNCTION(canfd4), + SH_PFC_FUNCTION(canfd5), + SH_PFC_FUNCTION(canfd6), + SH_PFC_FUNCTION(canfd7), + SH_PFC_FUNCTION(can_clk), + + SH_PFC_FUNCTION(hscif0), + SH_PFC_FUNCTION(hscif1), + SH_PFC_FUNCTION(hscif2), + SH_PFC_FUNCTION(hscif3), + + SH_PFC_FUNCTION(i2c0), + SH_PFC_FUNCTION(i2c1), + SH_PFC_FUNCTION(i2c2), + SH_PFC_FUNCTION(i2c3), + SH_PFC_FUNCTION(i2c4), + SH_PFC_FUNCTION(i2c5), + + SH_PFC_FUNCTION(mmc), + + SH_PFC_FUNCTION(msiof0), + SH_PFC_FUNCTION(msiof1), + SH_PFC_FUNCTION(msiof2), + SH_PFC_FUNCTION(msiof3), + SH_PFC_FUNCTION(msiof4), + SH_PFC_FUNCTION(msiof5), + + SH_PFC_FUNCTION(pcie), + + SH_PFC_FUNCTION(pwm0), + SH_PFC_FUNCTION(pwm1), + SH_PFC_FUNCTION(pwm2), + SH_PFC_FUNCTION(pwm3), + SH_PFC_FUNCTION(pwm4), + SH_PFC_FUNCTION(pwm5), + SH_PFC_FUNCTION(pwm6), + SH_PFC_FUNCTION(pwm7), + SH_PFC_FUNCTION(pwm8), + SH_PFC_FUNCTION(pwm9), + + SH_PFC_FUNCTION(qspi0), + SH_PFC_FUNCTION(qspi1), + + SH_PFC_FUNCTION(scif0), + SH_PFC_FUNCTION(scif1), + SH_PFC_FUNCTION(scif3), + SH_PFC_FUNCTION(scif4), + SH_PFC_FUNCTION(scif_clk), + + SH_PFC_FUNCTION(tpu), + + SH_PFC_FUNCTION(tsn0), }; static const struct pinmux_cfg_reg pinmux_config_regs[] = { From patchwork Fri Jul 1 01:36:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902502 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB1A5C43334 for ; Fri, 1 Jul 2022 01:36:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231530AbiGABgz (ORCPT ); Thu, 30 Jun 2022 21:36:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbiGABgz (ORCPT ); Thu, 30 Jun 2022 21:36:55 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2093.outbound.protection.outlook.com [40.107.114.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 142215C942; Thu, 30 Jun 2022 18:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GTmDKQluBPQODI9D43BGeSGXihIbcHUeEh9Bxhm1WX8N6IUGesIzM6E2np0HTwrTE8vv9CH8U7M87Zyn6tPKUTI96ynx4odFLPZtIb6hXms76QYEic5jGexo/ffBM5MFe7JvKRTEgS8/fmsqpWRgjveuEdnmpiZ/gdYbt7+UKKMm3nLePh6GvQ8tRo95JQLqbLm0CxhPMg84szjOiLykCdut6uVa8OmvB5MOdGXRs+j3PKHfkCaMFQGXy6ccCUNOIcDZvOtQUb4G/r53Vti9DXaBpxa5J0c35E20Fs9GPWmAQiQdgVYl1Kit5RZFIVOaJgyJgAITmqxAU+zkJ0otmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=33GmAdYosCQN/PfmkE3fnonpUjTa+9JdAsBKyQ/YmHA=; b=k9tLLeL8whvzWGxyXSYGvyTD7L0Oxb2mIIPAY/ZFf55jZGxNTV2BvODgl57EF3mlgWT31p92z0t432945l6u4+S8aFw+UUNriVcnjZh1uS8IfL9+g3ZeuAHv5APFcjQqfQywmsGXaOp+69adqJxxIIL3L+nDhEtElesqioa4IB9GNbf9iXd4lf1AFnT83WpUbQICsYX3KzLQsl6r+J3xlBDf773o1SK3KQuszMao25rLbmAcxwFK6VrFGY/6/62fDKMtKGvHMzNLyXWxpe/bPpiGZzNNxNdNlUFn7r6lzXj0PG3B9/OHSzi20s1WGpODymN29nqdvRUNAKZUTUnFqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=33GmAdYosCQN/PfmkE3fnonpUjTa+9JdAsBKyQ/YmHA=; b=f2CTm0mMUMssrlqYG9+i7R/m/c0jHpG4gvjmOV9YOE/c2R09U39IE6fVmxA7A05Xx6nSBCFSWfIRs7GNE47lVrL5Oo8sk4fY+ANn1ZP8Gfhg7mZDyAW/Wo7M+FKSYcCBzNEBTpn69caRHPayBDRz7MjOgYXg8DuLcIHwMDuVvMk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by OSBPR01MB4567.jpnprd01.prod.outlook.com (2603:1096:604:72::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15; Fri, 1 Jul 2022 01:36:52 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:36:51 +0000 Message-ID: <87a69ttxzg.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 05/23] pinctrl: renesas: r8a779g0: fixup MODSEL8 User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:36:51 +0000 X-ClientProxiedBy: TYAPR01CA0224.jpnprd01.prod.outlook.com (2603:1096:404:11e::20) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d9a41034-07f8-4927-89fc-08da5b022c44 X-MS-TrafficTypeDiagnostic: OSBPR01MB4567:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CtdevYFYxIdtyPc/719bkDX/Vi4u60jp/2vs9ODOaE2UF3GZDNaaFerft8ii/5WwcYXobVnq7PwDZX1MTrr0ukZ7ew+6J439w1ceZsz1dqvj4/IwW2t5BlxOSuR1ptUqBWYntktyx3NxfwMuZSvGyxJZSVZwqp8a1hTqHcc+eUh4yibl0kItvlogiwrzSB3M5VlBLWE8xj1r2wkpbwk5C24MSVmLXfZMsveT2foLDH712gFoTKcoUeAghN9w4L8UYjeWGbRoCeibxW1WWCOr2Il5+7nO+eIXS8vwUS+L2J9MXbFBV0jO4q2O+B/1M/scDDU1fnIKfbPHaYslAb984FdhYwU8k6xnCaynYYCy/LUIT0kuoO1CrvSWYut1IIP8PNTktb+V+8InyW5wzIH29ODqNAS+URRtWq/VYg+5BEWpGynePhvOTVzOLGULlKQ72EXA9/MYcVvcz5cvB3Oh6pDSXeT+LOTHdxZVAs9utEi98weuL2/rM9/hQG9V7x5062tKfzTMayRdj1HPpXO9BxMR5+OyeoJO5tlP3kkujczOyCxecuniiRARcQIssQIsjF8DhaQwhRDmIb5DIKt4CHVZdKKtlChIMb9Kns/lJE37ivAmCB1MBTjU8RDJ3VZrZLewTAZu73F8hym43qPQ21TpUjPVfXNP3hGLR7/EKLkSsIkzahk9a83VylZgxsPWsRzP+L81lxMPT3Q4DwZ07k4XnOnWeH7ssAN8oLr5iRCu017a5qBbfvkYGBLFmMF4e+u2zp4uNmZk7nS6JaK/mlipfs7AEoZ22b+B/xMASkutvkMorVfoX6XMmq8yY5Sx X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(396003)(376002)(39860400002)(366004)(136003)(110136005)(54906003)(38100700002)(38350700002)(186003)(2906002)(36756003)(478600001)(83380400001)(6486002)(66476007)(66556008)(8676002)(4326008)(86362001)(41300700001)(52116002)(26005)(2616005)(316002)(8936002)(6512007)(5660300002)(6506007)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qBwP5pOaRvDdefdq6fJns+b4FyTCuyCdHIAHK92pEz70SXd+MBGNlRG4DCEaKCl0HZQPfI+rrdVRuocqERGmOW+YiLfTNwqd0FSyvFgTcKqFSo5pgGTyK/MPHnphBEWML7kje3pg1RYWN/6NSKbkOBBZSKlG5RainQDJlrY7iojvGQAKu5uysR6eDi6WPjS2W3dltRsToGSQnh8BaR9sBqVTWpQ8jVYVl78rnQQ0Ai8BGl8TagGVbho1l1v95Edb5U7I5SbGhD3RfRkAIUYBoMDLJ3jH2ZL5DC5N1FYotiV1DzxPmPOMZu9H8Jfk/xPmkZFPlG5FbiRQpqadLNCDy/nCPiMtcvjMjW2EtSAioEjoZcrw8nSUHDsdiLxj9887E63ZnPFubD3O+CuvMSyqzYc5NH8e+mixbMRPMlT957gCQkhbpoR7tP4ISN52tiA/Gut3tEC+I3Mc1NQkZrnk9T/ARKMRpAU0pEjV+pARjL7iiMQmXcL586gzj26f1cQhSFF9UuA9/3N9V5GE7nPP8IpKf+4NT9idinkSweTne6ROW9ym8Sk3Z514RosJ6v9XVy7aGYL+jtlZyafjqGpCozybJRax9Iu8yr2DG+Lyp/bPLVk9zPxVNXpP+drwOjy541rdKh6bGOWHWIrjW8cYcS9/pvgfEj1udYRHRxSwLntdxVuMIWHQyW9JJPw612cBPYyApZlkb9nNp09pG8Xs9GZ83SRLwWT9cam/T/mWFeE/powSVyf53c2p6vKYKC7yqlzUMdiYkQr+oyfpz3e2i6KnirJ2JF075DvMk29pjz6StsjzDnqYK7zsTD3Zk3OECvanEJg+OH3xUgj3jl77XI5zw9ppNMagM5BJcIXztGgmO8LipLAwhIsEroGxr7PGIh7sotYwQI4pjIuEhXCimd+UPxVOUrcD3SpIgr7ij3N4HPtFbva/+I20zE+a3wpFEBSzK4Hmie9JWhb8AYnBBjf6QB0ncoxDPfMIONnW6MvkQ3DpDBio1pVtmBbFnKfr9Jl1UUAXmY61axY+xwBFmSLuyntuViAZMvbT5o7DTAxsSgTbv5qP+tPoKO4OyauEiIuGq6wMJ/NJ/qOMPfiOOMsaST5RemLLDkojYgy/mwUekjNM8BTvlz0zbmbGNXVbHUtaHos+dL/QxBfOS9pzPcNVy46sSJBPkLL4/ZCZe7vHAgv6XN2n8gvfJczd/HxARR/okxh/gTuwUcty05db98DNA+T1/vgxG/a14iSotL+gfNR7F2JwilEd1r72KOnuEVHEx0SE2ON/ekdNzIUmnl3eMHQZqfR7qc/NT+AiMMiNdq7T5Zci92/jppsrprHwjoS8np67IGdnS15mJZAH+VWzLhNQ2syCS7YoN3JL3m20krWSEtgrHS6IF14pWw+wWSt+CKT0xFjOn8nE8m21g+Wck2Qph0gYexidagywBJPIROoFeR5O38sBmTEo+LnHWtwgQtU+oGTJgux87aM8PQr8STLheDRUQnSHm7a9FdWfmO7I1ecSJoDOIlv3ODT/LvR35hY6qhQfLi869tM5BvCdeKwPPkspy7NmYrQm6RKdYqDuDXJUjba3QQq36rLuvEtuo4DHDzMRXatDZatiLNCItWr+VJqU//1YQEAVhNU= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: d9a41034-07f8-4927-89fc-08da5b022c44 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:36:51.8035 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: x3sv3li/IVIVeThHDTKLcfVPo4Ny+UZ7ezWgYBnos/kF0tlIlawxlrFYiQYgvYpWMCFZlMSqynzMu0fZzx1sozF/TOY4Lx84/+MFNk4IJ41vVh43DBsywR+zuOGM1HI4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB4567 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto MODSEL8 controls I2C vs GPIO modes, and Datasheet (Rev.0.51) is indicating that I2C needs 1. But we should use 0 for all cases in reality. New Datasheet should be updated. Signed-off-by: Takeshi Kihara Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 93b8810e8533..cb1cbe77ca7b 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -1167,29 +1167,29 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP2SR7_19_16, AVB0_MII_RX_DV), /* IP0SR8 */ - PINMUX_IPSR_MSEL(IP0SR8_3_0, SCL0, SEL_SCL0_1), - PINMUX_IPSR_MSEL(IP0SR8_7_4, SDA0, SEL_SDA0_1), - PINMUX_IPSR_MSEL(IP0SR8_11_8, SCL1, SEL_SCL1_1), - PINMUX_IPSR_MSEL(IP0SR8_15_12, SDA1, SEL_SDA1_1), - PINMUX_IPSR_MSEL(IP0SR8_19_16, SCL2, SEL_SCL2_1), - PINMUX_IPSR_MSEL(IP0SR8_23_20, SDA2, SEL_SDA2_1), - PINMUX_IPSR_MSEL(IP0SR8_27_24, SCL3, SEL_SCL3_1), - PINMUX_IPSR_MSEL(IP0SR8_31_28, SDA3, SEL_SDA3_1), + PINMUX_IPSR_MSEL(IP0SR8_3_0, SCL0, SEL_SCL0_0), + PINMUX_IPSR_MSEL(IP0SR8_7_4, SDA0, SEL_SDA0_0), + PINMUX_IPSR_MSEL(IP0SR8_11_8, SCL1, SEL_SCL1_0), + PINMUX_IPSR_MSEL(IP0SR8_15_12, SDA1, SEL_SDA1_0), + PINMUX_IPSR_MSEL(IP0SR8_19_16, SCL2, SEL_SCL2_0), + PINMUX_IPSR_MSEL(IP0SR8_23_20, SDA2, SEL_SDA2_0), + PINMUX_IPSR_MSEL(IP0SR8_27_24, SCL3, SEL_SCL3_0), + PINMUX_IPSR_MSEL(IP0SR8_31_28, SDA3, SEL_SDA3_0), /* IP1SR8 */ - PINMUX_IPSR_MSEL(IP1SR8_3_0, SCL4, SEL_SCL4_1), + PINMUX_IPSR_MSEL(IP1SR8_3_0, SCL4, SEL_SCL4_0), PINMUX_IPSR_MSEL(IP1SR8_3_0, HRX2, SEL_SCL4_0), PINMUX_IPSR_MSEL(IP1SR8_3_0, SCK4, SEL_SCL4_0), - PINMUX_IPSR_MSEL(IP1SR8_7_4, SDA4, SEL_SDA4_1), + PINMUX_IPSR_MSEL(IP1SR8_7_4, SDA4, SEL_SDA4_0), PINMUX_IPSR_MSEL(IP1SR8_7_4, HTX2, SEL_SDA4_0), PINMUX_IPSR_MSEL(IP1SR8_7_4, CTS4_N, SEL_SDA4_0), - PINMUX_IPSR_MSEL(IP1SR8_11_8, SCL5, SEL_SCL5_1), + PINMUX_IPSR_MSEL(IP1SR8_11_8, SCL5, SEL_SCL5_0), PINMUX_IPSR_MSEL(IP1SR8_11_8, HRTS2_N, SEL_SCL5_0), PINMUX_IPSR_MSEL(IP1SR8_11_8, RTS4_N, SEL_SCL5_0), - PINMUX_IPSR_MSEL(IP1SR8_15_12, SDA5, SEL_SDA5_1), + PINMUX_IPSR_MSEL(IP1SR8_15_12, SDA5, SEL_SDA5_0), PINMUX_IPSR_MSEL(IP1SR8_15_12, SCIF_CLK2, SEL_SDA5_0), PINMUX_IPSR_GPSR(IP1SR8_19_16, HCTS2_N), From patchwork Fri Jul 1 01:36:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902503 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CEE7C43334 for ; Fri, 1 Jul 2022 01:37:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231688AbiGABhG (ORCPT ); Thu, 30 Jun 2022 21:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbiGABhE (ORCPT ); Thu, 30 Jun 2022 21:37:04 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2128.outbound.protection.outlook.com [40.107.114.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 486D75C948; Thu, 30 Jun 2022 18:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OfPJsGA+7QUTdTR7fhPnIVi0WMpeLhrVdrce5YxyLDpF96GQ1tKMoxg5qgDYKqB6G2wEDlZ2BK++hPI1dqsNSeHXBlB5R/Ed8aOjaF1vBzITskkk3yePBUPSoj2NIz6vhQ9X2Hhqo7xDPVves4JNlvVmcEovJG5k8YMSdj5JoS5iLN7ZDlLD14+tbudoFajHodhWmM8U8m4nyqf30W6kavjHsUrrHET1iJuM+QWmykTYfdF4d2Y+Sihciy3iehiYqF21FKbP9/pj+/2zlv8+yCA9zNzbl49+RIyczvEaJfX7Ce74KzWm7MDNHc+b8sJJuP9WMZnXqOECR+SJYxlCYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LgUR7mlZcR1Wom4MwikXJUn+AuCbZZOeIkF9+v0URYQ=; b=AfzZYeqOfTlR9rS8RNQt5mlsJlG0isxBfEHpQsGi7+uhJLWS/Z0EGpj4oZ9V/1og/TAKu0bIDUX9tTNL/Qqn3uSFxhCzTj6wE5/9TOEOA2KOaxhLMT+L7DcTjzbCerJaUtUg/iVkzFv4/+ggGu2wgPpi7FZGv3MdX4P2av9GhUV4HySCj41Cm/EseLqom6SG2y1LVfMP0yGPwChFteva280k6NQLsjnU3qu2/XbzIWEZzYZgb84FF1XU8WqqXhDbUIJaH8mmEWPVrroSvqqWxoF8pbroE0uW5x1sizMSEkAVpvJlHaMLKozYebB8Vt8YrEc/0D09QrjH8/WSNoTqyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LgUR7mlZcR1Wom4MwikXJUn+AuCbZZOeIkF9+v0URYQ=; b=DIsQggIAkpXs3WqisoQgCLMtHE9YsRg5mP+tgkBhPp30jn1KHsNzJd/6NiWyRe1DUj0spQ/EY3a8aQSOG1tRuyXtJxTLjoii3fnLjBy94YOY3r3/Gr0sqzXnrLKYeRN3MCVkd2xkNvhnRvhDhDplkPWmvSqNL3QrbOoKhdLOuP0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by OSBPR01MB4567.jpnprd01.prod.outlook.com (2603:1096:604:72::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15; Fri, 1 Jul 2022 01:37:00 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:37:00 +0000 Message-ID: <878rpdtxz8.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 06/23] pinctrl: renesas: r8a779g0: remove not used NOGP definitions User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:36:59 +0000 X-ClientProxiedBy: TYCP286CA0099.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b4::17) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: de4a19d5-67b6-4df6-ce06-08da5b023133 X-MS-TrafficTypeDiagnostic: OSBPR01MB4567:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8fLgpsvQPi5SaDoAnma5yiZrF61Q+vsl6j5iHt0Lhkg+XiaREusK7YhB2MX5L/7Nc1oJh6dN4rf5BNHlATQgMW/jIG3O2qd6lDqsOdCHhrub7enUK7KTbBDc+ZDga2BYIRUHthecbKa16PH1wFpUTFEY0j+41qosHE4iSPN5FkucIRG3TcLvsZCcBGPRUg5Ek+FKfGoGU0667fr4fX9YqH+nqcBUhViNrZZYtSL9N1O7U0xbUBM9VQr/3soUI+sjEb+dhbQNGeIU1xWb/+16xeSZlKuQIrRZNVrJ7N91XBtkbnaCVGa8p2hXbMTFdse0XW27IBkVX/YR7WNBxOo7oh8/R8Zv0xR1xrqlAw9BAqjm9z340bmeTFULVvaBOjwxFSyRSNV+mxhdMsW92x2Mz7JTYvlKjx/2Y9HO7+qfHSke4Gjsv36uIwsDp2e6p57MW+kW0I1n7GD2PLC2KGfj431unvSIgmPrlUSPp7D2gRBSChonNJsYaoSKzXLKswvNpBqqEt+B+QHpgR7UoTFAAaEoNkJ1KqcIfXAvGIx+Npci8lyqhnQC7+sH3ZAvCXmX5N6Lln/YtjNtR5Lbii9jlMEuoacqpcsot7/uQtmyVkp2cPxcY5RGocTw/6B8y+/4v5nbScO8LWWhwzRnb/B8Y6wfnkRSsAaDrcDBT6n43clrdcthGE3G68TNiWiE6I6X3/ibeGLIFY3jUm86m4Gb4BZksoh7+2kzmZ+xw3eTOUfGR+n1G/8JUM4ACNm9PfojknYdaAs1A356KOJna9/vSa5cNCJ2IuV1Z65+PMWKLTA6feiiUZcatxwBOG7bhGPW X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(396003)(376002)(39860400002)(366004)(136003)(110136005)(54906003)(38100700002)(38350700002)(186003)(2906002)(36756003)(478600001)(83380400001)(6486002)(66476007)(66556008)(8676002)(4326008)(86362001)(41300700001)(52116002)(26005)(2616005)(316002)(8936002)(6512007)(5660300002)(6506007)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Sikk/CRYMzg4bRO1x4qyw2MkmGj3PELfAI4tV0T3wnmSFZtsO+/YlQlNRNXaXzKqrjAkzfpSEaYHrNkOxQ3eBHZai7sSAlBenDRmaZJ5ruzq2Kq7qH5RKKUhnIoRDT1fEV1j0zD851bzEHRRnb7aqySz9dl4ywh4HvUtQ2KxrBARr9vfu/eKRJeB2MVe4/qtpa5aMi3QKGkO4TYETnToCLFsYRWLPBHB37NA8HLPGezqJPfQOQpfHpjMr/MfsfF98NMyV1Mb+Q1fMW9j2P5rYLezLEl+SyqiiN+IcPR3CGupuLUtURJLXoBtjP10hkZj8QJv4b02Z48201tJ+DGFk3r4mQsy+dH5WGw+j1+9cTyLFgUMgF74wJTG+KKQ7ZjbzDCr8KFf9JhTeVDLmvhk04ydS/3nGRgQjug5R1RpNNdyMVwAw/2kzlGmKStRU8gmOsOoufMj863jq7+48Rup7hCKiS294zw+vFejT/F8fnHvKN12oUtLXrXv5R717FjtA/+/YA13bG53tdmSTL6vM3gftWT0LCzyOojvtbjPdTjDQzc5k9tYClE+Oi+ye2C9Zj8hUPIaz3ENgLyXY/P1fj+L/qDshSTFCv8+GIJZNYC4CHEo8pkgBxXbjkueYYsW0pEjzZKNiAJTTzYk0Tqs6KA8lAtYPmFPlECTz6lavgg7gJ/V/XfKhzkhOVF8SPa+AD9he392E481ZACYI3GL5bgGrRvjIEjFlTAt9feT6y0AQSIK/vt+dEahJhyYCJX/BcGMBCfFW8fxr9UTXPS5EfS2S6HFlJzCBdPQI6e6uVc+sqWf8av0Eg7fpit7+y+4lrubkanuQj7rxDiSir7q8Ay8CihkRwCPN3vlcOffSfmfeWl012ICIDve5wxqe7rg12iqgGkzMPc3WNseg5OpNaXLyc9vBcHu3SUjB0Ib/RQU6KaSftVrSZIVLwnoDKnBjVq+cB1ahnxUiQQgx3u8Y0w5sL6p6Ci/6uceQzJO46UQzTk2GranIssm4xWQNMe9Puj9U2aeYAjUzmcGL0euC+3jzq8/aXQWfYsJaSH4sKUhazBNT+3EVZES3sDLG09dpJ43xqmzr2lOowwbPeWOLtS5ZrWYYQTNXmpSPBMZgyAj+5IJCnf8an0CtOnhc/slC1ZSVUhTDLabt2cXmvtRt8eH5Q/OG/Z8VQR7PdmbBIv2a88fmDOmmuHiRbdDOwV99vGfppHGAGt4sn1LBw1ApLlBkuTNUyxzQXKzRY6x9LT2wxesqCEA8qvD32+sKxeVCO+k5bV58sa4i2GydSHV+jVnN6OAHAeU8+3ljl/dSd8jb5yGYmykoMjtwOZBz3jmy6mydVruyUq3io6n4l4q6b1w1RzO/FWHLBcca0TbhP6VVgJMJF8zUa/k5dN/+Zs60AXKcgUsDlqkmevHHZD6a7Ry5oClGEB2fzf2psoqnv2EoCWATG6RJVZas8UNWhYDdjoyxoKGjFFOUWaHADMzlwTNUWSKwCvstfI/5PEQJDqOjjepqiu5gEe276GZTR0k1+GsRORt8/0pHngTo6lprmSuW5yIl0oaYttu8zSgi6bvxRp9U2NcU70g7x7xrLQcN0eM9if1F+9hW3Uqt4VvBN/vNpNio9XGgYLNipG9YVg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: de4a19d5-67b6-4df6-ce06-08da5b023133 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:37:00.1137 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Wg4ZA4NjLtHOVCXcZON3juOxTFlCv+3zVQgUfkGDJsEZwTh4vsTRI3ZZSGjvM42EVml/t+BaIb0Go3ailQmgx7mkezzWbwl0prHgT4vP0ViO9e7Tml1ov8r7+iQ2MC6D X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB4567 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto Current V4H PFC code has many NOGP definitions. But these are not used, and it is different from original usage. This patch removes these. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index cb1cbe77ca7b..007319df5ed7 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -43,22 +43,6 @@ PORT_GP_CFG_21(7, fn, sfx, CFG_FLAGS), \ PORT_GP_CFG_14(8, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE_18_33) -#define CPU_ALL_NOGP(fn) \ - PIN_NOGP_CFG(PRESETOUT_N, "PRESETOUT#", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ - PIN_NOGP_CFG(PRESETOUT0_N, "PRESETOUT0#", fn, SH_PFC_PIN_CFG_PULL_DOWN), \ - PIN_NOGP_CFG(PRESETOUT1_N, "PRESETOUT1#", fn, SH_PFC_PIN_CFG_PULL_DOWN), \ - PIN_NOGP_CFG(EXTALR, "EXTALR", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ - PIN_NOGP_CFG(DCUTRST0_N, "DCUTRST0#", fn, SH_PFC_PIN_CFG_PULL_DOWN), \ - PIN_NOGP_CFG(DCUTCK0, "DCUTCK0", fn, SH_PFC_PIN_CFG_PULL_UP), \ - PIN_NOGP_CFG(DCUTMS0, "DCUTMS0", fn, SH_PFC_PIN_CFG_PULL_UP), \ - PIN_NOGP_CFG(DCUTDI0, "DCUTDI0", fn, SH_PFC_PIN_CFG_PULL_UP), \ - PIN_NOGP_CFG(DCUTRST1_N, "DCUTRST1#", fn, SH_PFC_PIN_CFG_PULL_DOWN), \ - PIN_NOGP_CFG(DCUTCK1, "DCUTCK1", fn, SH_PFC_PIN_CFG_PULL_UP), \ - PIN_NOGP_CFG(DCUTMS1, "DCUTMS1", fn, SH_PFC_PIN_CFG_PULL_UP), \ - PIN_NOGP_CFG(DCUTDI1, "DCUTDI1", fn, SH_PFC_PIN_CFG_PULL_UP), \ - PIN_NOGP_CFG(EVTI_N, "EVTI#", fn, SH_PFC_PIN_CFG_PULL_UP), \ - PIN_NOGP_CFG(MSYN_N, "MSYN#", fn, SH_PFC_PIN_CFG_PULL_UP) - /* GPSR0 */ #define GPSR0_18 F_(MSIOF2_RXD, IP2SR0_11_8) #define GPSR0_17 F_(MSIOF2_SCK, IP2SR0_7_4) @@ -1204,7 +1188,6 @@ static const u16 pinmux_data[] = { */ enum { GP_ASSIGN_LAST(), - NOGP_ALL(), }; static const struct sh_pfc_pin pinmux_pins[] = { From patchwork Fri Jul 1 01:37:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902504 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B6D7C433EF for ; Fri, 1 Jul 2022 01:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230505AbiGABhR (ORCPT ); Thu, 30 Jun 2022 21:37:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbiGABhQ (ORCPT ); Thu, 30 Jun 2022 21:37:16 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2118.outbound.protection.outlook.com [40.107.114.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186D75C942; Thu, 30 Jun 2022 18:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TG9g7BTgm7V/VfEbMZA5WMSBbI+3P8sPyvUtZryIeHWCvqPdC+r8eaNotYe042hQocdSx8WJe03uVRSvVF8eq5I9KnRqyJNOeJ+GK8zt7uG8xifIHnUNqUISfPnNEkFvnrFKsfNzsNeivdPUPgdkxZmfxGwtzQH7hRFQeA/GvFxZhrcg4thMYFpzzqJeHtL+zGGAiTJV83AQDUAYr3RHTzwNepcbBlTxP6guhljkRuMSifb9m8FMus+SjlTvR8sPhH+o/rT7Ky9gdZ/588JSBCnM2HyWwA/9gp1hqJ7wk6Gsy4yKaIJ5HIJoSjYjKDOrfTcsx8h/lZmOsULsp7UNQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YV/K0idM7v/hjc0blMEdhi7GD94uKz+k4fwafNyRRM0=; b=CcgFiNFDWtUwI7sX48z/Cega8qIInKO5lrOnYFebhW4UD++ZaHjziQXjeSf1nXuyTFW77+Pq9wQBSPTIV0sqexyt3M8sgluGF/5pGgqvZdWQ8iexUVvZKSoCOBuat1PE1NYfUc1ncjNu3KiYbIKyTIPzTZb3msYDF3pCOf72EgF1Cd1mi+GkY3qhF0uYFqgfqbkPgEbI04Ck4CoySsbAYUQ3QJHEDrOFTg7kg9Kv9do1ZbSsTEqPtE2xYzcG5H2EZqRr+hoclk3Bo+zMtbKr0iM+C3cRw/ebPQydt1jy0jVH4MBtM3JDDWyqB5fFFjKTxC9Sj/SwYxDA1a2QFBPb0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YV/K0idM7v/hjc0blMEdhi7GD94uKz+k4fwafNyRRM0=; b=ZfIYA6EbFLmXHIS5R0aQZzTbSxbRKRiHibEIAXHzw1eGqqEsrvhZHziuvCmLmxJCZHL3qxzHGEntwFICg7Qihxnec/RgHrXmYMwfUhg1UNgu8g5lzYOqeIjRtkBrIloayjOiSIiU3whcJbP1TBCtYevo0cAtYwGKBULfUG92y/0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:37:13 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:37:13 +0000 Message-ID: <877d4xtxyv.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 07/23] pinctrl: renesas: r8a779g0: remove not used IPxSRx definitions User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:37:12 +0000 X-ClientProxiedBy: TYCPR01CA0181.jpnprd01.prod.outlook.com (2603:1096:400:2b0::10) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 53e76d36-d4e6-4cfa-f052-08da5b0238ef X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fx4UpD2WPiBfe0UjfCMBJagle7xnpub33chuQ9tQwN7CCpNAcN1hvOs3Ty0sP835eYPf9s9J2zQ9Ywcf9t+i1Y8n/Ga+zk3aVkez2OlRC7zuwntNLnbw/ufCEZhrYjn0d8Zm64LodLs/xgngEAy6wQWtQv3a00pG/Fw+SLUdDbwqK7DZNbeoesH9ZtVPGGGLV580vQdDjJZ2TIdt9sVZ9oo3omDUcNaxS4zaY07DYGtJR4iIMk49fWgHMVQyPjP+p7jy47yNjTje+IHIEO8DTAAGsvTkPPpwC+3h3rk3JdJphGZSX4Si1vCTn1K2Tf/0r4/85EPO+NVhkDND/IvI6kahvMFuV4U/PK9BUH01nH6yZj1wttA/MMfg9vcvcAE9Huueq9nRs9XIZ7Eg7p+YL4JmHr92fZnil5wD5eV9crzBhHv9FPYYX1piCzNaK4Tk3i4HxdC8s485bDXTgXG0EfF3TTDEVQz6O4G7t86WZf5CtKoKIjQoMntS5I0ecWiiKkyfr2XhTWKDATTx4+Xwd9/s4R5k9Xxvzab51PrxCRCvOAUyYrOFZA+oPrwygDs9qzYBCee4PZo66BwipibzZ7tUoNyYurT1QKOanla6aprKp/MLyUxBI3xlEcynJCW8eIiMPn5LPiKqAl8spCM1lj6uPnDooBSod8VMJ8CXswJ/f1gxT8bKDVfVW2wYEJG16TVWbC80vCVNLtgTXFhlnZn4lSh8vML7XNJxWBnAjKS9uRdMcz5ItXUGtBlF/+NAXvruSaswdHW24l5r7k/wlHIQ5Eq1YMppWBFZks5lG/Zx4TM2B722t6BGh6CfbjNV X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:is;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(30864003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: W7OR0njb473j1/YBxFkOQdRQ1/wKKJMIOTpSQE8v1cmR6+SQczTEzE8m+RvRcsC0ahNd0GdFJDVpH7wJv8QMZ0PL4mSClDwd4DUYaP4fq/uQRir5mgfThZ0kBFrDek/FapTj52ibAljvhC1pxRP8sEI4ejbHAndU8gDx7JPXeHo1lL0v6Lum0ZYlgYWLQtuJ5AjT25LAA6TJ8m+GjMhsMd3byU1y2nFpGQeyBCYUBpTKMpHR+xLmw1l0c5twQowUUNjup3ghw7210RG968t4xfKDFBAXw5376rWKEYauRwVV9paem5eJe3g9BuJd9tONvr3NyufFdEcgll9CkYFkPgsfMrH+2fScpM5EE1GYD5av0wm/CwF+HacmdChVCJ9iMdrOrBS7OkNNLVjavFlTlcTyG9wH4/9jIfEnvXxcIIumHQ7LXnM0OS6bAHdmM9bccAappN9cT4VfBF0jF/I/2TSu18lPI67x0UcICZUrnq1oQ98Tpmpda2C03qOZKVlse15rbXohIzglpJkvgI6BJBi0nFcYs16G/iYJQNx0zjkfgn2uCCiTp0vafuYwJPh5ohZxTa9CYDVxWJQ/t/YO3ipZM3RDUOBBu1hvabjFtkWj9rxBfwBpNlt9Fv3dyuL5WBlE+dBvEehNO9L6DZi4Y154VF/req1OmbJ+RsUfyaV/S+8SoldobbqKzpSD2BznaGKtO8ZnOsR4VuLrCYltddTPuBuuHpV4DWTwoyaEXX0KBSeC0U5CFl6JU/CXGyjqYuJrYrCHgjMpUI1TzS0joV/3fh9SK0IViuqZekYPBMsBygSOjwcB2XPR7BSFMBrOGQKA7O1nnRuGHJim3Eedh2Wg3NorX90idx4CAbWLtjjG94LptAqSnO+KHwddQFP9J1G5YlAlR2oUhEciCL5lKvCHgyKIDL7pzbE5WHkHM5UQXxLOJABg1HS/WuwB+lyIUaF1k5ysCcdlYggJlhhdMil/diCXNw9A1iGxbZJOrmpdbXmnVo4O4Eqps1idwLcImWG/yL0LO9tO8z5jDbI+soaDqAhbqAqX5i4UNzieXlgPQQj/MY/yOdi2pYytJ60Ujk/Y660DJ9trbYIoWtiwHWF/gC9FL8xDkKoh1nJ2BXDL9cKAiQcz/Z7Icm3FhH6rjIPEAbjFsv+k5o7C3a+rsfY47N+m0c23HQw6fTs1XdQzx3eh3WXiaFFfnJsFW4fGqUY8SwZE/BcMXTnoxDZVCBWYIS/A+FfTA1cZOOLQm3juWmCt6/M/GpzLnzhRJ5nAs+5nvLyoeYMHxZaPK17U/2E2KYiHonrLj3Cogy9S4n1rFiTjuZNZPRzg6Mjm7yW4lCVYsJPIa+k8HKnRdf3774mxWRxiLNCfz20F9rVEevyOqNrMmGE0IkYXEQwKUBHp1ac8VqZtxMr/qXLur24UrTzcFPsA85ksjGX89t1LOQb4U6mci3yIJOqqc9BXh21P/N0KG5aI/YE+TqTeoftOE0aGyrxpayqouSJMZS6BtVGp+daV/gC+5UhTiac66ZuV0rfO6qNOnq9+rXUz/h1XD9w5VGPV5ieFLGYNn8xh73jE/CtgsEnhGFzhpqXPdlv3dqckb9Q4Ek7Ly6yER6gKaPFtsdJY67Y82f1093zErrg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53e76d36-d4e6-4cfa-f052-08da5b0238ef X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:37:13.0594 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TiGSsZJe8zZZafXHDzrp7WkyqCOv4KgjTJqD2motatNJtQGAcDMN4E+j40vGPC2vl2hT1DibTY/x0/0xgs0tXxMO4pq+uV3lV3pPrWGAxMJ0D/Tk6zR3/Y7lNyCZUa/h X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto Current V4H PFC code has many IPxSRx definitions with all 0. But these have no meaning. This patch removes these. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 67 +++++++++----------------- 1 file changed, 22 insertions(+), 45 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 007319df5ed7..f14834b5fcdb 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -286,11 +286,6 @@ #define IP2SR0_3_0 FM(MSIOF2_TXD) FM(HCTS1_N) FM(CTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR0_7_4 FM(MSIOF2_SCK) FM(HRTS1_N) FM(RTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR0_11_8 FM(MSIOF2_RXD) FM(HSCK1) FM(SCK1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR0_15_12 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR0_19_16 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR0_23_20 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR0_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR0_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* SR1 */ /* IP0SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -329,9 +324,6 @@ #define IP3SR1_11_8 FM(HRTS3_N) FM(RTS3_N) FM(MSIOF4_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP3SR1_15_12 FM(HCTS3_N) FM(RX3) FM(MSIOF4_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP3SR1_19_16 FM(HTX3) FM(TX3) FM(MSIOF4_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_23_20 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* SR2 */ /* IP0SR2 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -359,10 +351,6 @@ #define IP2SR2_7_4 FM(CANFD4_RX) F_(0, 0) FM(PWM5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR2_11_8 FM(CANFD7_TX) F_(0, 0) FM(PWM6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR2_15_12 FM(CANFD7_RX) F_(0, 0) FM(PWM7) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR2_19_16 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR2_23_20 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR2_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR2_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* SR3 */ /* IP0SR3 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -402,8 +390,6 @@ #define IP3SR3_15_12 FM(RPC_RESET_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP3SR3_19_16 FM(RPC_WP_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP3SR3_23_20 FM(RPC_INT_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR3_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR3_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* SR6 */ /* IP0SR6 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -432,9 +418,6 @@ #define IP2SR6_11_8 FM(AVB1_TD3) FM(AVB1_MII_TD3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR6_15_12 FM(AVB1_RD3) FM(AVB1_MII_RD3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR6_19_16 FM(AVB1_TXCREFCLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR6_23_20 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR6_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR6_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* SR7 */ /* IP0SR7 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -463,9 +446,6 @@ #define IP2SR7_11_8 FM(AVB0_RD0) FM(AVB0_MII_RD0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR7_15_12 FM(AVB0_RXC) FM(AVB0_MII_RXC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR7_19_16 FM(AVB0_RX_CTL) FM(AVB0_MII_RX_DV) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR7_23_20 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR7_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR7_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* SR8 */ /* IP0SR8 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -485,9 +465,6 @@ #define IP1SR8_15_12 FM(SDA5) FM(SCIF_CLK2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR8_19_16 F_(0, 0) FM(HCTS2_N) FM(TX4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR8_23_20 F_(0, 0) FM(HSCK2) FM(RX4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR8_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR8_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) - #define PINMUX_GPSR \ GPSR3_29 \ @@ -526,29 +503,29 @@ GPSR0_0 GPSR1_0 GPSR2_0 GPSR3_0 GPSR4_0 GPSR5_0 GPSR6_0 GPSR7_0 GPSR8_0 FM(IP0SR0_3_0) IP0SR0_3_0 FM(IP1SR0_3_0) IP1SR0_3_0 FM(IP2SR0_3_0) IP2SR0_3_0 \ FM(IP0SR0_7_4) IP0SR0_7_4 FM(IP1SR0_7_4) IP1SR0_7_4 FM(IP2SR0_7_4) IP2SR0_7_4 \ FM(IP0SR0_11_8) IP0SR0_11_8 FM(IP1SR0_11_8) IP1SR0_11_8 FM(IP2SR0_11_8) IP2SR0_11_8 \ -FM(IP0SR0_15_12) IP0SR0_15_12 FM(IP1SR0_15_12) IP1SR0_15_12 FM(IP2SR0_15_12) IP2SR0_15_12 \ -FM(IP0SR0_19_16) IP0SR0_19_16 FM(IP1SR0_19_16) IP1SR0_19_16 FM(IP2SR0_19_16) IP2SR0_19_16 \ -FM(IP0SR0_23_20) IP0SR0_23_20 FM(IP1SR0_23_20) IP1SR0_23_20 FM(IP2SR0_23_20) IP2SR0_23_20 \ -FM(IP0SR0_27_24) IP0SR0_27_24 FM(IP1SR0_27_24) IP1SR0_27_24 FM(IP2SR0_27_24) IP2SR0_27_24 \ -FM(IP0SR0_31_28) IP0SR0_31_28 FM(IP1SR0_31_28) IP1SR0_31_28 FM(IP2SR0_31_28) IP2SR0_31_28 \ +FM(IP0SR0_15_12) IP0SR0_15_12 FM(IP1SR0_15_12) IP1SR0_15_12 \ +FM(IP0SR0_19_16) IP0SR0_19_16 FM(IP1SR0_19_16) IP1SR0_19_16 \ +FM(IP0SR0_23_20) IP0SR0_23_20 FM(IP1SR0_23_20) IP1SR0_23_20 \ +FM(IP0SR0_27_24) IP0SR0_27_24 FM(IP1SR0_27_24) IP1SR0_27_24 \ +FM(IP0SR0_31_28) IP0SR0_31_28 FM(IP1SR0_31_28) IP1SR0_31_28 \ \ FM(IP0SR1_3_0) IP0SR1_3_0 FM(IP1SR1_3_0) IP1SR1_3_0 FM(IP2SR1_3_0) IP2SR1_3_0 FM(IP3SR1_3_0) IP3SR1_3_0 \ FM(IP0SR1_7_4) IP0SR1_7_4 FM(IP1SR1_7_4) IP1SR1_7_4 FM(IP2SR1_7_4) IP2SR1_7_4 FM(IP3SR1_7_4) IP3SR1_7_4 \ FM(IP0SR1_11_8) IP0SR1_11_8 FM(IP1SR1_11_8) IP1SR1_11_8 FM(IP2SR1_11_8) IP2SR1_11_8 FM(IP3SR1_11_8) IP3SR1_11_8 \ FM(IP0SR1_15_12) IP0SR1_15_12 FM(IP1SR1_15_12) IP1SR1_15_12 FM(IP2SR1_15_12) IP2SR1_15_12 FM(IP3SR1_15_12) IP3SR1_15_12 \ FM(IP0SR1_19_16) IP0SR1_19_16 FM(IP1SR1_19_16) IP1SR1_19_16 FM(IP2SR1_19_16) IP2SR1_19_16 FM(IP3SR1_19_16) IP3SR1_19_16 \ -FM(IP0SR1_23_20) IP0SR1_23_20 FM(IP1SR1_23_20) IP1SR1_23_20 FM(IP2SR1_23_20) IP2SR1_23_20 FM(IP3SR1_23_20) IP3SR1_23_20 \ -FM(IP0SR1_27_24) IP0SR1_27_24 FM(IP1SR1_27_24) IP1SR1_27_24 FM(IP2SR1_27_24) IP2SR1_27_24 FM(IP3SR1_27_24) IP3SR1_27_24 \ -FM(IP0SR1_31_28) IP0SR1_31_28 FM(IP1SR1_31_28) IP1SR1_31_28 FM(IP2SR1_31_28) IP2SR1_31_28 FM(IP3SR1_31_28) IP3SR1_31_28 \ +FM(IP0SR1_23_20) IP0SR1_23_20 FM(IP1SR1_23_20) IP1SR1_23_20 FM(IP2SR1_23_20) IP2SR1_23_20 \ +FM(IP0SR1_27_24) IP0SR1_27_24 FM(IP1SR1_27_24) IP1SR1_27_24 FM(IP2SR1_27_24) IP2SR1_27_24 \ +FM(IP0SR1_31_28) IP0SR1_31_28 FM(IP1SR1_31_28) IP1SR1_31_28 FM(IP2SR1_31_28) IP2SR1_31_28 \ \ FM(IP0SR2_3_0) IP0SR2_3_0 FM(IP1SR2_3_0) IP1SR2_3_0 FM(IP2SR2_3_0) IP2SR2_3_0 \ FM(IP0SR2_7_4) IP0SR2_7_4 FM(IP1SR2_7_4) IP1SR2_7_4 FM(IP2SR2_7_4) IP2SR2_7_4 \ FM(IP0SR2_11_8) IP0SR2_11_8 FM(IP1SR2_11_8) IP1SR2_11_8 FM(IP2SR2_11_8) IP2SR2_11_8 \ FM(IP0SR2_15_12) IP0SR2_15_12 FM(IP1SR2_15_12) IP1SR2_15_12 FM(IP2SR2_15_12) IP2SR2_15_12 \ -FM(IP0SR2_19_16) IP0SR2_19_16 FM(IP1SR2_19_16) IP1SR2_19_16 FM(IP2SR2_19_16) IP2SR2_19_16 \ -FM(IP0SR2_23_20) IP0SR2_23_20 FM(IP1SR2_23_20) IP1SR2_23_20 FM(IP2SR2_23_20) IP2SR2_23_20 \ -FM(IP0SR2_27_24) IP0SR2_27_24 FM(IP1SR2_27_24) IP1SR2_27_24 FM(IP2SR2_27_24) IP2SR2_27_24 \ -FM(IP0SR2_31_28) IP0SR2_31_28 FM(IP1SR2_31_28) IP1SR2_31_28 FM(IP2SR2_31_28) IP2SR2_31_28 \ +FM(IP0SR2_19_16) IP0SR2_19_16 FM(IP1SR2_19_16) IP1SR2_19_16 \ +FM(IP0SR2_23_20) IP0SR2_23_20 FM(IP1SR2_23_20) IP1SR2_23_20 \ +FM(IP0SR2_27_24) IP0SR2_27_24 FM(IP1SR2_27_24) IP1SR2_27_24 \ +FM(IP0SR2_31_28) IP0SR2_31_28 FM(IP1SR2_31_28) IP1SR2_31_28 \ \ FM(IP0SR3_3_0) IP0SR3_3_0 FM(IP1SR3_3_0) IP1SR3_3_0 FM(IP2SR3_3_0) IP2SR3_3_0 FM(IP3SR3_3_0) IP3SR3_3_0 \ FM(IP0SR3_7_4) IP0SR3_7_4 FM(IP1SR3_7_4) IP1SR3_7_4 FM(IP2SR3_7_4) IP2SR3_7_4 FM(IP3SR3_7_4) IP3SR3_7_4 \ @@ -556,26 +533,26 @@ FM(IP0SR3_11_8) IP0SR3_11_8 FM(IP1SR3_11_8) IP1SR3_11_8 FM(IP2SR3_11_8) IP2SR FM(IP0SR3_15_12) IP0SR3_15_12 FM(IP1SR3_15_12) IP1SR3_15_12 FM(IP2SR3_15_12) IP2SR3_15_12 FM(IP3SR3_15_12) IP3SR3_15_12 \ FM(IP0SR3_19_16) IP0SR3_19_16 FM(IP1SR3_19_16) IP1SR3_19_16 FM(IP2SR3_19_16) IP2SR3_19_16 FM(IP3SR3_19_16) IP3SR3_19_16 \ FM(IP0SR3_23_20) IP0SR3_23_20 FM(IP1SR3_23_20) IP1SR3_23_20 FM(IP2SR3_23_20) IP2SR3_23_20 FM(IP3SR3_23_20) IP3SR3_23_20 \ -FM(IP0SR3_27_24) IP0SR3_27_24 FM(IP1SR3_27_24) IP1SR3_27_24 FM(IP2SR3_27_24) IP2SR3_27_24 FM(IP3SR3_27_24) IP3SR3_27_24 \ -FM(IP0SR3_31_28) IP0SR3_31_28 FM(IP1SR3_31_28) IP1SR3_31_28 FM(IP2SR3_31_28) IP2SR3_31_28 FM(IP3SR3_31_28) IP3SR3_31_28 \ +FM(IP0SR3_27_24) IP0SR3_27_24 FM(IP1SR3_27_24) IP1SR3_27_24 FM(IP2SR3_27_24) IP2SR3_27_24 \ +FM(IP0SR3_31_28) IP0SR3_31_28 FM(IP1SR3_31_28) IP1SR3_31_28 FM(IP2SR3_31_28) IP2SR3_31_28 \ \ FM(IP0SR6_3_0) IP0SR6_3_0 FM(IP1SR6_3_0) IP1SR6_3_0 FM(IP2SR6_3_0) IP2SR6_3_0 \ FM(IP0SR6_7_4) IP0SR6_7_4 FM(IP1SR6_7_4) IP1SR6_7_4 FM(IP2SR6_7_4) IP2SR6_7_4 \ FM(IP0SR6_11_8) IP0SR6_11_8 FM(IP1SR6_11_8) IP1SR6_11_8 FM(IP2SR6_11_8) IP2SR6_11_8 \ FM(IP0SR6_15_12) IP0SR6_15_12 FM(IP1SR6_15_12) IP1SR6_15_12 FM(IP2SR6_15_12) IP2SR6_15_12 \ FM(IP0SR6_19_16) IP0SR6_19_16 FM(IP1SR6_19_16) IP1SR6_19_16 FM(IP2SR6_19_16) IP2SR6_19_16 \ -FM(IP0SR6_23_20) IP0SR6_23_20 FM(IP1SR6_23_20) IP1SR6_23_20 FM(IP2SR6_23_20) IP2SR6_23_20 \ -FM(IP0SR6_27_24) IP0SR6_27_24 FM(IP1SR6_27_24) IP1SR6_27_24 FM(IP2SR6_27_24) IP2SR6_27_24 \ -FM(IP0SR6_31_28) IP0SR6_31_28 FM(IP1SR6_31_28) IP1SR6_31_28 FM(IP2SR6_31_28) IP2SR6_31_28 \ +FM(IP0SR6_23_20) IP0SR6_23_20 FM(IP1SR6_23_20) IP1SR6_23_20 \ +FM(IP0SR6_27_24) IP0SR6_27_24 FM(IP1SR6_27_24) IP1SR6_27_24 \ +FM(IP0SR6_31_28) IP0SR6_31_28 FM(IP1SR6_31_28) IP1SR6_31_28 \ \ FM(IP0SR7_3_0) IP0SR7_3_0 FM(IP1SR7_3_0) IP1SR7_3_0 FM(IP2SR7_3_0) IP2SR7_3_0 \ FM(IP0SR7_7_4) IP0SR7_7_4 FM(IP1SR7_7_4) IP1SR7_7_4 FM(IP2SR7_7_4) IP2SR7_7_4 \ FM(IP0SR7_11_8) IP0SR7_11_8 FM(IP1SR7_11_8) IP1SR7_11_8 FM(IP2SR7_11_8) IP2SR7_11_8 \ FM(IP0SR7_15_12) IP0SR7_15_12 FM(IP1SR7_15_12) IP1SR7_15_12 FM(IP2SR7_15_12) IP2SR7_15_12 \ FM(IP0SR7_19_16) IP0SR7_19_16 FM(IP1SR7_19_16) IP1SR7_19_16 FM(IP2SR7_19_16) IP2SR7_19_16 \ -FM(IP0SR7_23_20) IP0SR7_23_20 FM(IP1SR7_23_20) IP1SR7_23_20 FM(IP2SR7_23_20) IP2SR7_23_20 \ -FM(IP0SR7_27_24) IP0SR7_27_24 FM(IP1SR7_27_24) IP1SR7_27_24 FM(IP2SR7_27_24) IP2SR7_27_24 \ -FM(IP0SR7_31_28) IP0SR7_31_28 FM(IP1SR7_31_28) IP1SR7_31_28 FM(IP2SR7_31_28) IP2SR7_31_28 \ +FM(IP0SR7_23_20) IP0SR7_23_20 FM(IP1SR7_23_20) IP1SR7_23_20 \ +FM(IP0SR7_27_24) IP0SR7_27_24 FM(IP1SR7_27_24) IP1SR7_27_24 \ +FM(IP0SR7_31_28) IP0SR7_31_28 FM(IP1SR7_31_28) IP1SR7_31_28 \ \ FM(IP0SR8_3_0) IP0SR8_3_0 FM(IP1SR8_3_0) IP1SR8_3_0 \ FM(IP0SR8_7_4) IP0SR8_7_4 FM(IP1SR8_7_4) IP1SR8_7_4 \ @@ -583,8 +560,8 @@ FM(IP0SR8_11_8) IP0SR8_11_8 FM(IP1SR8_11_8) IP1SR8_11_8 \ FM(IP0SR8_15_12) IP0SR8_15_12 FM(IP1SR8_15_12) IP1SR8_15_12 \ FM(IP0SR8_19_16) IP0SR8_19_16 FM(IP1SR8_19_16) IP1SR8_19_16 \ FM(IP0SR8_23_20) IP0SR8_23_20 FM(IP1SR8_23_20) IP1SR8_23_20 \ -FM(IP0SR8_27_24) IP0SR8_27_24 FM(IP1SR8_27_24) IP1SR8_27_24 \ -FM(IP0SR8_31_28) IP0SR8_31_28 FM(IP1SR8_31_28) IP1SR8_31_28 +FM(IP0SR8_27_24) IP0SR8_27_24 \ +FM(IP0SR8_31_28) IP0SR8_31_28 /* MOD_SEL4 */ /* 0 */ /* 1 */ #define MOD_SEL4_19 FM(SEL_TSN0_TD2_0) FM(SEL_TSN0_TD2_1) From patchwork Fri Jul 1 01:37:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902505 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1AD6C43334 for ; Fri, 1 Jul 2022 01:37:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229480AbiGABhZ (ORCPT ); Thu, 30 Jun 2022 21:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232025AbiGABhZ (ORCPT ); Thu, 30 Jun 2022 21:37:25 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2115.outbound.protection.outlook.com [40.107.114.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D7705C942; Thu, 30 Jun 2022 18:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AbYg/05oAp7yNDn037gx7quuywITbSLT7vRpdYGCMR+taHm0MjQt6BvAdlOX6/eZ7lYbWlr2ts3Ho6lrD3WXHpD0pDiMQPkOmoKIf8hQMWaCLHYyhhiC6oUSzk8PpV5h0Dr3f/muOMycr77w33I3J/3rjXwRqdlNT2aWXGS0eopT8TzNux0p57OrL0ryoTzdlpU7hLjgMQ3/qNIOugiQ4TSoT1SjTRt+n+qRwC+YGEeCTmEdvUqGjeNY30w4tDtlrTVgOL0LVBTZbXho8QBt+XjPDzGAGqGQC0SpFqd5Jdcop8KzIKsvXC3VoCi+cvxHF/GzYVAonb6YGTXQHmFVJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QzMF7KhfxTmlN/u6JhFBa6YWEk8DeXRRznsqQDr/m4E=; b=k8R8jksIzsofGoJkLSAOzFnlJOesP8xVWecB64suOSDoW8hkGdoD7xXSIXT/QwfAs+TTo3OIxYh4p3LBmKJA6k/dJ+jgV6vlLp8R/DoUPKPADcIoTzz25duduqaMCLKB3krIffw+KqJiGEuarYKGzSFJZcbsYOEzMMNPdJHrMOSiqmYyTDVX6FbuTDD7ba9I5J0ywxu35pT6MKDyYD7BalvnNsPaeSmcOIBS24gy6UqrkkcCV0T1WLQ7vOjNza8ssvfsvGfHFQaE4o2g1mE7UnkvN1QWWYPrthLVkolDFOV663Ww4UyhfmXE4SL7zEB82j4QmXZsQQvFogB0vRQUuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QzMF7KhfxTmlN/u6JhFBa6YWEk8DeXRRznsqQDr/m4E=; b=AmKuaPsuTxHu2YfCVqGy3kbQAVK9uheMVkrXO2cvipfFv2qZOM7Q5P2boisOZjC3n7H2lVAmhbbE09mfKyBaWzHXrNEtQy407SidSKQxqgUbnSJT7kOdYFw0VNSGjhvXq6itvSvyqzwM/C9Mq0q6vIc4XFHqOdJy/JNZUiG6Q8g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:37:22 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:37:22 +0000 Message-ID: <875ykhtxym.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 08/23] pinctrl: renesas: r8a779g0: remove not used MOD_SELx definitions User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:37:21 +0000 X-ClientProxiedBy: TYCPR01CA0058.jpnprd01.prod.outlook.com (2603:1096:405:2::22) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 86c63feb-6acf-4261-31d3-08da5b023e5c X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pv4h8d1D/AdabcjyiBFK1Qwp3lfgl1iW97Md8Rewc4Th0jJ6T94b/cyKoAvRMKfYdcCpGzk/LSMcAa7JzpylfR4bwYA4PXoYY20UBS6WozTBN6kdvhoKkjp6vl3HMrs1cFn1fi7b7F1XWf4zbtZ3sCa1zk5ioEbovqdM9Ua7LaI9hlcA8YZB3OEroVbnAE+hcc0xiDd+88lQr5FVjltBtZxGcxYyj9SfGituqTPlOZhV3xxEeBrcX1RjocnVJ9DMCC4f7gutltm5Z6oIXHZ+xCDN+r0GA3blDzF7fJ0YwRAhJ6wyAYAZU1TmPQeGJaO3Gdd6oyNS9Dkv7mdeT+B68no3xIrUTWHNd3au7bUEpYxheu0RD///rEpH3HyPjSxGZtuy+HIOPRiN2VMLWgH5p/xWrFDYz9Dquaw/okLiO5WFRTPHPD9NpQS37d3ASL8LZaMj7RGp8gJZLHlkwxjnsEogeY4LWt9bbS6TY3mb0k3Msn/RjYHLsnxelqpqtt3kgMemx/dpynQ9eTSTygOf04F8oPhuYwDM+wG720sB+/TGyGQ/+Jb7hIY9GW8R9ttgAykb+e029FYeDlLAHmLpe6JD/IkY0I8Vp1XBxaaCP6FMOZWpsW465vzCtggC/JQrL0YxIUp8SBv/tlWmkUb6QdFN+Eu0m0zcj2aoIvYi3PonoAZqRBQdWLWq7P2H6pO5ASIvhdnj//L9vYWTPxYS1omGz/KBxpGcGwUPuwhbHahuJZFrF0v46zF69tDLL7zloihXU9yfmwA1ecSwby15SA7RHAUIAXZrjrvueVRmgALnu0s/jYe83Vsjuzumy2YJ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: o9HINlI/7rw6HJFQauGfsxVq2aUrKJYt8saVbUNoLpqfldtt3Y0TR5IDlqgdoWbQ80wq4YsmczrFwrn7vK4uYYosLEdTxNmWjiAqWeBYLVtbe8GlFO0ZHiCxArgGZGqq3OYXbJLUjjb2Q3VCgOm8NOclXJ52waCrGJGRylqAi9yvjgYotLu28shvJ50V0JarYXIcp7edl2NC/6qQ5c7b8QDTei2OMWIX/DASUUnrWBNUg6uTCs2RhVxgW4NloLN/I+O5UbDfRn0LGSz8sxVMcDind9EZGKcpVzo5J7MgI8KLDhuWBsgc2MNzDyHjetYiPF+HyECpWE2oZLYPzndjv8kMRK4vQvj1Tq+MtUu9jwpwTMApCV1HLpnSJ7M9fvinUCLnJ4XzJq/PU1qsGs+1q9hrlnEtm57oWn1iu3yiKtw+YLTlURW6laWUU7QHHR/hig5OiFfCpKcxlGvyi/FF5NZclguWCkgZL1y4OymQA5rSU/4fmX0Y8j9wS/G6NM8ae8KAsJwTO3kV+K4MLklZQe6K/2KM0SPutEzUoRorxgBLrm1bZRNOfu1InY87Qwb67VNATcacrDsOk7CqJ4eIO7QeQm/14v9oSWv0O44ypBQLajh9lwSUvNioHmKEI4W7rKWGw8D9CS7ernZnx+BzJtYdlYHkRniQJxSnMGfyK8jMq4dDBvBcOm6eJay4KmvHeY8eyc3ZaXLz2JPVVzNE2EYuoy9A42XtUMbkRbXuAOTgh1n1tIHqwig50G+wlzLcw8G9YXjKtWh91INFnuAuhbB3CQRRgvfO125NEV4/PtumGd34sBOZWj+0PA+sziNreLERWlm2pOTbFrt8PJ1zTErVGbYaB1nywCKDEMhJPbkIm4rcOR96WeJa1Rz5ISnf1OX+yrrWF9+7eD0qtgjQwvfz616RUfj4K2dM67aV5cBWPbBuDN9+K9iNPcnrDGB7vu1C2BdZU7agVmWFpY2LycijwaL3+3vaqryYlSacCN8CHHxQjvfBFhyXMPQgV45U/HY8WmkbCz9mG/mylOGTMIStYDgviH31oRQYDl6mm+B8+15xvOTBWsLJC45Yjmr012/+9wTkLriCsuw4DLdnL5OMcy9yQgy7+qMkGUXiwkwjjLpROEZNBe3LM96tnvy3nyjMKgYPdfBEQXE6Q60jFt0qFrcRYsQUPFlXK3qew/5jDYfomBgUY/725mIuORiQ3a1qdFgp49E3TYee8Mw6gJXfSXqfr9zdQaSdHhgmSSS5me83LQNPMyZr9kwvEsDN64ci8JYnOnvcu0MA5gS+nr/K/W0Kuee568MXtvIEBJmBNd3QVUmO88SrmBWMB5/dVwQGLbIoQStJ7oGk79Ha21BZt/3ow7hK9AqYQoW0mJ7Zla4rFNNzYAqloZKr6lxGyV9RZqv2eK+Fj7FweMXatsoRjoF+7c4aZw+2RLe+1RR2b80gPkFVV3wAoD+I2YFQ+7AKkNolpcSPEAAmtpEWANIoRueO0RXBXE2b4PZZd+VgOWG90VQhJ68SrY2y+Zm4BD17+ZqE0OjNNQ/koBGuPv4KNaWWiMyp34Tkct6G3tEa1p/IitzRwhfx5X0vqquY66WGXLErbNl0GhxcO8NTdGH1bM+kwGkt1T411BCDROs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86c63feb-6acf-4261-31d3-08da5b023e5c X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:37:22.1731 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xlJAEA/3qf6/4Ksh4aYbKEnh0V0ZMfh84Z4qG8bHCTngpCyzaNoITO9iwIDDNCd/EgiWKNSAOGXnwoR+0SiYBGhype2SlAio5I22pJDdmtWneouzWblIHx9Quw1Woxay X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto Current V4H PFC code has many MOD_SELx definitions with all 0. But these have no meaning. This patch removes these. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 72 +++++++------------------- 1 file changed, 18 insertions(+), 54 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index f14834b5fcdb..d590f9108ea6 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -566,85 +566,49 @@ FM(IP0SR8_31_28) IP0SR8_31_28 /* MOD_SEL4 */ /* 0 */ /* 1 */ #define MOD_SEL4_19 FM(SEL_TSN0_TD2_0) FM(SEL_TSN0_TD2_1) #define MOD_SEL4_18 FM(SEL_TSN0_TD3_0) FM(SEL_TSN0_TD3_1) -#define MOD_SEL4_17 F_(0, 0) F_(0, 0) -#define MOD_SEL4_16 F_(0, 0) F_(0, 0) #define MOD_SEL4_15 FM(SEL_TSN0_TD0_0) FM(SEL_TSN0_TD0_1) #define MOD_SEL4_14 FM(SEL_TSN0_TD1_0) FM(SEL_TSN0_TD1_1) -#define MOD_SEL4_13 F_(0, 0) F_(0, 0) #define MOD_SEL4_12 FM(SEL_TSN0_TXC_0) FM(SEL_TSN0_TXC_1) -#define MOD_SEL4_11 F_(0, 0) F_(0, 0) -#define MOD_SEL4_10 F_(0, 0) F_(0, 0) #define MOD_SEL4_9 FM(SEL_TSN0_TX_CTL_0) FM(SEL_TSN0_TX_CTL_1) #define MOD_SEL4_8 FM(SEL_TSN0_AVTP_PPS0_0) FM(SEL_TSN0_AVTP_PPS0_1) -#define MOD_SEL4_7 F_(0, 0) F_(0, 0) -#define MOD_SEL4_6 F_(0, 0) F_(0, 0) #define MOD_SEL4_5 FM(SEL_TSN0_AVTP_MATCH_0) FM(SEL_TSN0_AVTP_MATCH_1) -#define MOD_SEL4_4 F_(0, 0) F_(0, 0) -#define MOD_SEL4_3 F_(0, 0) F_(0, 0) #define MOD_SEL4_2 FM(SEL_TSN0_AVTP_PPS1_0) FM(SEL_TSN0_AVTP_PPS1_1) #define MOD_SEL4_1 FM(SEL_TSN0_MDC_0) FM(SEL_TSN0_MDC_1) -#define MOD_SEL4_0 F_(0, 0) F_(0, 0) /* MOD_SEL5 */ /* 0 */ /* 1 */ #define MOD_SEL5_19 FM(SEL_AVB2_TX_CTL_0) FM(SEL_AVB2_TX_CTL_1) -#define MOD_SEL5_18 F_(0, 0) F_(0, 0) -#define MOD_SEL5_17 F_(0, 0) F_(0, 0) #define MOD_SEL5_16 FM(SEL_AVB2_TXC_0) FM(SEL_AVB2_TXC_1) #define MOD_SEL5_15 FM(SEL_AVB2_TD0_0) FM(SEL_AVB2_TD0_1) -#define MOD_SEL5_14 F_(0, 0) F_(0, 0) -#define MOD_SEL5_13 F_(0, 0) F_(0, 0) #define MOD_SEL5_12 FM(SEL_AVB2_TD1_0) FM(SEL_AVB2_TD1_1) #define MOD_SEL5_11 FM(SEL_AVB2_TD2_0) FM(SEL_AVB2_TD2_1) -#define MOD_SEL5_10 F_(0, 0) F_(0, 0) -#define MOD_SEL5_9 F_(0, 0) F_(0, 0) #define MOD_SEL5_8 FM(SEL_AVB2_TD3_0) FM(SEL_AVB2_TD3_1) -#define MOD_SEL5_7 F_(0, 0) F_(0, 0) #define MOD_SEL5_6 FM(SEL_AVB2_MDC_0) FM(SEL_AVB2_MDC_1) #define MOD_SEL5_5 FM(SEL_AVB2_MAGIC_0) FM(SEL_AVB2_MAGIC_1) -#define MOD_SEL5_4 F_(0, 0) F_(0, 0) -#define MOD_SEL5_3 F_(0, 0) F_(0, 0) #define MOD_SEL5_2 FM(SEL_AVB2_AVTP_MATCH_0) FM(SEL_AVB2_AVTP_MATCH_1) -#define MOD_SEL5_1 F_(0, 0) F_(0, 0) #define MOD_SEL5_0 FM(SEL_AVB2_AVTP_PPS_0) FM(SEL_AVB2_AVTP_PPS_1) /* MOD_SEL6 */ /* 0 */ /* 1 */ #define MOD_SEL6_18 FM(SEL_AVB1_TD3_0) FM(SEL_AVB1_TD3_1) -#define MOD_SEL6_17 F_(0, 0) F_(0, 0) #define MOD_SEL6_16 FM(SEL_AVB1_TD2_0) FM(SEL_AVB1_TD2_1) -#define MOD_SEL6_15 F_(0, 0) F_(0, 0) -#define MOD_SEL6_14 F_(0, 0) F_(0, 0) #define MOD_SEL6_13 FM(SEL_AVB1_TD0_0) FM(SEL_AVB1_TD0_1) #define MOD_SEL6_12 FM(SEL_AVB1_TD1_0) FM(SEL_AVB1_TD1_1) -#define MOD_SEL6_11 F_(0, 0) F_(0, 0) #define MOD_SEL6_10 FM(SEL_AVB1_AVTP_PPS_0) FM(SEL_AVB1_AVTP_PPS_1) -#define MOD_SEL6_9 F_(0, 0) F_(0, 0) -#define MOD_SEL6_8 F_(0, 0) F_(0, 0) #define MOD_SEL6_7 FM(SEL_AVB1_TX_CTL_0) FM(SEL_AVB1_TX_CTL_1) #define MOD_SEL6_6 FM(SEL_AVB1_TXC_0) FM(SEL_AVB1_TXC_1) #define MOD_SEL6_5 FM(SEL_AVB1_AVTP_MATCH_0) FM(SEL_AVB1_AVTP_MATCH_1) -#define MOD_SEL6_4 F_(0, 0) F_(0, 0) -#define MOD_SEL6_3 F_(0, 0) F_(0, 0) #define MOD_SEL6_2 FM(SEL_AVB1_MDC_0) FM(SEL_AVB1_MDC_1) #define MOD_SEL6_1 FM(SEL_AVB1_MAGIC_0) FM(SEL_AVB1_MAGIC_1) -#define MOD_SEL6_0 F_(0, 0) F_(0, 0) /* MOD_SEL7 */ /* 0 */ /* 1 */ #define MOD_SEL7_16 FM(SEL_AVB0_TX_CTL_0) FM(SEL_AVB0_TX_CTL_1) #define MOD_SEL7_15 FM(SEL_AVB0_TXC_0) FM(SEL_AVB0_TXC_1) -#define MOD_SEL7_14 F_(0, 0) F_(0, 0) #define MOD_SEL7_13 FM(SEL_AVB0_MDC_0) FM(SEL_AVB0_MDC_1) -#define MOD_SEL7_12 F_(0, 0) F_(0, 0) #define MOD_SEL7_11 FM(SEL_AVB0_TD0_0) FM(SEL_AVB0_TD0_1) #define MOD_SEL7_10 FM(SEL_AVB0_MAGIC_0) FM(SEL_AVB0_MAGIC_1) -#define MOD_SEL7_9 F_(0, 0) F_(0, 0) -#define MOD_SEL7_8 F_(0, 0) F_(0, 0) #define MOD_SEL7_7 FM(SEL_AVB0_TD1_0) FM(SEL_AVB0_TD1_1) #define MOD_SEL7_6 FM(SEL_AVB0_TD2_0) FM(SEL_AVB0_TD2_1) -#define MOD_SEL7_5 F_(0, 0) F_(0, 0) -#define MOD_SEL7_4 F_(0, 0) F_(0, 0) #define MOD_SEL7_3 FM(SEL_AVB0_TD3_0) FM(SEL_AVB0_TD3_1) #define MOD_SEL7_2 FM(SEL_AVB0_AVTP_MATCH_0) FM(SEL_AVB0_AVTP_MATCH_1) -#define MOD_SEL7_1 F_(0, 0) F_(0, 0) #define MOD_SEL7_0 FM(SEL_AVB0_AVTP_PPS_0) FM(SEL_AVB0_AVTP_PPS_1) /* MOD_SEL8 */ /* 0 */ /* 1 */ @@ -664,25 +628,25 @@ FM(IP0SR8_31_28) IP0SR8_31_28 #define PINMUX_MOD_SELS \ \ MOD_SEL4_19 MOD_SEL5_19 \ -MOD_SEL4_18 MOD_SEL5_18 MOD_SEL6_18 \ -MOD_SEL4_17 MOD_SEL5_17 MOD_SEL6_17 \ -MOD_SEL4_16 MOD_SEL5_16 MOD_SEL6_16 MOD_SEL7_16 \ -MOD_SEL4_15 MOD_SEL5_15 MOD_SEL6_15 MOD_SEL7_15 \ -MOD_SEL4_14 MOD_SEL5_14 MOD_SEL6_14 MOD_SEL7_14 \ -MOD_SEL4_13 MOD_SEL5_13 MOD_SEL6_13 MOD_SEL7_13 \ -MOD_SEL4_12 MOD_SEL5_12 MOD_SEL6_12 MOD_SEL7_12 \ -MOD_SEL4_11 MOD_SEL5_11 MOD_SEL6_11 MOD_SEL7_11 MOD_SEL8_11 \ -MOD_SEL4_10 MOD_SEL5_10 MOD_SEL6_10 MOD_SEL7_10 MOD_SEL8_10 \ -MOD_SEL4_9 MOD_SEL5_9 MOD_SEL6_9 MOD_SEL7_9 MOD_SEL8_9 \ -MOD_SEL4_8 MOD_SEL5_8 MOD_SEL6_8 MOD_SEL7_8 MOD_SEL8_8 \ -MOD_SEL4_7 MOD_SEL5_7 MOD_SEL6_7 MOD_SEL7_7 MOD_SEL8_7 \ -MOD_SEL4_6 MOD_SEL5_6 MOD_SEL6_6 MOD_SEL7_6 MOD_SEL8_6 \ -MOD_SEL4_5 MOD_SEL5_5 MOD_SEL6_5 MOD_SEL7_5 MOD_SEL8_5 \ -MOD_SEL4_4 MOD_SEL5_4 MOD_SEL6_4 MOD_SEL7_4 MOD_SEL8_4 \ -MOD_SEL4_3 MOD_SEL5_3 MOD_SEL6_3 MOD_SEL7_3 MOD_SEL8_3 \ +MOD_SEL4_18 MOD_SEL6_18 \ + \ + MOD_SEL5_16 MOD_SEL6_16 MOD_SEL7_16 \ +MOD_SEL4_15 MOD_SEL5_15 MOD_SEL7_15 \ +MOD_SEL4_14 \ + MOD_SEL6_13 MOD_SEL7_13 \ +MOD_SEL4_12 MOD_SEL5_12 MOD_SEL6_12 \ + MOD_SEL5_11 MOD_SEL7_11 MOD_SEL8_11 \ + MOD_SEL6_10 MOD_SEL7_10 MOD_SEL8_10 \ +MOD_SEL4_9 MOD_SEL8_9 \ +MOD_SEL4_8 MOD_SEL5_8 MOD_SEL8_8 \ + MOD_SEL6_7 MOD_SEL7_7 MOD_SEL8_7 \ + MOD_SEL5_6 MOD_SEL6_6 MOD_SEL7_6 MOD_SEL8_6 \ +MOD_SEL4_5 MOD_SEL5_5 MOD_SEL6_5 MOD_SEL8_5 \ + MOD_SEL8_4 \ + MOD_SEL7_3 MOD_SEL8_3 \ MOD_SEL4_2 MOD_SEL5_2 MOD_SEL6_2 MOD_SEL7_2 MOD_SEL8_2 \ -MOD_SEL4_1 MOD_SEL5_1 MOD_SEL6_1 MOD_SEL7_1 MOD_SEL8_1 \ -MOD_SEL4_0 MOD_SEL5_0 MOD_SEL6_0 MOD_SEL7_0 MOD_SEL8_0 +MOD_SEL4_1 MOD_SEL6_1 MOD_SEL8_1 \ + MOD_SEL5_0 MOD_SEL7_0 MOD_SEL8_0 enum { PINMUX_RESERVED = 0, From patchwork Fri Jul 1 01:37:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902506 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67DA2C43334 for ; Fri, 1 Jul 2022 01:37:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232223AbiGABhi (ORCPT ); Thu, 30 Jun 2022 21:37:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbiGABhi (ORCPT ); Thu, 30 Jun 2022 21:37:38 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2101.outbound.protection.outlook.com [40.107.114.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 474895C942; Thu, 30 Jun 2022 18:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oKKcXNHdZzXJaOXNXRH/YwIFX5ZpNq6TdQL74qN1GicLwHNH38Tltz3s6f/qSDL/uATkuI2m/z8F0DutO36muE85wEvGjvOOOJ7tHOP2HHm/hitCWe50BbNXDYNUaI24BCumaOoc7hsXESxhLWe553UmS5E1ICZvGNmPF8BtOiV4MDYDSqvwmG7221j4zw+6s+UWARrGFqgvM1hPlN++JrfPs+OOw9PxWbeqsPqyyftXrgCWRkM5zTPghuQkW2IGF/ufhegzxHQm/bj1vWexMJwZ92iiZFft8nmZIea+C3PQylBlAKNEIHGgaq24WAvVHGofU2qL2VMxKuxsKMgUvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ULyHGHaiTaNjtA4NPShUOFTgQBShq4Z7MqyfvmSZZHg=; b=jxo6CvUv41rntvXvcFXcPktC9Cjoifd3N7yxvoXCC3goahcpG9T2c11H1GPTVXuTIR2+6Nx2oFYDOtLS90AylMepSa32lOHuCw9qy0wT8XXCvb+u31DqxdOecYe0jP4SjNfBRieTv+UCgD/5K1j61AkT3jd+2l89bZqBb9aLasetFW008nwn2m5XGbrIaZCvRNwZedLDTotWjZR3Zf2uyTsSouOdqdLvmBy88SDj1d7kIqWl/lqjBgZ11FeAkMV/WUA3AmimNcgRaQblr1MUdwBpAYexX6rv2ApFVbuXO4qYNB2e9odhaUeA+I8pXKMa+UCOKCKhWl2pDUL3AjZ3+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ULyHGHaiTaNjtA4NPShUOFTgQBShq4Z7MqyfvmSZZHg=; b=eG6b1ceLI9CA1Zm5uCiMccRor4FMXgrWPfOG31zTaMmtoUCOETkjKUhRYuWP1oei6KsySwDqLaVQG7JspjZ0WAinrETtITaNympgtMvOijb3qqTFvJyuFhr2PWP8RVnfwNDwr8P+lzN7QJB6MhW5QMKnqLpGMogM5wjzHH2K9Z0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:37:35 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:37:35 +0000 Message-ID: <874k01txy9.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 09/23] pinctrl: renesas: r8a779g0: tidyup ioctrl_regs User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:37:34 +0000 X-ClientProxiedBy: TYWPR01CA0035.jpnprd01.prod.outlook.com (2603:1096:400:aa::22) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f02498d8-17b0-464b-69f1-08da5b02461f X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AWG3mrY7WCValtAiiiRSO88BdRPXgaW4ei0QIb4JmSLJYyOr8lYArtc3q/7TTVCeElmz/lIxOJ5ho7mq13to+TZbsArTOKkyv6i4qma/msE/MPxltsKRILAlLR2xPqyPQ1Xfn8ELi/FVfAI277nPeC61UsrQDVkreZ2eaeIBWG6t3F3QFElGlEqzNdg6aZnbhyWgpJY0WWNKf4MDRYnL1etADn3g2VnMt5EZ6XXVwDr2LrUDQKyWdJ3U+cSQn/lbaxVfILZUIdi4eeYNvL3O/wCTLBMV7Lx/jm+ery9tWXqHiCFis4+cF6/831ekO8X+oNvaW6RFccShHEKbiNIStmit5gXiOd515KLQgV3XDYgsx3zwBNdKAaybBM6GwrMWs4w9K8ApcxDT7QEHm8b4PzQwcfq0JrxtTVyFBPAIN33wrzrBaAcLCTCDIHpD4AOzjqtULUVdvinKnKmJr8+cUiDaqNElTrKDoDBozxwgXl4lW53ZLAQSzOo7bxz3a38i4HHQjRj/e1Z0Ll51puub71zBJArdrvZz8sgIkZkds4OKKnMFjguk9XroeHOBKTqY1/HDyetKDgaDQE6VKhYQG/C6alqYqLs6HnS36pUA0wGLKSC2NhttqIJnI2OOfD7QnyHX6RIoWxQQnx0nbFs90IkWebVb666cGerN9GjHGllo1CQl4sP3ljn0lQ0XGKkHcY89fWjjGASw5mwQDnYiTcl4b9IHWfe24V8M6Xa2axzDEwNeZIac2GuZcrwPRv6NEyyutei+raVCtu9DA14BIUCBWV+K4DQfiSyxCXuXpq4DtqaqidEeTvWxC4x+vr1V X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pH/kDNK1HHIDR21qu6hRFQ6F6iGyqs6k0wcwTaLTeouMOg9YxZkpxllaVDeorPKl5PPCmfgxRvSscZe6AikSPsh2F8FcOUVMr9p5xH9N9TItYChNbWhMJ1O8MQz1XJk53auTNv46bNohgEyiz8+NIMdQUEIxD0tz+64CbDvwH/iK4PgZMQYz60y1I9pk8I87DVNsI2NhYCuMrT5svT4XjjLVrze3i1LWi4UVXID+wUjXBPKYuJbvG5ub5Wk84iWHKzBNqXwwBvldvKdH/tG1kstfnIYQRLil8kUBt/ERwdFdpdobNV+FSH2LR6TUtl1gLjHFJghgqoVoXJ77Nwu95OYGml4NdOcl9FVhHIiDRK2NS40tEwjCqgc9iEAmFjVBAVdoKiEqON/dsCv8mfHnor+bargr59A4fTQK3FzteFyqsu/bPC3SvAqx7lAKQ6mlVx7HI2uGrmJYg+9PtM8ElTFrSY7RvwLiyUzmOJ1pnVwJhbPfrhO/hZG+NXj0pWUDhxySEbs8ET4kqr6Upd1tNC7SiwjJ9tZCoobATGoA1emJQqmKB6zl4/cSoFALGQTBTTiiCjnkRxkJZ3FRRSOTNy7QJ+6xuKPbf0X6hWmfoaVbLW5G8MACTcL+w45PMJF1rkMkoQqBKfby+c3Tg71aQF0vj32gvKsVtN87xeI36KT0o/lO1orZNtYcZuseOChjtTu/MTdWAiPfiIjUHjSwcpTOclPkRYjfcrCM5usCB29D6tAO430vxoDH69XAEVE0rk2lCcz9szfDlhRfjx4zW2xRFHnEVDWiXZO4oGif1cAcLQw4Hwcwg14e/eBV3xrAlNDKuvbfC1A0qrO4vXpLgN4hpGi2/IleqhfRFpg+HvGMqVaL/Ez/82oEY6GToqrBlycZwpQRBYPLOErBUMc779T0IDpOIl2QN0SQVEU2z3lDWCsQvIBzFQqWqfblLMdaUveZqedAHmQppFiyk6iWw40xfib2iJflQvTrwKGhurTGkycwFrlVrzXwlwZOH9SnO8OEgrl2/ktUYHor3c/NPdRYeBY8n/TxmrCLlZ8HeIF3p8bOICbD8BN3UyYIbTR0Lej+QIz8EoarHacKHeN8erZ9mtTrs01Sj0t1QDsNhc3+4+5uH/QaQ0mYeoW2SCbvURB84Q8DgGPpEwfniIdrMg+sgLx0BO0fp3tPqb8jha4MeBsb1V9/4knvipjPi+rOA/0/yp710uAPF73T5ekrVQF+xzvjepWuoK54TPEOAb/w6g8cKO6VNZC5AuapUe+7ibKc/MPtVV2ZB6HZhFxZ4uOA9A5v7I/OWwz4yrc8B4EGTSVEDzC1E8gs8TPqVCNDmcP18gYRA0+tF71KcdKkIGKgY3s5XYkQYAESG8tCKIvVVcjPvZA/J6Sj1f4edoJnFQJqndfpaL1oROXLxDJds4Hol60rfR+ddwzOJuvc8xxC5YdS/Lpy1/oVyJ7+vJw3ibX0IsqjbA9B9Bri3xdNUG0Yg5Q9B6syklNqOLJ/bWVHoLMgWP3vpNndeYHS+vKFrzhOAdhWU3RuU0UucAiou34HzK1OAwmZahSH0mR/OUBJopACkZI5zdckJB0vCxe9crlL73vO6CcP+1NLeFJomyNTCK00MCbjAgoamhoSVLs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: f02498d8-17b0-464b-69f1-08da5b02461f X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:37:35.6340 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WPVGMVQd0/DZpTuQG3jswDzrJytWCwi7hF5J3Nj62apPkuiLTXspVyqHYu86PNzE7QP5AEPZ0NshOuVtDaWlxvtr8D+3Bia4t76XFAAIrm6SRgnvgDaZDAYTSQADTSqo X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch removes POC2 which is not used/documented, and remove TD0SEL3 which is no need to have. Reported-by: Geert Uytterhoeven Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index d590f9108ea6..70ca971bbf36 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -3621,27 +3621,23 @@ static const struct pinmux_drive_reg pinmux_drive_regs[] = { enum ioctrl_regs { POC0, POC1, - POC2, POC3, POC4, POC5, POC6, POC7, POC8, - TD0SEL3, }; static const struct pinmux_ioctrl_reg pinmux_ioctrl_regs[] = { [POC0] = { 0xE60500A0, }, [POC1] = { 0xE60508A0, }, - [POC2] = { 0xE60580A0, }, [POC3] = { 0xE60588A0, }, [POC4] = { 0xE60600A0, }, [POC5] = { 0xE60608A0, }, [POC6] = { 0xE60610A0, }, [POC7] = { 0xE60618A0, }, [POC8] = { 0xE60680A0, }, - [TD0SEL3] = { 0xE60589C0, }, { /* sentinel */ }, }; From patchwork Fri Jul 1 01:38:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902509 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B7E1C43334 for ; Fri, 1 Jul 2022 01:38:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231298AbiGABip (ORCPT ); Thu, 30 Jun 2022 21:38:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbiGABin (ORCPT ); Thu, 30 Jun 2022 21:38:43 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2099.outbound.protection.outlook.com [40.107.114.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 719111CFE7; Thu, 30 Jun 2022 18:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=igZl00p66EbnmqOKhakRClySXAIH4OYEn8yq7zTVcmXxsDklRXQcjMs43NBbDELGDzVw9GHT0ET/4Fxi+8sH83vvIBEoiPY7lhdjEAOoC8uZ0HOjVmf0Hg9aJmrXzh6qC+ivY29mfp+74nLBe1zognnCUH31stiLjFhtDkvtXIjE46n1FAixp188DbcR/RMXGzNwEuSybt5rz/DVuvfMjt6wWo31SNIpUrbIFCrXvTKSZz+gPg/VjLi5w2h6ODsPs9T8z3wDXNBUaW0PnJxMrJqJ6xMxVuwoXZLiDD0337DMy89kMyHF0zxyrn7ih/hNcD5AvWhD6G/hJR6vgKBhoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sBnQzw2Tahu8pI9gOPgfpJPWiZkUEqdr61H2/CqXJLo=; b=U8gg/GaKzc55NjZ46rldo5LAHis3XpgDZPm0SxIK3glMg0MCT18uJkw+W5Cm7zz4EvHMO0840xHN9rHtTwwHiJJdt1OLXOrfsM9kImvMvrlaLAVq2qDjf2eUs29o0sxMwYi5KpELTt/fZV9R4TQ3cnU7ilexBhE4qYiU5Fy7WPQpG0XAbebsW1+rcmmROiziJepX8K4fb4Hgoj/FH+xjr1VQRKUuuojpzhRIr9//Lb2LtLbMZZWIJfbwKxE9KsO0HNFTULLygDbEQdeP3Xix7bwD51uzRKEBhe+AiUv6HIJZOf+j2YoMiEOzH0BuFkTS+edI/krlNLn8BYgLiV93Jg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sBnQzw2Tahu8pI9gOPgfpJPWiZkUEqdr61H2/CqXJLo=; b=XURCBDYjwu4gCr/TTkq0WFm68gXVDuAQF7EoLNU7YP8cI+kntxkZ8j2b2aSc7QjSBfzGpf+HkUvFLcJ49tvqR4ITVJwtW67Ltkrxsqy3XiZrA7eEM7ZTTjIIGw9qcWt5DnpPruGAdktNAjqEO3F97vWAbljdFVKsegwiSLA5ZxU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:38:40 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:38:40 +0000 Message-ID: <8735fltxwg.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 10/23] pinctrl: renesas: r8a779g0: tidyup POC1 voltage User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:38:40 +0000 X-ClientProxiedBy: TYCP286CA0062.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:31a::7) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dedbefc5-6b3f-49da-6e04-08da5b026cfc X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TjaQ9IHe/af6EFL2XLv6Ox5y1s9GrM0TceB3chno5toZZ4pnTqoGKQSCFaMkg71S3C71h23UD8UQUOyaK8yOa8SUXwWpJgIhqfmatMazURbzWlS7hayQNXt0t0hliNqnTOYbmXVQ2GsLl9CPT9Xov2JW2iG2p7WQ8al4JuGtbQla+AJKSgfXESqENMmEzmhIkfPbjn1rFf/gSLILf15kJNUWfsSoyty2uhgLMFhQ1STQScfXXMFjdMw0PNZegNfd9e5ZiVI/jfexQK+snusLcRPpeeDBv6GSP5wOQxtTL5r/xqtZVL0lMlZ3Vb8xw82PjoVo58qjD24yeEJVYIBUiwccdSmN4mTlaS6gLGdrpqJZuFatoc/w+OjUHDZn+ogY8TbLSXu5gDmEjjYIfFPWPaY+L0O7t+TQzBjRApiB+doLJZKSw8PfYGR2IXEnxMZ2BqwsauIMrvnx0t3wG3RguKD8/y15mrfuBnPALBVx4vM5yAiZFptpAEGl22bdfzE+UdmrAX42aS6/3Mn8GgsFsJDckKIxSQ+TJCPVWV2PyWya7i1GwSqoG5j9PSSsjuktUvH0IvGoAoJCxtrhz/AfvlPvXpXY+vl+00iMMK91G5xNVeWN0W1p2QnbDp6cFXlq1/6p5Vrw1s4tNvWMUD+103GqqoTkgpb8twDlRSCjYJjuM60JdMs4s4UX3DR3CSjxv7ui6ccF4lpalW7bGtbsfr3G3JU2onRugan5F+Ll/fRtDJebfKRaaAmeJcahQ+EAyr/TeC/jkQHv1k8dZjNxYlGJ96wVirb90mSC9YbSEaui0CmqMnRB/6vEoT8M/2pT X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sJViaohwj6HdjAVAKvAWZPARWUR0MZhCKkeeYv/z2alyUvmzaWvRSpUvCKlkjn0Wrz3PsFJzAht4TGAnvoofS1LjYu5FH4w2W5p7J0tetnWYK/KGAL//PedqYvn/d1h6O+kCaimqGR2jpk5XQGWR1ryqfH0BgKv9Qu5vnOtM8rLJafxmfPk80GCPewrXz2EFax6OErE4zDIQFrcRNtykSJgDXzX7s7Knur5RyFDbvqSWBhn+22zF3dcTc6m1ZQbJrB7Iahlz0GToW22NLY5418KbFT30HQVgqezLkjaC5cco6pf1BgSy8v5SbYjmgK7DgS8OIkPpdxPrx9Q7uNDpqfHvLUMP9jMuMLumiikRwEVi/JUOqpXxx08W9vij5KJyY6Q3zc/+srtDuI6MfZYOPzt0pto9QNKtHwnzIqB4UC8oemCZKoikhXDOsQh+Ok6HSaX5BG7bB7/0O37ABCWDLexe8vYqNBL7x94wNLUbN2Q9hU+F/IvVocY+GBNyylMMJ0wdpKx1DcyGdAX5G4/oSTcKL4pbOFwR7gPImHI99GwN9BOCdO/eVj0mrDD/19hmY7H7HHVxOfqiqoEOvFQNt9nG1f13R7WOGpnN7M4qJPGX88s5j6jw9EmuHOEe169SaJWR0pgRtUFXq9TmZf2B3M0mF+MnH4OxFQFResfJNJa4IdaRbgLc0iT1aU2iYMJhzbnAsTO1/3kdQd/8omxpNJgUCmUNRcn4dCOpLlRJYh7ff/XcUEcsfTvhGqpivZmIynaOZ7Sp3PlWd2t/2wlnOu88148imgDrCr486Vi05mSf6cAjie4qxhcy8CfGXd57vxOPDx+/nTyG4w09SJxarrGewkaNwrTf9ziWKj2XPotHHeyhOejNMxluOUqZ0LqyiybISS11/EP/ak+XAwl9xjmGnF8uXMiInWekUeet1FYQ/cUpeSPZP5cFOKqi1zRc/VWATK/Fu2Lliy+qJU8zb0q79gPSHhf8BhWpDGm+Lrr1wcn9TNG4+SoYcG1UVgFZi8ZdwXj3v/Cqp5p73ICnWFbD90i97fvslqgRUdu7VU7JrT7B+GlybdUtxf0hFyPwvzZQTxkXRLVVYo6N3/6mBfqwla8yKFpVlhp4Iv3Hws9Q9u6tOVIHUHbly+hdW9Y8RXYpH3pWNfk/3rzfhRIEe56fKA5EFmLvK8JiVhWluXGf4JIh74zMNoU+YTmIilYgRDV40HLem4GURhPKCZmqN+DruFWtbsNl9khtHsOMsje1YWzlnhgp/lFrT6o5J/2qSPFI7wDRsovvnVWWPE7x+V6xrjHdSOq6AcyAMmYjMrnH6RsEVh+gUyDQVTFWanauV/OuGnlLtevVOQxqs6SYPXkadNt+rGUrprIgkl3S6mSeAp6sDX/BdqvuEUDPQWa4tKn9xGOFwcv1n3x9xriETe64xiOqS5voA48SBk2+LEQTBIHQFBDslEiDDtNTdLRN3BpFxNCxR6v4XCZ+VDTkArQWuhXPVdoSgRVWfrV3h98aNZyy33dIJRo7BzDApk/OiJGAmuXejG8nE5dL4YY5awyApthX8mp6BWxlw1eV/QQGaFjeWlIHft8qOg8b4Z1gFFtc+JJaFB+JP4jQ/ebAXDmUhBgI1LFpxVPEykwGMsQ= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: dedbefc5-6b3f-49da-6e04-08da5b026cfc X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:38:40.5390 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gLHfJ2l20pX6+7EFxVpNEXTixcggvB3/t676aqR3Y0NkXJURMQoH6ZwbzBlaqpfu+RrFy1OzLKJ9sy7ntACA9AsP1MxAHOxR1FVWub9+7pSSHqI+zBg1ThrZXRBquB7x X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto According to Rev.0.51 datasheet 004_R-CarV4H_pin_function.xlsx, GP1_23 - GP1_28 are 1.8/3.3V. But it aren't on Table 7.28. According to HW team, there are no bit assign. This patch follows HW team's comment. Reported-by: Geert Uytterhoeven Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 70ca971bbf36..281bca886307 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -17,7 +17,14 @@ #define CPU_ALL_GP(fn, sfx) \ PORT_GP_CFG_19(0, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE_18_33), \ - PORT_GP_CFG_29(1, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE_18_33), \ + PORT_GP_CFG_23(1, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE_18_33), \ + PORT_GP_CFG_1(1, 23, fn, sfx, CFG_FLAGS), \ + PORT_GP_CFG_1(1, 24, fn, sfx, CFG_FLAGS), \ + PORT_GP_CFG_1(1, 25, fn, sfx, CFG_FLAGS), \ + PORT_GP_CFG_1(1, 26, fn, sfx, CFG_FLAGS), \ + PORT_GP_CFG_1(1, 27, fn, sfx, CFG_FLAGS), \ + PORT_GP_CFG_1(1, 28, fn, sfx, CFG_FLAGS), \ + PORT_GP_CFG_1(1, 29, fn, sfx, CFG_FLAGS), \ PORT_GP_CFG_20(2, fn, sfx, CFG_FLAGS), \ PORT_GP_CFG_13(3, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE_18_33), \ PORT_GP_CFG_1(3, 13, fn, sfx, CFG_FLAGS), \ @@ -3650,7 +3657,7 @@ static int r8a779g0_pin_to_pocctrl(unsigned int pin, u32 *pocctrl) return bit; *pocctrl = pinmux_ioctrl_regs[POC1].reg; - if (pin >= RCAR_GP_PIN(1, 0) && pin <= RCAR_GP_PIN(1, 28)) + if (pin >= RCAR_GP_PIN(1, 0) && pin <= RCAR_GP_PIN(1, 22)) return bit; *pocctrl = pinmux_ioctrl_regs[POC3].reg; From patchwork Fri Jul 1 01:39:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902510 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55737C433EF for ; Fri, 1 Jul 2022 01:39:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231777AbiGABjH (ORCPT ); Thu, 30 Jun 2022 21:39:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbiGABjG (ORCPT ); Thu, 30 Jun 2022 21:39:06 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2113.outbound.protection.outlook.com [40.107.114.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B71538182; Thu, 30 Jun 2022 18:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CX95+LS1T29vdAXALhDeHNYIcyU5ZhGG4ArxLXb/F+Mauep7xovz9vgplR1Z5Z5YUD46k7PhLAvtwktqa3Dhb/SIW8KL+II6B+1aMhlTRHs08tHYPFCY8KsFDe9G5cBlm/LHpmEzXrRgfW9cjMOa9GYvcK4gw7qg6f4hquGqaCnDmi+SaGV08OZgPawMhJVbhSuzjJp+K9KUQ9WzgPbMYMxjbxUD52gnT+hhYFDM99Ff9m6rbTPtHq6c4GXSlYWQrVUAog6N4xmlCnETWpZlp5C76KjBkvht749Pi0rqJ9jnMQ4yqZUZXqQyagyMhgUV/VfgPXVSGCq4iNR0QH6VTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=F7cRdFeNH4rgX1bnb03qMi6g81WqNEtufyux8YkEPTM=; b=ErffJPMT1z/Y6rUDUSU0HkFlwRadonQlCaHz+xBBYAZI5+QeyPpR7yTqfQ84fF9vg/4ch5DVbAsyGOm89Tnv7t0EWjSkjWGgjx6E1KRpl+a95ZZMz2xsBqJWxKptgd3UIhMW33daKYTc98Dj5xkxenEWVNtKvnWBQ+CmAKbhLeKH1WhwUk0SwMBTQ/Wp9kzYyDMGIH7o7QalQs89ysiDuV+Z2epI15aJkFaits9xQLsCRKMxG1DsLUmpv7UvN+1cPnrxafXnQbd3pnfRghSzmdwwpFj7lKHE75t7TAR53qQDsrFep5EXB456JTY/Lv8wlPf8oyCn6jQ3iaYYd1ltXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F7cRdFeNH4rgX1bnb03qMi6g81WqNEtufyux8YkEPTM=; b=k7uuzuvnjjpecKa2FLskXkcX58NGXlyzVLsKPKxNHLPt9+erVS+Hl2XrtrvSVdz8tMxWeTHrmSIn5SjdaTL4f5/d6qMQmXFgKzD81om0U5M5O1WC3ttSQMYJYYDgr7HySY3qjYN5MI+pkMnSQpx2ljvs58xg5E+WPvnN3SL7SV8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:39:03 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:39:03 +0000 Message-ID: <871qv5txvt.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 11/23] pinctrl: renesas: r8a779g0: add missing TCLKx_A/TCLK_B/TCLKx_X User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:39:03 +0000 X-ClientProxiedBy: TYWPR01CA0031.jpnprd01.prod.outlook.com (2603:1096:400:aa::18) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6810d37c-15e6-4166-e7de-08da5b027a9e X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RBHdBPRwqP+Ymv/CloZ6wF6j9dQcnT/IiUteXQRMBNr5bCqBN9hMUdjTrpzF8WDRSJUplqXMR98O+Z8ABoIurMj8HzBA+86N1AJKkGmxmzS5YQlbG0kf3k8/mbo/nOeEfX5uQwk3oQOm0lY5AlA2LWqfXjrIUcuX3idF2aHMzr4EruJt64gZe9vyBYH5fWyltX24karaaztmZisjtbHuHGk7NQGdo/E7YRqk6bq2bhFBYAoNebcmy34bcbcAAqP8C24yuIzTpRSZg0qC2YnmEhK9OltqSkjfBdduPYUe+81U5rggJ8B66B2Mv2JVLF5FSMrNpVcm8wQorxRZGBwhtDRO/FVDhf5jB6ahPmFen3+AUfVn3fcbQDBni+5ybvExKEbmRjnJHExeoG/43Uq4ATQNQ717+ytggDe6mXnVB7TdPBoDiW65czoYLrCW57E/9VoOU/R5Zg1SYjrq1LYTZrPIzIAEbsyDQWDJIAb+l6ta7ixIHKw0Kvv0b1R/kqHVAgUjlejnp8HqSYPRFe6aSaBOutcylmrO2bBeowPOJmTRNIRZ/GReAasGcNM1Cobd12xCbSW73RF+J/dITMtmhPvEnnKEVFVU7hb1H0wPZWyIptjWrn3h3VOmsQTeMi+Azh7VV7c+1/9kstE2ikMKPTFlcTitfdYDlnjAWy+6IYjrWEb/L6Vi6wqjiuXenu3p3PQao2RAq2AVQHJvYcbTLE3j1GDOPbtKzvJ/8BasrAyf1wOWlphsJiyK+jRHNeP8MZA8XUHEEBipBT2SGiOmafgdMobBjsizHuAwm6uPsWdEnZwXz/5OytNu9M/aX31I X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:mt;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: smdpAUaKu3UqNltayME1eESgdeXzHawOyo5aElawmflD1ibz2TvGGpLuvBU2T6rQJ68dfQ0PDjHqi2lxoZT3o1Iws3xbTExsHoyRAaop9PMDbF7cseUS9Y4+1e6KDqR/rNLtFH51K2br0whxrWqLj3i32qGgiagEJpBCMZ9YY5+x5qS0eNA4w7D8WPdc2P9hn1RSLfiIk7LtvxVQWzWzh3twIsK5KfUEZFZk7u/V7FHkllyi15+k6L/rbs3NEzN4ZZXonHHa6LKHrM+4lrq8yrONYVVLiZBF+Fr/GV/PCfljC9PqqE9ROg66dNuC9NMBgduD7HFyTYowqwWyNtkORwigpz6Wo20e3B31J/kuo6nzYE87PukD2E25dKYwJJwQHC+OAgWykye8AicxgGJ7AAuy9UptksjbVFGYy7jo3xAdVWnzoGqmnrrXJwnjN0bdtkXgzczY3SLyTjSKhXKO7OLyDyuX8sWxlo4RXJEIdI+U/j+6MxLjfJT02ih9Afh8DM6gRIXedBAQqLHUo6oVILs3cOlUEmQqAJOU9S678FVY+RpR8ntu16KkkJs8ZSNGOg0bEMSAe+H1H9/4FPwbKvd0YfSClJNc9dR801WoOrRN6PiZkVgi6Cbf7Kg9/pLY6ygRis3UvJaEI91eD8/IFTX8LDpfJ9RBXy1hBZGH+JX0I7YcCf0bN5IR5oEdMlavJXZSvCFJAqpLZ1gDNRZPoD4Rjy/Wj+qcyZXLjnB2VAVKdPnZ5J7BuW8STsfcy/Qp8/nuNmrMxzrRhO0gZrQZobbqKpM0BHQbxl4GBCPADw+GRwDmkqgq71OmvOKjbWgQ+AdEZTmLO86yVzRHiMRhTfzsPQj4Dbh4dn36rFMDVcC+OL0IX7v61paWn7QqDDcEQP5tJjKd7ulaoSycgQObB8gcqNopklQOzGNxisrw31iOTjfVrFygcrSXcJilLymvmwPfGlG0uY/88D+ik4/LvT6UBbK9UrcgkETZ4as4UkLoksq/Bvr5OcItyxkxg4zL6hEOLummKi5l9E6Tz44HNdRthN2a0mywOWA0h3TaHgZSv0tj2zsfxbywtRnRrkr9UrU24/urk5i0mZclwozXK3F8SUF5uf5pVofS2CQcBfyMxatvrsht3ufYz1VIDIGTJXRb1XeyXPi2y6G5W1zFebQjtDFY/PE/aH1cPeAF9t918tGWR2lz+581+BR30qVHlba9Pzpt040ZJLrFWf8F/PWaPnh/y5SrN5xdrn7jd4yhSuwzycTGyK11QtrwYYW3sWFnfggRAxLsR5cd8ZZptt4V3D/2n4mdodK2UvdVpe76YrOFCvjapXcDlinsRvUWraUttjJN96uHsCWRrR0/QhhhKNI3H/LTWPICxXEaa7vPTaxhzg6nthWADmh9YlEjEitWe/S9u9eqquiJ5Flgujo8eDXkhO9ifWAQqyjJf/cAn9B3+yErT/I0JNn8ymtuFrJgEvLJm8hgtgJ9+t4EBtiIkCXmp2g7rMKuDaURWjXAMy0aa1etFF9khmir3eMasosEqLFFpaeEcfGAQ8QUKNfR6tXWfAN3SXdYLOwyOozwa5eDPymGG5GhbL4NjblfGr4gPxUKoouXCCB4hfb2as+TOjTGO/OiyF5vua+V63M= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6810d37c-15e6-4166-e7de-08da5b027a9e X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:39:03.5236 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: etSZ3LlN8RXaxkWCNyYGwDdGU5dPDHBzaDp0zJ2MsPxlgRwdjvWzQAI1zStRUyBEqXaM+mOmz7nRTXa+F3/WehQldZdtfwKu3x3iGiiAu4Dk6DBDYbOVdN1S5sWtR+M+ X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch adds missing TCLKx_A/TCLKx_B/TCLKx_X Because Document (Rev.0.51) has 2xTCLK3/TCLK4 with no suffix (_A, _B), this patch name it as _X. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 281bca886307..2b2a1a8756ab 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -270,7 +270,7 @@ /* SR0 */ /* IP0SR0 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP0SR0_3_0 F_(0, 0) FM(ERROROUTC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR0_3_0 F_(0, 0) FM(ERROROUTC) FM(TCLK2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR0_7_4 F_(0, 0) FM(MSIOF3_SS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR0_11_8 F_(0, 0) FM(MSIOF3_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR0_15_12 FM(IRQ3) FM(MSIOF3_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -341,15 +341,15 @@ #define IP0SR2_19_16 FM(RXDB_EXTFXR) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_23_20 FM(FXR_TXENB_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_27_24 FM(FXR_TXDB) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR2_31_28 FM(TPU0TO1) FM(CANFD6_TX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR2_31_28 FM(TPU0TO1) FM(CANFD6_TX) F_(0, 0) FM(TCLK2_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP1SR2 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP1SR2_3_0 FM(TPU0TO0) FM(CANFD6_RX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR2_3_0 FM(TPU0TO0) FM(CANFD6_RX) F_(0, 0) FM(TCLK1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_7_4 FM(CAN_CLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_11_8 FM(CANFD0_TX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_15_12 FM(CANFD0_RX) FM(STPWT_EXTFXR) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR2_19_16 FM(CANFD2_TX) FM(TPU0TO2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR2_23_20 FM(CANFD2_RX) FM(TPU0TO3) FM(PWM1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR2_19_16 FM(CANFD2_TX) FM(TPU0TO2) F_(0, 0) FM(TCLK3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR2_23_20 FM(CANFD2_RX) FM(TPU0TO3) FM(PWM1) FM(TCLK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_27_24 FM(CANFD3_TX) F_(0, 0) FM(PWM2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_31_28 FM(CANFD3_RX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -376,8 +376,8 @@ #define IP1SR3_11_8 FM(MMC_SD_CMD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_15_12 FM(SD_CD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_19_16 FM(SD_WP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR3_23_20 FM(IPC_CLKIN) FM(IPC_CLKEN_IN) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR3_27_24 FM(IPC_CLKOUT) FM(IPC_CLKEN_OUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR3_23_20 FM(IPC_CLKIN) FM(IPC_CLKEN_IN) F_(0, 0) FM(TCLK3_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR3_27_24 FM(IPC_CLKOUT) FM(IPC_CLKEN_OUT) F_(0, 0) FM(TCLK4_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_31_28 FM(QSPI0_SSL) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP2SR3 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -737,6 +737,7 @@ static const u16 pinmux_data[] = { /* IP0SR0 */ PINMUX_IPSR_GPSR(IP0SR0_3_0, ERROROUTC), + PINMUX_IPSR_GPSR(IP0SR0_3_0, TCLK2_A), PINMUX_IPSR_GPSR(IP0SR0_7_4, MSIOF3_SS1), @@ -891,10 +892,12 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP0SR2_31_28, TPU0TO1), PINMUX_IPSR_GPSR(IP0SR2_31_28, CANFD6_TX), + PINMUX_IPSR_GPSR(IP0SR2_31_28, TCLK2_B), /* IP1SR2 */ PINMUX_IPSR_GPSR(IP1SR2_3_0, TPU0TO0), PINMUX_IPSR_GPSR(IP1SR2_3_0, CANFD6_RX), + PINMUX_IPSR_GPSR(IP1SR2_3_0, TCLK1_A), PINMUX_IPSR_GPSR(IP1SR2_7_4, CAN_CLK), @@ -905,10 +908,12 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR2_19_16, CANFD2_TX), PINMUX_IPSR_GPSR(IP1SR2_19_16, TPU0TO2), + PINMUX_IPSR_GPSR(IP1SR2_19_16, TCLK3_A), PINMUX_IPSR_GPSR(IP1SR2_23_20, CANFD2_RX), PINMUX_IPSR_GPSR(IP1SR2_23_20, TPU0TO3), PINMUX_IPSR_GPSR(IP1SR2_23_20, PWM1), + PINMUX_IPSR_GPSR(IP1SR2_23_20, TCLK4_A), PINMUX_IPSR_GPSR(IP1SR2_27_24, CANFD3_TX), PINMUX_IPSR_GPSR(IP1SR2_27_24, PWM2), @@ -951,9 +956,11 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR3_23_20, IPC_CLKIN), PINMUX_IPSR_GPSR(IP1SR3_23_20, IPC_CLKEN_IN), + PINMUX_IPSR_GPSR(IP1SR3_23_20, TCLK3_X), PINMUX_IPSR_GPSR(IP1SR3_27_24, IPC_CLKOUT), PINMUX_IPSR_GPSR(IP1SR3_27_24, IPC_CLKEN_OUT), + PINMUX_IPSR_GPSR(IP1SR3_27_24, TCLK4_X), PINMUX_IPSR_GPSR(IP1SR3_31_28, QSPI0_SSL), From patchwork Fri Jul 1 01:39:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902511 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17F55C43334 for ; Fri, 1 Jul 2022 01:39:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231896AbiGABjP (ORCPT ); Thu, 30 Jun 2022 21:39:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbiGABjO (ORCPT ); Thu, 30 Jun 2022 21:39:14 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2098.outbound.protection.outlook.com [40.107.114.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A748738182; Thu, 30 Jun 2022 18:39:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b/zZsv5WahWH9qUbrLs29sPMc+zaxypiGrqUF8MSZGH9Djh3VNMV35CqLM6Cakqgb5CN8tSx2mVJR53XIQqGKlMA1fkb2+/r6Z50OpP0u4WupbgO6P043bLFA4l3IqSH5RFm/oL7nFCbbK6npLRXeGvCJgsVgcCBLRBXy3PtPtiiGrnIEer1UC1ey35NNCUJqn3vx5eVwghnkILMLPzsOY559aGKrmOB7YVPmsE9OHVhYQtsB1SZrEBEp9neG0z0jgAs0u0ui54GYs43br8pFcnh2sK4rUqMkDmYht+hDScDTKKNAUlAO8iYk4J0uBmFD7XyFqx5uDI4UkhYF5WA3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Iq1vWxQfCloT8qm833Bs7DEvUDg44nR8OAbV31QC+6E=; b=mHsNu/AZyw7UtIb0qLJXPjY+N0ibidnvtoXdQyHHlwOYr5/PxVv7BZkNO97VlmD4H3wF+hxuFiWZ3oQhaj2cs2j/ZpOedbY8qYiJUHT6eiySAwYZStJtp2gie4D5987n2QtTK6rGqTNvciQrAi8MjN3LDIDJ7mal7vslmlGzDLzW6MAHqElg8bgkuGVigveroYg4BTTjX49DITL9wrK51N3aWS0K8947ZnyR+hDZlQHvcwriZ9RYI12EY3BMIOaqAan7Iy/2MXbviSTsad2Ir7jy5eSFfXRIho+Czz3uRrpIXHDsPvF1OKA9INf/MhYFVSm6JtBD8yXUF+Cnh3J4Zw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Iq1vWxQfCloT8qm833Bs7DEvUDg44nR8OAbV31QC+6E=; b=Wn9PLGOxwFtDqyFKXxk7V5bq1Ouu0Q1neP+Z8yW8LazuP8y3fA9xPpbnfFV76mhgTejZh+wMvXAMjgyHHN1+ov1y39VFXLecPb2NbRhi4kn0UaXEIIOioLAQOR8j4VfXmqJ0YNvr22E63/HYB3BDahSkJm15QJ8dw6g9zDcF3jE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:39:12 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:39:12 +0000 Message-ID: <87zghtsjb4.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 12/23] pinctrl: renesas: r8a779g0: add missing IRQx_A/IRQx_B User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:39:11 +0000 X-ClientProxiedBy: TY2PR06CA0043.apcprd06.prod.outlook.com (2603:1096:404:2e::31) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1cc3d292-78eb-4350-6d10-08da5b027fc8 X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C569xz7PnylO06pV+y8S+AfUuP7Telkzw/ws6HSsNBMojKtPqXl+41o1u+CDOVkShhq7lFc4jDETckPyROO5fcoPx8IkpSIkbbEqs7teA2Q4yEHdCJzlXTJ9iU7pPOb49drzZ1QWQyI7KF1g8e+0aa18bbUVX6H1qqv88Dw7qoPCQ7f1u6fDO3TMkkvY6csnXZSlNS1BRbEWi1BNdodAF61f+sQ19UXAjgHS7MUND8aXk/K4u23+cLMQnHANW6J2j5lK9LN5iE6iqmzQ2rqc2Ew/9ZXebviZ+B09t35rUzntauqE+vEyfsoDj80Hw9O8HiChIBqW3B46eqZ8FH6mrdHdpd9MskkBQYAd7jh5wnu41w/ubZdxLbC4kcJ1QpuVH23F29vOjiRW/LOHwoZBmlVZTDjb/AajQ51hjPMAcx/KG6VzYPpzGI3UvoL1hQZkoqpJW1RHcSs3IqpFxOCfzp7rJC18ev3H13t9nUG8CP9ivm2yngkL/xFQg76bJnXZIORLNlwzaclRg1uRHXWQ4KLg+Hb1Ec5BKOsnvogBNhQJe/HTcc/r+Z4PSL061io7kh0cTwNoC0OYv/VgvMPm7UyPwAC3pu6MYY8aDD4qf2IILCqHwZjWPeA3k+M4dMUj68mV6Nvw2deYhdxycOftze5NYM/9mj1rEUIcdWLWPynLLZ4wApxf5wlCJFHK7RGiDNnQ4M/a7/CKWUoVmzI634ozZUZMblBJmyrcPggoaN29hrb4wxzK4gXIrHvbu3kPKuJR85uuVQj7QnqYVew0oDBTK51SOLsB1I5WtvHwzgjjhb/n6E6guo/8HAUPKvHT X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:mt;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3JWOMel+a5GNibNaHrX+zE/O/iXaBOFxQb6OsrtFosLl3hk5/gbADJN5yayEtjlSPHRR4f79siOCP4X3Eo2fhXDAwTgr8KS4Rcl5RfKX3tB464QYdnZrutA4sVFj7fCF/bvrJmNUCraDkoG3ABU4nT8FRsudptDEIyvdp0P+sR4elEYV+mM3q/XplWmtDEtZ0CX9xW0kRw7+8xM1va7ACbtSYZ9q7dWldX54ISKh2DrE9GTGIK3p4JMX0ingi5zjVxjxTOj722aXYHM6ehujPk2y8pG9XQevckfTkUZ8ywrsnB22kfuWDypTlPh7lJ7GWulUcdkPqMn/yxdIlu05OO9p2W+k9mOyh9ftEFG4CRa1MPIZ1DF2MKp5ees/A1m5WPRw7Rygow1/FUrJttk0zCAb155wQFRCFAy1ui5DeY4YSHZM1zIx86po5ALJhsFWcxNEkRYPR9lzKNRWn1BFQMBdUQ17ZfK+CR1KdqA4lAKTeDXraJORLchQD0LzjFs8kDcab4S4751RgXMZSeil8i6fUvo1anWUBCjSsy4Fmbf2Np26vMxE0IyI/cxY9/MW+nfHYD4lu8sD/34hwaHFIiHWBUxXl+bSVFBESsWcJ5DkPIHPl78wSGb3wC+qpvyxi/mdPPFw+mywsRivBNYzfqwF31TdlihYx/XmA816WnWwgQidDd2m45Yx+QuscQFo03ibgjyM+EuAMoVffpTPOzgPCPGENEq3/uJtMu8n/v+kEyd86sfLIxTG5VsIBSCk1yYSciWWjACnQWxUfJNN7lWqXNeR2iGd9tYccJ2vnc0dY3sBV4WSkhdRi4EicpbL1BtqC1Hlw23Vt2Nie6hdomgzSaqksSV8x2hpW4l+5rkdBxzSsuEbikGwlLfL44QQF5YDISRdCC3KWJhIc2+HMWjnXVtC6wq0AiA9qDtT7GHcFz9EQgrQGM2jKjPbEzolEVZIG810FSNuvLDU8ihz4Kxgtm8Kq2VBbna72W7JWFKivMJWmIfK3fKMelUXoB9UyjsTnn6U3RQKjzMGl4Wy7rkmF+p/l3L3DykaR44SbyA08EeAQt60fyp/IxodDQAgI0aku7d6S+jweizNn2AnZlCn8oapEFec9d305LsrKYXQ33gsAmOvuNP/UZDgzPk+fBQvIZQaRqDD2QRHSDfcDM66449oINHl9taQGZTOBgwSLzt9z1gOs6nw2xjQDQ5w9RiRpxPnhHgIztBaPHTo3LEN6yjAFa8V4Y4h4weu96sexCTvL/lYSlhdBd7swg2iumxwrk94Svcf57G4XgVtMonk1smfU9RPB2eHNFdrmdApeRhIUjKVg4OIVbqo1uet5TrAketOQY96+PF/7TUQLxXNojUeB6NC0E4cLjRA6cfPe0BGXAbi4k7RvvFV0ruZziHBD4tv17Gc/UFyyILO1fy2CfXfha57tXtaUHKDXuTKikJ5tlugwhIiq1J/ybc6TOCci3zuWE0HALt8UFYTC+2X33HGwLjggmn61/fsgaJr3X6KUGA+jNBdCdTIek35BMkL7aiDLhRAZJ8jdtEthxwDLUBoHKxY/+PEWvLduFeMYaAzVS7ok0uENDVY32YReJRZ5+kFteAc1bqmdRW48DIii2GNsJDQlhTqa44H4JQ= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1cc3d292-78eb-4350-6d10-08da5b027fc8 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:39:11.9812 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: M2Kw/9L3A7q4d2cLrP7wYqrNuLAC/pB4bPQtRJELxbPSnCYq3jcEX2jldcKe6is12I+Z22zw3fg2dsN3zHPRhMA/QOogPFLvKNk7JIuc6qd65pkT1LMw+8d4js9uYoWa X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch adds missing IRQx_A/IRQx_B, and tidyup existing IRQs. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 2b2a1a8756ab..579ad8cbe890 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -285,7 +285,7 @@ #define IP1SR0_11_8 FM(MSIOF5_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR0_15_12 FM(MSIOF5_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR0_19_16 FM(MSIOF5_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR0_23_20 FM(MSIOF2_SS2) FM(TCLK1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR0_23_20 FM(MSIOF2_SS2) FM(TCLK1) FM(IRQ2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR0_27_24 FM(MSIOF2_SS1) FM(HTX1) FM(TX1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR0_31_28 FM(MSIOF2_SYNC) FM(HRX1) FM(RX1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -320,10 +320,10 @@ #define IP2SR1_7_4 FM(SCIF_CLK) FM(IRQ4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR1_11_8 FM(SSI_SCK) FM(TCLK3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR1_15_12 FM(SSI_WS) FM(TCLK4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR1_19_16 FM(SSI_SD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR1_23_20 FM(AUDIO_CLKOUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP2SR1_19_16 FM(SSI_SD) FM(IRQ0_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP2SR1_23_20 FM(AUDIO_CLKOUT) FM(IRQ1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR1_27_24 FM(AUDIO_CLKIN) FM(PWM3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR1_31_28 F_(0, 0) FM(TCLK2) FM(MSIOF4_SS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP2SR1_31_28 F_(0, 0) FM(TCLK2) FM(MSIOF4_SS1) FM(IRQ3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP3SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ #define IP3SR1_3_0 FM(HRX3) FM(SCK3) FM(MSIOF4_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -337,7 +337,7 @@ #define IP0SR2_3_0 FM(FXR_TXDA) FM(CANFD1_TX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_7_4 FM(FXR_TXENA_N) FM(CANFD1_RX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_11_8 FM(RXDA_EXTFXR) FM(CANFD5_TX) FM(IRQ5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR2_15_12 FM(CLK_EXTFXR) FM(CANFD5_RX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR2_15_12 FM(CLK_EXTFXR) FM(CANFD5_RX) FM(IRQ4_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_19_16 FM(RXDB_EXTFXR) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_23_20 FM(FXR_TXENB_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_27_24 FM(FXR_TXDB) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -770,6 +770,7 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR0_23_20, MSIOF2_SS2), PINMUX_IPSR_GPSR(IP1SR0_23_20, TCLK1), + PINMUX_IPSR_GPSR(IP1SR0_23_20, IRQ2_A), PINMUX_IPSR_GPSR(IP1SR0_27_24, MSIOF2_SS1), PINMUX_IPSR_GPSR(IP1SR0_27_24, HTX1), @@ -840,14 +841,17 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP2SR1_15_12, TCLK4), PINMUX_IPSR_GPSR(IP2SR1_19_16, SSI_SD), + PINMUX_IPSR_GPSR(IP2SR1_19_16, IRQ0_A), PINMUX_IPSR_GPSR(IP2SR1_23_20, AUDIO_CLKOUT), + PINMUX_IPSR_GPSR(IP2SR1_23_20, IRQ1_A), PINMUX_IPSR_GPSR(IP2SR1_27_24, AUDIO_CLKIN), PINMUX_IPSR_GPSR(IP2SR1_27_24, PWM3), PINMUX_IPSR_GPSR(IP2SR1_31_28, TCLK2), PINMUX_IPSR_GPSR(IP2SR1_31_28, MSIOF4_SS1), + PINMUX_IPSR_GPSR(IP2SR1_31_28, IRQ3_B), /* IP3SR1 */ PINMUX_IPSR_GPSR(IP3SR1_3_0, HRX3), @@ -883,6 +887,7 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP0SR2_15_12, CLK_EXTFXR), PINMUX_IPSR_GPSR(IP0SR2_15_12, CANFD5_RX), + PINMUX_IPSR_GPSR(IP0SR2_15_12, IRQ4_B), PINMUX_IPSR_GPSR(IP0SR2_19_16, RXDB_EXTFXR), From patchwork Fri Jul 1 01:39:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902512 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2A1BC433EF for ; Fri, 1 Jul 2022 01:39:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232042AbiGABja (ORCPT ); Thu, 30 Jun 2022 21:39:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbiGABj3 (ORCPT ); Thu, 30 Jun 2022 21:39:29 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2117.outbound.protection.outlook.com [40.107.114.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35CE338182; Thu, 30 Jun 2022 18:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KRsgiYuWIJ8228JpJlQgBALqtlcYeHHyz23IG+rq402ht/RbOWIdGDy/a+kJDn+37FfQWC4POc6Q5lj1Cxg2kW7h4gjrXsC0bH5SpRWDNUTxq6qzQKUhnvh2GBFq/DKfi1SVCCc0kTOnq3TWeiryt9EoGyvxq7qYkOb2VGXXt+dVJtH10aZRkCszWu40KfvAx0hUo9vaOr1n/d37x10fBNBOgeLU7OQSNbY2Lf/LOyte2J79iIY8KdqEEIyvDgAkHCm23E5n83VZMrM8+gTSmuTnA4QpOEbzYfhhOFTvpRKWjcctocpe0Yt3FosnNVUXEvV7Y1SOscwN7M2+WnX0FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XGugNRMBOLPIQu4uOVw7giKzz5xyIUIXJipfNsn9iYE=; b=lzAVXvnuguwFcEtiK4cf0HXOzNiZkKUW9tlQcdP/4fBO0/aTjt2BgHvaRl59m6VK5lFHDi34Oewcn24IF4b1+rcLwGRZWyFHmvJQr1ZCAJT3fabqbnGqJ05ZcnJ3tuY2Q3VWjVfTP3IY/o+zcJjpmVBPppAIaC8V9UMpRzmUh8cM6pL7GpsPwTZ7dgaNdY5GcU6Y1z6TOE/Bgqz8aRnaiUBWF+p3Al7B8fSurXd7Kds4f1CUbi7KuVh6te74xTboYqH+BQoByMZE27T4z6fhvs3A60vyYvVINzTiAkWfaEn7aWl+cdX6ALNe3T1GVNb3AoMDHB6KFkXmTjytN8iLPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XGugNRMBOLPIQu4uOVw7giKzz5xyIUIXJipfNsn9iYE=; b=SdaBUkxQgnQyDqhoFZG+cJeXFSQTZf1leMS1u4FJwlqb+LPo0eX7kyWpseGtyFpLaF+mJNA5ohcwsjPURUa+O5J+slAO5bDl7RPiR2YyUVX1HuT4cxSA7oHbkt4ub1m9S9jAFEgJOXQnYoei3RXh+Yy01aXcuf8pQ2pER2onrmQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:39:26 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:39:26 +0000 Message-ID: <87y1xdsjar.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 13/23] pinctrl: renesas: r8a779g0: add missing HSCIF3_A User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:39:24 +0000 X-ClientProxiedBy: TYCP286CA0121.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b6::14) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f1f4f5c4-7e12-4f2c-e105-08da5b0287a2 X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WVOSncx7kMHKM9pfXv3F+YTO9prn9bErBmXVIRj5j0ljW613IHbw+9JM//9D6Yz8abg/YG3r4TY3JsrE5MobrWTa01Uv4CkrmQhzx8T5ZWGPjyooWUkeYYCm53eWpMHSx4+3jtgaW1Evq6f0TySZwfP+AgUajvmketSn1dtcAe0rO1WicMHa2bN5P4Z3MN+ACCrqiaEGrQKuwm18ky0rVg23zOJHhB49yO0cVkN2FvTabv5oRcofxsQVRMz1OcNefDLu3YyJ4qGZKrkvNcFG/ewOSRHImb7YMId/ddZxwxPrgXaBA5di85Eb298Ou2M77/vVZkoFDUkcnbwZ+FVAy4ZISJTDQTNE1dva4R/JgPwuKGjQN2QgbSRwt8L6InQ34xPpNcRMcEhaIst5AjHRdsrQiGYkCkZ9bQLB68L4Bvs+CTdHs8T2t61rajzUFRMfw3fG/UQCZAP9nzJ42AsnYwpTwLvVobo+OBD+PylDlcesZKqN5EUMc1EcBFpuhlWkEPbzyAaHOzyy0unPpOrPA4vuEf/nXzg17ZHc4L1NSPwngATMy9/7zyJnnwTxBYNwDMg6F1smJ68eT6yqmn7weFKONg5vYr5WVrDJf46LTe5DdvcuHtPWXvE+QYS0sC1dvVjl15U02tpDqMfu9mlbIh1flgAUeCpzS3M62lKLwIvCWyP+Ua6gzhL/SPwVFpSEFhiKvCUpvj9kfgN6ddoqJAW9fM9DK+PatQSAbYrGrHK9D1VDU6ssIQTbwD5MqK6Z21BN1Yh9nD9hZaJ96Ct30W0b+JJ8AMaxKymeicZkfFTgPk4drHjIOPRsYJn9IfL6 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: s0mKZnEI0WQvH70cgCjtpdja/n+B2kI7GBTIYKdUtc2ek0nkkrBamU8CwlQ9YTXf+DC/UZSCzI6j5sboYBIW4mj16nDreY2wgN8OSjS/zK+POfBHGce0rPMvf2ShZtDGtN4EFH6ked2rb5b2CM+JRDD0BJS5aWrXfpZpy34QdMIpJsTiZqbNQTiKHzF8Tv8TysUY7dK/Lq8DxCjqTFquzmfaj4uF/lwfI7knuOpjOsXxnQeQp5OrJnqKKKxMnP95cYzJGw4jrrp3e191fgvrNydUB8cgBLyDrD9Nq4CWrjzwho55DVaOg7Du2+4UKApTTM5F7U2AT5UlOUJon3tCowO1EZ1o7nnQg9e4kUQcmV9sa7xGHZAn4oWR57BKONZFJYJBUkONvkQoQ9VoMPGAvRv62ioV7PtOaeBCahFwfeNAP4tXB/m5eMFMC73TCw/9X5O59GOztoPnPwyeTmeROeURA0mjZPHoquoSn/KouILOb/1La2cGlJKo/QI0aLagPxKkEOXTeiHvzfcbFG4PAaEGYJVHG31DeEI2KkxxhhGAD0QDWvNm75o8s0BJ97WcAqYTAgW3wWkJtdeF33vMF4B7LhEc+vC3SkW/+1BAit3tGYI+9xoTOGWcKFThGopiXvyHw+g7NBdTeTmdxPAIuSZmlCjiMDs6czvtF37S1esJ7TYQ+6APxXr620S4Fhz65YErnLS30YI/HhxYPANttAYP1X9BV+DxN1vDWFh0Zayr1sgyvOYUUYOjwXfGthx0564oXAPkGtm3ecHNKnTgPfg5w2tlFQTkppfgEfLCXx9hykBCSy0O+2k26dVi0bMua7Wmu+OjM3udEQnEIEeBQgfE3jFeDySzUj4qtn8WZKEATYu0eGfMoFMS1u0ecse+8Jcp4SbSCktM2tW9yJ9f+xXfo88dPvtw9r5UEZ/5McR+ewWbsgrlMBaon9q0MNpuMOn58lyRjlI2S6M2YPpORII8dfOmSsGIPKP/k4etvyB0RtC14iN8orI9LgN03swy/pnZftS/WM6a0KkFuTvzntCqg9yG+GP4tu7TDDYnjhJvCO9i0Z0JWfPjQ5alNftVXtNea02Lsq8MhPNTjOn9anlLG408s0RP1IW4x4eq0rubRR4/cGb11sWWGkHc9vwTsHv0h+spMgytIImIv93ebk2o9GD9MvrjLUnqddLotXB0qxBvLoEtUjZrSGXIduxTi9QPeKxt39F4PuK/cM7Djz+sNiqhEtbQ289p2JTSxOQrC6Y5/wIvtd/n2dp/436vXtJ6NUpV7yPS4k6w9hmh2yxHc3424Qc+SnY+/qYufhbMFGTeOEh3FGBWouhxWyCDucaNC2tn/chs0e/mgV7Z7iQNkIaMbZOg+rWEfUuYBLeK1IyvwOuStqFj2vjIaZr4ofEn/mKjvTfbDOkgyqv6U2RAfgGcdw9oQ4H7yv4LMknb8UkYRtK5qhFWK4wVbf3SAvzxoqKI7g2KEC1iDuNJd7wB2LSCXERoutGOEgSDxc1hGlijfAFQQFh9nD6FFKsTQz0r9eRvMbP1YkAAjvBzYkEbKWQK4bhgSw4junz1KNRzHtKbCThHKuPjoaW/BCsHRaQJoivLoeJ90wOyHI2QxLTG/n3/j3kZ0inFMDE47YE= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1f4f5c4-7e12-4f2c-e105-08da5b0287a2 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:39:26.2519 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DomoWrGaot9mnXWxidljlTZ/EXj2vMXJlkPZ1nzXugavOz8OBA/Vv0VGCOttE8WeNhvi9AXg8kD9CDchgAup++/RATYzs9R5k/WMChz4D0B4Kf/9lqzyfbqjBdscOT70 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch adds missing HSCIF3_A Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 56 ++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 579ad8cbe890..8a2dc7e9498c 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -296,11 +296,11 @@ /* SR1 */ /* IP0SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP0SR1_3_0 FM(MSIOF1_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_7_4 FM(MSIOF1_SS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_11_8 FM(MSIOF1_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_15_12 FM(MSIOF1_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_19_16 FM(MSIOF1_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_3_0 FM(MSIOF1_SS2) FM(HTX3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_7_4 FM(MSIOF1_SS1) FM(HCTS3_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_11_8 FM(MSIOF1_SYNC) FM(HRTS3_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_15_12 FM(MSIOF1_SCK) FM(HSCK3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_19_16 FM(MSIOF1_TXD) FM(HRX3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_23_20 FM(MSIOF1_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_27_24 FM(MSIOF0_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_31_28 FM(MSIOF0_SS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -795,10 +795,20 @@ static const u16 pinmux_data[] = { /* IP0SR1 */ PINMUX_IPSR_GPSR(IP0SR1_3_0, MSIOF1_SS2), + PINMUX_IPSR_GPSR(IP0SR1_3_0, HTX3_A), + PINMUX_IPSR_GPSR(IP0SR1_7_4, MSIOF1_SS1), + PINMUX_IPSR_GPSR(IP0SR1_7_4, HCTS3_N_A), + PINMUX_IPSR_GPSR(IP0SR1_11_8, MSIOF1_SYNC), + PINMUX_IPSR_GPSR(IP0SR1_11_8, HRTS3_N_A), + PINMUX_IPSR_GPSR(IP0SR1_15_12, MSIOF1_SCK), + PINMUX_IPSR_GPSR(IP0SR1_15_12, HSCK3_A), + PINMUX_IPSR_GPSR(IP0SR1_19_16, MSIOF1_TXD), + PINMUX_IPSR_GPSR(IP0SR1_19_16, HRX3_A), + PINMUX_IPSR_GPSR(IP0SR1_23_20, MSIOF1_RXD), PINMUX_IPSR_GPSR(IP0SR1_27_24, MSIOF0_SS2), PINMUX_IPSR_GPSR(IP0SR1_31_28, MSIOF0_SS1), @@ -1561,6 +1571,29 @@ static const unsigned int hscif3_ctrl_mux[] = { HRTS3_N_MARK, HCTS3_N_MARK, }; +/* - HSCIF3_A ----------------------------------------------------------------- */ +static const unsigned int hscif3_data_a_pins[] = { + /* HRX3_A, HTX3_A */ + RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 0), +}; +static const unsigned int hscif3_data_a_mux[] = { + HRX3_A_MARK, HTX3_A_MARK, +}; +static const unsigned int hscif3_clk_a_pins[] = { + /* HSCK3_A */ + RCAR_GP_PIN(1, 3), +}; +static const unsigned int hscif3_clk_a_mux[] = { + HSCK3_A_MARK, +}; +static const unsigned int hscif3_ctrl_a_pins[] = { + /* HRTS3_N_A, HCTS3_N_A */ + RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 1), +}; +static const unsigned int hscif3_ctrl_a_mux[] = { + HRTS3_N_A_MARK, HCTS3_N_A_MARK, +}; + /* - I2C0 ------------------------------------------------------------------- */ static const unsigned int i2c0_pins[] = { /* SDA0, SCL0 */ @@ -2319,9 +2352,12 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { SH_PFC_PIN_GROUP(hscif2_data), SH_PFC_PIN_GROUP(hscif2_clk), SH_PFC_PIN_GROUP(hscif2_ctrl), - SH_PFC_PIN_GROUP(hscif3_data), - SH_PFC_PIN_GROUP(hscif3_clk), - SH_PFC_PIN_GROUP(hscif3_ctrl), + SH_PFC_PIN_GROUP(hscif3_data), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif3_data_a), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif3_clk), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif3_clk_a), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif3_ctrl), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif3_ctrl_a), /* suffix might be updated */ SH_PFC_PIN_GROUP(i2c0), SH_PFC_PIN_GROUP(i2c1), @@ -2521,9 +2557,13 @@ static const char * const hscif2_groups[] = { }; static const char * const hscif3_groups[] = { + /* suffix might be updated */ "hscif3_data", + "hscif3_data_a", "hscif3_clk", + "hscif3_clk_a", "hscif3_ctrl", + "hscif3_ctrl_a", }; static const char * const i2c0_groups[] = { From patchwork Fri Jul 1 01:39:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902513 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50682C433EF for ; Fri, 1 Jul 2022 01:39:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232435AbiGABji (ORCPT ); Thu, 30 Jun 2022 21:39:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbiGABji (ORCPT ); Thu, 30 Jun 2022 21:39:38 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2091.outbound.protection.outlook.com [40.107.114.91]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD20838182; Thu, 30 Jun 2022 18:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M4+zKWIZ+7OpAQ/6I++te6pAs09Ovxtu/VJwCieSY7E+EoYI2K1chZd2yCQ+lO/hpHyCPFyKczmeZbt9R07Wt/WFKlNPJt2u5dJ0qj+xzPAw4KePNSD2RQw/PCz/D3bs+jwcPNZxXFl3+TS6ZdAIxFCo5GZHoZZIrUqlhouDkig9ytagQ0kONLI/Y1CVN9jfwnfCMF6j7/50T1Ir0oV6Asy+wPAALcGAEdtQJlHmjAgvAUStxIR6Xcac3mlj1gEw3ieuH/IQuCsnauh5UhUSYSgxDrkqzRN5glny8G0Spou5GnnHNDK0F80muoSlDHo2AultxTzkHO1J51wCGBs9uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=oS8lViXjU+pbgto5ojdMVgPr1Zv6LxS2yCRqrYR+p8s=; b=eg1ej3bKiELm82lBI8/9OUEawHSrkNt55viXf39H83mo6KYPJ9pInbNSkcoG34CuQcV4QnUJ6G1czcr+JTbP+ETvjCmk3zOectH/1SCdavZgakcLwgUO6NXHw73FNN7DsogH1X0k7//bmNkgkkhzcoWB8XiLis9POsj3LP/V+YKAwuhtKiIcZBuww+gmQGw7DsUGZ4npQi+fLv8K9Fab8a6ZBF3InIColz0MjEVWPnaTg6wz27FX2sPZEnZm1OBJ3oqTKl2O5LGwzCKHCpOZlwiUH06boDd2ivplQxsY2zHti0dwpeuflcAhFy55cx7Cfrj7LZ1qwkjxlAgrBuFzLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oS8lViXjU+pbgto5ojdMVgPr1Zv6LxS2yCRqrYR+p8s=; b=a66fSBVRD0DBqYjNIg+l5A1/mrNw+d9K2V8Yg1HVKz16qITFVlDvDap5XOsKn4MkBlldaCR6jGihduzgtfGEd7WAf1LHUC7bTsKjgVR//FzTOJzODmVzifhlE7Yx2u1rdOK8YZ1/R5CTmlQ+etvCxvCAN/UTWiYB8P+bcnTYxAA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:39:35 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:39:35 +0000 Message-ID: <87wncxsjah.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 14/23] pinctrl: renesas: r8a779g0: add missing HSCIF1_X User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:39:34 +0000 X-ClientProxiedBy: TYAPR01CA0065.jpnprd01.prod.outlook.com (2603:1096:404:2b::29) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 359f6152-26dd-42e6-74b9-08da5b028d86 X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OMJPDMXcLS6AVA5OaYM2X2CXNvajHh+kkm1HMWFHYM+K9pW8wfblIogaWL4StORU5w6GIQfhqCvQkDbGZzXai+Jokn9RWzMUgvkZSJpj64q1G1yeEdi78eNwbeZB/7ml7mKy2mI9jII6YygqJewtkOWfdv6SXmFsYvqAtXQWXYKY9UlzWECFwBmMh0P7JN32/XdZWvgN6eN/qgbPuTQOzzs2Wg9rILiARqj7V647BtoiHbGuq50XGlDcclLjqrwq20V8+gZDL75/bQlrCrx007W0azIOQDK4YYnWQbi4kxTSkhrZZvoqMFyBpzwvdr0dvwdI7rIdViQ750aqkoYw7vglC8HxE3BoE3cz4eT463Mx3YNt//RCQtUe61PEqGMK3oZhwWsGsnwfnVKhHpxdurfsfIUc6KZocB4FbuZzAXaHS4qXhlqLhxQjSnfDCDOaAqqTUK7lVj1X/10UXb2UyGT+jdjTNVReUUaW35Kalvr1W1O4+xrl3v6oHkOa1qDs7iEMM3HaHTB6YNwfDWHp08kWG9pqQzWC6M2egtld1wVeo6GISzWcH0BiN49ixsMkaRBfJs1otUznquZiCNlTSArng9CzP06Iv2eGu40DknNWx/D2CDl52bVQG8stcgR2MnOuiQHz2H+he6ioyFcsWCb8ThQGyuBN/zIspTHjLehDUfqRx1lHdCkm5jJ1i0lJ7DMq4pFNlU1prGAV7lGHQ+mw41wIZLYTuHeNXNw/g/ktg07NPCz6lrRFdqK1ZfCQYWhKnNOqaUI7YSXmld+w+1N7J4imgG068JaMQpdIGHZ7g4L/iheaabTxfy9V8CTh X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BjL09aHWuGm5FHYVjCfL41I3yuHhEJF99++GLzbAGNrt0XeNjF2sCpM/1RGg0pNNLmHw89DBrfiAvIQXCoJu4IL/75PWEUz/Ng4hwL3Q5r33/WyiPFfVL4jA7ycWGSLoJpTxLfod9ylLNSdrI4G/fWRM1mg8bFAkz4fWEiQjMnWL8c0ZB9Ex6L8ZKklDYH2YN2pu4IjHtuLwv3aflfBKAR1H6qtkV3aEhjal+/lVdhwlHES+saTB8VPP0shZEK1rWVjeZErNzk8o/amE/GqynURBBcKXU7nRWQZFsW9x63zanPisQBRIKOg/acps24B+nyrcQFokn8C/QX//NtA8gNp4VKMIg7HJZh5f8XWwd7m7YAAerpe1sa5yivtJ9MsFYUbIV35JPgjX4UQB5/GXB2QiIij9o1l1VSfekO8FN1HnmLb68e5r4vr0N1RkBACXYTtQ7ZHSB7vuQRW0VMbtsoAkqP/jMQkF35mhRTP3OQbulGlnIPeIdg23eoKhM7sZhkCFBJaoSK8dGMZ3217DE2R8eIhgL/OjvBVTzolbETD1R3qteSqtX8x3DOYRQx3vxThv9FdzxtRqQZKOv+CVCMppeDEK0yfFlF6f1E9REsvfJo1t2y48g5l8eshEWJarZdErQu/aHOlwjIpAiZKNl4fvqvqFt9PdIdTRd2sBz4GcZUxaxc+WB0Z6/lBTPuoCII42O+vtA4Btx3nLeHta7COtmaGkGHxIOFcDb/CC7tDGIbbkBA81xQNgwDX49z4sqWt3sVVgqmqzAsuTOs1gBH41EVkgv748PTvjpnqJ65R1/TFiSD8nTaK1PRiVUt58tOPa6Wftag0JHyJGoOneQTWGZoTqeUDFPJVI+7NzC8n6C+xR2bTpoXHwNR/E84TUvaWDiVkuncihlY6r0Vb9IxjxbnNeMae5tyO4BPoHHBn1LCWU0WTbaswaAMlrkC3dLDGZe5In0tDTXz3AFpHt9NSvyvHiHrI72EkP1AhSt7F4rnNAkBPeCt9UniG8pNKATvrNviVqieY3cuQXjWadhcRm9pWMoDENOKA3WoD5JhuwtFFsgEUuCRN4KigwH8FGu821Ay6w6IyJAIWcLznYSC+QluexPagcLVw++UJI+EMc8GPh7AaSMG3McvH2ni+EJHcyEoAUtc5ra9IwmeRX1bCZetki8Gyx4OK8UAFuP5wIp9KvAtpCB08SgNf0v5JyqdQ+OfuJIjFL13l7mhIDhZAcOC2+SDdaLUcnn913mGTcueJK5QiCKrx4dmFaU+oSSWkFDhKqYD/Us8bWHHefsXcFUf1o5gLHd4RND9Kv4DbKBZ3CtmBiK/0mPlZmenRRBQMt2juluofobcvwqvdTxRaGV90aABzvuEQPmOoKYW9A4GlQ38zxkowRoGI+WUHJJLjrSnFez4vSxR6MHurEq8FnxeGgMOw6zeNRT2qHUmmaqpUob6c5xECRwqjOEuctTxxpQvIwn3E6zJvfN2qbAFhKj9F41BKHrWdy5T7FxcFlAEW1ZbHHROCgdYxN9u79w3TMjHnYuXu8tzBeJgvkdXrur0QZXTK1A1J3DU4mx2aDO9t0BQNv1RX9UpP5HJ+EbgtkPq+1wHFnEfWpBTAAbaWIVCT5ELcp3BI5PNDixKA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 359f6152-26dd-42e6-74b9-08da5b028d86 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:39:35.0382 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8de9kH4+j7nSGX7cPnkN1C/GyOJ7ImFRS8z+j4fx5Wwn/eWkdB16+BkIF8W3SP2ZtevZk1Y5eytGFtqmngR8xqEEssqYKq78Uxy0NhNJp1b4On5IK/Wa1oGj5RhpedtU X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch adds missing HSCIF1. Because Document (Rev.0.51) has 2xHSCIF1 with no suffix (_A, _B), this patch name it as _X. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 53 ++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 8a2dc7e9498c..8661cd5a2a38 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -302,13 +302,13 @@ #define IP0SR1_15_12 FM(MSIOF1_SCK) FM(HSCK3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_19_16 FM(MSIOF1_TXD) FM(HRX3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_23_20 FM(MSIOF1_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_27_24 FM(MSIOF0_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_31_28 FM(MSIOF0_SS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_27_24 FM(MSIOF0_SS2) FM(HTX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_31_28 FM(MSIOF0_SS1) FM(HRX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP1SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP1SR1_3_0 FM(MSIOF0_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR1_7_4 FM(MSIOF0_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR1_11_8 FM(MSIOF0_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_3_0 FM(MSIOF0_SYNC) FM(HCTS1_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_7_4 FM(MSIOF0_TXD) FM(HRTS1_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_11_8 FM(MSIOF0_SCK) FM(HSCK1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_15_12 FM(MSIOF0_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_19_16 FM(HTX0) FM(TX0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_23_20 FM(HCTS0_N) FM(CTS0_N) FM(PWM8) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -810,15 +810,22 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP0SR1_19_16, HRX3_A), PINMUX_IPSR_GPSR(IP0SR1_23_20, MSIOF1_RXD), + PINMUX_IPSR_GPSR(IP0SR1_27_24, MSIOF0_SS2), + PINMUX_IPSR_GPSR(IP0SR1_27_24, HTX1_X), + PINMUX_IPSR_GPSR(IP0SR1_31_28, MSIOF0_SS1), + PINMUX_IPSR_GPSR(IP0SR1_31_28, HRX1_X), /* IP1SR1 */ PINMUX_IPSR_GPSR(IP1SR1_3_0, MSIOF0_SYNC), + PINMUX_IPSR_GPSR(IP1SR1_3_0, HCTS1_N_X), PINMUX_IPSR_GPSR(IP1SR1_7_4, MSIOF0_TXD), + PINMUX_IPSR_GPSR(IP1SR1_7_4, HRTS1_N_X), PINMUX_IPSR_GPSR(IP1SR1_11_8, MSIOF0_SCK), + PINMUX_IPSR_GPSR(IP1SR1_11_8, HSCK1_X), PINMUX_IPSR_GPSR(IP1SR1_15_12, MSIOF0_RXD), @@ -1525,6 +1532,29 @@ static const unsigned int hscif1_ctrl_mux[] = { HRTS1_N_MARK, HCTS1_N_MARK, }; +/* - HSCIF1_X---------------------------------------------------------------- */ +static const unsigned int hscif1_data_x_pins[] = { + /* HRX1_X, HTX1_X */ + RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6), +}; +static const unsigned int hscif1_data_x_mux[] = { + HRX1_X_MARK, HTX1_X_MARK, +}; +static const unsigned int hscif1_clk_x_pins[] = { + /* HSCK1_X */ + RCAR_GP_PIN(1, 10), +}; +static const unsigned int hscif1_clk_x_mux[] = { + HSCK1_X_MARK, +}; +static const unsigned int hscif1_ctrl_x_pins[] = { + /* HRTS1_N_X, HCTS1_N_X */ + RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 8), +}; +static const unsigned int hscif1_ctrl_x_mux[] = { + HRTS1_N_X_MARK, HCTS1_N_X_MARK, +}; + /* - HSCIF2 ----------------------------------------------------------------- */ static const unsigned int hscif2_data_pins[] = { /* HRX2, HTX2 */ @@ -2346,9 +2376,12 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { SH_PFC_PIN_GROUP(hscif0_data), SH_PFC_PIN_GROUP(hscif0_clk), SH_PFC_PIN_GROUP(hscif0_ctrl), - SH_PFC_PIN_GROUP(hscif1_data), - SH_PFC_PIN_GROUP(hscif1_clk), - SH_PFC_PIN_GROUP(hscif1_ctrl), + SH_PFC_PIN_GROUP(hscif1_data), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif1_data_x), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif1_clk), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif1_clk_x), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif1_ctrl), /* suffix might be updated */ + SH_PFC_PIN_GROUP(hscif1_ctrl_x), /* suffix might be updated */ SH_PFC_PIN_GROUP(hscif2_data), SH_PFC_PIN_GROUP(hscif2_clk), SH_PFC_PIN_GROUP(hscif2_ctrl), @@ -2545,9 +2578,13 @@ static const char * const hscif0_groups[] = { }; static const char * const hscif1_groups[] = { + /* suffix might be updated */ "hscif1_data", + "hscif1_data_x", "hscif1_clk", + "hscif1_clk_x", "hscif1_ctrl", + "hscif1_ctrl_x", }; static const char * const hscif2_groups[] = { From patchwork Fri Jul 1 01:39:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902514 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14BF3C43334 for ; Fri, 1 Jul 2022 01:39:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231975AbiGABjt (ORCPT ); Thu, 30 Jun 2022 21:39:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230419AbiGABjt (ORCPT ); Thu, 30 Jun 2022 21:39:49 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2132.outbound.protection.outlook.com [40.107.114.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 830B038182; Thu, 30 Jun 2022 18:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kGX38d5PKmzJkCiQ1eZG9WNUUGsd7M5uB1dSTbH4g5piIXYCIA4sFdMmM5Z47ZO/x2Fu7op0Iwsv65d0ArEqhrbWAfjP7sIrUQiFuEIQExj6OGdABAccM31E+mvR1Vj8+wOJmrHCbl8f3M2kze1mBbUnK3pwUbNhZLiTwcUiKWKgYPIWCJDaTHu08vXQtbvy5+0X3rrA4WTowljbx5gQUMlbxuBpPIG0KFIn6nHRYUkRCaXQRP4Rh8z39Q/zDIP/VwRh+Dsh3URHp8dIhwvWXS8QKOnGfS9iTDdrmpw0GTog7ZMK8AwfgrUP1agW6cBTaO4qvA8ZWSzJx+WUrjOZ4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7iHfLtS2DnSH3fy/ZEAdxeNaSQMlivQhM5OCed5Oj2A=; b=mK2lvd0VdiKH9BbuoKUvo0bfj3U3GnuVpol5HpT3eXRsQ1Pf1K01YMnVLeqZBPdb1QtAfRAq8hGMoCabiqf5fNnFJo+Gg6SdNPTfbIwGf6GHN7ix4kCETodolF6Fm4RaVhOsyO1jtNERtZwt/C8KHG3HqUrSluRqTXYveGZYLC0Gfi7ayyyKuhUV78A4H/8b2FDZsAJrgr3M/9pxBHLAQB3rCRCl3Ciq1U58J4pDLxTTzM4N5A8dG4VTdwDr7Ri/gNbmcWZ1gY9GA+bIgO/BUdZjkkiP2ML0w8rNBOXQrtz4kHP3P1MVjMaFGIoNbMq/b4IhQ2i+E3nLn3yv1W5FgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7iHfLtS2DnSH3fy/ZEAdxeNaSQMlivQhM5OCed5Oj2A=; b=UiD0v7dmsAeZJ/bbUwAc0x+/7zlWEHDIxb1+fk74TXk4XkvCgfJ0YegvdWReWRYVOF+18bBcTfglHH56qT+kF/RxcdSJR7/uVbf1xvZRiF3NzrZaFD8wLQS4s2s3BmqPko3NyKQgrc4Kl7hZBf+FTgWQCjonDOA3+KUEQizVIAY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:39:45 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:39:45 +0000 Message-ID: <87v8shsja7.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 15/23] pinctrl: renesas: r8a779g0: add missing SCIF3 User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:39:44 +0000 X-ClientProxiedBy: TYAPR01CA0016.jpnprd01.prod.outlook.com (2603:1096:404::28) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ead4d764-7300-4ede-49c7-08da5b029374 X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XiH6AGtGVLgf5P98G1Ouib06xJrveVLJl6iV3RrgdwzbshupJ7KCFRg30m0KfUir1b9Wn4IMpvMHzcpae5JzSpTGEFm+S7mRmN0gn2wGJeFR+iaPJapPZlwi3lJ/ykrULE8VV4kbmIvfiafzJP9kIG77FpGRXQJ/FPnMmgPhlpQcPXzJtMrq83g3HJVaCgO3tNJLnBz1nYfyr5FM7uUqI07dKtsBCZyUmU6NSfHaHgvu+79Nuvt08SwCezfXsudYYveu5PnwtokVDTyQ8DUQ68NXyuDgKlYA+MbY1VgM6/ng8H5b3t1F8RgJ9wUAvMfIfINKlqNAr7ONbHfx+6vu4rANwyeHS7g+5hdjhoMRlcNvrKo/Twh/YQKJG7Ne7Nh2DRVE0ZmjG7gFvC8B8U7eD8+7edT4bNE/sXpVHlaAoMatJg6J/+9qB5rcu7gVNh9u0xWlD7+QsqfZobhlNixvpSExymof+yv2pfGSamsv2xzKWEytHNCUYKZqlGLDTW9j6Ylby7ArgGnHXT1EU+HOse4SZYZfb0g+rPIuKC83rWmmiJYCpWmHQS/aPJtRT4rQphgiQFSsFaDTwUqH91qZUZByhEL0k7e+llZzdDnwC12Ssue2M6uwfba/wb3CH9JdQXTVc1dPN5EieQUH2j1LDFCVtMYLun3/7tQ4lGa0OAymSYPFxpTTuks0SyosVwJFSPUTL2GPb45BtuvpY22hoikANEglN8BI5AfvQ7prLz3Wn7mnQlzjmtMWaGXvMM0J3RAt7oAqz+Uj7kNFf60LhExFZnAJG5KgPlWTp4H3/IZQDGZOv5dR45EHtmCC9I90 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Skihe9rzKM5AzvTCDW8wl7gTAIhRUCDl475WOgbiiTumTjfEwzZoBaRYBQL1jHAWa4fqRMCCnKs3IMsPHlFvMpGQovxmxEyJHHgxRpaSB8tI3fq1CDoScF1SzeYGkPzbDioblugWH6NPP7Tw1ehACgjb4/487BVOw0qo6DI4op3aRgFBUYZkBZ0TTdArkf4EFscPzaMoAOI/kxUme0G1gK/V5iIse6mrIr+nAhP5+3XqVWUE7F07p8XP03DfeBZ38+Nle9BYc10g5SueVy0BSCjwTxrKuq041NH1exO123RgVSXQLDDrqMNIuab6+p3iuwCipIfT11GuuVaARKO7Oykw2MyFXtNPVrDr/YI1vfzwtnNDgigg8GCGDIkVIwhUcaVyINUaKjR63NSbRPOszkMu+T2biohQtIK53xtPOJ/5oTV5RuaK3SwPZY4C3mW/Vg04Rm8FMl26rmMgs9YZ5Snbj3uuTBKBjpb0NcNeiSE4gRAxSrDu3LCxV6oIlSVs+e50Mp+5iLpSYwq0F2eiBI3P2gAB+hogCa2YbACWeyraamQy6NOqzRIe+2U3EuVr/GiJX3o8tM6sOzXQgRwZwkQhuN3bhX3d21cj0DB4ZnerF2f+bWgSEwI13DdS0dpubeiXj+A6p4h+gxNxKZFNwgCHF+lSiWq6aWRQ0gipce5a21Km/Ho289wIPXb/jJBww/K+mcIB3IJBCXc6qw0L8aCqp7a2ryV4ySHmTZJ0p6wZOFs4UZNIIGDJIccfdldi5R7G4gwZuqrAoIacHEmlNzynMYGAmDKP0nagxJLvshxUJl13hK+NPyVcsJXqiIbV/xdKyUQZ6/kXbF+EdciXVX6nX5bvnYeKTEocjNJIJruXa5S4F3fKPBzcQwVqlboOKWSVc2M9IoslZMRjRQ3y8aBcqU1k+9e+pYmRZrjyRaISwimNCT+MkVypESpSIVgfN3bDh5hVRqJWxxgCO3rVlAjiZ2pENR0ml4ZY/f2Pw2CYKGh/Tyw15IvsGeS79uoggQBiQRQxhgEsfCbBAQgdWu9Kyn/GBHlmLcKnjg37SVCONNAk724g33jX+53hHWrTFbNsJeLpX+xtgc76xT/oU5Ou+Faa6XwjjpV3bwFeMTT5ImYzGGhR4bI+zbdIDzZOGgNNf5SFLa4fWkNjfOjS/f3xJpViPtap2F8uImIgjQPyGWE4o2mP620A6hjr2XMEOd8vJLGsYxh+eqjF8Sb7XQTGEOS94wHu5IZTCn6r7Z1PNdfKDx+ldvx4b/cJXFgXjzFji19YVrWXaHuJYr3Hs2VUBi6zYsbWS5o5vocDYxIkXa5RTqJ7a/UsuxHLGUH7qcszybiljm81XKbg+Qh0eo4kAs9sY9mDHyXB+YjaCtkX7tVJOY5wXB+za/6Jmgd7sjkrW3/t2zVeEOvh9ctON9TgnTGxRyyAnSoGU4WCRK1n1hhg3X3ETTfc9jmmh2FA6Z8vvYg+XUZnIVqiaGm9iuVzn9HbV4f+48AEPZBPwQK64jDErAVJ4IlKDGjJhTjXDiMJP2TtTNt+buFCAaOxH9TaWTaAur1s3sda0ynz5s0Rl7BSYxDDLWkGrNHho64O+RNEo3I0IW8SE/cpCwUdkRNzVzAvfW/+l+5m6e11vio= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: ead4d764-7300-4ede-49c7-08da5b029374 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:39:45.1105 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: W5WZer0sv6WmWdpd8z1MDvkySVQi9/WjzP8LEAIt6eckYZfi2hObZIUoiMOcKVVOCaNe9+0TMDGFpRDjCFl/IBEC+Zqs9zZrIz6ypLq0wSzo2C675V41VihtNWG9L7Uu X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto V4H has SCIF3 and SCIF3_A, but current PFC setting is mixed. This patch cleanup SCIF3/SCIF3_A, based on Rev.0.51. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 71 +++++++++++++++++++------- 1 file changed, 53 insertions(+), 18 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 8661cd5a2a38..114b558d75b7 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -296,11 +296,11 @@ /* SR1 */ /* IP0SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP0SR1_3_0 FM(MSIOF1_SS2) FM(HTX3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_7_4 FM(MSIOF1_SS1) FM(HCTS3_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_11_8 FM(MSIOF1_SYNC) FM(HRTS3_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_15_12 FM(MSIOF1_SCK) FM(HSCK3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_19_16 FM(MSIOF1_TXD) FM(HRX3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_3_0 FM(MSIOF1_SS2) FM(HTX3_A) FM(TX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_7_4 FM(MSIOF1_SS1) FM(HCTS3_N_A) FM(RX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_11_8 FM(MSIOF1_SYNC) FM(HRTS3_N_A) FM(RTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_15_12 FM(MSIOF1_SCK) FM(HSCK3_A) FM(CTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_19_16 FM(MSIOF1_TXD) FM(HRX3_A) FM(SCK3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_23_20 FM(MSIOF1_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_27_24 FM(MSIOF0_SS2) FM(HTX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_31_28 FM(MSIOF0_SS1) FM(HRX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -326,11 +326,11 @@ #define IP2SR1_31_28 F_(0, 0) FM(TCLK2) FM(MSIOF4_SS1) FM(IRQ3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP3SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP3SR1_3_0 FM(HRX3) FM(SCK3) FM(MSIOF4_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_7_4 FM(HSCK3) FM(CTS3_N) FM(MSIOF4_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_11_8 FM(HRTS3_N) FM(RTS3_N) FM(MSIOF4_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_15_12 FM(HCTS3_N) FM(RX3) FM(MSIOF4_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_19_16 FM(HTX3) FM(TX3) FM(MSIOF4_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP3SR1_3_0 FM(HRX3) FM(SCK3_A) FM(MSIOF4_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP3SR1_7_4 FM(HSCK3) FM(CTS3_N_A) FM(MSIOF4_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP3SR1_11_8 FM(HRTS3_N) FM(RTS3_N_A) FM(MSIOF4_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP3SR1_15_12 FM(HCTS3_N) FM(RX3_A) FM(MSIOF4_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP3SR1_19_16 FM(HTX3) FM(TX3_A) FM(MSIOF4_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* SR2 */ /* IP0SR2 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -796,18 +796,23 @@ static const u16 pinmux_data[] = { /* IP0SR1 */ PINMUX_IPSR_GPSR(IP0SR1_3_0, MSIOF1_SS2), PINMUX_IPSR_GPSR(IP0SR1_3_0, HTX3_A), + PINMUX_IPSR_GPSR(IP0SR1_3_0, TX3), PINMUX_IPSR_GPSR(IP0SR1_7_4, MSIOF1_SS1), PINMUX_IPSR_GPSR(IP0SR1_7_4, HCTS3_N_A), + PINMUX_IPSR_GPSR(IP0SR1_7_4, RX3), PINMUX_IPSR_GPSR(IP0SR1_11_8, MSIOF1_SYNC), PINMUX_IPSR_GPSR(IP0SR1_11_8, HRTS3_N_A), + PINMUX_IPSR_GPSR(IP0SR1_11_8, RTS3_N), PINMUX_IPSR_GPSR(IP0SR1_15_12, MSIOF1_SCK), PINMUX_IPSR_GPSR(IP0SR1_15_12, HSCK3_A), + PINMUX_IPSR_GPSR(IP0SR1_15_12, CTS3_N), PINMUX_IPSR_GPSR(IP0SR1_19_16, MSIOF1_TXD), PINMUX_IPSR_GPSR(IP0SR1_19_16, HRX3_A), + PINMUX_IPSR_GPSR(IP0SR1_19_16, SCK3), PINMUX_IPSR_GPSR(IP0SR1_23_20, MSIOF1_RXD), @@ -872,23 +877,23 @@ static const u16 pinmux_data[] = { /* IP3SR1 */ PINMUX_IPSR_GPSR(IP3SR1_3_0, HRX3), - PINMUX_IPSR_GPSR(IP3SR1_3_0, SCK3), + PINMUX_IPSR_GPSR(IP3SR1_3_0, SCK3_A), PINMUX_IPSR_GPSR(IP3SR1_3_0, MSIOF4_SS2), PINMUX_IPSR_GPSR(IP3SR1_7_4, HSCK3), - PINMUX_IPSR_GPSR(IP3SR1_7_4, CTS3_N), + PINMUX_IPSR_GPSR(IP3SR1_7_4, CTS3_N_A), PINMUX_IPSR_GPSR(IP3SR1_7_4, MSIOF4_SCK), PINMUX_IPSR_GPSR(IP3SR1_11_8, HRTS3_N), - PINMUX_IPSR_GPSR(IP3SR1_11_8, RTS3_N), + PINMUX_IPSR_GPSR(IP3SR1_11_8, RTS3_N_A), PINMUX_IPSR_GPSR(IP3SR1_11_8, MSIOF4_TXD), PINMUX_IPSR_GPSR(IP3SR1_15_12, HCTS3_N), - PINMUX_IPSR_GPSR(IP3SR1_15_12, RX3), + PINMUX_IPSR_GPSR(IP3SR1_15_12, RX3_A), PINMUX_IPSR_GPSR(IP3SR1_15_12, MSIOF4_RXD), PINMUX_IPSR_GPSR(IP3SR1_19_16, HTX3), - PINMUX_IPSR_GPSR(IP3SR1_19_16, TX3), + PINMUX_IPSR_GPSR(IP3SR1_19_16, TX3_A), PINMUX_IPSR_GPSR(IP3SR1_19_16, MSIOF4_SYNC), /* IP0SR2 */ @@ -2199,6 +2204,29 @@ static const unsigned int scif3_ctrl_mux[] = { RTS3_N_MARK, CTS3_N_MARK, }; +/* - SCIF3_A ------------------------------------------------------------------ */ +static const unsigned int scif3_data_a_pins[] = { + /* RX3_A, TX3_A */ + RCAR_GP_PIN(1, 27), RCAR_GP_PIN(1, 28), +}; +static const unsigned int scif3_data_a_mux[] = { + RX3_A_MARK, TX3_A_MARK, +}; +static const unsigned int scif3_clk_a_pins[] = { + /* SCK3_A */ + RCAR_GP_PIN(1, 24), +}; +static const unsigned int scif3_clk_a_mux[] = { + SCK3_A_MARK, +}; +static const unsigned int scif3_ctrl_a_pins[] = { + /* RTS3_N_A, CTS3_N_A */ + RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), +}; +static const unsigned int scif3_ctrl_a_mux[] = { + RTS3_N_A_MARK, CTS3_N_A_MARK, +}; + /* - SCIF4 ------------------------------------------------------------------ */ static const unsigned int scif4_data_pins[] = { /* RX4, TX4 */ @@ -2476,9 +2504,12 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { SH_PFC_PIN_GROUP(scif1_data), SH_PFC_PIN_GROUP(scif1_clk), SH_PFC_PIN_GROUP(scif1_ctrl), - SH_PFC_PIN_GROUP(scif3_data), - SH_PFC_PIN_GROUP(scif3_clk), - SH_PFC_PIN_GROUP(scif3_ctrl), + SH_PFC_PIN_GROUP(scif3_data), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif3_data_a), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif3_clk), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif3_clk_a), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif3_ctrl), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif3_ctrl_a), /* suffix might be updated */ SH_PFC_PIN_GROUP(scif4_data), SH_PFC_PIN_GROUP(scif4_clk), SH_PFC_PIN_GROUP(scif4_ctrl), @@ -2761,9 +2792,13 @@ static const char * const scif1_groups[] = { }; static const char * const scif3_groups[] = { + /* suffix might be updated */ "scif3_data", + "scif3_data_a", "scif3_clk", + "scif3_clk_a", "scif3_ctrl", + "scif3_ctrl_a", }; static const char * const scif4_groups[] = { From patchwork Fri Jul 1 01:39:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902515 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8737CC43334 for ; Fri, 1 Jul 2022 01:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232498AbiGABjz (ORCPT ); Thu, 30 Jun 2022 21:39:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232487AbiGABjy (ORCPT ); Thu, 30 Jun 2022 21:39:54 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2137.outbound.protection.outlook.com [40.107.114.137]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4F8B38182; Thu, 30 Jun 2022 18:39:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UDnjLvd3MFOtJj3INV1Oz7f2o2Wd5baDwpU7dJPK7AeUdFjbGDq4YguZPqy/GcCwD2cMXxVnBpZi0uSS2wlzb+bpZeOte3Y7U4un2N13LuU9lu/OyX5bZ4i/imegdpN/J0UL1rhaQadME/0U31kNJouOPBQqAbsQzRnAb20QcCYsWEMgz5v83KeG40L+Kz+Is7ZDkFWM1EeYcNDyyqHR9KKHSWuUIXztD82o2VTyGSE+mvhiHHMYhGUZwBEOIfBmitRMN9NMtT5PKW3pGRdi2SCSKAk4hSfcXH2qKtVTGGNC9ygOaGgQwmULvhd32XniDBjBx9GyYrU8TcTXodNmgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y1SSB62g/C6qF27MCTGfx48/GERVsNqnr4H88JAMtrI=; b=Osw6UK3X0Te1o7yAkp58pfGrBvxFyGP+8s8HoqjNlFMxPMYsZviVhA9XE+FvbYaGy3VcS+IfxemQAH4VbuBIc/PzMzD7Ivgg71H/H9pYpPCjlNEzWvpr34IKyT0JDXmwhieOVX96xgSh3X7vcViR+80Io9jXnFyS/3huGzcCNdmFgt+34mTrzRHhh/Qss254uF21+HftSLa9MkQgdESJemKJgf/NIbXpX3Tg2ObjcRhYlMajRAHf78cvOgSKIDbzATHu0t8zBadAXrCCbGAbuMdywjMPyYt68ooixTvqWQgMf+APlrw5QmnFniyjVdYN4cFAOD6mHN/wpHoAXr1jVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y1SSB62g/C6qF27MCTGfx48/GERVsNqnr4H88JAMtrI=; b=eyt/Jrrb6qZVQn9kO9kPTs5hsSEhQCc5pLWEbIv2TjwNNciYREMv3bbqQp1yNfdKJCnrhNMTqdywqilLRfDWwlD4b//8QevbHgBbSuG+owPdYM2MAgwfutn18nfELhOpq+ZCznOh+eGBwbFYrv6cCQcCw/EIndUTuWuuUZn9JqE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:39:51 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:39:51 +0000 Message-ID: <87tu81sja1.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 16/23] pinctrl: renesas: r8a779g0: add missing SCIF1_X User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:39:51 +0000 X-ClientProxiedBy: TY2PR02CA0071.apcprd02.prod.outlook.com (2603:1096:404:e2::35) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 041c3f02-1607-4e95-fb07-08da5b02974d X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IKeunfn+tBNDH0GKv7fbk5lNsm5QzUZ9+X8YAkJ3iQkJn7SZ/PpDdUHb6VACWh/x39ihnDCjgs+nsdWYp43ayKZHRUEexi6szCnmk4qdQdWmO6s7VeIuSNyAxyWjgafAiK6Uq//sW9HBNgPadgd7wBI6z/+6NU5pwsV1efmtGMmIIKW6fLK4MIaxEvXzDCzbSrz+pXH3SN/s9TyLodyGAofwlOMHks/TSKI3JaZ26Y27A2LTEy0IDpMD/ofie1DKzOh0FZp8W1lnLhawVt+FFuMslS1ZJ0/VT8b00CsggP/7HmZ7FFgVkSu5M9rCVFL01bHZ+3IhmjtVsr3nXk8N3XeY7bAktD5rV4z73tXuqr8+m4HmURav7KK64WBLvEqOKDTIMxd0c8b7njJMS4zDKUQ0pqc0q8qOXPHunBfNFsNqI+RRLhYUlpfq5upZsuT+2Ix8yAG8ZK42fg8W4zsxZ2QiPMYy1JI24nc6gu0XaARvJul5RMAD1D5NjVTizKtwPXabIgE/8FTHTnZYn89upSTpOUGrm/l97FYy44vRqH1LggGj1p8qvtIpdttS0wzLZQHSZaMhqk8Omjgp5IguoxHPMx2r1XS1t0gD1EE/n2LTUq7IJIVnAxnw/xAw7QPHR5mWEFU+wmzptxgj7W7WMnNMp0BJIdfK4WvL7YDdERMsrNJULja0EJiI7GDLhX3rSD5jklsxzIhWKM+OYKq4GAKMrQXrdlIoO/exOdwQhMGrJ/ZZDdgzYIBB8g51CH474zRAGICCJAgCXNQPbFNod/zBWZUI0LQat3wL2TE/PxIYy8K+kenUfGGjonaAtVSX X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hEswF49eFJWmsHenOhcZPM3uTX6Sc70sQBQULmkXr0OSJKJJ65FauN0Ft/N0laEPKPNzppcCwVn72NgHUsGSQ/Ol/If6Y1PwRYNSlY4LgrxD/0ysumaSw3tMFXxMuZykvuUjBEx734513tmxuuznLXeaiqugMLMF4gRnUkDEqlGJZuIv/gZMfQRbgGgqLoJVa6hftDKlnl5Y+2C3JUzwZX/e4wcc+T3rixcwXkfyYbDwIGlCMpzyvN4q69+vyAZZzUJ7hWdhBdNO4ipCJFdVl8B93yiQ2bPPzufCZ600HhI+/c2VaE8iw1RAC1XDq0X0YYpkIsldxo3rpKzFD5+FxtRAhXede/hEBnwUEYCVTEm3kC3dOuC+FKNqUCm8AWw3pFWkH4nb58WyGc7xFttr9iqCkrbWp9nknuZbHpFLMfaXPs0PIJB28HyX6ANpiyXK9bP7E+I+fjAxV12YKwMHSCC9Of8JKYjiVUkw/kAf0z5gmFyBLaqqM7EZQM+UIVTvKwaosjHlOomYZvUG5t6BXJqY20JGB1bJFli1tVtynKdFKhdgIrdDUOScXdDIdQm7a6HxS9CUVDjHAVbJZV89rNhUb7P8ueEckZiFKojk2kwdDEB/feJ7QsLgzDLHJwHrohnkT5t62Oh4EQMdtRcGERTAdQSOtKWXLK1U+fIX44Qz948pHFJdo8Tpw7okG9Q+piWtbXDM6lDK9YjN1gQHFRPorywz1xgo7+0etsbr2L6deJ+zeDczuNLW/C60y+8ceDPBgX9dVbvqUWR3pj5EgCWzrsE/TO8Z/N50tHmtf+gxA79flt19UIWXM8BaXKdycXt+p44B2/HtQFuyLv3ws3biwY4sNyvixripWhJt5QXVAQRuM614RMorGVFG77sgGkwJ8YjIpi9oooxHJVGvhJJEciPKSh/4LQ+ybV8GEzNH72AFAUb2nTIC9bxLtGmRhvvvge39MA1QD5qrrIUHkF73aWD9C52NwyzMW6hUDdWTFaHzz9S5SZVzQMMLkn+7qQxNqjsllLrQUOl9ph3fksKewy66xpgw7MpJhbNzoJ0C7CWhizek4K1QjZU//EH7X62NOMVwiKjcJ68C2YVUCfkpvYgciunsN4myaz0Z8m5tS22I96tcR3pWgXAdkyO+pTujjAqst2PBgeqKYOX3sqYbeaRBlOcZFd0BBqzK05fjngb/oZ+SgMmsk9OuWpRWkMB75XXWtI5c8MYBS8YT1OD+EKEW3hhOvCvhwXmORBslBTIgSLBJbUOg40YyvOlB9WlYbgFs+bPG0WO97c0J202Ow4bSLy4/iEpHq2u6tMcEYmmYhTC3EzTw0lO95qAgrdLONMkbHvdsvx5hHv51Af4WW7f4kNzKEhooJ8i33nQCSSK5E5OM2Sba/ipxrEFB2dUIE5u7teMNZzgW3xRRNL3wjwcBWp5G0bjug0poBf1hYrJC8qsMUTZsFkamkO05kXbrVsnEtnd6ZHMW3SkqopmnyZqCC0GzTK1Ej4fne6oPqn3eEOtTBObDpODbjeaApn6OL+88VFbKSsVGWjF61khiB9j+OyNJ4X61oSU6Hnjaq38EQZgmHyWFTdPH0GX+G5ca7lDOvzVp98OtPb5wQMCAsw0jy/jl8O4aEwyuCe4= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 041c3f02-1607-4e95-fb07-08da5b02974d X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:39:51.6940 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gJcFUv4/6VI3CKpbPTctJ6Xy3BfAkoXTLDEQCZd34DJPVx4cnPqHFmhQYwi3k0itSs8tJ+NWoT9SXgwZ+qs+ylNAQ4MJ8gaN5qMk2ABI0xUP84eKBT634NKDzB2tystg X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch adds missing SCIF1_X. Because Document (Rev.0.51) has 2xSCIF1 with no suffix (_A, _B), this patch name it as _X. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 51 ++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 114b558d75b7..cff48ba6f5d7 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -302,13 +302,13 @@ #define IP0SR1_15_12 FM(MSIOF1_SCK) FM(HSCK3_A) FM(CTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_19_16 FM(MSIOF1_TXD) FM(HRX3_A) FM(SCK3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR1_23_20 FM(MSIOF1_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_27_24 FM(MSIOF0_SS2) FM(HTX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR1_31_28 FM(MSIOF0_SS1) FM(HRX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_27_24 FM(MSIOF0_SS2) FM(HTX1_X) FM(TX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR1_31_28 FM(MSIOF0_SS1) FM(HRX1_X) FM(RX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP1SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP1SR1_3_0 FM(MSIOF0_SYNC) FM(HCTS1_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR1_7_4 FM(MSIOF0_TXD) FM(HRTS1_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR1_11_8 FM(MSIOF0_SCK) FM(HSCK1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_3_0 FM(MSIOF0_SYNC) FM(HCTS1_N_X) FM(CTS1_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_7_4 FM(MSIOF0_TXD) FM(HRTS1_N_X) FM(RTS1_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_11_8 FM(MSIOF0_SCK) FM(HSCK1_X) FM(SCK1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_15_12 FM(MSIOF0_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_19_16 FM(HTX0) FM(TX0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_23_20 FM(HCTS0_N) FM(CTS0_N) FM(PWM8) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -818,19 +818,24 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP0SR1_27_24, MSIOF0_SS2), PINMUX_IPSR_GPSR(IP0SR1_27_24, HTX1_X), + PINMUX_IPSR_GPSR(IP0SR1_27_24, TX1_X), PINMUX_IPSR_GPSR(IP0SR1_31_28, MSIOF0_SS1), PINMUX_IPSR_GPSR(IP0SR1_31_28, HRX1_X), + PINMUX_IPSR_GPSR(IP0SR1_31_28, RX1_X), /* IP1SR1 */ PINMUX_IPSR_GPSR(IP1SR1_3_0, MSIOF0_SYNC), PINMUX_IPSR_GPSR(IP1SR1_3_0, HCTS1_N_X), + PINMUX_IPSR_GPSR(IP1SR1_3_0, CTS1_N_X), PINMUX_IPSR_GPSR(IP1SR1_7_4, MSIOF0_TXD), PINMUX_IPSR_GPSR(IP1SR1_7_4, HRTS1_N_X), + PINMUX_IPSR_GPSR(IP1SR1_7_4, RTS1_N_X), PINMUX_IPSR_GPSR(IP1SR1_11_8, MSIOF0_SCK), PINMUX_IPSR_GPSR(IP1SR1_11_8, HSCK1_X), + PINMUX_IPSR_GPSR(IP1SR1_11_8, SCK1_X), PINMUX_IPSR_GPSR(IP1SR1_15_12, MSIOF0_RXD), @@ -2181,6 +2186,29 @@ static const unsigned int scif1_ctrl_mux[] = { RTS1_N_MARK, CTS1_N_MARK, }; +/* - SCIF1_X ------------------------------------------------------------------ */ +static const unsigned int scif1_data_x_pins[] = { + /* RX1_X, TX1_X */ + RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6), +}; +static const unsigned int scif1_data_x_mux[] = { + RX1_X_MARK, TX1_X_MARK, +}; +static const unsigned int scif1_clk_x_pins[] = { + /* SCK1_X */ + RCAR_GP_PIN(1, 10), +}; +static const unsigned int scif1_clk_x_mux[] = { + SCK1_X_MARK, +}; +static const unsigned int scif1_ctrl_x_pins[] = { + /* RTS1_N_X, CTS1_N_X */ + RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 8), +}; +static const unsigned int scif1_ctrl_x_mux[] = { + RTS1_N_X_MARK, CTS1_N_X_MARK, +}; + /* - SCIF3 ------------------------------------------------------------------ */ static const unsigned int scif3_data_pins[] = { /* RX3, TX3 */ @@ -2501,9 +2529,12 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { SH_PFC_PIN_GROUP(scif0_data), SH_PFC_PIN_GROUP(scif0_clk), SH_PFC_PIN_GROUP(scif0_ctrl), - SH_PFC_PIN_GROUP(scif1_data), - SH_PFC_PIN_GROUP(scif1_clk), - SH_PFC_PIN_GROUP(scif1_ctrl), + SH_PFC_PIN_GROUP(scif1_data), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif1_data_x), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif1_clk), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif1_clk_x), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif1_ctrl), /* suffix might be updated */ + SH_PFC_PIN_GROUP(scif1_ctrl_x), /* suffix might be updated */ SH_PFC_PIN_GROUP(scif3_data), /* suffix might be updated */ SH_PFC_PIN_GROUP(scif3_data_a), /* suffix might be updated */ SH_PFC_PIN_GROUP(scif3_clk), /* suffix might be updated */ @@ -2786,9 +2817,13 @@ static const char * const scif0_groups[] = { }; static const char * const scif1_groups[] = { + /* suffix might be updated */ "scif1_data", + "scif1_data_x", "scif1_clk", + "scif1_clk_x", "scif1_ctrl", + "scif1_ctrl_x", }; static const char * const scif3_groups[] = { From patchwork Fri Jul 1 01:39:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902516 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F8CECCA473 for ; Fri, 1 Jul 2022 01:40:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232533AbiGABkD (ORCPT ); Thu, 30 Jun 2022 21:40:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232591AbiGABkC (ORCPT ); Thu, 30 Jun 2022 21:40:02 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2105.outbound.protection.outlook.com [40.107.114.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14ABF5C975; Thu, 30 Jun 2022 18:40:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d2FC1T/lxU6nerNJwfMVib4V2uBuFyxFveOmgECC6FxVW0Vst607mZKrCkaR3b4WHT4gHQvtYkrUWIBHgyNzHC4JsaQSA1FTCt/Q6KiCTrVo2U0gm1scANsYp/bG2vRvV3SpEEMo1ErfQNdLkIrc/Wk9/sUhnb2HmIezQ/u3khRuatE5a5fk5hRMTB282Vld/7uvaMDXNfpH8ZnKOyyxYCh3Rq303naJBTDQc1pzOjF8qZYEKkixQ69ESowOnnhQ01akQ1QtnrN5tKEISRdTXQcX7L5Vau7DcaMTaQXxH8ovehYhYR0hQDWhJs44ec2GXizETU1jLQ01MK+xTJQ89w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UrVn8cgfgjKiAjptFbT+PXWvJhDnbtcIfJfHXlolAns=; b=OalZeuT/oayCdPIUi+Qqahko3JolCtHlZjau1w4V4owDBzs5cE2CfU8JVYD7AVirOfq4tAjV0gZwmZusYr9DLthQvEVsOAbb7uFSr6n24VUobBM5dMlh+mQS+bnhBtSg9/KD3z/7y/6sd7bqiBlG0v10xDsOjBUJ6J03lUmDlnLKpYPx4roW9pw3w8KOi5wPfsIYFA4VKXyTNjaj2871ETazJAnAcdFmi6UcoVBI33/CIYdJboKXuTo4YsAPO78bhYjedENJVK0/zTJkp9by3nVqo+kApXV1Z0p4y4kGmC5wWme0AAYgGkVRPHn4IgZzXR7ix6/tkhH2vIScA/dD0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UrVn8cgfgjKiAjptFbT+PXWvJhDnbtcIfJfHXlolAns=; b=gn8urln7I9zQllLsVr0ZwxcfS+0dU8ot0myLAJFOXSNAdLB7afTZL5R9+/NUHNcPe4m++x2uhEVL3LpGp2ynVKYg773QeKHfw59hcuP9jh0YFQbBrlVUI8oRHMCMmt7LiSDQBOZdPmDEDGiA6nzelcvHEIxHzd9B4dSdQz60nOY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB7362.jpnprd01.prod.outlook.com (2603:1096:400:f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:39:59 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:39:59 +0000 Message-ID: <87sfnlsj9t.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 17/23] pinctrl: renesas: r8a779g0: add missing CANFD5_B User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:39:59 +0000 X-ClientProxiedBy: TY2PR02CA0049.apcprd02.prod.outlook.com (2603:1096:404:e2::13) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d560e906-d5f1-41c5-2453-08da5b029c27 X-MS-TrafficTypeDiagnostic: TYCPR01MB7362:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SqPKxJ+R/YM1gT7gBg3px6I9CHw8Ifi+VNXVqusBdCxRZ6qQcjJX8C7ennqAhL2GH3edQJibi4cnIig+JUQgH8ZsEgOqUlBYMKdzFi+gsA4CJCZWcjnlda7ahGoSaKd81vOSwplXpOe6uMLCrxfnCownXpAa0d+jBTDVvIDJ7XlI2FQbnPb0BGsGFpkWTD5wt0EOgHUFRWoAepPzj100v0xV+eTpQIYvIWqu1n/+/r3WLj/Hp1TJcoCwUiclmxqUGo8Ssjg/2M6coa12GG8iCmIildgsrLucfHhrBS/oOPhU17M/0kTyPWVt1JOuMfNiHdsMwoiK8PW0JnzZq8eYsJDMnkXz7l7ggH4bnlft1xN2VLVKO8iszgkaWsFPkW/RT6DCpBKlB427YOPZeIV8Zv1Iu5O2zOPMdjuCux40QKLwzupRU5tSyn07AuhqNPdS8z0H3XlBL8ZJ2SIx/nWUoWX6JQuiiQoAXiaoy98pVso8LflJyVZXcOOJN83yrtWA04Bk00RobUoo31XPD90tSRYRKq/eJy8JQq7R2tWAbH9zaPfp9Vc2viqJMGEOPoDfiZ2LwFJoe1gSMKr4foN/mccKdHHtZ/ZqtmMJLHzcwCOelD75u22CNZiXE1Ecpr431ni4VKMtxwufZir0QgKuqi+isK8wiTexNgJGV8L6TAufuFSFCPvqx9+Xhm6aE68Aau++eMJJ64pAsw/xFIhSn+GKmnyPmR9enBGNVWI0VR+9ExNdE8EZqEjWqDiStj73gUS3NnUn9a7/DowSqJ/Z+ekDEOQq/tYDEb2R85jrQZo/n32fdGZ/G438hCsxVGFg X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(6512007)(86362001)(54906003)(316002)(26005)(110136005)(5660300002)(41300700001)(52116002)(6506007)(66946007)(38100700002)(38350700002)(4326008)(8676002)(66556008)(66476007)(6486002)(478600001)(2906002)(2616005)(186003)(83380400001)(36756003)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2yJ9f+yfll2BVT3reJ53Y7SpTLiv8uqEJEvVcohkFKgi83S19BvwGs1TOb4fdPM87CG9zi6jiJv6q2EJa5olDQSkOcyhofo6GSQFZd/FMXaoIoqKHGvlZTJukUSwc48UmVnlRdply1hkytwhrkYKa1px9+gtwxkJHMo9hc64Zcu0frloeqiqgRTLCw8d4ODmf4WjV5xCgOwksKzSFAgheXTrZm+YOScaZQX8y1W1TjFbgEszfprTF/akMXjbuxEi02gXBv3HfQGFki0TMnHHBhj7Zj912wOEIXSKYRKLCc32+V+4eOucQ3MypbyxvhO4orR1cFN0F3TA88lKGy55aeS22hoJJubAXGEIgir+LC3lZnvwW7L+kacmf0SfdY45L9BrtTqZBrNMQOKCJpsq+Qmpszy1NosS84KkCUkkL3C0MwnNQvHU/210faqrJm/AI/OHlL8U56ODQUW9yUJzGznA4tGfGKkW9+SRmyLWzZWaC/omlUR5gvXBKF4G2oJ8cUbGGBMn5r0h6YRwtYObRUwa+uLnUGIElP9pNNNvRVZsq3hPDpwf1KTygYpHezwpkwiHMeW1ihPr/Fe/OybqJXZKR+RVX5qmCy8zygnDnbA+7+03HcbmIxEpvu2768lRTOa2Cm853R1tEW4N76bERmMt6007Id6sFLatWbAMFOznOeMuA+J6L+SPeyawnM8dTLFCrKyi/y7YnhTbb1swotBxKqKpZ/DbUD8h3m2B79zz3JQuxuN42BeADQEty4DaE06JrHDXSD0HL+oITwsY/JgFEFFo4sOXZQSDXCgZNsu+TpRsWMOehlONJwKDRB2RVLoJQhjpA74mwjvKeHrmJjWcb+mORq3UVjIhcjZJEvI71xD7PmVeIIdWA6GM4orA4EAD4V4n9SYVNdUSNtc8OK90Z3kiuW71gEWPpNVN7PLc+5E1S/NiYtyLm6MFYBM1NxJPYEYFHKcIZs7jMWHE6uYIdnTfa3FunTO2mN/oPsBXlMXNAYhxfsXP/WbHAEZReLmAM1RrYaL0uWm/WxpKqf/ab3tvulP/RAevX9Otr/Zjp3yN0299+bkX6aWm7v554rviohoJb7O+3bEjsCTEQoT+0NEoFnsHwXfC2QQOCy+5yAycXGxTjIk68jTwc4rYADs5FzdRWIIFYhms2Bl0OGHTfHaeHNfZ6oOe13kH8OJX4vkYaSVgfjSSLcIH09baZgZQjuFnoqOp0UV8QX/BNDGauOz8oZlxWxnAAs8AYpCl5I6ROXuzVN+iX8Ms/Qg9fMPpsyjoruG8f4L9uJANbbiFc9ZGPXDad1R2VyNnP2quSj5sj7BMvYoTdsiIvSY2n/r73bPkT2sJ+6SLbedGYIZO++JRmnms6hQf1CNhqVqEQS61Q7spEfH2k3CXvrp/34BcZC0diF2DU9VjilIKNSOKKK0gznWLDX1GhTVmumS1pVBMAIAxB1qbQGw1ahAWl3C/uLB3jCIrQQxV0gPpO19obuaqG+BkgR5xloi+OMpZZGpPtKANnkv4sHqxv7S7mBMqRNt0RehDVRg+qkK2giT5y6rVrQ2O/iAou1p2sZtOsJwlIJXEoI9PtIprV4GxJxhGrr24HJnRDChK8Ga1N1Fuk/mGUA0FgR/3WdaWULM= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: d560e906-d5f1-41c5-2453-08da5b029c27 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:39:59.5313 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fwU5iZquwZEHulNZYmUfT1L0c820TRXAlnWX3qsC1C7gqp8sdeU+iyvvX0ordXZQ7D1ze4s9D/k099SnqyGC1mWKvVXW1wWNB6mqjn5zMTKYJNmCERejQx4+Kb39aD7L X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7362 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch adds missing CANFD5_B Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index cff48ba6f5d7..c9331c008802 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -306,8 +306,8 @@ #define IP0SR1_31_28 FM(MSIOF0_SS1) FM(HRX1_X) FM(RX1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP1SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP1SR1_3_0 FM(MSIOF0_SYNC) FM(HCTS1_N_X) FM(CTS1_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR1_7_4 FM(MSIOF0_TXD) FM(HRTS1_N_X) FM(RTS1_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_3_0 FM(MSIOF0_SYNC) FM(HCTS1_N_X) FM(CTS1_N_X) FM(CANFD5_TX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_7_4 FM(MSIOF0_TXD) FM(HRTS1_N_X) FM(RTS1_N_X) FM(CANFD5_RX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_11_8 FM(MSIOF0_SCK) FM(HSCK1_X) FM(SCK1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_15_12 FM(MSIOF0_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_19_16 FM(HTX0) FM(TX0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -828,10 +828,12 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR1_3_0, MSIOF0_SYNC), PINMUX_IPSR_GPSR(IP1SR1_3_0, HCTS1_N_X), PINMUX_IPSR_GPSR(IP1SR1_3_0, CTS1_N_X), + PINMUX_IPSR_GPSR(IP1SR1_3_0, CANFD5_TX_B), PINMUX_IPSR_GPSR(IP1SR1_7_4, MSIOF0_TXD), PINMUX_IPSR_GPSR(IP1SR1_7_4, HRTS1_N_X), PINMUX_IPSR_GPSR(IP1SR1_7_4, RTS1_N_X), + PINMUX_IPSR_GPSR(IP1SR1_7_4, CANFD5_RX_B), PINMUX_IPSR_GPSR(IP1SR1_11_8, MSIOF0_SCK), PINMUX_IPSR_GPSR(IP1SR1_11_8, HSCK1_X), @@ -1469,6 +1471,15 @@ static const unsigned int canfd5_data_mux[] = { CANFD5_TX_MARK, CANFD5_RX_MARK, }; +/* - CANFD5_B ----------------------------------------------------------------- */ +static const unsigned int canfd5_data_b_pins[] = { + /* CANFD5_TX_B, CANFD5_RX_B */ + RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 9), +}; +static const unsigned int canfd5_data_b_mux[] = { + CANFD5_TX_B_MARK, CANFD5_RX_B_MARK, +}; + /* - CANFD6 ----------------------------------------------------------------- */ static const unsigned int canfd6_data_pins[] = { /* CANFD6_TX, CANFD6_RX */ @@ -2424,7 +2435,8 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { SH_PFC_PIN_GROUP(canfd2_data), SH_PFC_PIN_GROUP(canfd3_data), SH_PFC_PIN_GROUP(canfd4_data), - SH_PFC_PIN_GROUP(canfd5_data), + SH_PFC_PIN_GROUP(canfd5_data), /* suffix might be updated */ + SH_PFC_PIN_GROUP(canfd5_data_b), /* suffix might be updated */ SH_PFC_PIN_GROUP(canfd6_data), SH_PFC_PIN_GROUP(canfd7_data), SH_PFC_PIN_GROUP(can_clk), @@ -2618,7 +2630,9 @@ static const char * const canfd4_groups[] = { }; static const char * const canfd5_groups[] = { + /* suffix might be updated */ "canfd5_data", + "canfd5_data_b", }; static const char * const canfd6_groups[] = { From patchwork Fri Jul 1 01:40:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902517 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10384C43334 for ; Fri, 1 Jul 2022 01:40:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231688AbiGABkS (ORCPT ); Thu, 30 Jun 2022 21:40:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbiGABkR (ORCPT ); Thu, 30 Jun 2022 21:40:17 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2138.outbound.protection.outlook.com [40.107.114.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09BA05C97D; Thu, 30 Jun 2022 18:40:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OG3TvRTWcpTcK5pUiZOcVDx1stvoJ3Fwf48t9kKdiK6Mcemt9bASjHtGP+4Kbask6PHvWQuKeddQ/zf/VVbzXcktZjhtIpv+gtOb6R4CZoeSelqpvGrW5l/3QNNptOoth7EB//vS2iBlS2RCxI3/jA1syMbe6HP7tN331m9NSc+DCFodY+YP1HyGL0OMdWw8E4zaiUp+OmbMAxuHlU2VSvOzASdvCagwK/u2ScGqZhOkBYMvfNwJhchdAOvAwEvViU+Ni7nuXxt9HMC0XK1sJJib/MVZKycNsYxDa6OtAvu+ETRX0Zy2vjCIWedMXUZLFZRufppZAIZeFnKdaQd05w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=16nhzlpKcivS8hxfjY98TgodO+MriKEOhqiUxj8s5/A=; b=SqENsw/I7WI5eNWPyQRXJdjEYSlXUzW5t6LOUhSd1d4tBBetArnlW5Tvp3HM0A9p/h1yPn9XygGfxKxzv6A2L8vQ5vIUuixPDHhCs3WlNBFYOekONeTvy4imANnZso2Pvkmvwy+0dxeLjkAJ7mrUBTS2PjpLSjEdhOOxf/+mMqB3gSGpQNmq57BknRz1PvxfBtrytP/mWaptXkx7QdgRLSpZN3evOOgdxTM9aCLBO0FFx8o5kpqM1YIf8POi6vEfoIKLm/tteo7O7kM18FxYMny+pkFwdBXN7tstgz1jhdB0v2yvxIYpkPjMNLfCS9FMjUfo9M4G+ETO7DugFWJR9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=16nhzlpKcivS8hxfjY98TgodO+MriKEOhqiUxj8s5/A=; b=JB91MfjJWOHI3K21q3JW5YRICNJgMYnbX/Qhp3Kae3fFt6br3yIUi+uTAPlwdY3UIMDAwXGQg2F+tp/TR//6x1SdIrA7nWvCG6EnTMkEVEJEuhwEW0u4TjgD6TbrR36FJhBpklcg+lUFoFOxQ7qs8LwbqoaXXJ0ux0jE4q3igh8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB8850.jpnprd01.prod.outlook.com (2603:1096:400:18d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:40:09 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:40:09 +0000 Message-ID: <87r135sj9j.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 18/23] pinctrl: renesas: r8a779g0: add missing TPU0TOx_A User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:40:09 +0000 X-ClientProxiedBy: TYAPR01CA0100.jpnprd01.prod.outlook.com (2603:1096:404:2a::16) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8afc5340-69a1-4595-8d13-08da5b02a1ff X-MS-TrafficTypeDiagnostic: TYCPR01MB8850:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nj0VBzqU5rEc3wB6Mlh1Kbkc5om3ZBe0WwBibN7BM4aYOXODJVlPH5kd9TpM8oDNpr9/AWr544BEQVMxr0mv4yJXCAkkNbJ7GftYvbNIIKYPXF2NuTW1vU35NlixkQP68MsC1N7rbnn9qOlaxoZhtUlirjCPn5Kdo9sjROU+UQ6jdptvhGXJVHYpK2+Ah2S+xqVCzfNL1d5oqpiEvtahOOU3osSVdMqyIYyC23SD6FZG+bb3wyfRM1ak3V7qFMHtJiPZqGpal/XaumJkn7e/f/8J4Hoom3dWmq4Trg3APWcsEEkt1yzJ/vm8wddQxQZkPOmwP8wJDfIBC5h8XyrT1YpLOTxMwx3GWfC/CD9N05nJLXxV8SPLTMCbHgG8HFqQb/UOjrGoNgkpp+N1SVMKzcsE9I0yKe7YFz+Ipdb5Zj3iuhPhnByp4v0e0OVd9yCvEQbqxFo66QTWNbK5jH+gXSi5Q4KEubq60B3YFGlp8qZ8pceaG03fk7KLSMfGnSsemgb5wSpB2yj1uZxq3JrFd518uL9hVAQrs/Yz2W+qgC+OApzmLDuJUo6D4cQ8+53pBFceOBBGod1xqgQ5yKNRshpd7tw1GEaFrd5rLBJRqOT/VyvSiwqtu2dBEWbc++Ws0Zd0aBIIIsG5hUZXfzvO9XhUaz4xYYZx2uLpBDElaJ1EcRnNsuuJacw2WfP5HpH0tjGldjqwYPRXdLOWhgGSroYGOmZ4s7SU1prwcCt3bX5azSBnOt4rYEEllvp5x+NjzEqBHk2TmzGJ0MNAHS/4htIWkMzsbNJQH+P2PzwSQ94apbWseTc3rPovycvPDp41 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(36756003)(110136005)(54906003)(316002)(86362001)(2616005)(26005)(38350700002)(38100700002)(186003)(4326008)(66476007)(52116002)(8676002)(66556008)(66946007)(6506007)(478600001)(8936002)(41300700001)(6486002)(2906002)(6512007)(83380400001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zB0Wr+KAup7xvji03n+uEcPQ6+nGdqotW7KxQKrXkWOdJ+ouEwmL/Rwu0REVqYE+vHF7UPzKfLPmL/myzYVCuMvHCKFLpopJ8Adh/XYAo0D0TxQYCD2Zv7eJ4JyEz7nSQQOZxequVxEHvui0ep2BnJ9SoRb9FqMm+OQC8wP2HZAjXSnWL47GEImITIyaDHec7MdlayT+zHvXD3VBLNDW/z29EUUS/4X0VzIar5reZxpMVbBCCMF50Z5ypm5IJaUsycXzME1lupD5oA1kaON1fIouDIpJirH8XWtTCV5NMZVWI50FREa890t3RZdE7CNcXM6dFLzRRpIyhM5A6E1z0CV5dng+K0SDBg7C3Sh7/HWSgk59FCeGK+KN07iw/rPNuA1Wh/GFCaN2Ha7xL1lfI/grlzJt0xF/15Xe2R42alYJHdKTpulgcVCQS1G06kpYW+VDV3jbeCc0Lzi3rQcPewKxo8GDoLi2K5DGfFXGP5zH76SAmi+lOPhmqgvzo1nQT2l2hkgOc8gV9+eRrgEjnG/UXyC9Fzp/yQAJXqPDHNiV70FaF//z7tPFTBnXbw/GCEj5B3An9uj8F+vG+UhSzfR949Yw8lFVvRaJ1HOlRJsjkJ9RuO0IdjAfNvxXYWRmU0q55YivH0eVcy2+A3DwmGtccZsiIBZ6hGE1gFeT5VyXNuHs8moDwB4iKrRXbAkZrvu+qIbi7P0Ep1Cxas3TJbapTkQkOeMWyhpUHwT2h0gcaBfolDekDA+pUCZXCazolryEyuKIXUY3KPUdb+ael2qO1UDxquI6WJFeSts8AW3HSHJfypJZs2GuRgWTdK+03K7gX1RNa8mr9x5lW8kJ8VX9ym+M2YLm6OljyT3C8eAXLpUV7LFSdZcI2fg/dL7HeeJqDSV+Le9+R0PLDubvlIM+sRy8Y/GsZuDCK9T80h3rr2vUYHv0bx+c9TZFP0IrTC6Miitfml4L7B7JgArutCh/IltQI63bGWMdalyZRBrmVUZq5idLPALvxlEvKs6eprp2ZC+z7u2LtTCXT/udS7fAg5128lMwu7gTUMANb3QbQV0pkeyxw1zOrkejNShIWKWdpTYNFqGsFyBnYa/KNHKnc5lp29RXWkvLc1/DU3G0x0McRr5kx+wZlduaW/LHxR6TAg8oPWojHUwqECd0IRB8v+gqa93xiRggwVJRhJL2UIk9EbQC3lm8XZEpxv6AlGzQUrsngAtxmejk/qDmFNIW1jNFIQ53DmWFwmjkyJgU8ETW6v9YepbeseRaMF1RClWE9B/v9yZBFbMajHo1uWpMlEwgz2PCk8/Uw4GRVQ3YGBmzSPlADTY8zNwydsycBioQqaff7H7E3Mnmpvk5Mb2cJv4G3i1RxR9CC1gGiR/ZM92OeBav9g34fQr22OdT+/xprfz+JKZ55yMS2/Q6RlMpq8VN+DfcolZPzMnzncp00UQLH5yWfyh0CX6kbneuQMDZ/GhbhMvRjZHyPczkOfGovn5DyWwCgleLcnGuuC1mqMLUsi6ZCwllQGQOOQHmcIC5fNoWHCGJqFeetXVJwbLSyNtkFPgEe4heXEzEBrclR0BOqFZ4rwE0rU0DxVnOi61IcThriQM6msHGvTTH1W8Hl3g6v6vOtGEvMNHJTYk= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8afc5340-69a1-4595-8d13-08da5b02a1ff X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:40:09.3069 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jBF8Er2GmR/MD8SK1cLa6kuhSnzrlumoxDEX+sFQHV2QSB6OBkTam+alrKxBtlBUbckzu0hX1PT7ovtobAuyLYjqKFj+CVktzThv//kpynEtyVdULxl50D613X6B+q5U X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8850 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch adds missing TPU0TOx_A Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 59 ++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index c9331c008802..c6a9624f90fb 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -327,15 +327,15 @@ /* IP3SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ #define IP3SR1_3_0 FM(HRX3) FM(SCK3_A) FM(MSIOF4_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_7_4 FM(HSCK3) FM(CTS3_N_A) FM(MSIOF4_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP3SR1_11_8 FM(HRTS3_N) FM(RTS3_N_A) FM(MSIOF4_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP3SR1_7_4 FM(HSCK3) FM(CTS3_N_A) FM(MSIOF4_SCK) FM(TPU0TO0_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP3SR1_11_8 FM(HRTS3_N) FM(RTS3_N_A) FM(MSIOF4_TXD) FM(TPU0TO1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP3SR1_15_12 FM(HCTS3_N) FM(RX3_A) FM(MSIOF4_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP3SR1_19_16 FM(HTX3) FM(TX3_A) FM(MSIOF4_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* SR2 */ /* IP0SR2 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP0SR2_3_0 FM(FXR_TXDA) FM(CANFD1_TX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP0SR2_7_4 FM(FXR_TXENA_N) FM(CANFD1_RX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR2_3_0 FM(FXR_TXDA) FM(CANFD1_TX) FM(TPU0TO2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR2_7_4 FM(FXR_TXENA_N) FM(CANFD1_RX) FM(TPU0TO3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_11_8 FM(RXDA_EXTFXR) FM(CANFD5_TX) FM(IRQ5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_15_12 FM(CLK_EXTFXR) FM(CANFD5_RX) FM(IRQ4_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR2_19_16 FM(RXDB_EXTFXR) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -890,10 +890,12 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP3SR1_7_4, HSCK3), PINMUX_IPSR_GPSR(IP3SR1_7_4, CTS3_N_A), PINMUX_IPSR_GPSR(IP3SR1_7_4, MSIOF4_SCK), + PINMUX_IPSR_GPSR(IP3SR1_7_4, TPU0TO0_A), PINMUX_IPSR_GPSR(IP3SR1_11_8, HRTS3_N), PINMUX_IPSR_GPSR(IP3SR1_11_8, RTS3_N_A), PINMUX_IPSR_GPSR(IP3SR1_11_8, MSIOF4_TXD), + PINMUX_IPSR_GPSR(IP3SR1_11_8, TPU0TO1_A), PINMUX_IPSR_GPSR(IP3SR1_15_12, HCTS3_N), PINMUX_IPSR_GPSR(IP3SR1_15_12, RX3_A), @@ -906,9 +908,11 @@ static const u16 pinmux_data[] = { /* IP0SR2 */ PINMUX_IPSR_GPSR(IP0SR2_3_0, FXR_TXDA), PINMUX_IPSR_GPSR(IP0SR2_3_0, CANFD1_TX), + PINMUX_IPSR_GPSR(IP0SR2_3_0, TPU0TO2_A), PINMUX_IPSR_GPSR(IP0SR2_7_4, FXR_TXENA_N), PINMUX_IPSR_GPSR(IP0SR2_7_4, CANFD1_RX), + PINMUX_IPSR_GPSR(IP0SR2_7_4, TPU0TO3_A), PINMUX_IPSR_GPSR(IP0SR2_11_8, RXDA_EXTFXR), PINMUX_IPSR_GPSR(IP0SR2_11_8, CANFD5_TX), @@ -2328,6 +2332,36 @@ static const unsigned int tpu_to3_mux[] = { TPU0TO3_MARK, }; +/* - TPU_A ------------------------------------------------------------------- */ +static const unsigned int tpu_to0_a_pins[] = { + /* TPU0TO0_A */ + RCAR_GP_PIN(1, 25), +}; +static const unsigned int tpu_to0_a_mux[] = { + TPU0TO0_A_MARK, +}; +static const unsigned int tpu_to1_a_pins[] = { + /* TPU0TO1_A */ + RCAR_GP_PIN(1, 26), +}; +static const unsigned int tpu_to1_a_mux[] = { + TPU0TO1_A_MARK, +}; +static const unsigned int tpu_to2_a_pins[] = { + /* TPU0TO2_A */ + RCAR_GP_PIN(2, 0), +}; +static const unsigned int tpu_to2_a_mux[] = { + TPU0TO2_A_MARK, +}; +static const unsigned int tpu_to3_a_pins[] = { + /* TPU0TO3_A */ + RCAR_GP_PIN(2, 1), +}; +static const unsigned int tpu_to3_a_mux[] = { + TPU0TO3_A_MARK, +}; + /* - TSN0 ------------------------------------------------ */ static const unsigned int tsn0_link_pins[] = { /* TSN0_LINK */ @@ -2558,10 +2592,14 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { SH_PFC_PIN_GROUP(scif4_ctrl), SH_PFC_PIN_GROUP(scif_clk), - SH_PFC_PIN_GROUP(tpu_to0), - SH_PFC_PIN_GROUP(tpu_to1), - SH_PFC_PIN_GROUP(tpu_to2), - SH_PFC_PIN_GROUP(tpu_to3), + SH_PFC_PIN_GROUP(tpu_to0), /* suffix might be updated */ + SH_PFC_PIN_GROUP(tpu_to0_a), /* suffix might be updated */ + SH_PFC_PIN_GROUP(tpu_to1), /* suffix might be updated */ + SH_PFC_PIN_GROUP(tpu_to1_a), /* suffix might be updated */ + SH_PFC_PIN_GROUP(tpu_to2), /* suffix might be updated */ + SH_PFC_PIN_GROUP(tpu_to2_a), /* suffix might be updated */ + SH_PFC_PIN_GROUP(tpu_to3), /* suffix might be updated */ + SH_PFC_PIN_GROUP(tpu_to3_a), /* suffix might be updated */ SH_PFC_PIN_GROUP(tsn0_link), SH_PFC_PIN_GROUP(tsn0_phy_int), @@ -2861,10 +2899,15 @@ static const char * const scif_clk_groups[] = { }; static const char * const tpu_groups[] = { + /* suffix might be updated */ "tpu_to0", + "tpu_to0_a", "tpu_to1", + "tpu_to1_a", "tpu_to2", + "tpu_to2_a", "tpu_to3", + "tpu_to3_a", }; static const char * const tsn0_groups[] = { From patchwork Fri Jul 1 01:40:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902518 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37294C433EF for ; Fri, 1 Jul 2022 01:40:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232487AbiGABkV (ORCPT ); Thu, 30 Jun 2022 21:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbiGABkV (ORCPT ); Thu, 30 Jun 2022 21:40:21 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2118.outbound.protection.outlook.com [40.107.114.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 272075C96D; Thu, 30 Jun 2022 18:40:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S3sAbxe6BUem0VkGua/+eDh29V4BtulQ4Y1hBwBoKqGE7h6fPGSz5iIvJNmFOAwZz+TbaXGg2938RKtqIUpUFdKv4qrci/4pHj5oc2J9qF7fjnHRoe5WGypMiTrI9PXgvqLInQMEvqnTioEzL2o6IzY7dikqW/XnhAifudMAddOYEKjk8x+rA+ZDTZxCp5RB18gs5CFFZYlH5nmonkS8C9eFlcbwUEfcETMLIuL3H+hOnrk2u0EC28sEQuYE3lKs5BmBl7VJXw/XGQH8ZTkono2Gxgq2XrMTGURyRgHp0KTxeklclQDEgmrrRTFCY0KiGPPPKVVydVmbEJUbXQCyXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tOfeXHmt0H8plPHSeUraxfvePPH01QqehNRwOWMMqPA=; b=Qd+ZbkYu8CGF38OBzYPRBOSeFYsgvV42/CcdBrXuHKgLws504CQfk/tx9ONDnI6P51c0DyRVrrPhyzEoucJ9DnsCweDYneG5BOoyK2LfHZoihOmMgwcglScAIKls7NRhclq/HDlymYRxyKCUOTgwxmrSkEunRzhMQ0yll6gPaOkSg5la4jfebxBb9Ftzi/jOe5H/Le8cq8AbrZMNl23g/saKtts0IGg98+I20brY9Gao6rgtQNGABoSmclJZ8KYukHL7TC+u72lq+MODZhQ9VpbgfK1rUT9sGyJnS4F1VMAwHuj+du+y0upgXOcug6KA5mMfnF2ueRCcD31AA7VV9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tOfeXHmt0H8plPHSeUraxfvePPH01QqehNRwOWMMqPA=; b=ks1icNAdj6OwDKYStlA446ocb9mh+oQPkxrDctfFbJOr9LyQk9bF0Ljl2fsh/LeRGEQLGN+MVda9rMcJyIanq2UR1kIgrwoVHR2C7a0pR9Zp+FPDtHGxWdxawPWAKbIeRjjviET0MXXy08hz2jM1YppJnFXsG6PfbhLQyVbAgZ0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB8850.jpnprd01.prod.outlook.com (2603:1096:400:18d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:40:18 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:40:18 +0000 Message-ID: <87pmipsj9a.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 19/23] pinctrl: renesas: r8a779g0: add missing FlexRay User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:40:17 +0000 X-ClientProxiedBy: TYCP286CA0129.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b6::17) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4c07b269-e64e-4e01-4635-08da5b02a74a X-MS-TrafficTypeDiagnostic: TYCPR01MB8850:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t0r3Pp8sFDX4W7aXl+Gt7WMcSBHNK52yLuhN3a6Q/bnPwuc3ei9pVkDN0KMhDrVwAEHeSzL4A8jSbJDjrAaRWbhUMZU3IQKDnwSwJZj6IMkOmuigDgDbplx0mciIyEF4lSg8W+VDybHjk3HbyFedrt9EFZodH3Mq0cPFhEFwpd6jIW/AqEPMOLdf7QHd91M5yavtVu0iTgXrMPF94V3MSjIs1BZrsYvIOCT57wMre8tdnPebTdzTfkJsM0AAJWIf7xMqY8RBQzRh2N2BXAVPTv7sWo6oU6voyQf1Bl2uxIvX9zd4IFAm8/vwybyp7QLabi4vQFa8D+OB6YBo29e0CjqC6vPkmYbJBvgrnefYaw/jQUV/GpTfzA5x0zfUWe+jq2UXZ2NIeZvwdyuUOCoXar2dWzUc3Iv8uPmhdoYIgIHscHXBKX0LHQI7bY+MVANWbZW4if/h22SVdTIRySp9/dBI23+4kpkn2YTBbDyCc/Uv/2BLWEgDQKS9KjRKF5kLxLE/2xZ71oKDAdM88LBpjLC8rtK6+TQ6zex4FawVQTqiCzpqkDOkj6MWJje189dLPOudfTLu2Gs+95IguAMR2lBhBfFVpxnNxPZ3ejYgtuJ1GdoA2xqB9lgUKke3qSJyF7lu6VOgXNdXrPKDIS5VcD9IG1tsP0d2pxY8IM1m8Dszwm6vOzUWwlpD1T6iSLu9ax6hf+djkJySlyIhfpOqbEX29V0iqYS8ebdXav655oCmYtmKY7YskJy0Ha+9I/TyWkg+k7tgwR1hnsPdRF1E/qH008KI/u2zGB0yp6GUeoryU5EyueoK/4OJ1SSSHSsg X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(36756003)(110136005)(54906003)(316002)(86362001)(2616005)(26005)(38350700002)(38100700002)(186003)(4326008)(66476007)(52116002)(8676002)(66556008)(66946007)(6506007)(478600001)(8936002)(41300700001)(6486002)(2906002)(6512007)(83380400001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Kd8G7aOKsHM8h3U/3AWwTlEE3qzZMq7u0Bl0LZt1ZuL6tpxpc3lEqz6PZ9Sa8OBQuGXJRKdzZiix6Bmlaq1vSP9JqKwhVuWx1/88Y1DIn+bKaOi9GwB5ZCcN1m7/i5vRDi1ckqgm6rfjtSrAZ/5+p7VJvZDeFE+5b5SlnUHd6QC74j4pVZfRxmlUi6Gs5BTHD83R5hCpvPsJU6GPNqw55YPYc1Tw1ZA8ngygN1in1ue9NwwBbLLjJBvxL2Si1csOmnCPzoDm2WfzMHH61Fzy1X6ykhVp8wGiaPoSr7/9KBXtedmfMCJiAbuWuZiNUETnxOqfE1c/mOyWIdHXNepiA13K2Pdk8OFSD0GqdfGX9DRmtPma6hL22lZcIm2OaRMA6XPiO7r78zuTIT0PM1ffdcBL/TAyeUX3h54je2M3pPvHiwdkmsbtRordilg9fxcmY4kQi8v/d9ZfH80DEQjavDBxS+FTiuPTpyu31+7PKXVhdA2XODBDzD87f/pEPCEMgiUY+tPWQceqSF2Eh8v4/lIcsm2LD9Kyc6vfF2hXU1VfwM4OeV01iWx4IgEJZLWNXvhMzJS3HbpGodhyuuGj5WZfCao9+cb/Wf1ofeNx10wgJLGcKvLWcLRF5XEvE0lt6orEaG4UCkAVtQIRvPtZd4ogmuOwmMEsREY2yde7KlYMfk1lN/GgtBZvJdMWWdTKsBHrChefdvrtH5gUeqDQEcwy7cWzRGGkvD90UvXcsmnqkx6xEtg08RHqdv/tyDrhSHSraOnm77qtneXRqg/LTgeJGURnw6pY3OVAcBEIn8BNoE+TQsrpkn155u4g8Sb+hiZzKdEpXyC3xhYG6BGyV/M/oMfeNDtO94cJxQbfJby59rotrpO80tcu3QOUlAiM8wEAcqAHmDTYfLBlo+8ybIIhL+cB2IyRNYmKzBQFfqKtDcQcT3p8t2uFRD+k+ox1I2UMi3lc0O1cRmRDc9xRNrCMqbrsj4CRYfELXnRbyl+S5ekxDYbuBZke9hHCwFANyWnmbdaD/2pwD0d9XsD4mK+0fJpM+qePj3r/e7pumnVNBAYLdjB0JRhqbRISeDlx8ewN6WVVczEpoNMxvp9c6zjLWB5W6F/rW7oJFUPyxXfdOjFnuywlSyaDYVLwV7hHWF0ljiwHlS7HqGTez2pWtVbSrv8aqUin14Eiida4SP4U53VaKGjSwhwGUarHIze58/YHGw7Vm4cIU40HbYS2+da9TvqoiL4JO+/8F6aFRxcJ3EoAaWikzhTSdSe8mp5UQBVmMPe81984rS6fgbkT8r6epWXyArnaKkDxFPuxZePS/Eivhj6IiAfedZLuzcPLvUDT6pCaGW8dBvL99qATY8g6lMmsZWdvZQW4d8bO9qPw922ljBcJjj/b2M+pjO8xm6Cj/4+TtuKaYUgJ7bPD3hbzncN3510s0ixI/uLs4Bqq9/Q3D9Q8eVAJ2owTRgcJzJN6pMdCEoVS9XqkgXN8Bg7XC/zR9TxvM7yuioAxA1txbWwI7bERDIYB3YHEDOWXgiupwpOG6Boa19XVWsgMlaGBbuNBxYhgUMrusGTjRm25rEqisgUoC5/YsbUuKw2SKj7ZLgjA6r6iVKFRVRN6GCx2G4KhCdUSDEpkIYl3NCI= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c07b269-e64e-4e01-4635-08da5b02a74a X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:40:18.2633 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WQ0HiqrYk7q3OFvpccz2zqsjuLboEOC2x26JcptoaK/Rh4kcfHNk/QbPWWQkCaUipuCkO3yXX5OgVf5c4lORXL1Scg6d4xusgpG27vwRUITbFAqjyzjeonMr1lBznhFo X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8850 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch adds missing FlexRay pins. Because Document (Rev.0.51) has 2xFXR_TXENA/B pin with no suffix (_A, _B), this patch name it as _X. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index c6a9624f90fb..69eab3ddfebd 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -345,8 +345,8 @@ /* IP1SR2 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ #define IP1SR2_3_0 FM(TPU0TO0) FM(CANFD6_RX) F_(0, 0) FM(TCLK1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR2_7_4 FM(CAN_CLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR2_11_8 FM(CANFD0_TX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR2_7_4 FM(CAN_CLK) FM(FXR_TXENA_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR2_11_8 FM(CANFD0_TX) FM(FXR_TXENB_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_15_12 FM(CANFD0_RX) FM(STPWT_EXTFXR) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_19_16 FM(CANFD2_TX) FM(TPU0TO2) F_(0, 0) FM(TCLK3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_23_20 FM(CANFD2_RX) FM(TPU0TO3) FM(PWM1) FM(TCLK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -938,8 +938,10 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR2_3_0, TCLK1_A), PINMUX_IPSR_GPSR(IP1SR2_7_4, CAN_CLK), + PINMUX_IPSR_GPSR(IP1SR2_7_4, FXR_TXENA_N_X), PINMUX_IPSR_GPSR(IP1SR2_11_8, CANFD0_TX), + PINMUX_IPSR_GPSR(IP1SR2_11_8, FXR_TXENB_N_X), PINMUX_IPSR_GPSR(IP1SR2_15_12, CANFD0_RX), PINMUX_IPSR_GPSR(IP1SR2_15_12, STPWT_EXTFXR), From patchwork Fri Jul 1 01:40:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902519 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42188C433EF for ; Fri, 1 Jul 2022 01:40:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232761AbiGABkd (ORCPT ); Thu, 30 Jun 2022 21:40:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbiGABkc (ORCPT ); Thu, 30 Jun 2022 21:40:32 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2116.outbound.protection.outlook.com [40.107.114.116]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938A05C959; Thu, 30 Jun 2022 18:40:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KY7gR5w2W74Qob0CZfIbF8HOpp+UYMXl+vSdzPJqMVvK/TZjx+QMqbRSeObMpSfrjiks4N2pCW+ql2/rN7kbRWPxYaYUVRsof9CzR1XGMHkjpEIxRHcP/spNFYkCHoznj0ux4OJ+S0jWgQMz0Dx8/UUoMSdiuXPzhd6FqNHc0dSCC5gkkWnRye4oFYWO3ND/XT9+4STD1s+E4vdIJ2UjAz2UlcyBYk/2eRjf5TVzvzdaCYgC+/QdtBs/nSXwWyWJk98d2GENzq2f5gJwyrsoA0XUviM2rqeMLEg38aCr7kfdFP+wu5YYJ4RTxfm9GUpbOvLefsBYVKxQnDpaWmwPcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aK9tNFmQIiUkC6KA3V2dBEufQqeuwg4QXyFwdgkWvfQ=; b=Wy+VbidQPtMmRUoyfy22eLkgrS40P4IRkr8EMGvpbq6dbpWWjgRH7C3h3hk2/z5bY8A1mej2aiI+n8IqVYUnWoOrNxiMDWAagRKkROEyxuRuIHkvoHLCjEUc4gKegu8nh4b++Xp+3Ez4J263i7GjxtLUJxzUZusWmSAMhvGTFMT5aWfZMmVHngBUF3jH/chnWOCOkUgGDNCzVyokKclZTwAD6BcJ1B+5HfkF3GaY+9Rk02OFlzqVagrwEnUwZa+MN+22ziBMZCHQC+hbZprUWFXHucEgylIAoSX9uSyMw5KuDVH4g38zmdcjs/fX5ATZ0ajzqMQkI+RKygELELarkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aK9tNFmQIiUkC6KA3V2dBEufQqeuwg4QXyFwdgkWvfQ=; b=eyhh2cjuo5/JgW+PJ8mNViBTGZB0xG3yTl+F75OM8rKdFDpBAYmISp6dvUyXuFQxVuMVKCg5qBx/UbCGl4oEQms6hsUINkyl6TK05hBWQ/b+ANcYIeLp5F5X5wjU+iPpWIq6AraAA327r8WAVhQbZjtodWL2DZuBoiMPZ8sOrXw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB8850.jpnprd01.prod.outlook.com (2603:1096:400:18d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:40:28 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:40:28 +0000 Message-ID: <87o7y9sj90.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 20/23] pinctrl: renesas: r8a779g0: add missing PWM User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:40:27 +0000 X-ClientProxiedBy: TYCPR01CA0170.jpnprd01.prod.outlook.com (2603:1096:400:2b2::10) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e95e0be7-a777-4e5e-807c-08da5b02ad30 X-MS-TrafficTypeDiagnostic: TYCPR01MB8850:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SzMAuSuSylmHzOilLE2ikUDvmdE6w6p1mRC8KMkPzdT9gttm8cwPszGQ490UangAnBsvwQz1cOiIA/0ayiF0nAG5iFAPu8B5Jr0tw5Rksc+QLn8kCi3QnLclr/zLq6QaMnvxiOIQSPEtGChagFHdkRClvpNbIuN9A/qdUowm+JZEV2qvmgWYhWF6XpPQACbD22lL4tfSShiE1JsSoH2elzwbtLfB612iKY1hk7xrUfAiloLnIxnaspxsUsyIIDyzVFDEGmuAZfqYVCYwuJbomuko/O3ZksQnb+bQDOR05m65Wm81DOCcrsYeMxC8rUO1j48bEXKmvmoeuSQLwZcMsjyuAbDe+tcKVH237S8ILPzf0Y4MppkNUdWhMCMefjBa5nRJcAlmwQa7it7eLij7wkSUgwtmxB665Txa5ZKkYI59C3Ew8FqrRBy9YuOnggXEylUN/5lkuMPKVSWp5i19Zn603J1ygDmLTLkRGnkwx74uuTwg5tTd9QEL3oK/5lpW8cInKm2C2Y8w+U0FjqI+z1HSTA6LUMwT0VtNawoSv3AP4V2f/gDslGXhkHZHRWHuLCrXBxPikWZYDR1QqVQ98Ji7bHZECxVErGiNKFFzPOHeCM0kNkWlGJgd1BeC61v+zF3rVIW4znxM6sucDsZK8WblJ6iDVvp1rjwj4/q/RDa538H3Z8GL4nNTW50zSxM8J2o1ojnZYp6qi/JqHGJh0TuVIexffPa1xY4gY0JCLH9X2x7hWH5YFIrWxkAcpiVsudQu1KFRfisxT+PkvdwaPqG7bqgi3X8/Ph1i8zWJ+gk5JA6GI9oaCDb4wqDoOuqX X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(36756003)(110136005)(54906003)(316002)(86362001)(2616005)(26005)(38350700002)(38100700002)(186003)(4326008)(66476007)(52116002)(8676002)(66556008)(66946007)(6506007)(478600001)(8936002)(41300700001)(6486002)(2906002)(30864003)(6512007)(83380400001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1+G5sXalMQx17fMcr3xTYPMeHlyYPm13TioHwpDukq2t7ZiTwQ1+sUAlo5Gi+DQojsrJ/T9FYqNCejLnFPhhcGRibpFgqeYEl8veBQzbb0PP1fY9ByTMHdN+dxz9Eldq6d1z+tOvAXa+Qg3/kVxLnTQAnB199p7Vl4eLA9dk3OMf3dNmzHsp90Zq0eeowN/jhQkrT2hktexGkPWS0O3GDs5cVY2JIS7n8OOhQ/7J5z/CBcnx9dUHX0eSjt1DPVZ5OpZ8ePorV28y/oNiuQQwUUpGhsVXtbIYSfZRiIzF05qv3F35HIRhvn8l3OahGpcOYDyAXDYYbieQwbAIXc4Xg3NBghWYASwInvxepyz0bY7BbjCWCtg97pHH5drRJU6zjjSUhHZ160yaYxD0tiwX2N2ka6mG7NWY1rYLbSc2iHRZzZVCFzhNWDX0vElxW48CSGwxbTNmrl7clxmfNCHTCXfPmErjALQKWgWqjOGd3dFpRs01Q65vULIladOwzEaxvPA2dFoh7ukzcWemgfvsqvBRaLJMiXuiQ2cviiHpr20Qi+vvLPA8rdj6ceQmInDbFQ7EQk7vTCyrwa2DYDui+/z+I2nGotRUS5TALjtPdgyKJeH0wTJV00mhWptB66Y2LdojKLzvnv5U/GycNNOhrwsn5bTeesmcp8SideIpYGsUSuxDl58MOFZioj6zY3Y0qKIyuDJ/WRUISZkn8J5bMFgdAOPuP/kDX96/SRlsHkECa9nxwghiBHFEAEr5cPA3yERrbcbDFkmKJl85uVU5PvGEtaQp7Cg5bsrVpDYafcVHW2XpJmuheAxpxrnA1oEkOjqZDeMZI3apHIZq7EvZf8QLcKAK4KoFvl2aR6ol7chAt2dg4Q5OA6aOxC/mSDqPq+2cvI2VhO7Lwcgv9UfwAMdRnaadnKv/ohrAMISq1oAw3AHCgTeBpPWOJPuLcn8YXGJRVdG2/giXOpsXoWPeIEi/eCesIhZmh4tlXurp2FIDVWzF9Wpu5CRnL7TT0sdbDw77FFYjOsdAa4vIt98a4g9tbUPrb7Ix/8hnSfTQzKNhBOUZxtontpMmqWoN5exhJR4teMel2ha8h5uqx1brjjV7e2I+cHPfKn8bZeuc7b80zqDE6NPXxI9RrfazQ4J3UNi9ZejRMcWZdn3uMi/z/egL7frXP+sBREbUYjg3uoTkpeVAq4kRCzuwlc79aSWbxEJVsvAAh2O0NRN3sXIOP3LlPcXNg8KkUhi3viZupn4twiVCjt65kyQWcJjUZfDXWTK3p7zDXHPmWqB94DKT4GET4i4fVaLKKTyyMqMsxY1SIIK1fCjw5EW8De5dJKlmvMCy8vuaGh2BfHNO7TgEokmC7vVILTHF+uTtE538Ol4kuHvVeuTeXAJBEO6HAEivxJjNnshfWGc6JLiKwlqJ9hm8JMkLXVAt0Zg2F5TMlHke80L1Flv+bY8eQR44kx3fAcJCKSlPmkMjIR4OlcR2dHkYtF3mG1mFCB4YqHtbMnqw5xVDIRFmp7R9NmJj2WMH2mva3xa+fdXceQXY1DALjosWx+aWU4CJt6NYov+IrFA/tSWNm3HtzAfBEpoWOe6zp/VmdUT3wRQEnvIUWDJhsNOMNb4SCR+txDky7Wc8Rfw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: e95e0be7-a777-4e5e-807c-08da5b02ad30 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:40:28.2076 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OQLFYMYEoRqeY1VKhpr3GbblImjjeHAT/JlokuZNXA5gP8sTcPDBCBoIHgH3kO3gnVxvCdhchC64M/Ducnw+d5l+PZpYkvOyXul7EZqGzvN9MnXKuuAUBinCZFFyVTgD X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8850 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto V4H has PWM/PWM_A/PWM_B, but current PFC setting is mixed. This patch add missing PWM settings, and tidyup these. According to Document, GP3_14 Function4 is PWM2_A, but we can't select it at P1SR3[27:24]. This patch just ignore it for now. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 136 +++++++++++++++---------- 1 file changed, 80 insertions(+), 56 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 69eab3ddfebd..2e84d2eabee0 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -311,9 +311,9 @@ #define IP1SR1_11_8 FM(MSIOF0_SCK) FM(HSCK1_X) FM(SCK1_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_15_12 FM(MSIOF0_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR1_19_16 FM(HTX0) FM(TX0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR1_23_20 FM(HCTS0_N) FM(CTS0_N) FM(PWM8) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR1_27_24 FM(HRTS0_N) FM(RTS0_N) FM(PWM9) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR1_31_28 FM(HSCK0) FM(SCK0) FM(PWM0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_23_20 FM(HCTS0_N) FM(CTS0_N) FM(PWM8_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_27_24 FM(HRTS0_N) FM(RTS0_N) FM(PWM9_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR1_31_28 FM(HSCK0) FM(SCK0) FM(PWM0_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP2SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ #define IP2SR1_3_0 FM(HRX0) FM(RX0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -322,7 +322,7 @@ #define IP2SR1_15_12 FM(SSI_WS) FM(TCLK4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR1_19_16 FM(SSI_SD) FM(IRQ0_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR1_23_20 FM(AUDIO_CLKOUT) FM(IRQ1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP2SR1_27_24 FM(AUDIO_CLKIN) FM(PWM3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP2SR1_27_24 FM(AUDIO_CLKIN) FM(PWM3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP2SR1_31_28 F_(0, 0) FM(TCLK2) FM(MSIOF4_SS1) FM(IRQ3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP3SR1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -349,9 +349,9 @@ #define IP1SR2_11_8 FM(CANFD0_TX) FM(FXR_TXENB_N_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_15_12 FM(CANFD0_RX) FM(STPWT_EXTFXR) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR2_19_16 FM(CANFD2_TX) FM(TPU0TO2) F_(0, 0) FM(TCLK3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR2_23_20 FM(CANFD2_RX) FM(TPU0TO3) FM(PWM1) FM(TCLK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR2_27_24 FM(CANFD3_TX) F_(0, 0) FM(PWM2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR2_31_28 FM(CANFD3_RX) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR2_23_20 FM(CANFD2_RX) FM(TPU0TO3) FM(PWM1_B) FM(TCLK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR2_27_24 FM(CANFD3_TX) F_(0, 0) FM(PWM2_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR2_31_28 FM(CANFD3_RX) F_(0, 0) FM(PWM3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP2SR2 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ #define IP2SR2_3_0 FM(CANFD4_TX) F_(0, 0) FM(PWM4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -376,7 +376,7 @@ #define IP1SR3_11_8 FM(MMC_SD_CMD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_15_12 FM(SD_CD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_19_16 FM(SD_WP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR3_23_20 FM(IPC_CLKIN) FM(IPC_CLKEN_IN) F_(0, 0) FM(TCLK3_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR3_23_20 FM(IPC_CLKIN) FM(IPC_CLKEN_IN) FM(PWM1_A) FM(TCLK3_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_27_24 FM(IPC_CLKOUT) FM(IPC_CLKEN_OUT) F_(0, 0) FM(TCLK4_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_31_28 FM(QSPI0_SSL) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -846,15 +846,15 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR1_23_20, HCTS0_N), PINMUX_IPSR_GPSR(IP1SR1_23_20, CTS0_N), - PINMUX_IPSR_GPSR(IP1SR1_23_20, PWM8), + PINMUX_IPSR_GPSR(IP1SR1_23_20, PWM8_A), PINMUX_IPSR_GPSR(IP1SR1_27_24, HRTS0_N), PINMUX_IPSR_GPSR(IP1SR1_27_24, RTS0_N), - PINMUX_IPSR_GPSR(IP1SR1_27_24, PWM9), + PINMUX_IPSR_GPSR(IP1SR1_27_24, PWM9_A), PINMUX_IPSR_GPSR(IP1SR1_31_28, HSCK0), PINMUX_IPSR_GPSR(IP1SR1_31_28, SCK0), - PINMUX_IPSR_GPSR(IP1SR1_31_28, PWM0), + PINMUX_IPSR_GPSR(IP1SR1_31_28, PWM0_A), /* IP2SR1 */ PINMUX_IPSR_GPSR(IP2SR1_3_0, HRX0), @@ -876,7 +876,7 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP2SR1_23_20, IRQ1_A), PINMUX_IPSR_GPSR(IP2SR1_27_24, AUDIO_CLKIN), - PINMUX_IPSR_GPSR(IP2SR1_27_24, PWM3), + PINMUX_IPSR_GPSR(IP2SR1_27_24, PWM3_A), PINMUX_IPSR_GPSR(IP2SR1_31_28, TCLK2), PINMUX_IPSR_GPSR(IP2SR1_31_28, MSIOF4_SS1), @@ -952,13 +952,14 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR2_23_20, CANFD2_RX), PINMUX_IPSR_GPSR(IP1SR2_23_20, TPU0TO3), - PINMUX_IPSR_GPSR(IP1SR2_23_20, PWM1), + PINMUX_IPSR_GPSR(IP1SR2_23_20, PWM1_B), PINMUX_IPSR_GPSR(IP1SR2_23_20, TCLK4_A), PINMUX_IPSR_GPSR(IP1SR2_27_24, CANFD3_TX), - PINMUX_IPSR_GPSR(IP1SR2_27_24, PWM2), + PINMUX_IPSR_GPSR(IP1SR2_27_24, PWM2_B), PINMUX_IPSR_GPSR(IP1SR2_31_28, CANFD3_RX), + PINMUX_IPSR_GPSR(IP1SR2_31_28, PWM3_B), /* IP2SR2 */ PINMUX_IPSR_GPSR(IP2SR2_3_0, CANFD4_TX), @@ -996,6 +997,7 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR3_23_20, IPC_CLKIN), PINMUX_IPSR_GPSR(IP1SR3_23_20, IPC_CLKEN_IN), + PINMUX_IPSR_GPSR(IP1SR3_23_20, PWM1_A), PINMUX_IPSR_GPSR(IP1SR3_23_20, TCLK3_X), PINMUX_IPSR_GPSR(IP1SR3_27_24, IPC_CLKOUT), @@ -2031,40 +2033,58 @@ static const unsigned int pcie1_clkreq_n_mux[] = { PCIE1_CLKREQ_N_MARK, }; -/* - PWM0 ------------------------------------------------------------------- */ -static const unsigned int pwm0_pins[] = { - /* PWM0 */ +/* - PWM0_A ------------------------------------------------------------------- */ +static const unsigned int pwm0_a_pins[] = { + /* PWM0_A */ RCAR_GP_PIN(1, 15), }; -static const unsigned int pwm0_mux[] = { - PWM0_MARK, +static const unsigned int pwm0_a_mux[] = { + PWM0_A_MARK, }; -/* - PWM1 ------------------------------------------------------------------- */ -static const unsigned int pwm1_pins[] = { - /* PWM1 */ +/* - PWM1_A ------------------------------------------------------------------- */ +static const unsigned int pwm1_a_pins[] = { + /* PWM1_A */ + RCAR_GP_PIN(3, 13), +}; +static const unsigned int pwm1_a_mux[] = { + PWM1_A_MARK, +}; + +/* - PWM1_B ------------------------------------------------------------------- */ +static const unsigned int pwm1_b_pins[] = { + /* PWM1_B */ RCAR_GP_PIN(2, 13), }; -static const unsigned int pwm1_mux[] = { - PWM1_MARK, +static const unsigned int pwm1_b_mux[] = { + PWM1_B_MARK, }; -/* - PWM2 ------------------------------------------------------------------- */ -static const unsigned int pwm2_pins[] = { - /* PWM2 */ +/* - PWM2_B ------------------------------------------------------------------- */ +static const unsigned int pwm2_b_pins[] = { + /* PWM2_B */ RCAR_GP_PIN(2, 14), }; -static const unsigned int pwm2_mux[] = { - PWM2_MARK, +static const unsigned int pwm2_b_mux[] = { + PWM2_B_MARK, }; -/* - PWM3 ------------------------------------------------------------------- */ -static const unsigned int pwm3_pins[] = { - /* PWM3 */ +/* - PWM3_A ------------------------------------------------------------------- */ +static const unsigned int pwm3_a_pins[] = { + /* PWM3_A */ RCAR_GP_PIN(1, 22), }; -static const unsigned int pwm3_mux[] = { - PWM3_MARK, +static const unsigned int pwm3_a_mux[] = { + PWM3_A_MARK, +}; + +/* - PWM3_B ------------------------------------------------------------------- */ +static const unsigned int pwm3_b_pins[] = { + /* PWM3_B */ + RCAR_GP_PIN(2, 15), +}; +static const unsigned int pwm3_b_mux[] = { + PWM3_B_MARK, }; /* - PWM4 ------------------------------------------------------------------- */ @@ -2103,22 +2123,22 @@ static const unsigned int pwm7_mux[] = { PWM7_MARK, }; -/* - PWM8 ------------------------------------------------------------------- */ -static const unsigned int pwm8_pins[] = { - /* PWM8 */ +/* - PWM8_A ------------------------------------------------------------------- */ +static const unsigned int pwm8_a_pins[] = { + /* PWM8_A */ RCAR_GP_PIN(1, 13), }; -static const unsigned int pwm8_mux[] = { - PWM8_MARK, +static const unsigned int pwm8_a_mux[] = { + PWM8_A_MARK, }; -/* - PWM9 ------------------------------------------------------------------- */ -static const unsigned int pwm9_pins[] = { - /* PWM9 */ +/* - PWM9_A ------------------------------------------------------------------- */ +static const unsigned int pwm9_a_pins[] = { + /* PWM9_A */ RCAR_GP_PIN(1, 14), }; -static const unsigned int pwm9_mux[] = { - PWM9_MARK, +static const unsigned int pwm9_a_mux[] = { + PWM9_A_MARK, }; /* - QSPI0 ------------------------------------------------------------------ */ @@ -2556,16 +2576,18 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { SH_PFC_PIN_GROUP(pcie0_clkreq_n), SH_PFC_PIN_GROUP(pcie1_clkreq_n), - SH_PFC_PIN_GROUP(pwm0), - SH_PFC_PIN_GROUP(pwm1), - SH_PFC_PIN_GROUP(pwm2), - SH_PFC_PIN_GROUP(pwm3), + SH_PFC_PIN_GROUP(pwm0_a), + SH_PFC_PIN_GROUP(pwm1_a), + SH_PFC_PIN_GROUP(pwm1_b), + SH_PFC_PIN_GROUP(pwm2_b), + SH_PFC_PIN_GROUP(pwm3_a), + SH_PFC_PIN_GROUP(pwm3_b), SH_PFC_PIN_GROUP(pwm4), SH_PFC_PIN_GROUP(pwm5), SH_PFC_PIN_GROUP(pwm6), SH_PFC_PIN_GROUP(pwm7), - SH_PFC_PIN_GROUP(pwm8), - SH_PFC_PIN_GROUP(pwm9), + SH_PFC_PIN_GROUP(pwm8_a), + SH_PFC_PIN_GROUP(pwm9_a), SH_PFC_PIN_GROUP(qspi0_ctrl), BUS_DATA_PIN_GROUP(qspi0_data, 2), @@ -2813,19 +2835,21 @@ static const char * const pcie_groups[] = { }; static const char * const pwm0_groups[] = { - "pwm0", + "pwm0_a", }; static const char * const pwm1_groups[] = { - "pwm1", + "pwm1_a", + "pwm1_b", }; static const char * const pwm2_groups[] = { - "pwm2", + "pwm2_b", }; static const char * const pwm3_groups[] = { - "pwm3", + "pwm3_a", + "pwm3_b", }; static const char * const pwm4_groups[] = { @@ -2845,11 +2869,11 @@ static const char * const pwm7_groups[] = { }; static const char * const pwm8_groups[] = { - "pwm8", + "pwm8_a", }; static const char * const pwm9_groups[] = { - "pwm9", + "pwm9_a", }; static const char * const qspi0_groups[] = { From patchwork Fri Jul 1 01:40:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902520 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8776BC43334 for ; Fri, 1 Jul 2022 01:40:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232823AbiGABkq (ORCPT ); Thu, 30 Jun 2022 21:40:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbiGABkp (ORCPT ); Thu, 30 Jun 2022 21:40:45 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2128.outbound.protection.outlook.com [40.107.114.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 640F438182; Thu, 30 Jun 2022 18:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VVaFr5tqedZaebQTMdNDkOfDf0dGCZ2p8pzVYlZNklLDr4nkErSitZFLh7lqyZjNXYzjOK0FcnOVix2tGMqV9PfWw8DGhGQY7jWe+fnZn+5KkM/5zHMQVN/JlSJQUqN5/W8CVHqeepsaXhhXHvqPzlTp/V0UQs1XfRR7QNQFkCBp6saGULKIZ8Bi0fCbiVTFRvqJjRYAhXR57UUfRLLMaVetJHfjqEyq0EQTwo8r/n8a8RuBsfvABjSLyzUlRIbaAztxYMK7nSuNHL/GkoAh/y+voNxzL+WlQ9SMlBkQb1G04BFXZTXkxyjXDoxS/regCh2d500/+nDdhVsSNyQgaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=H91nLi9bnBRBhNgLjYu4MmECQFdDIhRiDdFIAgB4nnU=; b=k4GlYqop1K7tlSLwfx0hGU1fnYBzmzlDJtIBceznolstWlD13BwcSr/Ba+p2ywy9iZae9rrRW2mAfPVkCIaF3k3KDMKkYv4BF2kUT0kbYbpfjElenVuV2NdA/KXxHPUp89IEbbkf7o5qvI8YLEmQ/3O5CLCFQlBHLpELUY2PeStnMesOMEEPcdwy5ktV9SALI7yHsT2oQAUTvhL64d4W3rGId/HvLFkEjjpbfq0KwPi9xzMeoNgu98NO9rR4uta+6WVvUDOX2vxvdKx3M7N9fDpC1u/xgObwtIRls9RTrDpKCt4nYJzQpqqAhxLUe/FWqAyJVayg9k8VPQglSqev6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H91nLi9bnBRBhNgLjYu4MmECQFdDIhRiDdFIAgB4nnU=; b=mGQpwu7p7nK1vS2OR3r4xwRgn9i/pQaQq2HEW83P+u9Z32Oc+k+HniY8HL73go48X9Y7+N5zV6PR7GHFYUaWyvQ02WOsBDCi5isFn7OjqlthOfOyyxnwQq8DyrwUdhCT71tf+OCMjnTHEBQkEYC6JL3ofe72/P28LKjXSGNiNh4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB8850.jpnprd01.prod.outlook.com (2603:1096:400:18d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:40:42 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:40:42 +0000 Message-ID: <87mtdtsj8m.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 21/23] pinctrl: renesas: r8a779g0: add missing ERROROUTC_A User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:40:42 +0000 X-ClientProxiedBy: TYAPR01CA0034.jpnprd01.prod.outlook.com (2603:1096:404:28::22) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 21e6b6c8-fff2-4591-c630-08da5b02b5b2 X-MS-TrafficTypeDiagnostic: TYCPR01MB8850:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yfm0KrWQGBFCX/E9KA4bheCVE6VtTTVbUmuc+2eQs7FTA3zdATlRYwtYTpmPb12tg/b5xJSnkvcmQpddJRdcPR5Y35AJktwV/YzEGc3fX6e4cBJq+5Khx0OAFMyWMl7c7ovjIDuGvgrdQO6A1CX4EzxZ0fuu9EjKgAKkJ2gbv9M4XJXO3fezFwdfE9Gmx40asTeDwbIfaHRt8DtpjLR0o2l4Jx60+GIer+qbEucD5Lt5xMAO5Of8muqvK4laft6fvrDae6APjtzCJysqgyas/FXFlRzZo1lASOcutj5xiDoBaEwb8xNQiIEFjqGI3tlt0JIWKHhA17dP1mMX8TvqW5zv4vj4/N3/k+YUfsZpU0sBjMiG+t2sKs4QVmwKBCa/MqeeOMaSmzG9qpA8LHDltLrNTUjcTLRuP+78pv60a8yQZ3Q1H5ChLtIzemlnwePpD2vOuFr5xglN/fuyqQW2Hf5KX1teQwniNljRYJ6cFxOFPARTFG1ciT3y0ZeCJx1Ke4N0s3XwsYy5z0AT6udgKzZzvJPT93eMolkitzIDCxiFGc0Gw5CJomZCHwIwbkGSgI4jbr5Ld2Z6TrTX/0XiSmMuSkXH6emROAaRFy0zlTWjftjT4XonfekMFMp26o84C5L9mtg7SYVeQuqwPk3jgdEqDLO5B/esecps3RNdvWd7UQqekBBV65iDb2JIXPTYYHvUPZ+VnvY03NM0ytOT9XYbfOc/QEpFtxS62xT9v1Mdw3gc6r9CrE9rG/hBEvmmCvMNFblX385WVjb++mJMIP09dVK+51tE+IOkvNQKez32L0Ln39maCnqIHgbWUdB+ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(36756003)(110136005)(54906003)(316002)(86362001)(2616005)(26005)(38350700002)(38100700002)(186003)(4326008)(66476007)(52116002)(8676002)(66556008)(66946007)(6506007)(478600001)(8936002)(41300700001)(6486002)(2906002)(6512007)(83380400001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /ncabNhEs3qfxQyDU4Q02OyR+R8XJ1LFoStU+u7qlZP9WNA2iCnsu5ervbI6Lwqd0y2hFfu+vncOtsmKu8grCIuCi0XashHOAUmBglpA5UmkFuw94hTjDWLXWoLrQpyCbkKk6YOfhUXD9ElHOfh+tVsA5AgynGu2sqPshcAF11JLF2NH/tCbXdVrQqS6S64w11voSml+X8633rQWrelb86C2yGstNOSx7PTREH+eD3hMAnVg09VOKPQki716hm5BvRsCOzrZPNAfUn9HKHgsElGyWRAZu505328MXya2AteDaaqVK/2bfRQM0IbTySIe0o+KjaPvyV9oQ7KLKqEPR48NnNfl5fs8LyawhD2a05N6d8TORoCyLaLgOrvTx9GFmaU0JqRqWqpvUAysu7KTjLuRawCRGSV6UyA364cybudavZH+KSJVsrjwfu1QHnLK+FWVQ5znnaJAxjzgxT9NkO+m7ZOf0mykEX2kLbL1mgTCH1CMFTsvCWl5MSwF++yxtAKtXz1wdjpz83u/GP4Sf/Tj7H/9d7Lk3nKwmlgLqG6El/mxCMDyDD/BGhx7tb7Th07ZiCr6gWoy9HFVDDq8+cHOQ9xOaD3aIHXqZyU/2NvYnxEY4AvQ3IVWBSiQkCIdevVHCJKUm2kRT/7cCPIOaDMFpb+CEz/zWCatYgrxSwanXd77D6r+EJPiF4Dq4G24xthg6f9RzNt5dWBRTHO32Rz/sSRkiHpeKZnG8rUZEDh2rGOwXxloi5+SO7oyoANgmaHFZHs/3Jq1HkAwIFTJepZw+7IfYZQwskAli05yfdDBfPWuwijSu3X2dXPsUmAG2Hgs6KJWVD4ASyWWAbcJTKKscEqa2hIN4CFX76arHvZRnkDYJOaI6lw8PHhWWf8Id8cTrew2HwB3SnHItIQUc0RSm9w4JRD3k+Los8KJ3S6wEY1elw6gWFDTkgjr/SKLT2J4oTDKKaEwWSi3Lsxh1yDV+0GZopTw1VYcqsUP/Tze272PKMLuib1YGmrApgV6HAehc9KA7/4RoORh2Lbza1O6LKW+8FpIQ+8lLktzgnjJm2wfWMZXoRKFkIDFRt0OGrvusYd3cuA7V9X+Cz97CSCWmPLPVy8wc2AQw7jrpT3rhMWD3ykgun3TzNhCO+lxQK8fYL8XTPA8bVKgOKyXZUxlGoRsHT3IXraJPlRnslAn1fA3kXthk+D0g5s5QVxmXX5GdGxddqFlF1KU38KguwpZvcxKXR44QY9zDtmLlSYlDe+dlTb2WEcO8UZkZjL53Zu1WwwaIePgymXuXC5Z/nIrB+sTGejBSB5ok5KTxPy2Fv6BmUs/6dmkRk+c7MUNa3FlbnO7Rbs57nwuh3JpPneuCBPGpvsihFWr4GkuOjdJvoM2jbkK1LOGPx8ul5QKJP4TeZOPxykDGi9cfjLBEidxLiOwdCl/Qau5VULzLhX175rsqHcw55g9u4zsB+kPSQiejj3n2muyTr1tNRLtf7VI+BthVohoRBZ/EKKT9u0Gp5lNYfCutTYysBrHTd30ZwJC7W7frIgEKz5LH0+7Hi0PkWoMKZzw9lZ5e+UblU8b6jsTazUjxnNe/y2D+s6gCNUsCHFUfCKL2/j5n9Eb24wPt0ood7FoVFwTwrIm0tA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21e6b6c8-fff2-4591-c630-08da5b02b5b2 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:40:42.5925 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rqUzyz5NzOPTI+taL0m1YG/dbvgX8lNqmOWgTbE++GXcce4iom0B0MQSVND7eld3OnO2hlHUJrhdXyLHCF69PzJo9KIcfCSINzy3TlmmjoBEWUXOFpduDgRAHfT+PLib X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8850 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto This patch add missing ERROROUTC_A settings. Current existing ERROROUTC should be _B, this patch tidyup it. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 2e84d2eabee0..9ea31f3f01e5 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -270,7 +270,7 @@ /* SR0 */ /* IP0SR0 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ -#define IP0SR0_3_0 F_(0, 0) FM(ERROROUTC) FM(TCLK2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP0SR0_3_0 F_(0, 0) FM(ERROROUTC_B) FM(TCLK2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR0_7_4 F_(0, 0) FM(MSIOF3_SS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR0_11_8 F_(0, 0) FM(MSIOF3_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP0SR0_15_12 FM(IRQ3) FM(MSIOF3_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) @@ -377,7 +377,7 @@ #define IP1SR3_15_12 FM(SD_CD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_19_16 FM(SD_WP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_23_20 FM(IPC_CLKIN) FM(IPC_CLKEN_IN) FM(PWM1_A) FM(TCLK3_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) -#define IP1SR3_27_24 FM(IPC_CLKOUT) FM(IPC_CLKEN_OUT) F_(0, 0) FM(TCLK4_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) +#define IP1SR3_27_24 FM(IPC_CLKOUT) FM(IPC_CLKEN_OUT) FM(ERROROUTC_A) FM(TCLK4_X) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) #define IP1SR3_31_28 FM(QSPI0_SSL) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) /* IP2SR3 */ /* 0 */ /* 1 */ /* 2 */ /* 3 4 5 6 7 8 9 A B C D E F */ @@ -736,7 +736,7 @@ static const u16 pinmux_data[] = { PINMUX_SINGLE(AVB2_AVTP_PPS), /* IP0SR0 */ - PINMUX_IPSR_GPSR(IP0SR0_3_0, ERROROUTC), + PINMUX_IPSR_GPSR(IP0SR0_3_0, ERROROUTC_B), PINMUX_IPSR_GPSR(IP0SR0_3_0, TCLK2_A), PINMUX_IPSR_GPSR(IP0SR0_7_4, MSIOF3_SS1), @@ -1002,6 +1002,7 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR3_27_24, IPC_CLKOUT), PINMUX_IPSR_GPSR(IP1SR3_27_24, IPC_CLKEN_OUT), + PINMUX_IPSR_GPSR(IP1SR3_27_24, ERROROUTC_A), PINMUX_IPSR_GPSR(IP1SR3_27_24, TCLK4_X), PINMUX_IPSR_GPSR(IP1SR3_31_28, QSPI0_SSL), From patchwork Fri Jul 1 01:40:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902521 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FFCFC433EF for ; Fri, 1 Jul 2022 01:40:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232840AbiGABkw (ORCPT ); Thu, 30 Jun 2022 21:40:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbiGABkv (ORCPT ); Thu, 30 Jun 2022 21:40:51 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2117.outbound.protection.outlook.com [40.107.114.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21BF738182; Thu, 30 Jun 2022 18:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZaEOeWbUXG5yiRk55+K0BptN+8oFNL4c+O0fSb0bkuz0gFAapRHPJOECGynIXSZ06RQCuZ7wekWUqRJYOufKi6pKJMk6MN/gvG2cYdQz+e7ug6muKOo6pZnYsvjPkLUQXPhx6+HzwXy9Mk/ZzPq52pybvskiNXDJB4vpR3xzFgFF8ngx6YS1O+hJqVHAzuKW6AmsA245hS0nR2aTBOk6cws3UGASw845M04Tg1jw01Cso9H9i/RQ7H5yW4Fu/C8pdxB6dkKLIIPU/kfrqccsxeIEnbInmtgnVIrvAmCgtN5At2cvYEjNl5IV0zjI0cCg47XD72BhtkEeyfZqt9zHJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RAVTZyT11j0l8haicR1RreVPm7GCeWjdeos/oAFTnP4=; b=hfKd6w4MJHQb10R435zkm1D0dXBPewes7hfjCXGG/mXcftwtXSQM0K48gXC5+xV38ajkhXzj2pg+xFNUD6+DoNq6OaVrPFUNfRgiVaOxXXturYi/4ARivyKpJgmkeFPqffaEKb7TVfICrPkoo1sP7txq3085GtvSjD68vjzMOtlVLBHwu5Ri1dVupoWiLQw+zKccQ/aKaC0D/7fTbuiBj25a9j4Li7GYxztIeyW1PBYkdGHpDvWnph/AWm9LirIJ+S6pAy8gEi2TH9LMqlD1pCTkILPmCszsDA4uMYaixtkCd+NKGfoIrCY4vwUVM1kwW4Co9cnxrYljGQN5wNjiVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RAVTZyT11j0l8haicR1RreVPm7GCeWjdeos/oAFTnP4=; b=SjCmKh9HuYyGHlcakX7iXA2JImimu4Xp41REJp5J0khmWwQJcn9TpYOa18N+flY6JPCXem9ZtnQdjxftHDJgIKKrqUW9RzDeC5OpcEepmegbS1lqPxA1LBpB7L2pd/i5KI/m9BucA1ouVMGjnbAfINEElP+u2mwzWaBh322Z7Fs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB8850.jpnprd01.prod.outlook.com (2603:1096:400:18d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:40:49 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:40:49 +0000 Message-ID: <87letdsj8e.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 22/23] pinctrl: renesas: r8a779g0: add missing MODSELx for TSN0 User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:40:49 +0000 X-ClientProxiedBy: TYAPR01CA0139.jpnprd01.prod.outlook.com (2603:1096:404:2d::31) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6b9a1028-5bb0-43b0-db27-08da5b02b9f0 X-MS-TrafficTypeDiagnostic: TYCPR01MB8850:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YZzMXwVdndCRMGaNNZ201Hfw2t7HU4fyQQfu/0m9yqvs8dx1pXHtnYQ4xxnvfmelJgAOvaR8CH3+MRhs2oI/N0siFpYQGMAr/gJsp2DI1PYD8O4CQTTEJIvmVZ03VYOUPCqOU4bx28Dj6UZtEVsSb5naOsvfjLf4N14T9VlooKKg3NWRhDwQ4F28O3ECYINL4dmjWwVpKQ4F6WoH2Rdq7idcubiRQ8XXwAL1QVTy033yzYvaDle2yha7rPjyXFwfMx+TzVP/K2P+zJVIsIUTGQ4sMXdpjEAcElNKf7WrPvf+utIDvZIG0PEdE4NRoGvQNXKdI4oAWwHlvFxSg56w3Q4R4pVN9VEmDTo3PkztfONTNi7DDzRUCsBucsoeGsNCrE249auB2PWRgXqxsqZeRFdQvIs1vQ38CBTkqd2vjoA6mNj2L33H9BfmYhDAEanArjkGQXDFDpbJn1uCPyRfQktG29ZXiLltHWvZxDgd0rQo8wSrTM7hx+RemoPsP8L52H/l2Hk2Ddy7db+khGfSb80TsNCa116fox+aILtY7zOV5vVZ8K5TLjRAcntztJAPJQ6Vi5qkzxsmwwHQpcbc5B5CQtb5vU024HanBO4Gxalqs9XUIgTomLASe2VCw+cA/ZILz95SFLJ71dBK/+QUIteqmOpxRjw6+wogVb4bIO5wAbV0UoGpvgfcOdmNeUzgd4pH7U6/aA/k4OiVr6TAHDSysRaYagjSiGSJhHRNF3VG+gjEWzruxPE+qE/id+toSHwfEy4WosbJ08a2erBOpblPAiJly+3/A5KieTeKOL194v90dbCPWo82LGpDmN9Z X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(36756003)(110136005)(54906003)(316002)(86362001)(2616005)(26005)(38350700002)(38100700002)(186003)(4326008)(66476007)(52116002)(8676002)(66556008)(66946007)(6506007)(478600001)(8936002)(41300700001)(6486002)(2906002)(6512007)(83380400001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rgogK+Hy4/ma0gUk2y6gdvMwAitqhCxKVNCPIg78dr7M22fO8Jx8gsBWgxH4nxdJXBuye0i3TDRtRFSpTG45uYP0BruQEqbCbd0ZrLbMGtFGPRxSFf3KrPEiJrhn9L+UAv6z3O+RRBrCBY6VHHK80ISgO3J/VeuTx9IB8fX+TihUf+kk+ZoaDV+cNRYSkSbgvO71SlZc5QpgFkaOkhZrz3Vnn7c4HSCTopJLjzoylXO+t+kKRifqPoKO3gPSDmdAYVWSp+KpSWDxZ3euGPAlAkeggxBfl4z8z4ixqRxnyNcgxvlYBsnzMDdLNUGBo7z68Tgp0pfwwI6zRu0rNloxNM2UCgoSbNRkbLK8VPKRqELQBVwfXnmf93uMk6C/uDicADCztf9tvoVk7UUqxvpMr+W7AUhdKgCBWDFHUYYlNRwK0mWgoa+9ftKGhPqEyI3ueZrXdvR8pMf/UamvRR1mAzLAO3QcW8FxYHMgLuz0c93e+itK9HE2Tko3YUwoTz9KvNEYAijti+kcSp8tBHn6lTEyVfhz8+j/sdvEmjSmJjmCurn6Vc30seg8WLPvDHfw1si/EzlCavdWt1iFdDxr4qfqWBb6NQcqQaZAd7rIyslIAxyAKzgZn3WntSl88TciZrsNTeXLqhUXujlLNkxWkjJfC8F9qC7KP3GLvWfsbNW5/N2uQJTIRtYHE/gnsLCsEnch2OU8cMQ6s5z15D1AOy2JakDxaD72uhweo37tYnSOJYaZjFqAiN/J0hrTk03hihuo9JujIhl9owYaUxOezhpmTjUZqb5qlnGH8ujP/Mkyj/QWIaOwwFeS828hQhOntcltZnfxJ04/aQv9gmJPqu08P1guGvfmeK/ymc6OXcKhmNaCvn7P31yW0Hg2EaKnynKTCEZuSQRH5cN4cJwxjxFPHN76qxcEm2Qes4WD0uyMzc8vgPGSk5uRdLGUxx5EHF54Mi5siYdmHdZjrQCnnZZ8/5fFz8f2S5CjlnjrIe0fYX3oqQ+8ho1+qzHRyQUApoq6BdFajFKGudBocEC6LzprNjVB4KNs6AdF9jCV/K4+Gvy+LtWoNEOJ/JLPchaeHz9cEuoogg7wiCYTgen0Uvg0Wcr8xUjZiSUZhjlmi0E+wT8PfPXaS4bhjUz05hJZtyJYrDY52epbgVjfq5VKAbAse2s1Q3nFUn6l0Yhc/Dd8mXkonB2iHgIfmo++icrfy4cnUXYS5SN+tSn/JXXpZuvXeSbFBjzP4iJxqd0gdV/1Tcvt9+vGTxrFO2H+OPwdu2OatgApGA6M6dN/mAe3hYtcn672UR0HOZKrm8q964Os1cRCET26PswG8iyd3CaDjOOxE2lot8kmPpTKxwnMzPwXbPSGB/mudtr8IPUPNy2E3I74QQSnWwKAbyL+/LZaTdYm8pwhetvDG9lIUoylXkcyQfmnCo1ZxapeDbDvlwVkLDHMz5uFBBGTRACiJebkK+pIDhDicxS5eJoWqj5GpFfRZohvT4UIoLYUWpB7yB+qY/F4bb9xY9LjDHcvXmuryKbaLWO3OVwsr7KSWC1JLj8QukeYCIOPvbOdDUJtRy2944vDuLSG37uQ4DZj5SrJ/S90vOhLFYzi/bL4rYdtpFK0RU8RQ0Z+osBrgPJOxk0= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b9a1028-5bb0-43b0-db27-08da5b02b9f0 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:40:49.5696 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: y2Id3kpiQ+skgWPrJxnlRkFM573RvcUv1VCdatD7p/Xv0UOt8bJuyg7F3jqm2/4kmBO9NbLWm2p3KwmBMPPp5+Srd9NmhGWAoyzttKLofhGqtmJiGhDULSb8smKtvl7v X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8850 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto TSN0 needs MODSEL4 settings. This patch adds missing MODSELx setting for these. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 9ea31f3f01e5..7834e8be3066 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -691,27 +691,30 @@ static const u16 pinmux_data[] = { PINMUX_SINGLE(AVS0), PINMUX_SINGLE(PCIE1_CLKREQ_N), PINMUX_SINGLE(PCIE0_CLKREQ_N), + + /* TSN0 without MODSEL4 */ PINMUX_SINGLE(TSN0_TXCREFCLK), - PINMUX_SINGLE(TSN0_TD2), - PINMUX_SINGLE(TSN0_TD3), PINMUX_SINGLE(TSN0_RD2), PINMUX_SINGLE(TSN0_RD3), - PINMUX_SINGLE(TSN0_TD0), - PINMUX_SINGLE(TSN0_TD1), PINMUX_SINGLE(TSN0_RD1), - PINMUX_SINGLE(TSN0_TXC), PINMUX_SINGLE(TSN0_RXC), PINMUX_SINGLE(TSN0_RD0), - PINMUX_SINGLE(TSN0_TX_CTL), - PINMUX_SINGLE(TSN0_AVTP_PPS0), PINMUX_SINGLE(TSN0_RX_CTL), PINMUX_SINGLE(TSN0_AVTP_CAPTURE), - PINMUX_SINGLE(TSN0_AVTP_MATCH), PINMUX_SINGLE(TSN0_LINK), PINMUX_SINGLE(TSN0_PHY_INT), - PINMUX_SINGLE(TSN0_AVTP_PPS1), - PINMUX_SINGLE(TSN0_MDC), PINMUX_SINGLE(TSN0_MDIO), + /* TSN0 with MODSEL4 */ + PINMUX_IPSR_NOGM(0, TSN0_TD2, SEL_TSN0_TD2_1), + PINMUX_IPSR_NOGM(0, TSN0_TD3, SEL_TSN0_TD3_1), + PINMUX_IPSR_NOGM(0, TSN0_TD0, SEL_TSN0_TD0_1), + PINMUX_IPSR_NOGM(0, TSN0_TD1, SEL_TSN0_TD1_1), + PINMUX_IPSR_NOGM(0, TSN0_TXC, SEL_TSN0_TXC_1), + PINMUX_IPSR_NOGM(0, TSN0_TX_CTL, SEL_TSN0_TX_CTL_1), + PINMUX_IPSR_NOGM(0, TSN0_AVTP_PPS0, SEL_TSN0_AVTP_PPS0_1), + PINMUX_IPSR_NOGM(0, TSN0_AVTP_MATCH, SEL_TSN0_AVTP_MATCH_1), + PINMUX_IPSR_NOGM(0, TSN0_AVTP_PPS1, SEL_TSN0_AVTP_PPS1_1), + PINMUX_IPSR_NOGM(0, TSN0_MDC, SEL_TSN0_MDC_1), PINMUX_SINGLE(AVB2_RX_CTL), PINMUX_SINGLE(AVB2_TX_CTL), From patchwork Fri Jul 1 01:41:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 12902522 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FA45C43334 for ; Fri, 1 Jul 2022 01:41:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232851AbiGABlH (ORCPT ); Thu, 30 Jun 2022 21:41:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbiGABlF (ORCPT ); Thu, 30 Jun 2022 21:41:05 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2122.outbound.protection.outlook.com [40.107.114.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E527B5C975; Thu, 30 Jun 2022 18:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bp93L2RD0c82jaOxtrzEAGqICv1x9S6o+7RfdTBdRJYpshV3yea7CewQgQ98wFmEVWhFVWpKEjZk96zczpb9fI14g2Z/KN85QTLClRYXjunOrqGkoNpOSlio0jxx0LBclpcZVclCe/7ZTogRAL6Wish2QHbX7qfV0XMPdH/5XV16t7mT4+WylvHuSFOfpm39ID4/o4/VLTf7yX74zjOUwv3VvmWjRufkg85wOiEfA4NHiP1lNSda+4gJ6pFfe2LfphfTxy3yJZHTRcCyDwHpDE7OnufKCZxldwHaxVC4GRWJlxbYyLbQgX2O3e2vgJknaDGIn2O+sM3H3rpkloebSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=leWZRJk42Wvw2wrPVVOVeom/vayvTDC1RWvVxjfqy/A=; b=UtHcWIlLN+F3d/nHnvJaVhsByuSBzUuSgEPHIziJe0eajs5fJvxtIQjRahTCHf7pjTPt/QSNmqKrX3wxwq/QItMlYoL6jaHueXhwzteKr4xuS9+CbYYVEDiVgpw5dPMtfYSb+sRJ2QcHjWA0jzU3P1KXlzqjpw8nmJzuHuvKtRoe2JAZzokhE5ht7t1ITjpmg+Rbzw1r4HU+NnyH6pYDokFK6TS6ttFEV0FTtZ2SrK1uBwkYQvPCT3ZCoVOaxy1Uts+5Lg4fxz/Y7xeUaMbipNdkPHRhh6/FRQQ2x478ZkOohok9gZlz3DQ1aHNgmz5rnTQEOBuTOIcPxK38EJX9Lw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=leWZRJk42Wvw2wrPVVOVeom/vayvTDC1RWvVxjfqy/A=; b=dImI8RdY/SlkP5YK4FjowIzmtVElHHi9jrtheKkUaHeaV39jnTucU2kbDTHahqlwCagVGhSc9NeWAKjkb2T6FAN4ockA7RAEm6aPOZF4KrKNyOc2j8F3dOR2j/VrV3tdWiRNhd4qqM5rkha3NWSv04hpYwFY1YsTOurZ6ukl0HI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB8850.jpnprd01.prod.outlook.com (2603:1096:400:18d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 01:41:03 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::3838:1a73:ae46:bab2%5]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 01:41:03 +0000 Message-ID: <87k08xsj81.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v4 23/23] pinctrl: renesas: r8a779g0: add missing MODSELx for AVBx User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 To: Geert Uytterhoeven , Geert Uytterhoeven , Geert Uytterhoeven Cc: Linux-Renesas , Linus Walleij , linux-gpio@vger.kernel.org In-Reply-To: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> References: <87h741ty20.wl-kuninori.morimoto.gx@renesas.com> Date: Fri, 1 Jul 2022 01:41:02 +0000 X-ClientProxiedBy: TYCPR01CA0151.jpnprd01.prod.outlook.com (2603:1096:400:2b1::7) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ab35fadf-a5af-4478-a6d2-08da5b02c1ec X-MS-TrafficTypeDiagnostic: TYCPR01MB8850:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3QswKgosKSMxG1JewT/qBxE/1a9OgeufTV4dHcdXv1BuJGnE3Jrl8+P7BCvhdSBlMKPwWT9AYZ1Wd4SdxQVTUPYTfb48RnbKfy4I6aArl00T7PZ1MZF7tNPZo/bEmelSsQOl54UmWvgoUfC+oKJmryZXFb+O+ROwDBvU6osO8QScYFOEGiT6GRa7MPFwXQ7o0KzvbHQV96mj4XxMwttS31y+YNv9BvYdb09kvtbfxJarVG9EHItjTgmxNQl/eDVzPgHN3UVku8wgEJHOwFORfJPLQ/jCjJ4Fa4OsmpoYkgBOiHZNmmm5D3tZIJkpEVkANuNbe3BOVcZ2cX2jsOkjJSGzvgVMmV3DOYiR5PuSyBQ4qkmGydUs1g/8CMvtuKk7+J+abgE27uqaQLVxgRLrJDKALTolUT7spCNNmMCi2IvQL/tvt9DbZe1PhV1FCM3z6GrytCyiq5Tm3z7JSqNTPNpibYvZH81Wp/mLdM296Q4sdNkujU0YhFjGGwISAdr9zx/vxe2y6bcuE7MmxJcHWBghlVnb5Fr9UnLAEuYKfZKaEEq5s1V18iKqR5YU+RYgReghku3e+XVduLzKhoG69J9JTissiwONN6Cma9Zhb1dbp5m6L9ZoIM+kJAwtdAi4JIpLTEgeSsMxPq+79akuehMswBQrh4PHZqalWiGnuDZvXxrB2RPWFcdG0DOhwZiSkgP4EaFr1s0CTy7OeF/BSPIADAicHhmtJBC42+s8Uz8ZU0jpBceotG5+ExCNN+1ZiQ22ErfOHxxd6lOJmSQwY4td26u/JPBtqbmaBzlgWwpQtyxhht2UrhxNE6EqnHK9 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(36756003)(110136005)(54906003)(316002)(86362001)(2616005)(26005)(38350700002)(38100700002)(186003)(4326008)(66476007)(52116002)(8676002)(66556008)(66946007)(6506007)(478600001)(8936002)(41300700001)(6486002)(2906002)(6512007)(83380400001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: u2ijMUyt0QWCt4KPW/kuZpf50uUNWwwUVy0Mj62ARihwzL2EAiBJDdmmj09r47p79z5YDLqogP9r/kN0lhpfzo6rB/HDD6cWnNj9bbP+05DNkXCt6kc/1nMkxMCw14K7SILsU2o+xV8ZfSLEHIoQO7xkFlHzqFftqVJCbKeCiHJ+VOXl/IaolSDqnuKS7ikYHtwIHrgEC5cTJCqln0I++qlKyo95A7cXYlzCodqRN+jKhcLWRCHKb0+9+gCoEbz3ep86JRHOlC+k3u5TUWLeuZZorW5oLs9SCsHcJsaycy0uo2yCayewI7TIu5Lnwl8DMC3k279SPNYJ6jfHm1VUvXESGLMjYIuzjijQkJjRCDjo+NKfYqIPap7AUM8JIOD05tq2od1Js4bdMmTDLgEKC67ArlQSbIFJly65D14jAiJleL6xOHHLXUm9Uv7+rghf0bjwF5/w0BwVaBX3FZxzML2ftH0ZtqoyIWFbnCCBu5k1TOqUjn5JUgqvxHMyo90bayjwVtO0lrW8mbUE95Jfm56VJG38B/JZ2wAOUIOy7vP6WMelmbX1V8CXvmvkeb/QIaiRUxog9KYhdt1m9P+iGo5w1IqJ4hcrmTzta12NsG0lbSaVZrAayJ/F8MDPJeTOgp6l5cTsGvFaz5kLZrTVKSbIDlGU+3nP/vMHPfzbWAibPEKuEpe6kWba53Xt4GKYIymG1+SOu+1Yc0/H2PBKP5Q/MYMCh1NSL1xGH8ucYh75DXNxA6FGh9ph4xNGRYnNluaZw0Wn9SI7fQThUMek63DLIMU/rO2fMuV6/u3pKOGQv7ohCuhfrYG+dsbq0eGoO+F5yA9WQkvjSRgyVWgDTbHAdXVoTGJ2W97ObnwEYpiUx924Ck/7DAvvhO1ibyrpU7hxkLsfteWT7fxD+KmTZrelFAvWGGAf9vVC5SUj09H6+1SjUod/XCbOjfll5bMi2xd7LAJAXWq+wbrG/g5b5tOjNp4QJz4iojjc2u3b6MK8uHmpOVqCOUUK+LQTQ4iCHAcMAA7NgC7SclyXtZFHYgtOaXt2jUEoplfHSBQ9xagytZX4AkVkdcw/n9fzPRJZSzhgzqONR6GG4TB3TQDKJBBUM2cwGKBv4UOmtLLVRsLhkJbGJRBI9o/hd0Lu49aPDH/vi8eIkzP6EqyJZK/Lkbv4RLOyWqaEspKTba4vQXjW1gOZxsHh/w8x/9it2WBYLF8ML5NS+89S/fBA2KaA3vJ8JD/nnF8nl3m/tuJNop5pnxM3prvbxhPtw92yxRL0Tr4TWo1wRmHKmjBZmPdyZa7vE2bmvjPhNDpNNhHc9VodduMG+gba0YUPdDFtBTwdVfUbhQbbBx9IGGzT/ETIOa8Tx6dRRJzJu581oilFKyk0RqPca3oz2wwQv3UxwgEyzS3biacZnvHmAmZdDIImoT1poioqfL3K0dxm06RYeZhbzaJKHDOr3y03YHduTx60XhwxUzyaWMR/gkJnpYF4yXOoszOS+nU17X2+Aq9CShYL8JuYiwU4nXm4KIe1gkBw2UaDaOVkFB8Ef39lSSU7f5Cv66CO6NrPCT0CJqaA1XNVzqvAAII/9iqZZev5y996EIDM33F6RmyM7+ZHpeL3LzekbrFWgEn/EunXPfkTOaw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab35fadf-a5af-4478-a6d2-08da5b02c1ec X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 01:41:03.0253 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ksHG1/GN6ocwnt4AvdZE5NJWsaZ7arQWVQhTwjnMmXHwsd4jR3z4FFXIzbTXLvEFuG07mnprrhUvYNLzflP+cKVhncX6lnEZQUTsZAXJxHromwUT5Ppr+yRVcJb5EK81 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8850 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Kuninori Morimoto AVB1 needs MODSEL6, AVB2 needs MODSEL5 settings. This patch adds missing MODSELx setting for these. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/renesas/pfc-r8a779g0.c | 58 +++++++++++++------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-r8a779g0.c b/drivers/pinctrl/renesas/pfc-r8a779g0.c index 7834e8be3066..10125892ed24 100644 --- a/drivers/pinctrl/renesas/pfc-r8a779g0.c +++ b/drivers/pinctrl/renesas/pfc-r8a779g0.c @@ -716,27 +716,29 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_NOGM(0, TSN0_AVTP_PPS1, SEL_TSN0_AVTP_PPS1_1), PINMUX_IPSR_NOGM(0, TSN0_MDC, SEL_TSN0_MDC_1), + /* TSN0 without MODSEL5 */ PINMUX_SINGLE(AVB2_RX_CTL), - PINMUX_SINGLE(AVB2_TX_CTL), PINMUX_SINGLE(AVB2_RXC), PINMUX_SINGLE(AVB2_RD0), - PINMUX_SINGLE(AVB2_TXC), - PINMUX_SINGLE(AVB2_TD0), PINMUX_SINGLE(AVB2_RD1), PINMUX_SINGLE(AVB2_RD2), - PINMUX_SINGLE(AVB2_TD1), - PINMUX_SINGLE(AVB2_TD2), PINMUX_SINGLE(AVB2_MDIO), PINMUX_SINGLE(AVB2_RD3), - PINMUX_SINGLE(AVB2_TD3), PINMUX_SINGLE(AVB2_TXCREFCLK), - PINMUX_SINGLE(AVB2_MDC), - PINMUX_SINGLE(AVB2_MAGIC), PINMUX_SINGLE(AVB2_PHY_INT), PINMUX_SINGLE(AVB2_LINK), - PINMUX_SINGLE(AVB2_AVTP_MATCH), PINMUX_SINGLE(AVB2_AVTP_CAPTURE), - PINMUX_SINGLE(AVB2_AVTP_PPS), + /* TSN0 with MODSEL5 */ + PINMUX_IPSR_NOGM(0, AVB2_TX_CTL, SEL_AVB2_TX_CTL_1), + PINMUX_IPSR_NOGM(0, AVB2_TXC, SEL_AVB2_TXC_1), + PINMUX_IPSR_NOGM(0, AVB2_TD0, SEL_AVB2_TD0_1), + PINMUX_IPSR_NOGM(0, AVB2_TD1, SEL_AVB2_TD1_1), + PINMUX_IPSR_NOGM(0, AVB2_TD2, SEL_AVB2_TD2_1), + PINMUX_IPSR_NOGM(0, AVB2_TD3, SEL_AVB2_TD3_1), + PINMUX_IPSR_NOGM(0, AVB2_MDC, SEL_AVB2_MDC_1), + PINMUX_IPSR_NOGM(0, AVB2_MAGIC, SEL_AVB2_MAGIC_1), + PINMUX_IPSR_NOGM(0, AVB2_AVTP_MATCH, SEL_AVB2_AVTP_MATCH_1), + PINMUX_IPSR_NOGM(0, AVB2_AVTP_PPS, SEL_AVB2_AVTP_PPS_1), /* IP0SR0 */ PINMUX_IPSR_GPSR(IP0SR0_3_0, ERROROUTC_B), @@ -1031,23 +1033,23 @@ static const u16 pinmux_data[] = { /* IP0SR6 */ PINMUX_IPSR_GPSR(IP0SR6_3_0, AVB1_MDIO), - PINMUX_IPSR_GPSR(IP0SR6_7_4, AVB1_MAGIC), + PINMUX_IPSR_MSEL(IP0SR6_7_4, AVB1_MAGIC, SEL_AVB1_MAGIC_1), - PINMUX_IPSR_GPSR(IP0SR6_11_8, AVB1_MDC), + PINMUX_IPSR_MSEL(IP0SR6_11_8, AVB1_MDC, SEL_AVB1_MDC_1), PINMUX_IPSR_GPSR(IP0SR6_15_12, AVB1_PHY_INT), PINMUX_IPSR_GPSR(IP0SR6_19_16, AVB1_LINK), PINMUX_IPSR_GPSR(IP0SR6_19_16, AVB1_MII_TX_ER), - PINMUX_IPSR_GPSR(IP0SR6_23_20, AVB1_AVTP_MATCH), - PINMUX_IPSR_GPSR(IP0SR6_23_20, AVB1_MII_RX_ER), + PINMUX_IPSR_MSEL(IP0SR6_23_20, AVB1_AVTP_MATCH, SEL_AVB1_AVTP_MATCH_1), + PINMUX_IPSR_MSEL(IP0SR6_23_20, AVB1_MII_RX_ER, SEL_AVB1_AVTP_MATCH_0), - PINMUX_IPSR_GPSR(IP0SR6_27_24, AVB1_TXC), - PINMUX_IPSR_GPSR(IP0SR6_27_24, AVB1_MII_TXC), + PINMUX_IPSR_MSEL(IP0SR6_27_24, AVB1_TXC, SEL_AVB1_TXC_1), + PINMUX_IPSR_MSEL(IP0SR6_27_24, AVB1_MII_TXC, SEL_AVB1_TXC_0), - PINMUX_IPSR_GPSR(IP0SR6_31_28, AVB1_TX_CTL), - PINMUX_IPSR_GPSR(IP0SR6_31_28, AVB1_MII_TX_EN), + PINMUX_IPSR_MSEL(IP0SR6_31_28, AVB1_TX_CTL, SEL_AVB1_TX_CTL_1), + PINMUX_IPSR_MSEL(IP0SR6_31_28, AVB1_MII_TX_EN, SEL_AVB1_TX_CTL_0), /* IP1SR6 */ PINMUX_IPSR_GPSR(IP1SR6_3_0, AVB1_RXC), @@ -1056,17 +1058,17 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR6_7_4, AVB1_RX_CTL), PINMUX_IPSR_GPSR(IP1SR6_7_4, AVB1_MII_RX_DV), - PINMUX_IPSR_GPSR(IP1SR6_11_8, AVB1_AVTP_PPS), - PINMUX_IPSR_GPSR(IP1SR6_11_8, AVB1_MII_COL), + PINMUX_IPSR_MSEL(IP1SR6_11_8, AVB1_AVTP_PPS, SEL_AVB1_AVTP_PPS_1), + PINMUX_IPSR_MSEL(IP1SR6_11_8, AVB1_MII_COL, SEL_AVB1_AVTP_PPS_0), PINMUX_IPSR_GPSR(IP1SR6_15_12, AVB1_AVTP_CAPTURE), PINMUX_IPSR_GPSR(IP1SR6_15_12, AVB1_MII_CRS), - PINMUX_IPSR_GPSR(IP1SR6_19_16, AVB1_TD1), - PINMUX_IPSR_GPSR(IP1SR6_19_16, AVB1_MII_TD1), + PINMUX_IPSR_MSEL(IP1SR6_19_16, AVB1_TD1, SEL_AVB1_TD1_1), + PINMUX_IPSR_MSEL(IP1SR6_19_16, AVB1_MII_TD1, SEL_AVB1_TD1_0), - PINMUX_IPSR_GPSR(IP1SR6_23_20, AVB1_TD0), - PINMUX_IPSR_GPSR(IP1SR6_23_20, AVB1_MII_TD0), + PINMUX_IPSR_MSEL(IP1SR6_23_20, AVB1_TD0, SEL_AVB1_TD0_1), + PINMUX_IPSR_MSEL(IP1SR6_23_20, AVB1_MII_TD0, SEL_AVB1_TD0_0), PINMUX_IPSR_GPSR(IP1SR6_27_24, AVB1_RD1), PINMUX_IPSR_GPSR(IP1SR6_27_24, AVB1_MII_RD1), @@ -1075,14 +1077,14 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_GPSR(IP1SR6_31_28, AVB1_MII_RD0), /* IP2SR6 */ - PINMUX_IPSR_GPSR(IP2SR6_3_0, AVB1_TD2), - PINMUX_IPSR_GPSR(IP2SR6_3_0, AVB1_MII_TD2), + PINMUX_IPSR_MSEL(IP2SR6_3_0, AVB1_TD2, SEL_AVB1_TD2_1), + PINMUX_IPSR_MSEL(IP2SR6_3_0, AVB1_MII_TD2, SEL_AVB1_TD2_0), PINMUX_IPSR_GPSR(IP2SR6_7_4, AVB1_RD2), PINMUX_IPSR_GPSR(IP2SR6_7_4, AVB1_MII_RD2), - PINMUX_IPSR_GPSR(IP2SR6_11_8, AVB1_TD3), - PINMUX_IPSR_GPSR(IP2SR6_11_8, AVB1_MII_TD3), + PINMUX_IPSR_MSEL(IP2SR6_11_8, AVB1_TD3, SEL_AVB1_TD3_1), + PINMUX_IPSR_MSEL(IP2SR6_11_8, AVB1_MII_TD3, SEL_AVB1_TD3_0), PINMUX_IPSR_GPSR(IP2SR6_15_12, AVB1_RD3), PINMUX_IPSR_GPSR(IP2SR6_15_12, AVB1_MII_RD3),