From patchwork Sun Oct 23 15:24:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 13016316 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F5BFFA3740 for ; Sun, 23 Oct 2022 15:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Aexu8rp3BLUK0AIb4WjN8c0bYoJYFTEx1ca2/WsefTc=; b=fRjI9o6wn3MzZW Zv05rKSQA0vmY4v2QSodAF/D3O01FVZ5bumpvh72IRqPwW97AH5eOi5/9koeLFFc/pooeuHN4nie6 M+uSykNSKI8dYc5jJCuoommBEpVsjJslXbgJHMykCfm8b6BdtP2QXrn2FS7O1rqEh96KmsOApyqft NAJ2wp0VrVR+UpiRKkavf71NTsfTxsbzId6zEXa7SKwmLd++Kk/cKL7X9UMDtJuWQ+j5KAkLeIRDa J2/P12vjQ5FAK5RP8xIbqeuZIgBosvKETlTh7SAxBQkPr/P747vtxuH4UaV2zF5D0e1VXHnzYryXm X6sZ6w4LRO0B0hYylCzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omcqm-00FZ25-3A; Sun, 23 Oct 2022 15:25:20 +0000 Received: from mail-tycjpn01olkn2034.outbound.protection.outlook.com ([40.92.99.34] helo=JPN01-TYC-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1omcqb-00FZ0A-RQ; Sun, 23 Oct 2022 15:25:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W6LVAlSC/kYptupXqlTR8t9jI7va+nAZ5JqO+R8QH6FZywqdO/DHlKp8LagygjfvcMBeakOzAm1Fq0qUveBRbMNkFEpd7iBIiosAjCUncc5Y4lrtWbKFjxEqbgBtXc11IStkLgb3qjgnoVT4rtTVZfRULBYZyemEM0te0z1uTam8IXAe2Pj0JzwJtAOlZQWStPpifimnQSKGazCNF01u/n3T2yeY7FalGbT2KKgSaaW0RUNaK43xfg7ImTer/RhklGmBbVtoJUCvyIqNREw91TEu5ql+GYeQVxTlWEc6QehlC+abq6lBTzjryZkoUJcXCJFnDV5gp+ngBQoyN1Ddug== 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=X6hiS37uoBVGNmSwq1StXLpeznmIMS0JGluHuTvrZmU=; b=Hg6MSb+Obex4Y4glykLM7Gzlb5IcJidjI6s0ROOlBiGjKZcGTPy2UEoJUiXmuBnxGS+Iei3NpV1ydb6WxoDlGRfyeTRBDIQbbByfYM0aK3buvFRSSKvFgeNMhy3Fx4cvNtm+hSLYXO5X6356Vzq9D1Oax92lRlvlaS3a8Fy9u2vwbiMhYSEdiiiGN5+6fn4s3aUyNIiAFpRnlzmvY5MocpS2h7HghXkPlm9cF661pkRBmd7/7g2S/fu4AMvRJCxpZUCahFTGFc9LtT2Nko2ynhPGAkVeljkAV4wRWt+Jnse24C8C9EaZzma9WQHSHuQH8ofcVRqLaOFfwwlPSxLJUw== 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=X6hiS37uoBVGNmSwq1StXLpeznmIMS0JGluHuTvrZmU=; b=UQbsVxLtdJ227lHLdawDYOqLf5BHi8hAqyBId2nb60FGqdJFLE6v/VadccpFzVBWSqzhMSG8gWZipPKSryiRuqurqToRmMTMxM2mdg8wImi5iRmXSZXP481KC+hgo8oViFzEy5JrLy9WLB30lo/3OBqAdLnfHWow5rCPlcC6qtY+24rkhlPF0Yd5j3zqvEpaJ3XjCUrTGcM6CD8pRQp8PA/x4Y0KoNAad0aDQgCYJEYklbzF3xdGpNgy5+ThrA0jAC7btz6bfMEa9iPY76gaIgdY/KRmueGBg1JozADujuflDdH59bA8CXMONpYlyU1s5HfHFxT23rNR9RinMgStEQ== 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:07 +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:07 +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] arm64: dts: rockchip: Add Bluetooth HFP support for Radxa Rock 3A Date: Sun, 23 Oct 2022 23:24:37 +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: [JJRhjLnDuDbSN9MmyWo3IPl2hvnH+Wtm] 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-2-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: c6d50817-9140-4b58-2d47-08dab50ac3ee X-MS-Exchange-SLBlob-MailProps: HeyTOiyEx6bXUCkHGqUvW+yTD5AlCjqABIMbdjslP6oNbFrLHUoo+prP9UBotq7qz851PeKMKEcuKgHKPzQW4PqF8NlZkosceKBmww28nC4aeWvydmwLralKMMIlh4pCANRC3hXZoo+viAV/0uTHEaIU9Y3w6CN5t+YMx3HROp4T1i+oKpBxaSV5cDGYSmtvRnaq7BFiCjkXa6W9PY3eiglBm9PZk1gQ97ZbY1PuIFciGaKWfj+ljJsd2rmiWGH+y4y43q3pZ2pXzbFFy/MRHXQNHlaDv/kfuV4z5btH4s5BnODimbXve6C6eLt7ZwZT1itQhmrIw1nsHTeGmmr9J8zQirZJ2ImZYVH5hYXj/bmaPduhBqDKIGjz9s/ldWPqQ4iVToWAPPrMxs3yjoxjGNV4v0QMLE+vAhddYoFvWziyv+o15yU9Lv86JxtrV0YG8/utgz3pnhIJ6vByK3RocZpxXa6ifrlvn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19IjGDu6xeWXEzyqR9Uyog40PG5olN1ctrNS88mrGOLrVZ1lcAN+STd8XM33RZB5PyRsI2VjMcFbvTUCX7CVo9zaGcKLxm5B66enwn2aj+9IHpNvUetGASyOStJiVrI+IAGm3G0JBT68xfOhwdB2vCnHqDSsE3Cjn9CELUKWH+90DfV2x/zlMFMh2Aw+qULTBykFiviX9bv0qqLU3J+7DgHdGRPsmLaNyPZYPUp2sU6Ppesf3t39XwUPwZ+EaAV2LCLqH23fyRfu0hpfd9s2kJze83Aw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6d50817-9140-4b58-2d47-08dab50ac3ee 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:07.0624 (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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221023_082509_914625_6B71F1DE X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Initial test. --- .../boot/dts/rockchip/rk3568-rock-3a.dts | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index 37676e8a258c..423558fbc200 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -60,6 +60,31 @@ simple-audio-card,codec { }; }; + bt-sco-audio { + compatible = "simple-audio-card"; + simple-audio-card,name = "rock-3a-bt-sco"; + simple-audio-card,format = "dsp_b"; + simple-audio-card,bitclock-inversion; + simple-audio-card,frame-master = <&bt_cpu>; + simple-audio-card,bitclock-master = <&bt_cpu>; + simple-audio-card,mclk-fs = <64>; + + bt_cpu: simple-audio-card,cpu { + sound-dai = <&i2s2_2ch>; + dai-tdm-slot-num = <2>; + dai-tdm-slot-width = <16>; + }; + + bt_codec: simple-audio-card,codec { + sound-dai = <&bt_sco_codec>; + }; + }; + + bt_sco_codec: bt-sco-codec { + compatible = "linux,bt-sco"; + #sound-dai-cells = <0>; + }; + sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rk809 1>; @@ -611,6 +636,15 @@ bluetooth { compatible = "brcm,bcm43438-bt"; clocks = <&rk809 1>; clock-names = "lpo"; + brcm,bt-pcm-int-params = [00 02 00 00 00]; + /* + * Parameters: + * SCO routing: PCM + * PCM interface rate: 512KBps + * PCM frame type (0-1): short + * PCM sync mode (0-1): slave + * PCM clock mode (0-1): slave + */ 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>; From patchwork Sun Oct 23 15:24:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 13016317 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DA5A5C3A59D for ; Sun, 23 Oct 2022 15:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yf4YCcq1beoQERX/6Sx9DckgUqy+7rrud+HxLvhhgGE=; b=Ft5AeY89XiQYab SW0PY2A7onDeiVJIWzKoq1pGZuA4CgMYDQ62S1lcYhkBMiO81DePVFIeV+d1PJabycFmj/gNER09c dcqOYVCuykPAHDk/pxuLsiLICLA0VXase0Jnpdw/Iv0jkWtmsw0+zyD1TN6DyVf1Np4xBR958yRWK g70uSmuPwJyBEAYuH2dDdFdyBU08cCX83OmZTmQDn23/V86rOyKZZsaQAAHI7kds7rLmxM+dgGX27 +VjsJAxXDDyiTkF1Qegsymtp4Aw4CnvWGrx6b06iopER0ru+YsyyqK55HT6UqMEW2IIeMLpMpUWV7 YSbd2l7F9ryDGTwFIXYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omcr5-00FZ78-NE; Sun, 23 Oct 2022 15:25:39 +0000 Received: from mail-tycjpn01olkn2056.outbound.protection.outlook.com ([40.92.99.56] helo=JPN01-TYC-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1omcqu-00FZ2o-6F; Sun, 23 Oct 2022 15:25:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V/hu3rULIeckHwMJQEW0Ytkk6YF6aFyU2dcY2B64len1z2y04JeT5dhbEVo9VNrhBuPjw+TYrUr8EbsN72iMqKAD9C+v9L78o1s+zwHgb8fDgxseGXTLK90YPW76JhIvXlRskGpXkCSTLgqyVo5a1FmO6G2/lkI7yE4n84U4xm7HQyGnDgP2pAh6lbSVlGOKy66wlp8vPFlZyB5S4rd05Zju+q+WXAnIRdFF25OrDcr52TIl988qvFOtlxBSzWcEjBOcWbEjKhSOTqLnCjEOJ1aQ6MajO6rzEUvYww32EWGJkjudGZOuzD/kJ+pZJ8/7iC5pr9/PO44q7gx/x5rumA== 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=FAvy82mYX3WqfZH17reMvaIzMQuz9BLfikrCWE2aIsGTxsNr98XzkqoLlqUpdwRdsxApc1As6bNdsuB+ZAcgKZwG4NKvvGPodklbrbMSeGLpTPrKVh0Sps/RRuHHqrXkeCdcbi68m3Hzi5HsHaRWKB4UyTAgYiO9UOTJ5TVzgGUAsND+LGE2V8seOnny21PQxT9hz5KZw7QeZ0mcbszUYYRR7eKKk2+OzsUfNX6Q+C5WfO86apDLqp7L4akmldLDil7UyIaAxJ1IPiI9RroqANI6RiL2xZDd4yz4euUBARyvvPqzrOUrzHkh18FQGMQ2V/VDXf8PCHUkUgN8Wj3hpw== 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=thSgr/rvJPUeKRN/D+wTY9hzzCYxY2DTF06NGW0AJdIViToPKuts2EclPiKN1EJzuU5BKjKGDtlEtxBeOW8V0I9hSvDW6zPooecFnyqnmWB/gT0Z/r0s8Z6Haa8Ll81VNu73j4jW6NyP16+okBnlF5WWtQSzJkWkQb8UaisAhJUAjeVvSytPSZBINMd2KyQ8StQ9RhW1h5iYMuHnVSG07Zyx6PyY4e3aX1noxmA8lK5w+UqREOV+u2uAeOfG54CHdE6xRwUfsFUQFvtR3d4x3XxuOBCPFsEXvkoTEa58aSrl6kg0+mjSnNj9UlGqB1gkPDBwnD8XDBD1za+K2ZC1vg== 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:21 +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:21 +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 2/3] arm64: dts: rockchip: Add I2S2 node for RADXA Rock 3A Date: Sun, 23 Oct 2022 23:24:39 +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: [yWmVc0hkMrD9MeghDME5QRD2uLGZEbQG] 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-4-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: 6db99673-abce-4dc8-fbee-08dab50acc6f X-MS-Exchange-SLBlob-MailProps: HeyTOiyEx6bXUCkHGqUvW+yTD5AlCjqAT/8lSU7LuOWqF9jQkDl7JQtkNWwUSl4+NtuM1KXmvPGxE2eowihIAcFcGGQibMPHkgYy9ezJcm6K3LNtZXD0fCXOpdaVEEvsAfK/SkNcubyAn73h/LESOijQWZYdm7uRv8rNViDcsoDeFA+ox0+HIL+aTuGOcZlRZ12Gi/TP0J42GqV/0kf1b2Qcga9Vi6in21kxnc0yyZcGElgDhhMFlxgXmeJHIMuC7j8MPBFniLCDUnU+baVIvX44Kqax/vbsjyYatSmFZzSmJyVUrJ6SJ2R1cWsLEZZhuEweBu2crHgjYsRUIhjkc+r+C6UXvo6NIj8VqQaWzUhCjrwp2pXyOY/GRURzFOjsgu1xHZcxx1t2/7oQ/n/hVMfwNhuvUypDpcXAS6lAPRm0fmlsyye9a/HCspzQDq8EwGP4ruQzd8CzUC9TaeM+8o2vonZI8PjWfpIFIiTmxcQbMahaPrcApNoG+4jwwbu5iKzawxwS8dxWnhl58ANPxP6Kd/n9V9aBtSrqCUM7ps9eCqpAAJ2Ga8yR3fclE+txfODeyood2C4mjmfWJkCdFdCO7CDiHCmqSr9DfQtKihzsL55LtPBe0GNEXWYG89arcaC521NRAFYp3iGMXu5i22I/bviGUk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3ctwKM3KIHQOTQrX9rYGaz0KEhUuuoUEmXi2zF15k09dZK0DCh4I2Bw8fHu0fjWP5nriHzGQhGm/KZYTS1y/g== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6db99673-abce-4dc8-fbee-08dab50acc6f 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:21.3206 (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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221023_082528_264460_515779F4 X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Sun Oct 23 15:24:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 13016318 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9AEEECAAA1 for ; Sun, 23 Oct 2022 15:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IKBVkI4dxhNUEnYk115OqPn2YUJ/eILcY28oEEVtCHo=; b=s5aKckIitKR41u E1VPJs24YDETYKI5v0hgtHm6V4RAgHsXvIpV3PBcWVRG7EosAK2Xvz8C1dfWd6TwsHj3hEGdaiY1k ZabIrnmg9KJm305Dys0zK9AQaOj2IiVO/VxhoMJRP1wvbGdd7i9ocCbna9Bzmw51X+qiqWzCr9DFF tEfqDtOAeoNXYoD1nRZWeRIdiMANceIaIddM5CA1hA7vabCFiZhdKiNFJdNsOtkJE+MORihH4fen7 3oi5sCCcopMC8JfGSgJf3K17Rdf8y/YrQNHQCsaLQ/16xIbxOc5o5LRP60wZvmji43c87qf6nvsBw Br0gdrCdc2ycIY8tsuSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omcrT-00FZHW-G5; Sun, 23 Oct 2022 15:26:03 +0000 Received: from mail-tycjpn01olkn2097.outbound.protection.outlook.com ([40.92.99.97] helo=JPN01-TYC-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1omcr3-00FZ5t-Kr; Sun, 23 Oct 2022 15:25:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gr/N48BJSeJECrWzwfxrI1hTSFh9aViWNKheO86nc+ycsm4dVIIo+n3P2UDhpv0RrI6i12lbHoEDoPiaNFJ0J70UBgqKE6ga9hxPW0CVFYwT5QqB6HvpwFdKaa2UYmHLHgvRMIPCaCVxuUi+xWdFf2QE2rhNt6Af55tOCRBrDbXoarUHkBZ556M1Qhy7uCHOLuH9aFhh0WjBTuZz3/BFnhNnmEABcBUSeKuC49GWfBDcQZ9XlwbVu1jWAWcGCi0dwp9PvvQSQEBfFeA92Q7l0l35vK1fBdwljmHDMWYmwBtJn6+ziXLcvXQgxuGzAGBpi90pJu0rjh8G/8CCAC80eA== 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=TJqa8rnopYFvsD/Gug46JlSDW9oE2eXJRHrwx7dxFjWLkK6SQ/mdH7SGqtycNo0tfMM6Nw44SOyxf098CBAHEH/jSR79arA4r2qXkfJJOnSomKCEIfikMneAFQtHuFjSQjErIZ3Mk5LsHHd9nVRf+od652Nq0ecAAlLm2vUs6qYwS+VNxNlFjwRFB9zY0F/Qfp7emw152RReDsfJnV9Y1b2U6PMvA/H/q4eKPxRrw6T3oQ/QfyhCEb5zXUIWbgJ7Wuq8d/4ZdVTRB7vy8gbLcIPM8O8wEHwoumhCBCk7DziGxrYz1zXXEPS6jElqV/4V5bNOD0UrhLtqI3SvL4fdTA== 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=HYyfFzWk6WKJNXadpgwFt86RYc3GCcP/TYdXwzkVrxlzctAlPQt/lWtidkVWhifAeBM1i7E5u1CdklsU2Nsx36FOeOt3hQTn/hazi4TGpwgveiSGPPZ27hUjYDTqp5BuexNRGMNrFm/ZW8sdVeohJu6Gq/N5XQ3+YLeK/KVt6LcajSoPcvgJRx3zUodap3kupq17f9I6LrzyqQsZJuKaAdyWtZbbkgrXe+lnS2iEN7inh/oO3VGcHCD8hKl0qSQ8fALy6V1XD6+/AXKf7NEsnBmVhhbysAyscSdTnMwHYrkRag9CRjhH/XkegwLLEx2FjN21URajKgF9Unoi4WBnCg== Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) by OSZP286MB2192.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:189::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34; Sun, 23 Oct 2022 15:25:30 +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:30 +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 3/3] arm64: dts: rockchip: Add nodes for SDIO/UART Wi-Fi/Bluetooth modules to Radxa Rock 3A Date: Sun, 23 Oct 2022 23:24:40 +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: [OuWKp5PY2JM43QLRWT+RNCtTFU8sYA8D] 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-5-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY3P286MB2611:EE_|OSZP286MB2192:EE_ X-MS-Office365-Filtering-Correlation-Id: a31e4f4c-e770-4829-b681-08dab50ad1f8 X-MS-Exchange-SLBlob-MailProps: HeyTOiyEx6bXUCkHGqUvW+yTD5AlCjqAjMJaomfP8MBERm4osVyGKi0Oo/+5/vzy87drNv426/7L/w8fC3OwS/OCzt+4rEl7WdbsmI+1gmk22GiJxWtC/SEO6tVT2irNo8rMJRWMsL6IqYF9vJgtJ490p2qDay+4ZjtgzKFDCSRzd+IYjTQP9ILx3ZWNgU5gPCtCKzGAdcAQtS6arMd6epaekEwSmjQLhpR73my6ECuOiADaPSduucFyCO3eDREgKyXjbbq7fcU6Hf+Tcx4bpej+JWqVR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ZqxPwXYwheYKDdkI/ZYLcKKWTb+YH4BQJwA4VFFytrzzY3KqxhN785Vb9ObncmF+qCyPm+tMD3Y98lO8xljQcnx36ugHpPjwQAQzbzqzW3Lfx1isgUF71wbpzrIV5XrWGQcJO3Pb6lIbHQ4WYQMTRP2kk6sVh9+NTS3GfX0C5mcrBVveyR67UHRFnV6OBgf3UxFfRjo7KlGY3jhTwXoRogPPPR2albs8rlF5ty1UW77B+eakmkJPneXbQrBErF++TmoGVMXB2B4LALX/8oOc5v7d4QnK39ibz/GnDS8gk4Jm28QtBTeBS9491EPs/jsmQQcMdSB1d7A1BK7HJFnHl22D0GgNcpLbB94xq3w0D3ByfxNr5nQ4XliKCSD6AE0Rr5WFYz/Na5PAs+0qSepEgAEV69aD5zs6dR5c33v2AYfiVNK2lVl9TdtgR1hEADDm729eYYRDu6Zfug== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a31e4f4c-e770-4829-b681-08dab50ad1f8 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:30.5572 (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: OSZP286MB2192 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221023_082537_716314_533EA4CA X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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"; };