From patchwork Wed Jun 19 11:23:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13703680 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 2ECC2C2BA15 for ; Wed, 19 Jun 2024 11:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Wu1pT6BCTkZVIs4mbYRaYxTexft/9J1nhdBz7qXjBcY=; b=pjLDzwU8LL3pyFdtVj1asbCyXO uIixeSUdjRDLr9L+0dg94CWvNLu7eOylt/X12xKGTL/fnh9DM0mfS9oUtv8u/Pzd2Q/w/2Y38n0Le 3XY9hSP1ZdNtQswHsRLQhSoMD+F7SW9yaYJBjatPneVF3WaBvYeS4rMMaHqi6l8+ftf7q/cz+Vss7 uHMpTrWMDrvf0ZkTXropdI8AArWKUD0HtS2DmIH1FSuO4RSSTiukWPhPA+5bQlroHctG233wHUaOC CKDPnbE5RvVVw+bvJk+zpSXWnmA+evd8J3cUccBCjVzHS5bBkQUTMjCAks6ogV5f0wxd+1MGNm3y4 BHg0moog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQG-00000000wyx-072G; Wed, 19 Jun 2024 11:24:16 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQ6-00000000wtC-1YDr; Wed, 19 Jun 2024 11:24:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718796243; bh=usplT3anrO8gUnCYhFFAGJCvwDOsIVmI2af1ckkghmY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=g3y6PpqO7mV9YAqLbbBVE8VRMUz7/uqhgzAeNq0L9Ht/L4iQg8pLe5TKBaPbZFg9r fX1dBAFJ54l4dTUBKL8Amn1dBBWh3KE5KTWpkj5gJMT2qdRvrtiT8oppOkOl3/uQdx Gl0Qawv70ePGOKZxtnJ/IpYCGz4jiRKlgurHuhl6DUuHo5D+geMyPfu3PXHXd2PER1 p840e6Vq0aoqbwk3OOucy8KNvY6+QDsDJCMimGGCaYjwuBUSw+DqteO3en5P0hLD4s wNh8paAZFElAUXoWT82H+woE4/Mtbb6XgcRWs5vr71wKxepFaG28FRxhcpVC4BxiGP MJBcB32l9T6bw== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 539B537821C7; Wed, 19 Jun 2024 11:24:03 +0000 (UTC) From: Cristian Ciocaltea Date: Wed, 19 Jun 2024 14:23:30 +0300 Subject: [PATCH 1/5] dt-bindings: mfd: rk809: Use correct compatible in the example MIME-Version: 1.0 Message-Id: <20240619-rk809-fixes-v1-1-fa93bc5313f4@collabora.com> References: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> In-Reply-To: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Zhong , Zhang Qing , Chris Morgan , Furkan Kardame , Michael Riesch Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_042406_608839_BF4D1734 X-CRM114-Status: GOOD ( 11.73 ) 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 The example is not able to actually test the schema since it uses a wrong compatible 'rockchip,rk808' instead of 'rockchip,rk809'. Use the correct compatible and drop the wrong properties in the example section so that dt_binding_check passes. Fixes: 6c38ca03406e ("dt-bindings: mfd: rk808: Convert bindings to yaml") Signed-off-by: Cristian Ciocaltea Reviewed-by: Heiko Stuebner Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml index 839c0521f1e5..a327d73f3c43 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml @@ -126,11 +126,10 @@ examples: #address-cells = <1>; #size-cells = <0>; - rk808: pmic@1b { - compatible = "rockchip,rk808"; + pmic@1b { + compatible = "rockchip,rk809"; reg = <0x1b>; #clock-cells = <1>; - clock-output-names = "xin32k", "rk808-clkout2"; interrupt-parent = <&gpio3>; interrupts = <10 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; @@ -146,9 +145,6 @@ examples: vcc7-supply = <&vcc_sysin>; vcc8-supply = <&vcc3v3_sys>; vcc9-supply = <&vcc_sysin>; - vcc10-supply = <&vcc_sysin>; - vcc11-supply = <&vcc_sysin>; - vcc12-supply = <&vcc3v3_sys>; regulators { vdd_center: DCDC_REG1 { From patchwork Wed Jun 19 11:23:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13703681 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 3A597C2BA15 for ; Wed, 19 Jun 2024 11:24:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+VnoS2FF7pideHb5YBwBPto7fJgqcWGxLDzaLLxsSLg=; b=tJWfeJAD5SoLFAwsjj8KOhMkQJ dAughvdv9dkcD4DaabzTnXAnLFCNnFAwb3t3tFh1XYOaE1+OTfkDMl1eiUIe8REDhP4DT/uUxFgM9 9zxhSpCBQzN71FpL0vvlbDhYkKHIsvxeN0XP6Rx/OhNnQEg4M7sJKV9toUBUL3srD2dN/sMPydRJG FBVZBXKMq/CkeDSQE2Oy0YwQfZmjzx/+zgq+odG/agQ9gmtbs7MXNhn8XNyQ330mvhtXynaE4OxKn H5LH3RA6vGx0b1Dn7un1clXFyaRvP6HjatgBuG/NY73TcuPiXpPfClrwgOEDQoOy+vVWn/4B6oQYZ xw1jbOug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQK-00000000x13-43Dz; Wed, 19 Jun 2024 11:24:21 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQ6-00000000wte-00VO; Wed, 19 Jun 2024 11:24:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718796244; bh=AV5LSZIG/WMszq3J8MtYG9PvEEq/aTIOyQDB0X109wc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=FwP8avy5dAwvwdOlLtou8tozI2k5wcyByghYeut1TKw0+e5ZZAt+gbJDqqk8YN2hD wZQRxjTntX6go2AyfSNmTVGLhj2Mj7+Ye/FUWrVDsEuB0am7qT6d07dO0mP3tyo7YW yC6uMXEigm2DfpxrS5HR6hW9dsPp5+yZqIrCCYNvKBb1RrJQ4Lxqtl0RvyEe9+MAYD OngLHbDw0JM71JZ6NxEG/YeH6HDKq3uciUWVe8dkKkBCryZIiVBkekCkOhJ76/G0uT Amy0JLRfO5syXKBIPbOBnIKA3KR5OkiY3zqNb6zear39Xyc7xdluyzS4qEAWUDtS7g obiqi15KXDp3g== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 8C4C237821D1; Wed, 19 Jun 2024 11:24:04 +0000 (UTC) From: Cristian Ciocaltea Date: Wed, 19 Jun 2024 14:23:31 +0300 Subject: [PATCH 2/5] dt-bindings: mfd: rk809: Add missing audio codec properties MIME-Version: 1.0 Message-Id: <20240619-rk809-fixes-v1-2-fa93bc5313f4@collabora.com> References: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> In-Reply-To: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Zhong , Zhang Qing , Chris Morgan , Furkan Kardame , Michael Riesch Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_042406_207195_325294F6 X-CRM114-Status: GOOD ( 13.20 ) 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 The RK809 MFD provides a RK817 compatible audio codec, supported by the rk817_codec driver. This has been already in use by several boards: rk3566-quartz64-b, k3566-roc-pc, rk3568-evb1-v10, rk3568-lubancat-2, rk3568-odroid-m1, rk3568-rock-3a. However, dtbs_check fails for all of them: DTC_CHK arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dtb rk3568-rock-3a.dtb: pmic@20: '#sound-dai-cells', 'assigned-clock-parents', 'assigned-clocks', 'clock-names', 'clocks', 'codec' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml# Document the missing audio codec properties as found on the rockchip,rk817 schema. Fixes: 6c38ca03406e ("dt-bindings: mfd: rk808: Convert bindings to yaml") Signed-off-by: Cristian Ciocaltea --- .../devicetree/bindings/mfd/rockchip,rk809.yaml | 30 +++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml index a327d73f3c43..cadfb5f1c631 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml @@ -12,7 +12,7 @@ maintainers: description: | Rockchip RK809 series PMIC. This device consists of an i2c controlled MFD - that includes regulators, an RTC, and power button. + that includes regulators, an RTC, a power button and an audio codec. properties: compatible: @@ -93,6 +93,34 @@ properties: unevaluatedProperties: false unevaluatedProperties: false + clocks: + description: + The input clock for the audio codec. + + clock-names: + description: + The clock name for the codec clock. + items: + - const: mclk + + '#sound-dai-cells': + description: + Needed for the interpretation of sound dais. + const: 0 + + codec: + description: | + The child node for the codec to hold additional properties. If no + additional properties are required for the codec, this node can be + omitted. + type: object + additionalProperties: false + properties: + rockchip,mic-in-differential: + type: boolean + description: + Describes if the microphone uses differential mode. + allOf: - if: properties: From patchwork Wed Jun 19 11:23:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13703684 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 EA119C2BA1A for ; Wed, 19 Jun 2024 11:25: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6neS6HL2jYCOFq4B+9HXQZp3K2O8+rFw9nT6fu2cEMQ=; b=p1EB8f6Zn2YzzL6dQ4kf/weNdL agjWRRSGLLN0J920izoPAP8dZrBMXyLL9XYQaDbcxxJbR1n/NKDjtQJQD3YjY5zTlUYc2IsMHyKOL h4SpaH3XPQpc8vm+2kcUaLTto2PMo6zcbFZwmz/LQnJm8NcIDqXTav9hRiai9aXZLPIlID8ueiZGr woAboqKM3l7TAc6XzooQk0VJ+6Ct5ZEoYXzWs4wnstr+A35DYyIIjttAxdi+bSI945hqtq8NXUnru L3kktzV76WBRSxCOhq0IqKkqiDrNLgNicbSFPU1KIrlsexI5Hs8/IUPPZrB9pNNw+VcDt9aX2PMnB gXslIu0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQv-00000000xNt-0XdV; Wed, 19 Jun 2024 11:24:57 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQ7-00000000wuE-17p6; Wed, 19 Jun 2024 11:24:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718796245; bh=T9b8MFRC7BmI62Uc6FupDJb2PkrQUDlXpVGoJrDjJ64=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=jXxh2+q42/qf2duNU6jronKc69iZXtKSQs2gsYIReLsCmmi37/RQ1PBakB7yE4ASX N/ebm7PYkDTufXT0n7sF5fUCZmv3vb0Ck4kRxeKKl1PRA6Pk6uoDlvyC/KMp/Vb+Lh sPf9E2RmflbSrM0+zb5tQwiLuW1SX8TQ3UchaaDb6i4nHZ1dIrWcap6Hyuexa+oV1l NYQZp/SUBk+5pTc+pwpd1oMPMoypBhpPZbSaOn8GBIFAyp1etvMUGcEFHVvz0LHQkb L2f0YCeIX35ol1pAd9u81JxGRCcjWhY4aH/lc0vDIQ9+m2Tj8tRZWD3+DQN2TSDrHM F2PVkZ7YXWL9Q== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id BBBEC37821D2; Wed, 19 Jun 2024 11:24:05 +0000 (UTC) From: Cristian Ciocaltea Date: Wed, 19 Jun 2024 14:23:32 +0300 Subject: [PATCH 3/5] arm64: dts: rockchip: Fix mic-in-differential usage on rk3568-rock-3a MIME-Version: 1.0 Message-Id: <20240619-rk809-fixes-v1-3-fa93bc5313f4@collabora.com> References: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> In-Reply-To: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Zhong , Zhang Qing , Chris Morgan , Furkan Kardame , Michael Riesch Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_042407_581979_82337574 X-CRM114-Status: GOOD ( 11.91 ) 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 The 'mic-in-differential' DT property supported by the RK809/RK817 audio codec driver is actually valid if prefixed with 'rockchip,': DTC_CHK arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dtb rk3568-rock-3a.dtb: pmic@20: codec: 'mic-in-differential' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml# Make use of the correct property name. Fixes: a84ffd2ef1ff ("arm64: dts: rockchip: Fix mic-in-differential usage on rock-3a") Signed-off-by: Cristian Ciocaltea --- arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index ebdedea15ad1..0b54dfe92d6e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -533,7 +533,7 @@ regulator-state-mem { }; codec { - mic-in-differential; + rockchip,mic-in-differential; }; }; }; From patchwork Wed Jun 19 11:23:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13703682 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 E14EAC2BA15 for ; Wed, 19 Jun 2024 11:24:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bRCdKyq1ExhG6MMqjQiBTwCYn32JSsZAf25HipT0pBo=; b=WuA4QzUUsrQKhGaZtlJFd3YIYL jt6IRvNk00dT/5c1sD/yxZ10I/Vbq5QEe05pJ6C7HYg1U9hd6+DvbYk0cNzdg/4GY/msjhD0aPF90 +jKkohW8GSqO8Q/xa5KjwMIhK6dfna3SsNg75b95OeuD8YOROgTGCYBaXbVJLAfJRMhrq+vbrKBQK o8ZNl4efNLDRS10y9589jYA3Cj9HNGnNDUNC+e45tp6MRTw3/wrRqDn4foUw9BBmTjT2PMBCGjeGq 9lM8n8JL1WwmGSH7JCY8fWGmYgQzvvDO92UbFRlDDVut37ZtY0RVUTib/BMsSh5iCQEQFlAmynGIw RIBFSCOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQk-00000000xHQ-1BXu; Wed, 19 Jun 2024 11:24:46 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQ8-00000000wui-2bAE; Wed, 19 Jun 2024 11:24:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718796247; bh=GzRDLnuFoZMdH1hQlF6ojeOZvsWqIJBgLcgKRUN0xBw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=xp+rYdm1YH+nboSfAZtAX6s/iXzFdiKjJH5gkZ0DCVDMVjCAy1YuntkUvZCXqhVrQ NtAssv1O5l8f8VYQ0/Vchpmb4BDqf3NAPni6h8ZOmEf9q6uf4u/u1eJoSB2Ncw5VbZ 68iNYbjDljRoOwuTEGg+2RuB0PXVDJqUKD80byW7U5BtSw6UstP1aiOricV7BVeaI/ SUpr7AEe9ZronJtk9fSoEagOot88qyaUmXV5cTWGmE80ZYbzkvRUwuC7Z1xtaMLu25 4EQ7gxyLoWUeLVzF9u+lpCnOJuB4xwPQdaLRimN5jmmudpXHMR2pGTA4R6Li6m5HYG 0wCjvu9/O4bfQ== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E320E37821D3; Wed, 19 Jun 2024 11:24:06 +0000 (UTC) From: Cristian Ciocaltea Date: Wed, 19 Jun 2024 14:23:33 +0300 Subject: [PATCH 4/5] arm64: dts: rockchip: Fix mic-in-differential usage on rk3566-roc-pc MIME-Version: 1.0 Message-Id: <20240619-rk809-fixes-v1-4-fa93bc5313f4@collabora.com> References: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> In-Reply-To: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Zhong , Zhang Qing , Chris Morgan , Furkan Kardame , Michael Riesch Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_042408_911087_9A9EA708 X-CRM114-Status: GOOD ( 12.08 ) 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 The 'mic-in-differential' DT property supported by the RK809/RK817 audio codec driver is actually valid if prefixed with 'rockchip,': DTC_CHK arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dtb rk3566-roc-pc.dtb: pmic@20: codec: 'mic-in-differential' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml# Make use of the correct property name. Fixes: a8e35c4bebe4 ("arm64: dts: rockchip: add audio nodes to rk3566-roc-pc") Signed-off-by: Cristian Ciocaltea --- arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts index 63eea27293fe..67e7801bd489 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts @@ -269,7 +269,7 @@ rk809: pmic@20 { vcc9-supply = <&vcc3v3_sys>; codec { - mic-in-differential; + rockchip,mic-in-differential; }; regulators { From patchwork Wed Jun 19 11:23:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13703683 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 CF1FCC27C53 for ; Wed, 19 Jun 2024 11:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vqTHjVU1UFXyDfgqIGSXwpP83GEiVJZlX4Jz+iMAcx0=; b=HeVz/tyhKV7ME+El+vwBSdA/up /MSS+b7aA6gbYWx+B3u39yxmCA642UCxci2vAXnMF3gbd3EHcXe8RDuMQNkUusVFadJGKV+r+gD/+ 0sFifz3uTBtI98WEijTFm+hUGjD4pleAVexhjaBnqnIvovLgUDHiiLVlm42IoOZtW6ho4rwrOpkj4 VqTUZx9BD9aS7kBTVRUN1xhBlgMPAdWZf4TBw3SjpmfaJ0yRm+Ki6azTNdcCNvk8WyBAhkIfWQk+t Jgkd8+06pegOc5u6M+V0exdPhFPn77PR/mRlkq8ILqX+SNd8oETpjGi/mZfPunJOeMw7d4oF354b8 0t2JOYiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQt-00000000xMR-0A7L; Wed, 19 Jun 2024 11:24:55 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQ9-00000000wvG-2FtA; Wed, 19 Jun 2024 11:24:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718796248; bh=mvTc6mmb97QnDGAQR4LeZV3dSJ5FUaa474nFk7DAEx8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ta+L0YfdJ3ksL5pcrAYhmudSDaup1M5YUme5hol59ZZpdpjx9K+ndF5LdEdoyTwCu AC2gCmU/ejS0FY0Ql2sILZuH/3aQIqHUc1V+4Xu5tqO3uRBPHNrrTF1mvJzj3oxhM9 lTz3hMhb5gWg0OUEX6e0R18sThbedgcaxhXc1vl9g104lSD/Xu3AHpXV3xrPN5I0PH 9CbnOkdAmnLj05y6tYIiKExZxcBCHug8xWfBeOerLcGntJAsHTk/fv1vsGd+fkEOER 68zVJyDotpuWQi9gLWjGc4VpOXDhxnTzxGnTxUFF3amR/V+YRl7F2GW8YCbKtmpI8g S6bARsq5kwu8A== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 1CFCE37821D8; Wed, 19 Jun 2024 11:24:08 +0000 (UTC) From: Cristian Ciocaltea Date: Wed, 19 Jun 2024 14:23:34 +0300 Subject: [PATCH 5/5] arm64: dts: rockchip: Fix mic-in-differential usage on rk3568-evb1-v10 MIME-Version: 1.0 Message-Id: <20240619-rk809-fixes-v1-5-fa93bc5313f4@collabora.com> References: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> In-Reply-To: <20240619-rk809-fixes-v1-0-fa93bc5313f4@collabora.com> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Zhong , Zhang Qing , Chris Morgan , Furkan Kardame , Michael Riesch Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_042409_811842_84A5229E X-CRM114-Status: GOOD ( 11.81 ) 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 The 'mic-in-differential' DT property supported by the RK809/RK817 audio codec driver is actually valid if prefixed with 'rockchip,': DTC_CHK arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dtb rk3568-evb1-v10.dtb: pmic@20: codec: 'mic-in-differential' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml# Make use of the correct property name. Fixes: 3e4c629ca680 ("arm64: dts: rockchip: enable rk809 audio codec on the rk3568 evb1-v10") Signed-off-by: Cristian Ciocaltea --- arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index 19f8fc369b13..8c3ab07d3807 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -475,7 +475,7 @@ regulator-state-mem { }; codec { - mic-in-differential; + rockchip,mic-in-differential; }; }; };