From patchwork Tue Mar 21 21:56:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13183308 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 121EFC761A6 for ; Tue, 21 Mar 2023 21:57:06 +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: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:In-Reply-To:References: List-Owner; bh=p6bkYonXMA49idQoYjphQUH8h5qAj6FuyKRmEpbA6a0=; b=FCVFw4xqSNyZvA Kb1d1dTLT2R5Aw+8hBntmwn6Y2kgldNRZqaLSDDHJUa018SkFEpGwTjnySZK/TvvgE51KnJaoaG7W niLJVxuYowzh3psDeViaXQ5XQ3hVCGCy/FKzPBa4ZbKXCxxEq59Fo3UjC8Bbi2ZnYWaDXkx2BPMZL rB0iFZxsa1zmiyZrUBat4A3o2jDyqi/Z+k0UOZwHe45D3ba0++VhgA491d9TSgJyAxTIke11yoI0Z LrGdbbznd7qP/3MMEjIrWrkKKJjGzfHn7VoaSiZGKQiRWoGZpz8+3ZpbJF6E1KqghKChEkxHHGkS8 HU8GqKSgJ1Qz2wDH3quQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pejyL-00Ds9o-03; Tue, 21 Mar 2023 21:56:49 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pejyD-00Ds3Z-2N; Tue, 21 Mar 2023 21:56:43 +0000 Received: from localhost (unknown [188.24.179.102]) (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 3C3DB66030D8; Tue, 21 Mar 2023 21:56:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1679435789; bh=LuZwe7bTMqmCqjiHWWchmraD16aQHXj8HS9LSc1Ljfk=; h=From:To:Cc:Subject:Date:From; b=edLkylBsVvkmnZKiwqZHTkYbZEwGbNfmRImklUR10H7Mg6YnVIbOIFv1p0CQjjdAt LE6eaUFJL6kBiMfjWE+78/760zRywE2C90+6P3iXPqHGB2swj7A+k4dJ89tNL4nMS4 N15IsfCJWCOGDYhuq+EwLL3qL7IlTH0PA3wxnVCl2uyQ8qYc0WpHDjbyTTuh819kPE c8poUMEq22cd5kZVShRByIfYFj1xdIdARjZXUOpcCZ7HcZPoamnyOGcDQp+iFkm8gw sKXu5EJ8Vv2hG77WmMblrybY9mDLxiMUyNAlE6eauIkFwJpF9Jvzsj0BOSFj9XBmmn S86+p7khrGDRA== From: Cristian Ciocaltea To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Heiko Stuebner , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Nicolas Frattaroli Cc: linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, kernel@collabora.com Subject: [PATCH v2 00/10] Enable I2S support for RK3588/RK3588S SoCs Date: Tue, 21 Mar 2023 23:56:14 +0200 Message-Id: <20230321215624.78383-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230321_145641_924541_69BED107 X-CRM114-Status: GOOD ( 13.36 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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. Note that some of the DT bindings fixes in this series are not particularly related to I2S, but are required for a proper dtbs_check validation. 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 (10): dt-bindings: serial: snps-dw-apb-uart: Switch dma-names order ARM: dts: sun6i: a31: Switch dma-names order for snps,dw-apb-uart nodes ARM: dts: sun8i: a23/a33: Switch dma-names order for snps,dw-apb-uart nodes ARM: dts: sun8i: v3s: Switch dma-names order for snps,dw-apb-uart nodes ARM: dts: sunxi: h3/h5: Switch dma-names order for snps,dw-apb-uart nodes riscv: dts: allwinner: d1: Switch dma-names order for snps,dw-apb-uart nodes arm64: dts: rockchip: rk3588s: Move assigned-clocks/assigned-clock-rates out of scmi arm64: dts: rockchip: rk3588s: Add I2S nodes arm64: dts: rockchip: rk3588: Add I2S nodes arm64: dts: rockchip: rk3588-rock-5b: Add analog audio .../bindings/serial/snps-dw-apb-uart.yaml | 2 +- arch/arm/boot/dts/sun6i-a31.dtsi | 12 +- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 10 +- arch/arm/boot/dts/sun8i-v3s.dtsi | 6 +- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 8 +- .../boot/dts/rockchip/rk3588-rock-5b.dts | 62 +++++++ arch/arm64/boot/dts/rockchip/rk3588.dtsi | 68 ++++++++ arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 156 +++++++++++++++++- .../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 12 +- 9 files changed, 307 insertions(+), 29 deletions(-)