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: 6993 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2030934wrt; Tue, 21 Mar 2023 15:01:05 -0700 (PDT) X-Google-Smtp-Source: AK7set8WfnvJJX56ASZWDzU5YqMqc3HR2wckUBm66jqu2X5CtJhcmM1Wxv1ZUNYO/kFVvaw8WJjL X-Received: by 2002:aa7:8f33:0:b0:627:ecd4:84a5 with SMTP id y19-20020aa78f33000000b00627ecd484a5mr1200235pfr.14.1679436064770; Tue, 21 Mar 2023 15:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679436064; cv=none; d=google.com; s=arc-20160816; b=FUPTW8BEGitWBUQ76wvBItZO7ABEgtPaXqFG/zCECO6xJ/3Rhq7Ey0Aw3SxuE1CeZA V2mcZeaWpixMz1XJkM/DsXvPsm7D1GonCQ6OISCwMqsXeEIuGfBbNVvgWkYMlZqpzyME uy5FbIYh+pFDs3pvRHJswTK2uLFbVmK4s8C85q1yjZgWIB6z0cS4nu/1jB7LHJmrqZ12 nsNfcXCct7vWSrlmAgWsy0PqCkcT0lr+QzccicyprVbF7u2k2hYj6S6hzfluq27RBZzV sl35G0jBGytK6aUdb/WU5VqqPMJYmG3iU2G3l2nv+AF7q+d62nESlc5OpEkNuytPlVuy L1ow== 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=RtWTZW+eE4jPQjbwdVXBe/k70fJbnJpMg81DK7pNMWg=; b=mPTXz++7GBgOBy8+Q6eNX/Fv9Kd6Uq23lDzGRQ0R1rANjysSJuj84P3vfLwAU/dIRJ oeHdOKLJ6M1aqIA5dByKxtdElAK+idLnatDn3qPmMJVg56lq7sVn62UXHrG8bJJK/k9m MXw32c6NxtyV6f54V+ZZWRITHpledSF7zRAgvGLUGvA9989tDr6sZ4wkOdneLgKmUtXq iNqTt6CSu4XoDdDEjF+oM+sSycwCV8zpZP0cIK1YP6uKSq5RmOvcuk8D03ppotqD3WuE F+7lTTGH2JSoECMJ4rASe7lmFlChOXnEXEZjOVkVlEtLXRXhnuZsm5+7gixbO+eEX8wj +tGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=edLkylBs; 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 h3-20020a056a00230300b005a8bff5800csi15656997pfh.213.2023.03.21.15.00.50; Tue, 21 Mar 2023 15:01:04 -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=edLkylBs; 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 S229692AbjCUV4e (ORCPT + 99 others); Tue, 21 Mar 2023 17:56:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjCUV4c (ORCPT ); Tue, 21 Mar 2023 17:56:32 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CDDC3E633; Tue, 21 Mar 2023 14:56:30 -0700 (PDT) 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-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,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761016350823601070?= X-GMAIL-MSGID: =?utf-8?q?1761016350823601070?= 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(-)