Message ID | 20230402095054.384739-1-cristian.ciocaltea@collabora.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1657057vqo; Sun, 2 Apr 2023 02:51:47 -0700 (PDT) X-Google-Smtp-Source: AKy350YNuO1HgJPzXCk8K1ZZFWcK93vD2HJ9xhl6xjJoVDc6d0aja6+coy8PRZKWaZWd6CC3CmBD X-Received: by 2002:aa7:9539:0:b0:62d:b9f6:88bc with SMTP id c25-20020aa79539000000b0062db9f688bcmr15879218pfp.32.1680429106773; Sun, 02 Apr 2023 02:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680429106; cv=none; d=google.com; s=arc-20160816; b=cgeYiVlDG0ryDB3rBtO1fVNLNyWg3YpTZ7E3nRW9GBKByPqZlG0sDgE6iw/efaNjzD JPGYaU7jqsooP/1O+MkF1qVftmNgaFgf3D4xs56aUWwuYV9i05WS12fJkmogQpMO7w0d LaTKWuyE2h043lY8ZBK4jUyJY7aksvoqhDSEkoh+fCj0nZeoRXU7J39VWXLMRyhN7Bix dTLHsTKQ6DE7TeTbK1yTDKrpV8wkuGcslnMcEBZ/Dde7qNkP9eW7l6ux/EWg3bmEPKzQ FtAYm+83NZZAWJG7I0+dJnojeDt7BE3M3k7ofDOuNelnPwuwpQyijm4Q9+Ho3y6M9y7o qHcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZQMk1kXKBJi7UlHblXTAgpO2C8cDIkR04JuWD8z9feQ=; b=GrByjn/ZpZC2Y8BOg/fAVbfpRqKhUSX0j3z8iSOE4N8fTZlO+WQdpHwHhllIxJyVAX JI6NBmJ3b0TlkxCgzUk1vCeLJ1soWqAOzeCelbYCBYENtIgqgykYrZdPcUeZhlhRCMaA vRixlcdosSBIqF3+LfxZNr41pF2YRy7DGScQZB8uFsjARGW7oUR0zTuuEfVAc+2eoQhZ tAY7AGn8qP8cNusXbnSg8YZqjFXQgDWx5eH88+JJMM1co7WvNK65/ZnG1lpUi+CJsGP8 hSfLOUZn4JGeQI++I5VDS3aeiG6ifh8KztJrKHs7aa+NCR7imQLYxDgRs2y9NYleVJ4r fqmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IDHWm3ls; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9-20020aa79589000000b00627f6643c07si6430518pfj.185.2023.04.02.02.51.35; Sun, 02 Apr 2023 02:51:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IDHWm3ls; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230241AbjDBJvF (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Sun, 2 Apr 2023 05:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjDBJvD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 2 Apr 2023 05:51:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3994D59E8; Sun, 2 Apr 2023 02:51:02 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 1845E660312B; Sun, 2 Apr 2023 10:51:00 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680429060; bh=4iustubS8pupGkjSDCTNaKqKkGplmRTO6ySM0U90GhM=; h=From:To:Cc:Subject:Date:From; b=IDHWm3lsgbJ0ot9q+IypCQKgXstZqCrWRINs/FrLROd2BGWosnpx5pz2i2SKCFUCV a3kEhVjvAe+yVgB5VcWo6comQHUTMSxgeJfzAkT97bbJafLtyIHed42eilHqIDlL2a OZDlswYSAhNM2Dw/qvo5UojRgZpLGDOG3jdhda5dTBDETKkiYudrvHrH00+vh7eIB/ OXxz6bXZQzN7/4iKuQOhCnJ88yeuYeTtN20n2m0fBRLF2/TDJdvjmjIp3FpuG7rQBH /aTo8JMsW6q+zQ/n/IO3woqahBR/Dwr4EXX0TupQghppoyXDKaKSN5EVCzXQOa7KTX +KL1rA2xXFizQ== From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Heiko Stuebner <heiko@sntech.de>, Sugar Zhang <sugar.zhang@rock-chips.com>, Jagan Teki <jagan@edgeble.ai>, Kever Yang <kever.yang@rock-chips.com>, Elaine Zhang <zhangqing@rock-chips.com>, Nicolas Frattaroli <frattaroli.nicolas@gmail.com> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH v4 0/5] Enable I2S support for RK3588/RK3588S SoCs Date: Sun, 2 Apr 2023 12:50:49 +0300 Message-Id: <20230402095054.384739-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762057631424049579?= X-GMAIL-MSGID: =?utf-8?q?1762057631424049579?= |
Series |
Enable I2S support for RK3588/RK3588S SoCs
|
|
Message
Cristian Ciocaltea
April 2, 2023, 9:50 a.m. UTC
There are five I2S/PCM/TDM controllers and two I2S/PCM controllers embedded in the RK3588 and RK3588S SoCs. Furthermore, RK3588 provides four additional I2S/PCM/TDM controllers. This patch series adds the required device tree nodes to support all the above. Additionally, it enables analog audio support for the Rock 5B SBC, which has been used to test both audio playback and recording. Also note the first two patches are not particularly related to I2S, they handle a few clock issues identified while attempting to fix a DT binding warning. Changes in v4: - Updated patch v3 1/4 adding a missing clock assignment and adjusting the SCMI assigned clock rates - Added patch v4 2/5 to address an issue reported by Sebastian Changes in v3: - Rebased onto next-20230331 and dropped patches v2 01-06/10 already applied by Rob - Ensured DT nodes are in alphabetical order in patch v3 4/4 - v2: https://lore.kernel.org/lkml/20230321215624.78383-1-cristian.ciocaltea@collabora.com/ Changes in v2: - Rebased onto next-20230321 and drop patches 03-08/11 already applied by Mark - Replaced patch 01/11 with v2 07/10 - Reworked patch 02/11 to v2 01-06/10 - v1: https://lore.kernel.org/lkml/20230315114806.3819515-1-cristian.ciocaltea@collabora.com/ Cristian Ciocaltea (5): arm64: dts: rockchip: rk3588s: Fix SCMI assigned clocks arm64: dts: rockchip: rk3588s: Assign PLL_PPLL clock rate to 1.1 GHz arm64: dts: rockchip: rk3588s: Add I2S nodes arm64: dts: rockchip: rk3588: Add I2S nodes arm64: dts: rockchip: rk3588-rock-5b: Add analog audio .../boot/dts/rockchip/rk3588-rock-5b.dts | 62 +++++++ arch/arm64/boot/dts/rockchip/rk3588.dtsi | 68 ++++++++ arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 160 +++++++++++++++++- 3 files changed, 285 insertions(+), 5 deletions(-)
Comments
On Sun, 2 Apr 2023 12:50:49 +0300, Cristian Ciocaltea wrote: > There are five I2S/PCM/TDM controllers and two I2S/PCM controllers embedded in > the RK3588 and RK3588S SoCs. Furthermore, RK3588 provides four additional > I2S/PCM/TDM controllers. > > This patch series adds the required device tree nodes to support all the above. > > Additionally, it enables analog audio support for the Rock 5B SBC, which has > been used to test both audio playback and recording. > > [...] Applied, thanks! [1/5] arm64: dts: rockchip: rk3588s: Fix SCMI assigned clocks commit: 87810bda8a8472a9a106c6de34a032fb6a4b425b [2/5] arm64: dts: rockchip: rk3588s: Assign PLL_PPLL clock rate to 1.1 GHz commit: b46a22dea7530cf530a45c6b84c03300083b813d [3/5] arm64: dts: rockchip: rk3588s: Add I2S nodes commit: 8ae112a5554fb1580fc5564f8610cef85f2e3f7b [4/5] arm64: dts: rockchip: rk3588: Add I2S nodes commit: 6f48c6f5859296eaf54a55f436db3a248f772e4d [5/5] arm64: dts: rockchip: rk3588-rock-5b: Add analog audio commit: 55529fe3f32d8c2fdb70981f2e151735e090a1e0 Best regards,