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>;