From patchwork Sun Apr 2 09:50:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13197333 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 80509C76196 for ; Sun, 2 Apr 2023 09:52:00 +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=d6UsDaHMbfygl5XzYcxbDTkqMNYJ49SzdboKrluo+BA=; b=0bHJ3ibvZE+1nq 4HIDDmHULvL12dmEQ9D0brwudLg9tq/5UakNA2J83hDEOu6dIB9qaCbq12dXIKfmFSzUUZkkWtejX 33AM97mC1QvhGrwyzGIx1ztjZIdh6/+D3HW/VoFd66lFj7CJk3voBB6FU50RLcd1bVJOrTuT4u1xG hj2wnoQEtWadVDs+zCPEfm767/j88LFZ2MoXZQG7ymGNepWtts7u0PGszpySLhfarQ65bxjdgAt86 ZdNlfXwJumjn9j3VT61K1bYyrC9BS9G1hqinHaHJDzYBuMdiRlvfqymcXKxmK/VWJXY/n2qb/A5rh sU4ozJyQ4x3bxKRQMcTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1piuMd-00CBsL-1R; Sun, 02 Apr 2023 09:51:07 +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 1piuMa-00CBr0-2S; Sun, 02 Apr 2023 09:51:06 +0000 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 To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Sugar Zhang , Jagan Teki , Kever Yang , Elaine Zhang , Nicolas Frattaroli 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230402_025105_034141_54A6F2B5 X-CRM114-Status: GOOD ( 12.49 ) 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 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(-)