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: 13703675 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 D0682C2BA1A for ; Wed, 19 Jun 2024 11:24:27 +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:Cc:To:In-Reply-To:References:Message-Id :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=W76B44BHbbiUwKefxLCzNtHCTVA8TcaROTQiDOP/YaA=; b=sesYuFwu+WkaeH 5JKPcJF/Fh4xJzbWqvNtJmMYi//8Y1uVS7vxf5aN517FZcwpaulR9T3Vu6mgTSWWAl2MP9Su+UG9a 1xnNHcwqZxLmc57/o/XqTvnuKLh00Z2afjiyEoEUJ4crNyaE5AvcjCTbxPL5W0DqbesUC0ZeqOkhH 6s7BHId8Xtrv5nvEOWCtGH2a9Lq8rKqwRK6YRtJmpDwuLvilrdKbEAm+Bt9Rv9GJaAiNhZtZeJTGa Q15naM3fCu1lhcxMPcKkGsLnpe5WPIDyQkrIY76k6NdVzDIazGYPFx+deHSRBr9t9+eWKLrlTJPkz MNcO8uUZ7avOiWInAOFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQO-00000000x40-2VTd; Wed, 19 Jun 2024 11:24:24 +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-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 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: 13703674 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 EE95DC27C53 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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=HjLhW4+kHM8Ko0m0N987jd8KRw46VIg6awiIqAhxsmY=; b=L04UdMO6NHnJLR VGTAuRhGJNZ9HEzaP/98XdOvei9D2dPSx6a8mELxnxY4naEkm+7dn0Aj3ULUFp4AxFUdGZG1h8Jyv QgnQat1J0Fo0MWifwJA1wYwHy058A9/QcRCC62KjZmw/62riAiIx8kYiVOLOer1iLrTYoLNLRzZYY s6LMEnN0KJeKDR6fywB5ROrAax9fPyDNaFixsRJq/S4tSD/WebzsOuDU1GYPmiHhSOBDBDZ8XCHtW 0Fptq2Gf+Y0y0rmShDWFIVuJBWbr+x4SbC8p0YPb7+qevMnL3iKnqUVkLzupHEf4rUNZaj3Gu7uCN D5u6KS/s1oAH7hi9nFIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQN-00000000x2i-0kcM; Wed, 19 Jun 2024 11:24:23 +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-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 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: 13703676 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 D9AC9C2BA15 for ; Wed, 19 Jun 2024 11:24:39 +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:Cc:To:In-Reply-To:References:Message-Id :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=56/5p0ecKc15+3KNuE+BnCL3MwR62G29jjIhbsP3pes=; b=unZgWkTleGcznP 8WSvyDtkN0d30Cp50vin4/QoWSaWhnGf9QytUE+mTLYF1GHtR2FMAKCk1emCFszNQys0wsQLn7r+x oqP5oJSP7NlR7JphuwvCHnXOw7UgUh06QBTfAVafGxL8ZK15pckQI1PBWB0BQ3bLOswbmu/iZkd5x tHzlQQL+mPshN9JyUzejbI18h2TMRjHXDucN5ZVK0wfTlnl84Ps/RLlPnAXgwvpt1auXgFFkzaSPV P5QY1yJp8PiiuWwOXubojmxQoxJmPZp8uqAPtzYVdBUu4V2iHpRDZ1Sd+t6eezIE4IdeTb+v59slk aejy9JAKAarsUXwGuvrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQY-00000000xBG-2llh; Wed, 19 Jun 2024 11:24:34 +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-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 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: 13703677 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 76BAEC27C53 for ; Wed, 19 Jun 2024 11:24:50 +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:Cc:To:In-Reply-To:References:Message-Id :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=9qAz5i0KnpuiWUZUMzZHm3WjLYqFEN9uBcU3dQ1HQjE=; b=0tnqbBB/o7Rks6 opJFM51niQGbW0jwYaYfyqkRXk5vCwpETkyYO5E5ITfjJ7mGJ031pGWILKDMfWZEY05BY0gRKfnFk iImiapWY4MPjCEtAgwFYe/NRkF40WogxBtNyHzxGVbtRUlE3L8ztkQEjDZF+tsB4bUHXaaazMp6EA GyoypC1gzWjxJakPkpqV3wEoAXbRuAUvuN3s+5KgP156vIETPPK7ovoatJzCEZs0zagPXsIjr+nhW nGaG+RAXqL/pV95F+ccMRorbCbZxVOUEh5r2iWBeA82MxZ1n4G7maCVOJNAl53biwqZcbFD4AdLmb Q2jdGRik+uncovz8iAkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQl-00000000xIi-222z; Wed, 19 Jun 2024 11:24:47 +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-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 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: 13703678 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 6816EC27C53 for ; Wed, 19 Jun 2024 11:25:03 +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:Cc:To:In-Reply-To:References:Message-Id :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=GoA8lSy5ZUozIGeXpuuHtzCoZV+11serx2mrJ9s+Doo=; b=dmibfiIwvw4V/l 0WctdUESuMhaJ4UrLWdbcL8Tf8L5Q4HGdQFf7ri50Kc2TihiXdJAGZpYchLcghOk04A/Am7IIS9Vu yBrted2ZeU8ZF4B/9tQe+wZ4GLiEHAIt3fN5sxJIXGYvBJih8VFmVHJXVho9mGpyWxbfvoA7s41mA 5DMNosPV/quhn0OpSPcsmH4FlwdLIhMuMzOOzRhOBTLv7TFbqI9G/s7+P+ZERSGxwNOJX6SWIyNuc ZPuy3T69nhbFtUaSk8FXAPbY9dWYn7PQA6JbXpYh0prLzxPimw8WHP4KdDK+0xYar2SdL3qJ/lPOx r2c4j5cj6Cn/w9d9OR1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJtQy-00000000xPm-0isl; Wed, 19 Jun 2024 11:25:00 +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-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 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; }; }; };