From patchwork Sat Oct 29 17:09:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 619879 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 78977C38A02 for ; Sat, 29 Oct 2022 17:10:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229667AbiJ2RKh (ORCPT ); Sat, 29 Oct 2022 13:10:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiJ2RKf (ORCPT ); Sat, 29 Oct 2022 13:10:35 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2027.outbound.protection.outlook.com [40.92.99.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BF422611F for ; Sat, 29 Oct 2022 10:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cefU5w4wOmwOVylH3UfBPX1E9+rQjVm4hEHIX/iyNsUsyoduhgQBfT7T5prSszq98DmRzG29mNVsOBFBuHs79f60tFFMr4QOB9aO3/6ywOmPdNbiOkhqXJ1PZu3LUp4U9DahBXVD1S3x1AqM2+ywFUWKhkBpEw/ykNwOwbuXRb3hoxkmTfVZrsXIJcKwl7xKxkyWw2l+jnYGuEmeMMt/YUzFAElyfTCgreE2HXlXGb7PqqFzbHNnpJoowYkk18BMafPguYiBL9O7002cqO2huMq/ztaifMva2oH8MlWjZSsjbo5GiVlA6Ivf++7HE0PhTC1Cplggk52bY0pP4cgPxA== 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=FORUlqgGGZFzWqmWvvRfC09/Pav3sEsvyedI+qScY+M=; b=Fo6FCj8vdRaLP6xFeZkvGQd/vzwIXW9ScWUbFIkD/Ao3Bp1Oi9aN+IV7l89ZW3xLLv+2J2QVw+sFdUBUexXPjlUdsvaGS/3qpm+qekZrGXUmWXkug9akTHzKkcPcYDMnOJwG31VvVXQexnJEOFNGsNwf21XJyQigdYf4BQU6dvcc47nnmzyVJm7oHK3M8KI7pPR7wKbGCUoMGs919ff36PncHL85H6XQEIYwLL/33xGivRCOwr4ZxyAW3vwnyS0UYGnhZfL5fFCjCRfbXxtkXO8azAAiBXNLXwHUOQCiQeNCJuT3F2b2CaGhyFIpNDWPzF69YYs3XqFA7lDj6aCriw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FORUlqgGGZFzWqmWvvRfC09/Pav3sEsvyedI+qScY+M=; b=mQ05AAmmzM7SjvUpnh2Hai989yFwKBh+wABosB4PcU4R93rzc8oqMXFT7s6Lfqbm0giSudX/bb9814YOLShPrf1otT85cEPzdCR8P7QRFS2aXQecF3wXfi03ISdNDte1PAvuRbuXnQzwgiv2KYbzy7V0/Q65aJRC3E995PiQdgbV+ioviSDF+Sr4FuwbbVo5LSloSxtp2FcE0I88Vc7WGVV1/U+y3r+tzVFeC8Kepi2fvZbayqyehpR1B7T/Slwhxgm6uekqDhTuLot6+NeN2bVtTaQQ4b6BTUIIlAaNreDitH+kvhy/Z+dyxLuvAIJuNUWSXJRfSWjjxhFW/bZGqw== Received: from OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1f9::12) by OSZP286MB2094.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:16f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.16; Sat, 29 Oct 2022 17:10:29 +0000 Received: from OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM ([fe80::5c85:eeae:9c31:93fd]) by OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM ([fe80::5c85:eeae:9c31:93fd%7]) with mapi id 15.20.5769.016; Sat, 29 Oct 2022 17:10:29 +0000 From: Shengyu Qu To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, michael.riesch@wolfvision.net, s.hauer@pengutronix.de, pgwipeout@gmail.com, frattaroli.nicolas@gmail.com, frank-w@public-files.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Shengyu Qu Subject: [PATCH RESEND 1/3] arm64: dts: rockchip: RK356x: Add I2S2 device node Date: Sun, 30 Oct 2022 01:09:04 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221029170903.78-1-wiagn233@outlook.com> References: <20221029170903.78-1-wiagn233@outlook.com> X-TMN: [ymImAqZCF4cKNK0s+rC5vGJATOZNLJUj] X-ClientProxiedBy: TY1PR01CA0184.jpnprd01.prod.outlook.com (2603:1096:403::14) To OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1f9::12) X-Microsoft-Original-Message-ID: <20221029170903.78-2-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3P286MB2597:EE_|OSZP286MB2094:EE_ X-MS-Office365-Filtering-Correlation-Id: 44fd7b4b-8200-48ce-f3c0-08dab9d07ae8 X-MS-Exchange-SLBlob-MailProps: HeyTOiyEx6bgx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E9v0zJ9Jks9ppALhOu/bkrxSNbWdjwilAV6FgEs7hPZFr+vDFq+vklRcCky3JWmM8fY18dtUItrRXN502b+4Kb0ELbv9qJ5xGhHv8QQuUU1ssyqNo7U/hEuOeYnrp+gT6miZtMI1gJb6v+P9DOj7cohXZ6DAeL0Ab+nfyGqwLt0OABAEUnt26xbBjrLweNT8J9pGV6DxOfxnyRGTrBe3JEbEvGoA5GzLOlwWKDqCU8CR+4HWEyjOwqj23P/uk3pIFRR6XYN+hPWvnkeC6B8EFIVgh7bTsbYq4xY2a8mkOaMSDJ3UGwQ5qRUekWXbHd0nUcDqkqn4I7aVnTJjDrLW4hLx/JRihvoFAYTwhawaeWKlUJM8lpUB5GrTUAcXbjfT9mOafYb4evunbKlNsCyj5EMUol/IwLfkyNMwPjH5QxkTR7UmQXymuQk5sS6Q35BDha1JoclkzvHZ+eZOG674egwwMYC9+ILzGTJqblwlgaj6XspUmGYtJWEvnrzx/9ouIY5w5eY0W4lrEl0GqHJumMIH4eCgtVSRwYA181SeJ257EDHMQ+2q7FkZJMTs4EeFvSLnTfj/AqKWlkDA848C29BfcksTRsCqItSlZOi9s84O6oxmb3ypIljiXHSfP2IsUN24Xl5JcqwSR7HrMrwRwnAmRhcxquZtkeCSIUYBjIY1XaqiPD30P6OCC/DJ0ydzYPoigIT2/WatPGFJ8oa9RSld6Ng== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 44fd7b4b-8200-48ce-f3c0-08dab9d07ae8 X-MS-Exchange-CrossTenant-AuthSource: OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2022 17:10:29.5415 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZP286MB2094 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds I2S2 device tree node for RK3566/RK3568. Signed-off-by: Shengyu Qu --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 164708f1eb67..4af1e28b3a0b 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -1105,6 +1105,28 @@ &i2s1m0_sdo0 &i2s1m0_sdo1 status = "disabled"; }; + i2s2_2ch: i2s@fe420000 { + compatible = "rockchip,rk3568-i2s-tdm"; + reg = <0x0 0xfe420000 0x0 0x1000>; + interrupts = ; + assigned-clocks = <&cru CLK_I2S2_2CH_SRC>; + assigned-clock-rates = <1188000000>; + clocks = <&cru MCLK_I2S2_2CH>, <&cru MCLK_I2S2_2CH>, <&cru HCLK_I2S2_2CH>; + clock-names = "mclk_tx", "mclk_rx", "hclk"; + dmas = <&dmac1 4>, <&dmac1 5>; + dma-names = "tx", "rx"; + resets = <&cru SRST_M_I2S2_2CH>; + reset-names = "m"; + rockchip,grf = <&grf>; + pinctrl-names = "default"; + pinctrl-0 = <&i2s2m0_sclktx + &i2s2m0_lrcktx + &i2s2m0_sdi + &i2s2m0_sdo>; + #sound-dai-cells = <0>; + status = "disabled"; + }; + i2s3_2ch: i2s@fe430000 { compatible = "rockchip,rk3568-i2s-tdm"; reg = <0x0 0xfe430000 0x0 0x1000>; From patchwork Sat Oct 29 17:09:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 620678 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 8A13CC38A02 for ; Sat, 29 Oct 2022 17:11:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229696AbiJ2RLA (ORCPT ); Sat, 29 Oct 2022 13:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbiJ2RK6 (ORCPT ); Sat, 29 Oct 2022 13:10:58 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2080.outbound.protection.outlook.com [40.92.99.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD70F2A964 for ; Sat, 29 Oct 2022 10:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GheplQhXnP2EVts2bu8RyNFWltxCsNm61JCSicXBCQc3ZAevdAJpiWq3OIT0IFqjY6N1qPk9CPHAufVj8TAgE5UoWrDWJxSShRW+Iz9Wj47mBKzZ7vWNFCZqRahShncrtzT+tDF4TEZex+UG8YIYxjREChzDYs6kbjEmNpXSQQQlCWhjduXjdm7LLymMeuabRSNZTdsZRdZXeMSUsYx8oE7LFiVsU/vZcEuZ0HBJyEeweGkyfjsllXd7Vz+nru0rKvEdyplXMiTdOP5i83O9WD9zj0qTUj9G5LrmZUEubDeX5tFAyX+3bZwf91anl+5a793Cb5OsuKNTyGNJB7kj0Q== 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=EYONljbYO1osIJNtMa3kUqciQwg/i6sFQnwzPYgQQgw=; b=leN+HS1hLu4HxFljBkEEWGcJu+va5fBlne59L0BY3V3I24dRrVOZHpK0b3myV1zINcPUh3xCRW1ZFldd5wH5rX20LQVU2H1tD1cEmgkjvvxX2Pyy6FE5F6hSk4e3cb1TYYw0rdRntOTSm8YvARvjcoIPw9s48+OjS076wJFv/gTyabeVMVA3sXlQg9L/a8V3J3Y0BYyTLBUz/C0KZNa7Lm0myeqcEesS6c2HSyOSz2edl8A1IM02H6y7JIVR7NAMSEsYnyq+xU7yJbYXSxLkUGmIr4bhf9ItUMPQyWajPf/nq8y1vfU3y2kE4D4Y4MSvYwNbqD165IB0hLNyxLqjNA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EYONljbYO1osIJNtMa3kUqciQwg/i6sFQnwzPYgQQgw=; b=TNTEkGex/UIKek/Ja+UyYwsk3qHougkE6kzQUQPpwUNNvlRu8LYi56eJXjWOT+gbAGnkl2/fWFE6dQwSNfS59ty6bUTX5wWw/zOWXW4ycmmobr1jTBp9/J2DkNcFr5UHb26pJxLxomaDWk+9jHymGtZGUa0masjNb56Hpk+rvzwZ4KXgDcQOm1ewhqQEFxDZDEGfzSwPTtmK4cyW5BGsphTmqOOPu8egADpJ+T2HvEawvVUrPPPqBxPQtihUzqpH05WEua09avCi84MankyzP6gTI6UyuA2cfWcNnariY1nsqIJZtXhDeO9fZL7FAGZ4dSxgXq1c64Ex/YlQqPWE1A== Received: from OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1f9::12) by OSZP286MB2094.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:16f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.16; Sat, 29 Oct 2022 17:10:50 +0000 Received: from OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM ([fe80::5c85:eeae:9c31:93fd]) by OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM ([fe80::5c85:eeae:9c31:93fd%7]) with mapi id 15.20.5769.016; Sat, 29 Oct 2022 17:10:50 +0000 From: Shengyu Qu To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, michael.riesch@wolfvision.net, s.hauer@pengutronix.de, pgwipeout@gmail.com, frattaroli.nicolas@gmail.com, frank-w@public-files.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Shengyu Qu Subject: [PATCH RESEND 2/3] arm64: dts: rockchip: Add I2S2 node for RADXA Rock 3A Date: Sun, 30 Oct 2022 01:09:06 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221029170903.78-1-wiagn233@outlook.com> References: <20221029170903.78-1-wiagn233@outlook.com> X-TMN: [LOrZnzPXcZp22dwxyheIvkqSwH/7wNub] X-ClientProxiedBy: TY1PR01CA0184.jpnprd01.prod.outlook.com (2603:1096:403::14) To OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1f9::12) X-Microsoft-Original-Message-ID: <20221029170903.78-3-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3P286MB2597:EE_|OSZP286MB2094:EE_ X-MS-Office365-Filtering-Correlation-Id: 18eeba2c-bda0-4dd7-da4c-08dab9d08726 X-MS-Exchange-SLBlob-MailProps: HeyTOiyEx6bgxvvtESq6ioKsiISu8URd8sVsLfZxqNSJ6+Ex4LKGvQb3xj2tan730lzqX9iIZRELE6jDGBtoB419tUv9EixvwmtP8kiSuFPOsNbRSf10nHQ2sip8CaewNL9Mduee0dHXh9MCfLap5/eDvXYdEdi6+GptmtPRqqfGwaPFPY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Ik0S4SVFDPUiHJo9RlPMREColk0HlXUUWHjfhBdi9HYPfJsG6W2KsN/kM/HB7jkwbQn28WRXK5KhNQ7QGvUVcF4+RosxFEgahxHGElIL96VnRjE3DiNhpj+0YvKZ4Jg7NQ+I+ImoHv9wVxxWLUjAsrEIJ5ZcPNJiDulchtLirfNVxFasjXWna6y6yTX5AzCCRr3yr1nIJjyO2UDBPDqr0Pau/ziJQ3OTXPlF4qao6fGW6N+Hnd4oV+0/0AfDR5xps6vhSDXLBEnz57fDYd6WrfMFsqTIRMZQwjo9Mn/4gxorjE7Rag/JTHSnMl3Ufx6wuKwwprk7uRtcWBs1zwy1CMGeZV98HGHiOU6rjnUYBxCzbmbKBbRC7VcrnirdvwhciM1OoiLASGrprCGPKeKy1sDBp70kTlnIb9IAdVjVLcs9gtDMYgyl1zSvvKRe0tNDOvZl/Wgch1DRlbMQmmDk7BEsI7Y8wJIxjVcm/bT6Yl3FTftIvlIQLDVaHCbD++VLW1JKDEL4HgHmuEIOXj+6I4TbnZZSc35ba9e32bg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18eeba2c-bda0-4dd7-da4c-08dab9d08726 X-MS-Exchange-CrossTenant-AuthSource: OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2022 17:10:50.0652 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZP286MB2094 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds I2S2 node for Radxa Rock 3A's M.2 E key slot for Bluetooth PCM input. I2S2 is not used now, but could be configured for Bluetooth HFP over PCM in future patches. Signed-off-by: Shengyu Qu --- arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index fb87a168fe96..9577a34bb367 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -526,6 +526,11 @@ &i2s1_8ch { status = "okay"; }; +&i2s2_2ch { + rockchip,trcm-sync-tx-only; + status = "okay"; +}; + &mdio1 { rgmii_phy1: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; From patchwork Sat Oct 29 17:09:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 619878 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 CAE13C433FE for ; Sat, 29 Oct 2022 17:11:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229497AbiJ2RLQ (ORCPT ); Sat, 29 Oct 2022 13:11:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbiJ2RLM (ORCPT ); Sat, 29 Oct 2022 13:11:12 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2059.outbound.protection.outlook.com [40.92.99.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 784802A959 for ; Sat, 29 Oct 2022 10:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VfexCqKmdhmimhbPgGoiqD8xXk9c4wVspJPMlLZU3YdxUrQsc/p7r3ct+ATUep5fT7Hbyck6AwQPnKU+r9t/YxDh4knOzm2fULHDafJ4HOu8XRTZtX0ywlL+PxV7DQ6ZE+QMnBFWL00v3/ehFAMYZtlcqbWWr2f66e3GRmwYhltaZxOPFxDEAm209wCfmNYhODmLvB2+uFqzc4rRYSoZOFEo/0dZ5oscF9eUG8O9B8jk5Liw5GWlZ2a12NJ+1QNFiohrlUhCyfjM5f4Rox21Eyd90lvAyVqWf8asUY1xnSbuPqFjdkyH8vprj87xw1Dd8M8o1MtzBO+LgCwIBzupKQ== 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=B+YkZnyTaSCGaaN81OI187EPcGabNDf+qaTUxTK8lLQ=; b=Fxt8xVlSnmvJyhApHbHOPdT7hr7LfsVrh2x/CzQ510LfUnZAiFxkFFZC/0gm73IKF3XeRz5Lnw0ZqCM2rOXOUcU6zqfgeyI55M4bE3MSdK0ApaSXMByUysYlX12IEautCqidtBpKSo8EhF3RgrF1D6BQapM9nbwDBRvjSiUhlZACILklQpQxyOoKJ3lj62Px90kdHTVVCrBDsymfH4tQ6vfX24SXzg6nEknSO6uiqRCJJj2YERxl8rlvR2b6aFg39B0bzLdBFmTaBHcPPhn6hNVJtAHXj/eVobERSZQCKyvD2xBzLd8014euyv/54261YY8K1R7QKOXksEwauKqFLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B+YkZnyTaSCGaaN81OI187EPcGabNDf+qaTUxTK8lLQ=; b=qoFoAKRwDf1wiGAquYLxFXAglT+bIBl4J1u0Ba5FbPvReGbmwjmthXVnaDJq85l3dGajNzcsSndD9LUDMZwLAcizQukEYf8uGYSKyuxqLjIDtyd9tSVEX8v8OOaLZM6rF1FD5XnWGUGSutiGq5QdGUkzU7CvL9/vhcgoF/88Zw9stYd4MwyM4WQvZxs3vLSpdbLB8yZry+nGSxK9jyh3bUwaPzxpNdlTPeHevS6CbCWSpTb6mEHt+Rp4VtGeKZEZuq/Plf01eIb3JAym20ycwPsqL+pYeVtWafBrLxz9qwyg149lzcBMl2Clqep/4b3IJOV5QNshmkpUYEI7H4Xt0A== Received: from OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1f9::12) by OSZP286MB2094.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:16f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.16; Sat, 29 Oct 2022 17:11:05 +0000 Received: from OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM ([fe80::5c85:eeae:9c31:93fd]) by OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM ([fe80::5c85:eeae:9c31:93fd%7]) with mapi id 15.20.5769.016; Sat, 29 Oct 2022 17:11:05 +0000 From: Shengyu Qu To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, michael.riesch@wolfvision.net, s.hauer@pengutronix.de, pgwipeout@gmail.com, frattaroli.nicolas@gmail.com, frank-w@public-files.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Shengyu Qu Subject: [PATCH RESEND 3/3] arm64: dts: rockchip: Add nodes for SDIO/UART Wi-Fi/Bluetooth modules to Radxa Rock 3A Date: Sun, 30 Oct 2022 01:09:08 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221029170903.78-1-wiagn233@outlook.com> References: <20221029170903.78-1-wiagn233@outlook.com> X-TMN: [uMY36obgrLNwUbv0uYzdJHdFamS02GCw] X-ClientProxiedBy: TY1PR01CA0184.jpnprd01.prod.outlook.com (2603:1096:403::14) To OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1f9::12) X-Microsoft-Original-Message-ID: <20221029170903.78-4-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3P286MB2597:EE_|OSZP286MB2094:EE_ X-MS-Office365-Filtering-Correlation-Id: 8081f9ec-8091-4cf7-7114-08dab9d09013 X-MS-Exchange-SLBlob-MailProps: HeyTOiyEx6bgxvvtESq6ioKsiISu8URdpihDO+bNBRaW00j1rYw9bii8p2jDXde2lagQWnpjhlb0bPJghuy3zohal0LnzgqYw7p9jUnmkC1VRSue2SAinFjRk4YV6cqcsT8YS6i0OviKs2DLk7UNZFBzJ2pn3W6vP+EJ8cT/EcvBOlrfDDUtz/i/tw4h7mFp1HQXt2lSyS7uGE97i5mcDBjQ+d/Ej/yBI1rGfZwHMPPDlJrSm/50pXmGK475Mw+PZ9yb1z2wsrFJz9AnvhwgXKvjZieZiNSTws2WVeo2QOSkXouhxcJuE0pQa8UYE6nLj88/t727ogZmtf0ZgLq0E2ze0J+xf3HVN0ciQs9m6t+gk9C4/DcmRKw2kyhzQAW8grNkcE8PROh/srY7VH5JtLVbOleBnTl8BGXIZD8t0CPz91jjjkCbm3n446D4KaLHxLU11noXOqgfQlwF6RcRocW/05yAVCDoEUKmj2FiP08cCO6mjj4W0MGJ3aZ0qTnJ9fqawT4R3N+SKFEvkDLe7ic5Ym66yzfDA3hMh2OQVK2W9OtT4pzLU7njCTcfSkhqLYXu8+rglhRp7LHtURUVSw6519jsPYIq/qPjvMAIWGSGgu//dEaCyUN+1Ojmrblhclr1tq+IXGPDdajkTcA0eG7R0JB3UmOW93yI8UvnizgumbXLXaT0lC1DtxV4O6bNWmaY6bd4CQxBK1CQKTJ1frMqzzfuWEM4E+tPvgV30vE146XRNM11+qZQZQsFg1QikHRhNf0Be3hiTD3PB5qIIQ== X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sdj2tVzCcjMtfyQoozpH4zk/fvg9FHZn3HH0Kcllg793VxCFnpMtRWbKXVIiQFyBoii1IBpHkZtb9EpdUWi5ClV5qifHC09zIxylXv1IZuiY7S+6ymZcehJdL4BtklsazyufFCy9I6SB52kSJZ95LANN/8/y9xuPpa3WFkTMw4N0igyOHOxEbuolWZYr0Qx4t53oY9RO0iSz13A5RI/nG5xGgvk0dAMZ/qScz/1jmUS6RvJxuPO6vStS4qIdrnoKNHIIN1cRHkpuh39uMOp5n2DvfywFtWEqCguwCZIBaoxW2uEGDghLITKXpxxOjDud7EYDLm2By1nmb2kglIiGHBabeGwVHkAdbT+P6eLkJU6RW1BDt79CBHOYIh8HkqESpl5E/S8PFw+JPLDGV4MJaVGcoPudnUk7KIDYAWs7E52gFbKOX6vUo/Z57cLfhx9O4zRhslrbmhVncRXo3NtUi8F7WkOZXxw1RoOcMWV+6dwrsJ3PwLeQy9immea6WZO5PXq9qNHPZX/6XbdGiG5j+f+P7P4pvs+EJ6O0uM+V/MHLAGI9sCRPwr36HI0cLc2ByV5nMrXO4IFmPTUP65zHHRjexF7sdgMYDuRH6H2ORDsSJRCwI8W5NuHzJDSNMXJvCuVbrH6iaEPTpyty6+QjX1Es7aS7XSdEKe/vbiunS3NSdlDvYc+FysC/Cfpa15Vn X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: alcizD5ncRk5q/fEyI/ZzX2sEfqzAjfhVn6PZhidTCsYOsTh6WfgmUkA3Ey1YQOpthOTkYWslpOwOgPR2skdI3jDUwa9n6R4nUJChhi5zJZ77zD5cvvfRLPIiT/ZjbzN/n88ELPKEBUEHLmOZYSLFQyeDmB5+eIf9IQUg1S3YlZJ+Y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RsUOlsrmtZA/nwjg0AUcu7eevSuu8Anl9kMQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8081f9ec-8091-4cf7-7114-08dab9d09013 X-MS-Exchange-CrossTenant-AuthSource: OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2022 17:11:05.0375 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZP286MB2094 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds related bus/pinctrl/power nodes to enable support for Radxa's Wi-Fi Bluetooth combo module. Tested with RADXA A6 module, which uses AP6275S (BCM43752A2) Signed-off-by: Shengyu Qu --- .../boot/dts/rockchip/rk3568-rock-3a.dts | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index 9577a34bb367..9cf20f3b4d16 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -60,6 +60,17 @@ simple-audio-card,codec { }; }; + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + clocks = <&rk809 1>; + clock-names = "ext_clock"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_enable>; + post-power-on-delay-ms = <100>; + power-off-delay-us = <5000000>; + reset-gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>; + }; + vcc12v_dcin: vcc12v-dcin { compatible = "regulator-fixed"; regulator-name = "vcc12v_dcin"; @@ -610,6 +621,26 @@ vcc5v0_usb_otg_en: vcc5v0_usb_otg_en { rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + bt { + bt_enable: bt-enable { + rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_host_wake: bt-host-wake { + rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; + }; + + bt_wake: bt-wake { + rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + sdio-pwrseq { + wifi_enable: wifi-enable { + rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &pmu_io_domains { @@ -654,12 +685,50 @@ &sdmmc0 { status = "okay"; }; +&sdmmc2 { + supports-sdio; + bus-width = <4>; + disable-wp; + cap-sd-highspeed; + cap-sdio-irq; + keep-power-in-suspend; + mmc-pwrseq = <&sdio_pwrseq>; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>; + sd-uhs-sdr104; + vmmc-supply = <&vcc3v3_sys>; + vqmmc-supply = <&vcc_1v8>; + status = "okay"; +}; + &tsadc { rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <0>; status = "okay"; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&rk809 1>; + clock-names = "lpo"; + device-wakeup-gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake &bt_wake &bt_enable>; + vbat-supply = <&vcc3v3_sys>; + vddio-supply = <&vcc_1v8>; + /* vddio comes from regulator on module, use IO bank voltage instead */ + }; +}; + &uart2 { status = "okay"; };