From patchwork Wed Mar 15 11:47:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 6679 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2281697wrd; Wed, 15 Mar 2023 04:55:20 -0700 (PDT) X-Google-Smtp-Source: AK7set9FT5NZpmsODhv5MnpFyFQI2ez/BSuhJfWcEKOCr+cjXF6vXDjQuoGlcs2CNu4KKYs0lnNv X-Received: by 2002:a17:90b:4b12:b0:23d:48a9:3408 with SMTP id lx18-20020a17090b4b1200b0023d48a93408mr3788146pjb.41.1678881319781; Wed, 15 Mar 2023 04:55:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678881319; cv=none; d=google.com; s=arc-20160816; b=nDgRUBlbjTPU9zHhX+jYD0zYh1ia8IIIXHHE4ZDhZpeLibJ5qLIDnubSFFyGvLFzNj BQlUjQdPADhXaaqyJ7Xzs2/JsP4ygNa+gkwGDjdWF4mCJd59QbT1oUtEeT1Dkg4sQ6XA G3lY3g3IStLOssrPwBR4RfSS0Bik5YT0btEsbYcqmeiVfEILhhVKiV66A/QL6tQIuW4W 0Znw484JSKlPZJ5wP4U9iGqctZTjsd0LY09PhWyoiZlDnuqsPewb3pg34+hAchQ+jsXX m8fzuLyxiLd/JdBPHRRJE5eIdIYHPJoBKrm+IkyhronvylmvMmCobBj+os3pqCo04zVZ 26Vw== 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=TNg/mTSg8bNiWBftFmuTqIhDJGYUfKPJlYdUO3j3Foc=; b=nXg8p6ar5AMABuVrec+4A39VwC9zhCdQpsnob2IAHZcICOyt4VniNLhi5lSJ7G8ojZ m8KommzjaTLeHwEAtbr79Fe9V7gZjgidc0Mv/HiLZAAyARPSlTjE7vZg2igkg7NRHMoN Z99z8vANEI0VNTrLbQFZ0E3nm+eh1Bfi5btHRhZaRSPD30VtzzktxZQCWRG8pMoc5avV 3lZcVdwr6N13Oq2J93nUnFu3fgeIPDJFtyM2m4pPyCZ+zyWpaLH1u3X6MpPDjDQXUWCh YSDY/shEaqMkEF3F3Bch1HxVFhlD+3EPJIje46OiNrvnpFd5HjTg9WhmxtlWWIk8DX7m YVuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bj2xu6gG; 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 d11-20020a17090a498b00b0023a717403f2si1416125pjh.105.2023.03.15.04.55.06; Wed, 15 Mar 2023 04:55:19 -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=bj2xu6gG; 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 S231564AbjCOLsR (ORCPT + 99 others); Wed, 15 Mar 2023 07:48:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230377AbjCOLsP (ORCPT ); Wed, 15 Mar 2023 07:48:15 -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 C17B81C5AC; Wed, 15 Mar 2023 04:48:13 -0700 (PDT) Received: from localhost (unknown [188.24.156.231]) (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 9185666003AC; Wed, 15 Mar 2023 11:48:11 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1678880891; bh=QMdRoHZDA4Dzb4ZItQ6gCETIH96B+vuVwaf66nkbnMQ=; h=From:To:Cc:Subject:Date:From; b=bj2xu6gGH92QEICLrGXFl386kUFglMAxEePZm/i3SmcJEKbpiM06LNDvC992CaPby NM5t+sCRjcezTbr2NabWD08SWWwBmtibVsTapQxEK5mmB3qBMqm6A3ZR3zGvTqK2X/ kq1tpf4ei/myrqWjdSjmx33y1vbA3Buej4dDpK5R58c44aTHtliZQbl8QPa5lGIgMm 1Wde+f/mne8pQmnJ8dV2Z1/44cIZWLAcw0wV8eDw5pqm2mchbH57paOvrdGTazIPO3 Haypn6anq0fRgT56oE4lMtcT9wJBSs1PwqkREBZoFgiIm6TTJ8E18JZQyaJqgJ6+sB vwoxdhZxRe/tA== From: Cristian Ciocaltea To: Sudeep Holla , Cristian Marussi , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Liam Girdwood , Mark Brown , Nicolas Frattaroli , Heiko Stuebner , Jaroslav Kysela , Takashi Iwai , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Drake , Katsuhiro Suzuki Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, alsa-devel@alsa-project.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, kernel@collabora.com Subject: [PATCH 00/11] Enable I2S support for RK3588/RK3588S SoCs Date: Wed, 15 Mar 2023 13:47:55 +0200 Message-Id: <20230315114806.3819515-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760434658825129445?= X-GMAIL-MSGID: =?utf-8?q?1760434658825129445?= 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. Cristian Ciocaltea (11): dt-bindings: firmware: arm,scmi: Document assigned-clocks and assigned-clock-rates dt-bindings: serial: snps-dw-apb-uart: Relax dma-names order constraint ASoC: dt-bindings: everest,es8316: Document audio graph port ASoC: dt-bindings: rockchip: Document audio graph port ASoC: dt-bindings: rockchip: i2s-tdm: Document audio graph port ASoC: dt-bindings: rockchip: i2s-tdm: Document power-domains ASoC: dt-bindings: rockchip: Add compatible for RK3588 ASoC: rockchip: i2s: Add compatible for RK3588 arm64: dts: rockchip: rk3588s: Add I2S nodes arm64: dts: rockchip: rk3588: Add I2S nodes arm64: dts: rockchip: rk3588-rock-5b: Add analog audio .../bindings/firmware/arm,scmi.yaml | 3 + .../bindings/serial/snps-dw-apb-uart.yaml | 10 +- .../bindings/sound/everest,es8316.yaml | 4 + .../bindings/sound/rockchip,i2s-tdm.yaml | 7 + .../bindings/sound/rockchip-i2s.yaml | 5 + .../boot/dts/rockchip/rk3588-rock-5b.dts | 62 ++++++++ arch/arm64/boot/dts/rockchip/rk3588.dtsi | 68 ++++++++ arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 148 ++++++++++++++++++ sound/soc/rockchip/rockchip_i2s.c | 1 + 9 files changed, 305 insertions(+), 3 deletions(-)