From patchwork Sun Oct 23 15:24:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 617677 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 47082C3A59D for ; Sun, 23 Oct 2022 15:25:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229587AbiJWPZS (ORCPT ); Sun, 23 Oct 2022 11:25:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbiJWPZQ (ORCPT ); Sun, 23 Oct 2022 11:25:16 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2018.outbound.protection.outlook.com [40.92.99.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 549F4317D5 for ; Sun, 23 Oct 2022 08:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a5H5QoAUlm9XseJgrz2Oqv7Ydlraa4rt+JCRk9XZOXAa8/DDUm18lUsSiI8AO8kZ3WiDQ26e7gFkzYqSuIGZq4rto3mpEWmXgZ2rdsXYRFSqp5CnkvM2QOtWN9o47vyBlx6e0ibGyi+WxTNZtN4IXOKa5U1px+4Z6/Q4OlaSlYSgslSvKIhDYWYN6cDIKBwaxTpXNBgeRETfIlhcF/KEDU+nNgF70SohHbuC+rHsJVY5wBXo2O7snC3Jd9ZrlfTHvfmpN/O7GKAZJSge5PAi47JfGKSzoI02y0RnxMyKcdh7ZTI/Q7uhTUIfFnJ4MLIwfl3tm/ZCUdadwmU/zdbmvw== 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=jwhzln6e3AalpQGBtL0kk6jLKEtJB6XJzzzCurAPK/e2MKEk2rZsOgF6+67tqheniW6j0F3kLeVqESPFqE+BnTzeWb5T8PAQMdHsfuZPwyS0QG6Gk/usyL4yIC6qSI5YtyrB+82m7b/kwrrx/9mBe0QiyD6GNMEG59yjzU3IhEPJkgwqeHCgiAtOuAknOBSyRgJjrTu8p69wuTGCsb5kAzc7ou9MX9QuJrjrfC5qxq7u2HT0jBKjS7XFSsGuUBl2QWokuKHL3zILpqJn/h+zwijIrCG2qQBPsqBwn8qRPZhdmTWb4w1fcX8WCFWZ4QYW6xxkjt7Zxifcj5Mti/Nk4w== 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=cZ3ows8u/gvlp7sCVoIqr4uw5p0oRimBKQzvexLbYLNvmH/Bh/iPHWEFp4bvpmpXoqQwkbLpfVTmMNXJbYB0NRU+3mRNT++Nki+lefXymiqtXf4/WId9ng4rLK5qSYIsdBTcgRHdwob9cUsvq2AC8Yw/d+0Tt5XrWEXew8/+9l2iqrbZTjkf3b4ER2mhTK2U0DGbqUlti8SXR5kOaOqoTx4Hipy+8FjVX5/tzM/alwvT3DHHPA90CVcqmhubI1Ym5/HaTtbV7czeWFCJW2dwoV4mTLWOBK/ykDCCCs4wCRikaErxsBBFn7CfbIGq9TcRjXDnZ/E6RtFrjofmIgE2dQ== Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) by OS3P286MB3403.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:208::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Sun, 23 Oct 2022 15:25:11 +0000 Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::4de9:f94b:b58f:948f]) by TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::4de9:f94b:b58f:948f%6]) with mapi id 15.20.5746.021; Sun, 23 Oct 2022 15:25:11 +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 1/3] arm64: dts: rockchip: RK356x: Add I2S2 device node Date: Sun, 23 Oct 2022 23:24:38 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221023152440.2546-1-wiagn233@outlook.com> References: <20221023152440.2546-1-wiagn233@outlook.com> X-TMN: [75yYaoyLFJyEe2I5Z06+Z+1jgqBFAsIQ] X-ClientProxiedBy: PS2PR03CA0010.apcprd03.prod.outlook.com (2603:1096:300:5b::22) To TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) X-Microsoft-Original-Message-ID: <20221023152440.2546-3-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY3P286MB2611:EE_|OS3P286MB3403:EE_ X-MS-Office365-Filtering-Correlation-Id: a1340e7d-2dd1-4eb7-fc13-08dab50ac6b4 X-MS-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EjHXT6btNOURk6vbm8iBlwdCXiOqIsiS666zFetdGcDmIsEJoO2/PxnFbHafRYjOkyydn7zDwSBvwLG8GPKSDVLQ6MgeEYuHusmkBoa4RFGAu0ZDnPyDboOIb4FeMnBVvvHuRo4Iabvk/+kX2ZoBZfqeESFyXbpFCfmxL0s3OKXVMLUvbrqCk2K0/JlCANYZVBot+ONaMNqyBe8hhuvvdJxAeXd8InipJvpnAdYIvBPY7rFj1X64NjRzVrrA9zj5dh7eUfA/xMyGP+xA6NivF2EieWdr/OarXxpod/adA+q2+ZJoNl8jMpHPdr3A+XZZKgACLmZwq5o5d2L7dVM59RMP07iUF3vrRnpkFA3XqAC/EUY2lDo6YZsO7HYS1FaHZsD08vhEugNEq8KJDNojBlbBrEHDmg/sk2orz2zkxSpeL7G/Vae3KpBgmW5fb55SPndk0SyL9ynHudgzP24B7otk87vU4mc9UdsUGCygWd1yTo73bRh6qD9ruF2i3ZD5XgxHOqHr0VQwf8thu9cTynpCoqYfGyuMYvCrfKB0Zkb3GwxneN5Gsm2zRcB5d+LTiJW7eSQD3Wd06uIcYQdNSj4iLidJO2QTNA7Y5C2RTaMyJ+pILGjLptmJ6Zo274ATHF5+uOltWBR/16YR0xA4vRFagt7CVvAyzkDwHwpW9VlaUNJqNHJKE/s+cgb/EnOiub4xuMMOfjflXOaKmcnKcuVW2F3ByNq5u+kWxyqfzzi2hF0J8VvMzrXiXsySYoCg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a1340e7d-2dd1-4eb7-fc13-08dab50ac6b4 X-MS-Exchange-CrossTenant-AuthSource: TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2022 15:25:11.6896 (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: OS3P286MB3403 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>;