From patchwork Tue Sep 6 12:16:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967386 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 8DD90ECAAA1 for ; Tue, 6 Sep 2022 12:18:29 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 64B1F1607; Tue, 6 Sep 2022 14:17:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 64B1F1607 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466707; bh=EM/cQSjs/dCGM71CxxxVgTAX5ucfSZ6UvUnPGqJlFjI=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=tV4SWLcrhh44VDueaZlsR3ihte2wbeqKEwxjYFcn6Jx+4sSGyOQFqbdHKNRtdMhgI 64eWU6OP4ypZudlfq46MFmrivQAWZ/4Vw/p3VbfHNzg0cKXga/0P0z9kAoFd5bAxPi vz67Yg+0y5HuXjx9rpRx3Lago9mw9hWjsKlzbUAA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DC3B2F8053A; Tue, 6 Sep 2022 14:17:09 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 78942F80537; Tue, 6 Sep 2022 14:17:08 +0200 (CEST) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0E6BFF8011C for ; Tue, 6 Sep 2022 14:17:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0E6BFF8011C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AfprGoA9" Received: by mail-lj1-x235.google.com with SMTP id r27so11643874ljn.0 for ; Tue, 06 Sep 2022 05:17:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=lVPyeQ2iOH6eoW7svXNN0i3ITGNgus4jUsMchB4/XmY=; b=AfprGoA9gCfMR73Wg2GWfLozAtEGnAbp6sHvLZ00EjGtnDIuoGEe0xV1lB6n4FeG2e o5jLEAfPqYzYODGVmc2h7dlB2ykI6pLGPHnAzmNecnXfG8nI6QpkWi1xf6ntnKjV6NLp 4xanHlI+G447u1cBNFpnZC6EU6zTyjsBVfq5lcqS3UDbyIKSqeu7AtwIvMkQ0Wpya47q vhDgoLyiTgouDFdqWphAC2MvDa4goUrd7QXTksd8iwOV8k7qjIdzIjQuHnR8/UBU+bCC DyPcdM6ge2STts7jAseikP42KE3Y8q+JHRSPEdlFVajnKkxrWypLqdiWKOo/TDAWp7SQ eL/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=lVPyeQ2iOH6eoW7svXNN0i3ITGNgus4jUsMchB4/XmY=; b=rRWliTc9LDTMw8KkGoxCtKYeOkDtibjyjW0N2VhrpK6M3b/OJXBT4ImCDaq+CZ7dZV Ot1jv85nSp1iZ/YOeT2QJGU0I+1/W5By1ZkaZ6WoODcDJJDLxP/pb2mu8JPTxIk41gvY 8BAoT40LtrPRcjefdVsyHzPieSiC/+RjEqn+BssA/EFRb3N0iupBb4xDR9ND4/ut//QW FIT4CJgqE6sDnZ+Blyo42EVv4MufYXNapmHSDzlW3/azg6Hg0nvQpXGHUOvX9yoduDH3 vbvZoNQTkYdupjtGzg7DWp+gVIs6uGq1skePuPgskCVK5YpTVsNPWe2eb9pkPbAlWJrK HLgg== X-Gm-Message-State: ACgBeo2ETvPQBDf3X+D1uafIBnXnwcV5JZPMMa2QTCrtTaUIrpWqwh9k p4RK98qjrOEp2MqTEex5/aG5fFhuY3fZgQ== X-Google-Smtp-Source: AA6agR4AWd3RVjZKD2Gi/fOUvxXLLmz4KmbtKrsxZkSynyYoBuHXOsjx+NdgKbG27R8UID5TqZniiQ== X-Received: by 2002:a2e:9208:0:b0:26a:6213:3568 with SMTP id k8-20020a2e9208000000b0026a62133568mr2728879ljg.503.1662466620083; Tue, 06 Sep 2022 05:17:00 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:16:59 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 01/12] arm64: dts: qcom: sdm630: align APR services node names with dtschema Date: Tue, 6 Sep 2022 14:16:44 +0200 Message-Id: <20220906121655.303693-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" DT schema expects APR services node names to be "service": qcom/sdm850-lenovo-yoga-c630.dtb: remoteproc-adsp: glink-edge:apr: 'apr-service@3', 'apr-service@4', 'apr-service@7', 'apr-service@8', 'qcom,glink-channels', 'qcom,intents' do not match any of the regexes: '^service@[1-9a-d]$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 1bc9091cad2a..2d4e3d39727c 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -2218,12 +2218,12 @@ apr { #address-cells = <1>; #size-cells = <0>; - q6core { + service@3 { reg = ; compatible = "qcom,q6core"; }; - q6afe: apr-service@4 { + q6afe: service@4 { compatible = "qcom,q6afe"; reg = ; q6afedai: dais { @@ -2234,7 +2234,7 @@ q6afedai: dais { }; }; - q6asm: apr-service@7 { + q6asm: service@7 { compatible = "qcom,q6asm"; reg = ; q6asmdai: dais { @@ -2246,7 +2246,7 @@ q6asmdai: dais { }; }; - q6adm: apr-service@8 { + q6adm: service@8 { compatible = "qcom,q6adm"; reg = ; q6routing: routing { From patchwork Tue Sep 6 12:16:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967387 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 0BDDEECAAD5 for ; Tue, 6 Sep 2022 12:18:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2422A857; Tue, 6 Sep 2022 14:17:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2422A857 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466718; bh=HojHJRU+Zm0cREM5btPJZ9JYluTh1TBsj+tAONgZOGk=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VG5CVsTI33VJ1kFNzmVK8nHyKp0MAdr7J5GuMstagh2HHfMM+Gxj1g0XYaIOFGKPt /IBL7nRfQW9TSRwbTLCWLzy49BWck7zZuyR5xYSjVdX9D0VlD7V1W4DhM7NZVL0n6O CYeN/bONT8dQWfAVYg4wIuj2AnALqcu07xpsgWiM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C5EA1F8053D; Tue, 6 Sep 2022 14:17:11 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DC1FFF80538; Tue, 6 Sep 2022 14:17:09 +0200 (CEST) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 30FA4F8019B for ; Tue, 6 Sep 2022 14:17:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 30FA4F8019B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jIHJBCvw" Received: by mail-lf1-x135.google.com with SMTP id q7so17080217lfu.5 for ; Tue, 06 Sep 2022 05:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=4JDAwEZQcoLKI1Gf4ZPXihH24xb2UdAVE7Vfa8ywfLg=; b=jIHJBCvwFRT8UkMJIUSjzxulkLzAHD8JZCtNnbMHOcFyExAj/+3oVWtCEYz7G78wJr L7QIX5ZFGIyWXlxStknm9T+2YtokbVSjH6uPbRzyvUfKtH0blGIEIOwIxKrAp4W8Ao3S T/P6YkT2v+r+ZeRxLNv6G5YzDy8t9P2pfBjYYN3aEFOOjaj2EF8cwzA37RhhmSfGHqPb dSP4oGiurD+bK1MNGcrR/p/alnmlBciVCWHM6td/CHwxIxoefNyaeEsDXFfwj3wx5zGx XwW554fzB+fMtEvToJKCWjYy4gyY1m3TNQMENbssKGHzfXz730IhvctCHOmH2LLDjRRK +3RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=4JDAwEZQcoLKI1Gf4ZPXihH24xb2UdAVE7Vfa8ywfLg=; b=d7F1w8Yv30qr+TXI5mXFuicSojZrHxEWLjlE49NCRgis5NPGhoql7yuSyf1x8RvjFh TpPF/Gs2Qh38xlmoZzBqtuuKY2JvTQ/Z4wYI2aBJoV+uNsFQfBGX79hG6Zb4zpgRLpZ9 LrN8mUeKcCQcwOvoDJUeQo5hwMNBQegV1fmJwWSDjNlhQkwtjqd/FTThTUcbH4ZUu9h8 Jm7BKBY2Z60vwdCkzIF9TNqtn0PtdHusANkgWwhVWgk6IkmEW7iCAxXfkdHZakmfLu4l DbKmK5UqmRVEL7wMdruMN5K2kipOdLK28llBwGCiTEXPxAZysvLy3XeinYMBimE57KV8 iSNQ== X-Gm-Message-State: ACgBeo3PmqMGH+sJOL8jxD7yJSRJ1tp16mZoybG94zh4elBv4ELWkeO7 rVdGETc5hLvTH/S10k0jRinqmA== X-Google-Smtp-Source: AA6agR6i73k9qW5HNQcpSZoKLIbwt/o1xO7wVL8odgzciD21w6PoqcPDvxG3NXi4l6UtirxHECBlvg== X-Received: by 2002:a05:6512:1051:b0:494:8e93:bf6f with SMTP id c17-20020a056512105100b004948e93bf6fmr9769680lfb.320.1662466621256; Tue, 06 Sep 2022 05:17:01 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:00 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 02/12] arm64: dts: qcom: sdm845: align APR services node names with dtschema Date: Tue, 6 Sep 2022 14:16:45 +0200 Message-Id: <20220906121655.303693-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" DT schema expects APR services node names to be "service": qcom/sdm630-sony-xperia-nile-voyager.dtb: remoteproc@15700000: glink-edge:apr:service@4: 'dais' does not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Tested-by: Steev Klimaszewski --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 98d34b5e1df2..8e7b577f78c2 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -767,13 +767,13 @@ apr { #size-cells = <0>; qcom,intents = <512 20>; - apr-service@3 { + service@3 { reg = ; compatible = "qcom,q6core"; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; }; - q6afe: apr-service@4 { + q6afe: service@4 { compatible = "qcom,q6afe"; reg = ; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; @@ -785,7 +785,7 @@ q6afedai: dais { }; }; - q6asm: apr-service@7 { + q6asm: service@7 { compatible = "qcom,q6asm"; reg = ; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; @@ -798,7 +798,7 @@ q6asmdai: dais { }; }; - q6adm: apr-service@8 { + q6adm: service@8 { compatible = "qcom,q6adm"; reg = ; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; From patchwork Tue Sep 6 12:16:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967388 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 8758DECAAD5 for ; Tue, 6 Sep 2022 12:18:49 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id CE8FC86F; Tue, 6 Sep 2022 14:17:57 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CE8FC86F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466727; bh=f9MmtzKcyT+p+flmHLPjyWyp4cAWIcvZWRmouF02Y6k=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=jS6hoFSlHzr71wG52rlPqzbERUNTz7uALyxmQh9yBWDdb+mly7UaZPxZ/N8X9qn9z cOvkpE0wIFwKnKvKRaGtHSRe0d/fCgGSWrbBo3P/i3gz2AF2WHX9U0ufO2RxzzHRK3 6QQ/oei6sBQVjCyeub/X2hJwn0GWNfzX8A02Uons= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 7D20DF8054A; Tue, 6 Sep 2022 14:17:12 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 564F5F80542; Tue, 6 Sep 2022 14:17:11 +0200 (CEST) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 94085F80165 for ; Tue, 6 Sep 2022 14:17:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 94085F80165 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RXai7S+q" Received: by mail-lj1-x230.google.com with SMTP id bn9so12071533ljb.6 for ; Tue, 06 Sep 2022 05:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Hjmn30z7s2eTtMkaCMwmMADdYJlSF9rm+8XosTfoCp8=; b=RXai7S+qkruhF7oQokxveyjZl5Ut5RvIVsy3ssk+LE2vNU15qmHeFgXmXItWaTnKkJ CC1kIgRgP8Yw23dtgzlrGAi9PDax6Hzix7LTjQZBgUUvb9IWEu2fKibTlYsJ59ciPnif tO3l4nMRHL8nl3cuNs2ZJLiIiPfI27yE8YtJUb0bQmfdd7FrPnsTez1Jrxg8W3j7DGTy wTJO0g/Le+YTiBnkCKtazTq6asUcShwuS5FlgI2SvN/ffGmxw/6M8TkAaeO1ZnKqcWAU UIr6mRJ4WHgZHvDsazM/DO8jQbudRXrZJ2diHNoFErwz5tSHziq6+PJEpktHdvrI8Oky CJlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Hjmn30z7s2eTtMkaCMwmMADdYJlSF9rm+8XosTfoCp8=; b=iYG+nHUVuLkKc64aePopApxdgPLKZXMZo07CR8Euc+bAySbr4rRb0DNAP06dc+eKAM Qeap/glo7+H4/Sel4A7RDW9q5uLgvyC/qenLnE5mpXuHvvH/9YERvF9Fg60xis1ZhxH6 eyzbag1oQazQ+3wXrnK+l95+6em5ZSpg58QrIFQk9Lvrj2CcU58IIwkBzyOvnr8+CmnK 2697fjJmdSLukw2dY1/VwI9N5HB6hH82qd8Mn+RAg8DhrqiVqtOrgl6/ip3S4w6OymRR nNF03hAdBe1nT+mzQ5nDuwMO1GNhJXFWnFC+CXrrV5jBB3Q5yEQ4uFklGwJjRW8hK2+5 ojpw== X-Gm-Message-State: ACgBeo362KYQ3X/iYYkNZUgx9oTXYndfY7Q4w/yQsANtqiSZIxvI3tSb jbhH6jQkI4B9KHLmoHDw2Y4KnA== X-Google-Smtp-Source: AA6agR7NPM+qJCIpk0dzGgKMU9iAKaEQX5alLhCnVr1VoZxdvU0lNlotecJJCxRXR2oTSA/3RonqNg== X-Received: by 2002:a2e:940b:0:b0:268:fa1c:106f with SMTP id i11-20020a2e940b000000b00268fa1c106fmr5073674ljh.101.1662466622447; Tue, 06 Sep 2022 05:17:02 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:02 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 03/12] arm64: dts: qcom: sm8250: align APR services node names with dtschema Date: Tue, 6 Sep 2022 14:16:46 +0200 Message-Id: <20220906121655.303693-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" DT schema expects APR services node names to be "service": qcom/sm8250-sony-xperia-edo-pdx203.dtb: remoteproc@17300000: glink-edge:apr:service@7: 'dais' does not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index bc773e210023..da9f7a701bc7 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -4782,13 +4782,13 @@ apr { #address-cells = <1>; #size-cells = <0>; - apr-service@3 { + service@3 { reg = ; compatible = "qcom,q6core"; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; }; - q6afe: apr-service@4 { + q6afe: service@4 { compatible = "qcom,q6afe"; reg = ; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; @@ -4805,7 +4805,7 @@ q6afecc: cc { }; }; - q6asm: apr-service@7 { + q6asm: service@7 { compatible = "qcom,q6asm"; reg = ; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; @@ -4818,7 +4818,7 @@ q6asmdai: dais { }; }; - q6adm: apr-service@8 { + q6adm: service@8 { compatible = "qcom,q6adm"; reg = ; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; From patchwork Tue Sep 6 12:16:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967389 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 4210BECAAD5 for ; Tue, 6 Sep 2022 12:19:11 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 77F131633; Tue, 6 Sep 2022 14:18:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 77F131633 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466749; bh=5kDFwGxXwlPO+BaEnn99NX8zmSmaj5/zQgQXkhUhbz8=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lX8kTyl1MP9ywbZw0fNwX9MeS3v3by+1FlXFpIM/O2v+niJ9g4gF050CNkvGjZS0X KoRMtedkHnKa4Hs1vZzxr29ioYsL5+34ZbhMgyUtdwo7lNauvdQPUngqwYGrQRqse5 JpIC1TAF8XbaMejMGetfvK5H0cgBeMDEzpmXUN0s= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 67310F80553; Tue, 6 Sep 2022 14:17:14 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D9787F80557; Tue, 6 Sep 2022 14:17:13 +0200 (CEST) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 55221F80535 for ; Tue, 6 Sep 2022 14:17:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 55221F80535 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CpJkP37q" Received: by mail-lj1-x22f.google.com with SMTP id b19so12059635ljf.8 for ; Tue, 06 Sep 2022 05:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=jxL+xsbNPMQ0LRDW07pB1gCBkhj6BzOUQBO7qCX71FU=; b=CpJkP37qUoWaOHam9E2JAXwW7u39U2t7NFMBIZbyL9Ciwo2aoTnIgBpY+VG65GKios EUzehYF7WCd/erNoIw86cRzW2VbckRTzNQobzDqfQZKHcX670oAW7M42ajfMLnlJa7OC Ei6EkLBbFSLdvQKMt85KhsRYgSoPBN5Ksdo4IW4lUMTIig8RDzobfhi2qOAorUCZ4Ulv SK5qajKFl91SwgYZVOjt4fXC3P2kGaDKQtN7lq5M97lPtH/bjun8/tEyyAyr3oR1Zep4 OdzNmbCgNP++pWpBk2mL0sOs5DrYjhw5YQBX76MiP3B9KvLslR/ZiI2drDGkdb7GZbhh ohBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=jxL+xsbNPMQ0LRDW07pB1gCBkhj6BzOUQBO7qCX71FU=; b=Th4SzKmNKgu3zQ9qZBmeOZceeOiMAsMPQa5qXij/iIH+zwKXzk4DUnjuteUVpeoVf6 /kxRROBWQOfMg9P871HsTdeBSvNPLZeNWMaPmw51x8wWYPZlBbzoRxeul4eko47T1kkR 0fYmnmdJPCQNhozTnFfLlfEFtRX1fD6i8wddFd42/sdCCUZq4Vohz/ejQLu083HKXHvt sfxjL+U2ixAn1ZxzPCpDBO1CGx431LRlPTHU3UobYhuYFSqbD6c3yi0wzmjKQ8BcNtd9 G28gqti6wPKY+Sxzn5hj2ihCpdcXXco885Xd46mCize1VX2vk5/zNMXyNpMkNFK7d+El v4nA== X-Gm-Message-State: ACgBeo1J5YrkP7qY8Wl1af/W9FUnYrGb3mtxknTSQg+RKPXuTBZ/WP6W xiPPe3MqHA/hBLUjl0Jgh1D1Ig== X-Google-Smtp-Source: AA6agR7/pgyd1DQA1bmXkzqfd0ZlNJS2Vz9kmJ4Jy591mvQSpPAnHiz8NkjvC+XOwPPeTO8BxJc2Vw== X-Received: by 2002:a2e:a604:0:b0:25e:87b1:fda5 with SMTP id v4-20020a2ea604000000b0025e87b1fda5mr15152545ljp.428.1662466623852; Tue, 06 Sep 2022 05:17:03 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:03 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 04/12] arm64: dts: qcom: msm8996: fix APR services nodes Date: Tue, 6 Sep 2022 14:16:47 +0200 Message-Id: <20220906121655.303693-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" DT schema expects APR services node names to be "service" and to have an unit address (as it has a "reg" property): qcom/msm8996-xiaomi-gemini.dtb: apr: 'power-domains', 'q6adm', 'q6afe', 'q6asm', 'qcom,smd-channels' do not match any of the regexes: '^service@[1-9a-d]$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 742eac4ce9b3..8dd4f6d09330 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3388,12 +3388,12 @@ apr { #address-cells = <1>; #size-cells = <0>; - q6core { + service@3 { reg = ; compatible = "qcom,q6core"; }; - q6afe: q6afe { + q6afe: service@4 { compatible = "qcom,q6afe"; reg = ; q6afedai: dais { @@ -3407,7 +3407,7 @@ hdmi@1 { }; }; - q6asm: q6asm { + q6asm: service@7 { compatible = "qcom,q6asm"; reg = ; q6asmdai: dais { @@ -3419,7 +3419,7 @@ q6asmdai: dais { }; }; - q6adm: q6adm { + q6adm: service@8 { compatible = "qcom,q6adm"; reg = ; q6routing: routing { From patchwork Tue Sep 6 12:16:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967390 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 57AD8ECAAA1 for ; Tue, 6 Sep 2022 12:19:26 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A0DDE1637; Tue, 6 Sep 2022 14:18:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A0DDE1637 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466764; bh=aYzwWmDXt9zH1PYb2OulK14MTEOx58y9pgrVJbkIt2o=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=hbLQ8yWpi+LzewrxihU2YtvEKaIzDnoX0+Jr8WTDtQeg3FV2uF5ijceVje6pen7mx Y64OXXq4XiqN5J+Um0fVuA4MVDFXkw+pObf87gIWERvwk/MgJkFfVVPJfQOpVXTj0A ftmLUnrGt9Car76YK1Cphj56Ts4NJU1+81twH/tM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id EDADBF80558; Tue, 6 Sep 2022 14:17:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3A93DF8055B; Tue, 6 Sep 2022 14:17:15 +0200 (CEST) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D24F1F8011C for ; Tue, 6 Sep 2022 14:17:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D24F1F8011C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DH5vqlZ3" Received: by mail-lf1-x129.google.com with SMTP id bt10so17112697lfb.1 for ; Tue, 06 Sep 2022 05:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=sOpMJZzTBxmKg0bL2Da/S0t+3gjvGnp5/eRVN6wwRsY=; b=DH5vqlZ3DifzAndE1WGjlqndkv4nMInSyP6CFlEl76F7fCWDZcHAKn9mLr4o3J/eWx qAV6M9ZtcA2X3pW5/FTrABXz42GEfA0cf9q0qrkzJupxBUd2mUSWH29FeHkdVc9CRX2U dUj/IxfiRCdClux06EmYQRnlpIuKfO64L4//SXxpl6rqxo0iX4nQKUpgOyzlgjFBGl0y qFqkJDi0uNUVOa8ocGR5ZVgrHdOSnhF9v4kHsAEhX4O3HWKTdEznPiqAxGs84v0FT5/Y bstnJVpF9rV77fD84yTkk1K8XldhEbIyfeESqhSqkxEgb14pLOsDslZrbjs1sWl2kml/ IPAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=sOpMJZzTBxmKg0bL2Da/S0t+3gjvGnp5/eRVN6wwRsY=; b=ACJeKOpNe+hCmW8WW2zmyidH/Kah7Cnl6b9ABUEtXQiTp97mY6yhUULDH4kVBNrdn9 AfmbEQtVKu8XUCO8sJkSbbSQqgz5wce8f7X2AX8sLLeLlApqARlKdsM9X1HZIhAhxjSq gb0ZK/qgVjYa8p4Jpv00lwnZgzzfcuiFgUtBPi5Tfl5Ou7Bh91/J8d1AA99NkmomuwZz I1xk7xZs7lkxfv6AZR+SfdrLcnon7aPR2gy0QwDsBrNASJTnTRtsaUbqrtbKBiMsEW6X BN0yUbtkZKPK5BdN9OmTbwoOwq20hPbbgG3NiC7HfVKewvdED3vP9kCpeqI/1GNQ+bB2 R38w== X-Gm-Message-State: ACgBeo2CiuxrA8Th/MeBTwOB30JR1XOXmff6xHpmpmGK+hM5gRfUQfX/ 8g8E2ksyDkUoLATN0MhwTK4iPQ== X-Google-Smtp-Source: AA6agR6CJKjLHiqlHiUhS+ULbbF714b92DT6khPT9a5Rz4zXQvjha6yveYrpJ7N528FZdOnuLpL8Uw== X-Received: by 2002:a05:6512:3f94:b0:496:5e1b:a1c5 with SMTP id x20-20020a0565123f9400b004965e1ba1c5mr2095193lfa.483.1662466625098; Tue, 06 Sep 2022 05:17:05 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:04 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 05/12] arm64: dts: qcom: sdm845: align dai node names with dtschema Date: Tue, 6 Sep 2022 14:16:48 +0200 Message-Id: <20220906121655.303693-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" DT schema expects DAI node names to be "dai": qcom/sdm845-xiaomi-beryllium.dtb: dais: 'qi2s@22' does not match any of the regexes: '^dai@[0-9]+$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 +- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 2 +- arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index c6e2c571b452..308a154d2ec0 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -651,7 +651,7 @@ led@5 { /* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { - qi2s@22 { + dai@22 { reg = ; qcom,sd-lines = <0 1 2 3>; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts index 82c27f90d300..067559c7f624 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts @@ -338,7 +338,7 @@ resin { /* QUAT I2S Uses 1 I2S SD Line for audio on TAS2559/60 amplifiers */ &q6afedai { - qi2s@22 { + dai@22 { reg = ; qcom,sd-lines = <0>; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts index 56a510b150ab..f2ddb2847101 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts @@ -544,8 +544,8 @@ resin { }; &q6afedai { - qi2s@22 { - reg = <22>; + dai@22 { + reg = ; qcom,sd-lines = <0>; }; }; From patchwork Tue Sep 6 12:16:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967393 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 E4235ECAAD5 for ; Tue, 6 Sep 2022 12:20:12 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 258B71607; Tue, 6 Sep 2022 14:19:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 258B71607 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466811; bh=sY4xAQwBISzvPGCuH2qFyjkTMD0W2oOyDsw5Uhtmzag=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=SlZGUZwTleJQvZb2TE7+NXBkWd+bgDve9PZzr248JU0OYqQM0+32aG6f3vURV+3FQ VJhAST8BnrbG/jAMehj07wY9JPcXS8V7GHVBTKeKaTknQQW07svgkLY4w7yd8OUOwQ S442nTVLjGfv2IQmhMTAuo/OPFF+7GkQkf8NvoHw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 21BDAF80570; Tue, 6 Sep 2022 14:17:19 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D87A0F80538; Tue, 6 Sep 2022 14:17:15 +0200 (CEST) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 11AC9F80536 for ; Tue, 6 Sep 2022 14:17:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 11AC9F80536 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ywef0Q5j" Received: by mail-lj1-x22c.google.com with SMTP id w19so12064304ljj.7 for ; Tue, 06 Sep 2022 05:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=s7n5H179EHltl//tf656gfcONYELR4s9Z+s2z1U6Gm0=; b=ywef0Q5jictPM6qCJWGxeygAXu5gLbMk6gIfqK1eL5GbuAI4lxMFMLqNf+Dw5lZZdG YXTNWNakNwIg4km+c5/omQIBi93fFpD+1C2qlZ+eWZPIuTzyg1V6y8MC4sVEvQDdPWjJ WUSXSPp8ljLxxsXPjYNQDrswbSR797sFK5uVlzqe9E8v8kHhPCmkhtA6xiJ6eILn/dP9 Vh8jre9RteSozSoMQHLl5+Nan+5QbHXkR0Y2Z8fiHZMZIgN5bw1LEej1q8JcI++JHCNH Ij3EtYRT5GEiQdCATcUjorZjHSD0c5j/pvxegZ0ZxgHfi4u1+AGX1XJ7Tgus9ApXP/NO raCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=s7n5H179EHltl//tf656gfcONYELR4s9Z+s2z1U6Gm0=; b=AUupIY1TDNscJgbRLg6YPrLk5U4hEgMAFbXV9ifnTZCYTpCf4yQBKoirKgNb7Cr3Q5 rFBtoTyDmweXAdI62/2Sx/wF7Kji9JfQBn+sC3RWPTg3SbBHnXivp6knCnTjido90lDJ yDtA2jYW+YC6MfcWe1Wr+gcvsaF3E01HJjSPHLF3r/C6YN2cqIw2muh9Bd8oBjMOUtyG Izn4oz8godHPvNdvo2HjmAQpKGlJrZpHLEihWCiAyk4ylXMGc+XxWuASYEWW1x7GEPWA 69stxggxC6ePpyQC1RBuQnPsjJvfUoEvNCNfam+Opj+IW2DWCndlgokL1y5ehLoTRx6R oAKw== X-Gm-Message-State: ACgBeo0KWb3pjRX2Kwh0IntN4tnTLopLtUEkwrpbbKMGKtTevkye5uDh LQI2dQ/GYxzb5Eu2dvYc9a7lEA== X-Google-Smtp-Source: AA6agR7yVDfxdDSu56xjFhDOAW4R57WFX7r6p+IlD/xKVIj2xWws5UrhbgmXrgq+NOExDDMVpzj8Ig== X-Received: by 2002:a2e:b88f:0:b0:25f:efa1:a966 with SMTP id r15-20020a2eb88f000000b0025fefa1a966mr15014624ljp.67.1662466626433; Tue, 06 Sep 2022 05:17:06 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:06 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 06/12] arm64: dts: qcom: msm8996: align dai node names with dtschema Date: Tue, 6 Sep 2022 14:16:49 +0200 Message-Id: <20220906121655.303693-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" DT schema expects DAI node names to be "dai": qcom/msm8996-mtp.dtb: dais: 'hdmi@1' does not match any of the regexes: '^dai@[0-9]+$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8dd4f6d09330..273e41c27942 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3401,7 +3401,7 @@ q6afedai: dais { #address-cells = <1>; #size-cells = <0>; #sound-dai-cells = <1>; - hdmi@1 { + dai@1 { reg = <1>; }; }; From patchwork Tue Sep 6 12:16:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967392 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 86C24ECAAA1 for ; Tue, 6 Sep 2022 12:19:53 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AED5115F2; Tue, 6 Sep 2022 14:19:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AED5115F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466791; bh=UTDjLVrZ3JUXEPKxBzXfx0QkwHM5JxbAcMhc7Gbk6uY=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lCvYAU/lnwFUjHRvu8Kcs9AYc3VysVyo1QBg1yfB1yPHD29GmZ1FwrnhsMujubvej W/0Qxkl4A/3s5e6SHQdiIv6c/3HRAaB5JYSDYGQMWEdSqe47EQeXJ2OFayFAQW1sld k9QnrTuc4JzOvcJ1PdGXpL3TkU8NW2qjvJc+i4K0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 9BF70F80537; Tue, 6 Sep 2022 14:17:18 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CDB77F80537; Tue, 6 Sep 2022 14:17:15 +0200 (CEST) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E4CAAF80538 for ; Tue, 6 Sep 2022 14:17:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E4CAAF80538 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zA/Is61C" Received: by mail-lj1-x230.google.com with SMTP id x10so12086644ljq.4 for ; Tue, 06 Sep 2022 05:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=sO81WKVtvhIgo2awJD1gSAd3Fv0gIwfzf8ud+NOPFUk=; b=zA/Is61CE5bwxBiHloK3TAgpudaZLFTV6Sfj1ly97/3GgtrzDrFspytWbFmkZPqzer bOcUr4VgIleXFvfmNENrx4ZBAgBcLrfqYXR83M8IPCUACtkpFoQgQAsjWH8cPzvWWScj nMsT3G2XV4YT19VRieAeB8xwBJ9JmYzGwV00JoYyMCCdZYNdDYWWIaZ2csRSD1ubTzSN RuOJbAmwkNWIynzqWbZ9IGqZrphsa0KSV3E/lFhoMT/eTtKW/KHBauY9tKrJNGuTeiAt EdVFjEYI3TN8nLgh7hUVsCp+J+CpMGTC3g9K8aXG2eLU+HlRNJwNr7mDz2xLSzLg99xR u2Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=sO81WKVtvhIgo2awJD1gSAd3Fv0gIwfzf8ud+NOPFUk=; b=0Pgq1fDLnut1qT5L1V358tJuE/Js6xXMX1s6SeCTf0Szm8nnmcvvnUOgGcRrn8YV8X l3UJECDa4Wl/1J92niPfMJ2X5u8/5WmoKADyFB7sGb0nSUIF3vniTxRZLGg2elJNnTTm q7hM2d/Pep+dC39twxFUcMjJFQmWwZt9yujiBcSF9yMqLTSomb/LxpiOW/eVvqUhhkF9 NEN7pdhiD+jBpkO/m8dmNZ6XGJPtiIPyHbpr0Tt40P/Zk9hrTXMSpgmtAI4WRGhZk3qa XPCM3nbhrv9wNv9ms29oD8T0Q18wSvDTko8gkEuNdZ/Db/M2esnin4juFjNVYA8GSwgS dlvA== X-Gm-Message-State: ACgBeo2y/jYitq8f9OdU30TVcOH3DeVPCWzFg1h2omtFHnso9s2XwPAC DAsy0I5lN2V7GJsjZOhSqcf5jw== X-Google-Smtp-Source: AA6agR7RIrgLDHUTYfwwRRK/fTmffBGAkqOcgbq1by/s92F8cpNx7SME6oPPKVkSdiZHXg+WY2DWjg== X-Received: by 2002:a2e:9e48:0:b0:261:c713:37dd with SMTP id g8-20020a2e9e48000000b00261c71337ddmr15094251ljk.385.1662466627595; Tue, 06 Sep 2022 05:17:07 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:07 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 07/12] arm64: dts: qcom: qrb5165-rb5: align dai node names with dtschema Date: Tue, 6 Sep 2022 14:16:50 +0200 Message-Id: <20220906121655.303693-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" DT schema expects DAI node names to be "dai": qcom/qrb5165-rb5.dtb: dais: 'qi2s@16', 'qi2s@20' do not match any of the regexes: '^dai@[0-9]+$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index bf8077a1cf9a..d39ca3671477 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -867,7 +867,7 @@ &qupv3_id_2 { }; &q6afedai { - qi2s@16 { + dai@16 { reg = ; qcom,sd-lines = <0 1 2 3>; }; @@ -875,7 +875,7 @@ qi2s@16 { /* TERT I2S Uses 1 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { - qi2s@20 { + dai@20 { reg = ; qcom,sd-lines = <0>; }; From patchwork Tue Sep 6 12:16:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967391 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 05D82ECAAA1 for ; Tue, 6 Sep 2022 12:19:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4418E829; Tue, 6 Sep 2022 14:18:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4418E829 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466778; bh=bbWa+B6HEK3BnZMvKDXAs3soHsVyx+S6ZewmVIpdIJE=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=bgsPj07RZfBO+NHcHwLu+3MdbAgoCq4kIrlZnis+WG0YKjL8t7b4VusG3a4aFPiZ+ aLDhqzr9NDEeC5DK2fhQySK56b8FI4PD/tqc9azFE4fE+G6rBS4L8G2BioT1Cgr0O2 IWLLQJyek3kOhRYVVtP7hMLa71DUNraltBoSzrqc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id CFE7AF8055B; Tue, 6 Sep 2022 14:17:17 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BFA42F80563; Tue, 6 Sep 2022 14:17:15 +0200 (CEST) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 474C8F80537 for ; Tue, 6 Sep 2022 14:17:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 474C8F80537 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jD2je3of" Received: by mail-lf1-x134.google.com with SMTP id z25so17112890lfr.2 for ; Tue, 06 Sep 2022 05:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Olx2xfEl0PLpI3+3+5Qjw680apGzpUP0gS3Mnyx3230=; b=jD2je3ofjQyfg/jOh+LKalUVOeBAAwrbkYEw21Sy5iOwMAdmX9y5mHP53gRvgVND6B EvGMCz2fygVPNQWXs8kWLOct/tEKZzBrabZxXRYqsYU6lAtic8byQZqKWL/c/mSjwmWb HJIekXpLhTd64mrGYRTulWsVj+73kjg6lVZ/s6U7k8B/ATZq1ydF9iml+OrPWHb83MGf /yT5LyvlmjZKTulVOpEzsXzzjQinCIfvydt+CIz95iR9zwB7Q9GtF5YwVDVrC65fC/Fq e41P1BghT2SnBLR0EyEaU/iYipZ5gdePZbdgyOtM1jMdgpYim/uRiewF9TKYib7rQJ0r mHGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Olx2xfEl0PLpI3+3+5Qjw680apGzpUP0gS3Mnyx3230=; b=5JcYEejqxB1hLM1hVYOXwEOXIGpHZCnqZa7QcQisjy/gHOPZDgq3Z7sO0d8BOTJOod 8j1WX/quBZC3CEHFZvp86vSpOqyuA0SaPzAtF3K2/wbks81Yt9r8QR7hfwi+XbnDsunt /7SZpTK9ekn9/AuVxIF/cSrbqT0rq1cPOnLqbpC5yBRgobBEMt9rdP4FWyub6qyzE366 RV6KTDowKU4028HhHd0cHyFrY2bfoEghsKZRQHOcuqaFG+9Qw+R0RCk0rV+ASGZnlIqq tNsV7szLhTjyMgPU9DOZpuZYa1eiqg/f4EGVQXmqLPTdjdRJIqU/3shxyqHdFU38xGgH cphA== X-Gm-Message-State: ACgBeo0LdnOKPM+fBgdTp61V3Hw67EOMSD4QfutDBOJ8svScORwX6Rpr TdIx2vfIlEhHhqfmpvxWvy5juA== X-Google-Smtp-Source: AA6agR5TML3s8NoEL5itQJnrQzTJ3E7pKRUH2G3Fd4S7hT94Gg7+NWiCuPmzmzxU5jNAYCnta6P3sg== X-Received: by 2002:a05:6512:3503:b0:496:517:5802 with SMTP id h3-20020a056512350300b0049605175802mr4379125lfs.83.1662466628883; Tue, 06 Sep 2022 05:17:08 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:08 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 08/12] arm64: dts: qcom: sm8250: use generic name for LPASS clock controller Date: Tue, 6 Sep 2022 14:16:51 +0200 Message-Id: <20220906121655.303693-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The node names should be generic according to Devicetree specification, so use "clock-controller" instead of "cc". The bindings so far did not define this name (as child of APR service). Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index da9f7a701bc7..da340159c0f1 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -4799,7 +4799,7 @@ q6afedai: dais { #sound-dai-cells = <1>; }; - q6afecc: cc { + q6afecc: clock-controller { compatible = "qcom,q6afe-clocks"; #clock-cells = <2>; }; From patchwork Tue Sep 6 12:16:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967395 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 118F4ECAAA1 for ; Tue, 6 Sep 2022 12:20:45 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 49EC4164F; Tue, 6 Sep 2022 14:19:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 49EC4164F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466843; bh=Rtn8/tyivWYRRmh/8EOOhwmZyPwxlYZYPFYiMy5ws3U=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gx6WCoplq0tdZaTQuI3ibO7D0hO9woPvikkLh7RVcWa0SSPrhQMhgvMdEiD2JCUco 1huyxCkSv6VB+pgJlPyzl1OWsMv7b2mpEuKX5XV3m5ADlx4yHcNgYqu3Ra7yJye4L2 RC+AFbToG8896SHN1nw1KcG9UfiLYp1kDlRWg9TM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3E43AF8057F; Tue, 6 Sep 2022 14:17:21 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2C862F80537; Tue, 6 Sep 2022 14:17:18 +0200 (CEST) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 99692F8011C for ; Tue, 6 Sep 2022 14:17:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 99692F8011C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AKdYf2tD" Received: by mail-lj1-x22e.google.com with SMTP id s15so12075089ljp.5 for ; Tue, 06 Sep 2022 05:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=4c/EC/fKGrr33lYs8dg9VuKkDELdZWUkP9xmgTJvUBY=; b=AKdYf2tDhidX1KT/T+gAUIvcmI5DL9Hdo42r+/QzKvZtDTIWxfg8mx1MB7sUpzA1qv WGqiKkvZomaXC2cqMPCuzKzeqdvHVYbdkXHpXOMUiv+WeOHLZoOR52ES9q1EqpYaC3tk jODzVpZ85S/wUiME0jHn1SeeWW0r4SXaDP+C0mcijzxqbxTLuCUix+3umAMjp8hEzhzZ /K4LKMuex7a43qIDqz2+/C3yJyhaU2ii2gchFFn5Z7dUVCDQA45sE5c3gCxxeqLl5Tp8 w7RO9+wKtZH0N8oOFsKra1FP1ecGBKW0uEicAUp65Q232rQDkHriHIZISNKNCm2qSOTE S1QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=4c/EC/fKGrr33lYs8dg9VuKkDELdZWUkP9xmgTJvUBY=; b=yLKtz5zo1rttO/XSrDFph36kGhM9g/R8LLlbcb7vmFc63oXA5Wt2Yhb65VUZgxP385 fvPcRhP3heSbT5kq8bzQbmhk9TEBWZgCAmbMpX8Ngnl+zS4BW37KlN4bnL5HGPP+uaPJ N2T3EXok0F8ua+RE+MmievsKUqdb5PgNzFIZqFQ80CGEeZEUKoc9T4EnAR+HyGJ52wra dnEtwRpLOyqP9usZH/6EBHKiIVsHJ1C0zPbb/TaZypTTLuCgGq+GdxK2pN/13jPH8/v6 ZMsFOU+IFtuDWgF3Z7JEdUhrTsGdeorCFTVoUGP8mIocaIsLUYpWKOVyFyfbQxb3KANQ yVyg== X-Gm-Message-State: ACgBeo30OPP0EPpIJra3XNFffVF2CygD1ZMOBoXdUb/gkfwfgabhxbJ3 JPlwxccz3CkrdvrJTr2kaFBVJQ== X-Google-Smtp-Source: AA6agR44+E/liePOSIZSTFuXxRzgwxJb+aWcT5stK1SaSKB7IQQo/JOorZ6imcdLruZUNKfzMndreg== X-Received: by 2002:a2e:a408:0:b0:26a:7a25:bbb6 with SMTP id p8-20020a2ea408000000b0026a7a25bbb6mr2031669ljn.221.1662466630141; Tue, 06 Sep 2022 05:17:10 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:09 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 09/12] dt-bindings: soc: qcom: apr: correct service children Date: Tue, 6 Sep 2022 14:16:52 +0200 Message-Id: <20220906121655.303693-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The APR bindings were not describing properly children nodes for DAIs. None of the DTSes use unit addresses for the children, so correct the nodes and reference their schema: clock-controller, dais and routing. Signed-off-by: Krzysztof Kozlowski --- .../bindings/soc/qcom/qcom,apr.yaml | 38 +++++++++++++------ .../sound/qcom,q6dsp-lpass-clocks.yaml | 16 ++------ .../sound/qcom,q6dsp-lpass-ports.yaml | 16 ++------ 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml index 028c5d105adb..61b010793fca 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml @@ -97,6 +97,22 @@ patternProperties: 3 = AMDB Service. 4 = Voice processing manager. + clock-controller: + $ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml# + description: Qualcomm DSP LPASS clock controller + unevaluatedProperties: false + + dais: + # TODO: Waiting for Documentation/devicetree/bindings/sound/qcom,q6asm.txt + # Ref defined in allOf below. + type: object + description: Qualcomm DSP LPASS audio ports + + routing: + # TODO: Waiting for Documentation/devicetree/bindings/sound/qcom,q6adm.txt + type: object + description: Qualcomm DSP LPASS audio ports + qcom,protection-domain: $ref: /schemas/types.yaml#/definitions/string-array description: protection domain service name and path for apr service @@ -107,17 +123,17 @@ patternProperties: "tms/servreg", "msm/modem/wlan_pd". "tms/servreg", "msm/slpi/sensor_pd". - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - - patternProperties: - "^.*@[0-9a-f]+$": - type: object - description: - Service based devices like clock controllers or digital audio interfaces. + allOf: + - if: + properties: + compatible: + enum: + - qcom,q6afe + then: + properties: + dais: + $ref: /schemas/sound/qcom,q6dsp-lpass-ports.yaml# + unevaluatedProperties: false additionalProperties: false diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml index f83f00737a2f..604861d84ffa 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml @@ -18,9 +18,6 @@ properties: - qcom,q6afe-clocks - qcom,q6prm-lpass-clocks - reg: - maxItems: 1 - '#clock-cells': const: 2 description: @@ -32,7 +29,6 @@ properties: required: - compatible - - reg - "#clock-cells" additionalProperties: false @@ -46,11 +42,9 @@ examples: #size-cells = <0>; apr-service@4 { reg = ; - #address-cells = <1>; - #size-cells = <0>; - clock-controller@2 { + + clock-controller { compatible = "qcom,q6afe-clocks"; - reg = <2>; #clock-cells = <2>; }; }; @@ -66,11 +60,9 @@ examples: service@2 { reg = ; compatible = "qcom,q6prm"; - #address-cells = <1>; - #size-cells = <0>; - clock-controller@2 { + + clock-controller { compatible = "qcom,q6prm-lpass-clocks"; - reg = <2>; #clock-cells = <2>; }; }; diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml index dc7fba7b92d5..5e666d9fb388 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml @@ -18,9 +18,6 @@ properties: - qcom,q6afe-dais - qcom,q6apm-lpass-dais - reg: - maxItems: 1 - '#sound-dai-cells': const: 1 @@ -145,7 +142,6 @@ patternProperties: required: - compatible - - reg - "#sound-dai-cells" - "#address-cells" - "#size-cells" @@ -161,11 +157,9 @@ examples: #size-cells = <0>; apr-service@4 { reg = ; - #address-cells = <1>; - #size-cells = <0>; - q6afedai@1 { + + dais { compatible = "qcom,q6afe-dais"; - reg = <1>; #address-cells = <1>; #size-cells = <0>; #sound-dai-cells = <1>; @@ -187,11 +181,9 @@ examples: service@1 { compatible = "qcom,q6apm"; reg = ; - #address-cells = <1>; - #size-cells = <0>; - q6apmdai@1 { + + dais { compatible = "qcom,q6apm-lpass-dais"; - reg = <1>; #address-cells = <1>; #size-cells = <0>; #sound-dai-cells = <1>; From patchwork Tue Sep 6 12:16:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967394 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 2A8F1ECAAA1 for ; Tue, 6 Sep 2022 12:20:33 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6F44A950; Tue, 6 Sep 2022 14:19:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6F44A950 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466831; bh=cXHOXb//cGCrmJ75tOZc1zbuQ4tKVmRxnpzbZhKbiOw=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lP7znef7b48eKqxwlDr39a6BKaYnhCNdSy3aXzzx/n/DuyU8m6USCGuW4C6mX/G/x /3tvVR7SPzwOZDDVoyPN9/uQB95Br24joYQWXAjS9jRukHW6hQeLPfdJdStAc9LQLy HTYJlkLGJaZGJqSo2OI+NBShJhhqxEDHMtQ36D1M= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A726AF8057C; Tue, 6 Sep 2022 14:17:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E7054F80559; Tue, 6 Sep 2022 14:17:16 +0200 (CEST) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 91717F80558 for ; Tue, 6 Sep 2022 14:17:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 91717F80558 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AhIkh5FR" Received: by mail-lf1-x131.google.com with SMTP id z29so17015735lfb.13 for ; Tue, 06 Sep 2022 05:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=pShykHWoNvg0r3Ewb/OZKB3QYRKzKfqFYZ0KOJ2rq3w=; b=AhIkh5FR6npoShM6uugzD5k9iK7mxV70+HUEAtdloIiU8B9We4/vxf/3jNzSLGnMum gncYJmVW9RdZFnAl85T4DD3LdTSI+uaknLF84FaRenmV5iKZoSEWfeBrAeZ0TG7/qVig PZBzlWPAQWJkeFpfQjslokSDQ69qFYDqFdUX5ywZSlxcEfp6/smXdBcfRy3X+ZhyMYKa ErYhr2dQBl6N2O40vJh8ePzCLF5EkxGqQ/BAXsqOzDiQgi0dUV7rgdHfXM+cY/vLUEY7 pa0X5TsJSyLcTFQbwBb9JRfXK7mhNcrnbfzCtgu/6rPugtabxVcbErnUxSynBAusmM9D U6zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=pShykHWoNvg0r3Ewb/OZKB3QYRKzKfqFYZ0KOJ2rq3w=; b=2G1uQOHmKrB87c8z3Hxq6+pF503P+mKqzF/xZiyHUsXOUrHYclzfRQc8HOX9CPbBBr hZdxNPjOYg5XZ2wnaX2FE0uqRtgiHBA97kf2GZsvuUEZV3MRUTBGlg+db5PCKPjKAR08 stVXXrhMArTLqAMxjXUXIjKKynwPtZMZdqEa51rX3+3eF6G7nYpcIdW7vt0TWIGEADH7 Je2FY8E2jik+sgW2mBHOXCxQbHUa6U8dVDd45Ja70IakIJG4c1yymNgcKcPGWNi+I47U QjudJ7fHLGr7I0TednAa8MAh3/LmJJJUgyLBf1i8WZOwtv4MClwwo6HlVGZDILTQBtrR FSHg== X-Gm-Message-State: ACgBeo22lYjtupv3rT6v5MM2l3px4E1FZqFICLQm1YNu6YcCnemE/myp zMTF/jb37m/srfapf24VgYxm1w== X-Google-Smtp-Source: AA6agR4qr8s28dZedBmuzdp0myoMb7Xb/7ljIivdwwXHXPEKQ4N3LJ7PzASOXM9daVOBYG3plOAM6A== X-Received: by 2002:a05:6512:159a:b0:492:8c61:1991 with SMTP id bp26-20020a056512159a00b004928c611991mr16402938lfb.245.1662466631431; Tue, 06 Sep 2022 05:17:11 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:11 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 10/12] ASoC: dt-bindings: qcom, q6dsp-lpass-ports: cleanup example Date: Tue, 6 Sep 2022 14:16:53 +0200 Message-Id: <20220906121655.303693-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Cleanup the example DTS by adding APR compatible, using proper device node names for services and fixing indentation to 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../bindings/sound/qcom,q6dsp-lpass-ports.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml index 5e666d9fb388..9b5b53d1edf1 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml @@ -153,9 +153,12 @@ examples: #include #include apr { + compatible = "qcom,apr-v2"; #address-cells = <1>; #size-cells = <0>; - apr-service@4 { + qcom,domain = ; + + service@4 { reg = ; dais { @@ -165,8 +168,8 @@ examples: #sound-dai-cells = <1>; dai@22 { - reg = ; - qcom,sd-lines = <0 1 2 3>; + reg = ; + qcom,sd-lines = <0 1 2 3>; }; }; }; @@ -178,6 +181,7 @@ examples: #address-cells = <1>; #size-cells = <0>; qcom,domain = ; + service@1 { compatible = "qcom,q6apm"; reg = ; @@ -189,8 +193,8 @@ examples: #sound-dai-cells = <1>; dai@22 { - reg = ; - qcom,sd-lines = <0 1 2 3>; + reg = ; + qcom,sd-lines = <0 1 2 3>; }; }; }; From patchwork Tue Sep 6 12:16:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967396 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 46458ECAAA1 for ; Tue, 6 Sep 2022 12:21:04 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8CACC15C3; Tue, 6 Sep 2022 14:20:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8CACC15C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466862; bh=yq9WCBsIZLoDQvtgo3Jo4/Rihu5hKZDGcQj1JRgluF8=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=HyIhNzLh7aWrNlEjOppM/CcZc45zvyh1xQIlm+si7k1QBEhFzDKOLxvBxp9HbAMrw BPf7Oxmg2LYneR8A3two1onxwCHDk+JoiIBBMNyCbudivVr/M5Un83OcA7Cx7NvOKv wXg5ai10rpQ6LnlyfQLyu8CpZ7yh0eWY5T2HBYZs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 164B2F805A0; Tue, 6 Sep 2022 14:17:22 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 299F0F8057E; Tue, 6 Sep 2022 14:17:20 +0200 (CEST) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 16B57F8055C for ; Tue, 6 Sep 2022 14:17:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 16B57F8055C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="N139uZEt" Received: by mail-lj1-x235.google.com with SMTP id s15so12075267ljp.5 for ; Tue, 06 Sep 2022 05:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=OEJpYrvp/+MPWaO5UKqFt1HDoLTGd+E143aJwfuryW8=; b=N139uZEt73ijI/qnsX6l3Rn4kYjqI8UgZygHGge6OzJ4TUbW4BXDPLXaO976apXlS1 1oOGpJS8OKu5qhYhd72qh97tSwoMh/E+9PPSk4zmmed7gqoYbFNWk63wTz2s8Ihg771i 7rHPRR0IrcNX3UDAb5FKEqWxHXpJcZtvCY8TGlIIgWhYYjPcrwAvMOJwrcKnvKS5VwHz G/UE3OltGDseWQjPAup9qnJ8GIAQ6NS/u6hJBw9uUpTiNkuAPxqy1Z4SvJadpCxFhdQW q5FOpuiocWaqpo7+GDotvamtnRxI4i3XaQy03ByAzFyyvqvNLiVq2AmJQzhtSdKtAiuD gnnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=OEJpYrvp/+MPWaO5UKqFt1HDoLTGd+E143aJwfuryW8=; b=xJWAZreCLGdomTY+d+Ecu6zr7I47nVJhP7Go4sqz9Z9knJZ0IMOPEpgcqvXwH0YkC+ +/QqRPPVQyxxr4L6HcfsZ4ehf6C1WPP4VKeDVW1BpGqUFVe6cItLqNzYaWuyJyOI/JfM Mbd24FlTzvPV4Ae89p53LNLTPwMBRY8mmu+MCcp7d9ounknSSeNX/Tk7FVzG7/233b4V yUcsvwx9yodLJiLL6z0jFbr4m1D22pTq/NuNIP1jEmuZQk/UHL/BU7V3vsEw33Sa1QlV Pa+FombiklBnyyr2QLjJlSwx3RvCrgvV07Obelp7i0HXAILHWjQL5iuK2CmqqGywe9a6 nlDA== X-Gm-Message-State: ACgBeo0BHHqARdxtER87u+AK2l417aE0Dfj7exAzAKPhG/nyOZrelCCJ q+W84MM50nFqAkwElnq+MGdL2Q== X-Google-Smtp-Source: AA6agR7YrWKYTS92mqGGCKwSsmB3O/NlIfmpKLoq3IaviuVAfksz+FOONLitLdJw1N//UntYXqceeQ== X-Received: by 2002:a2e:b892:0:b0:25f:db66:3b86 with SMTP id r18-20020a2eb892000000b0025fdb663b86mr17029652ljp.79.1662466632760; Tue, 06 Sep 2022 05:17:12 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:12 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 11/12] ASoC: dt-bindings: qcom, q6dsp-lpass-clocks: cleanup example Date: Tue, 6 Sep 2022 14:16:54 +0200 Message-Id: <20220906121655.303693-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Cleanup the example DTS by adding APR compatible, using proper device node names for services and fixing indentation to 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../bindings/sound/qcom,q6dsp-lpass-clocks.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml index 604861d84ffa..1e1114286d3a 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml @@ -38,14 +38,17 @@ examples: #include #include apr { + compatible = "qcom,apr-v2"; + qcom,domain = ; #address-cells = <1>; #size-cells = <0>; - apr-service@4 { + + service@4 { reg = ; clock-controller { - compatible = "qcom,q6afe-clocks"; - #clock-cells = <2>; + compatible = "qcom,q6afe-clocks"; + #clock-cells = <2>; }; }; }; @@ -57,13 +60,14 @@ examples: qcom,domain = ; #address-cells = <1>; #size-cells = <0>; + service@2 { reg = ; compatible = "qcom,q6prm"; clock-controller { - compatible = "qcom,q6prm-lpass-clocks"; - #clock-cells = <2>; + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; }; }; }; From patchwork Tue Sep 6 12:16:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12967397 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 1FDDDC54EE9 for ; Tue, 6 Sep 2022 12:21:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 52B581616; Tue, 6 Sep 2022 14:20:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 52B581616 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1662466879; bh=NimpxDQcRHmBsKiCBw/Z1T9Gjg5AZ1D4dLoTmmbI56Q=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VbqtoJ7VXgR/2Pkj9j8hB3hPOkyKiqG3NMUfiFFDAUZCh9pH1J70eEWnUN9724NYL DDDWh02522lqpwLsDWv3fJEs1ioBCwSQUG3JA50owtjkqOML4Fhnt64+K8SuKHUrjf CkB3VYF4FWxikPHU7IApakfYX7+z81TtkflfJjHM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 88B24F805AA; Tue, 6 Sep 2022 14:17:23 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 57148F8059F; Tue, 6 Sep 2022 14:17:21 +0200 (CEST) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 24CEDF80571 for ; Tue, 6 Sep 2022 14:17:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 24CEDF80571 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ugvZDhjw" Received: by mail-lf1-x129.google.com with SMTP id f11so3065775lfa.6 for ; Tue, 06 Sep 2022 05:17:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=2dRasoeQYKD9lUuxkX3Pwyaj6+42wbyoBHrZ4mafH0E=; b=ugvZDhjwi+o/CKjP/IouRer9hsKQE/IShwDJWX2GVCE0PsTYTc8kggr3pxLqnmLddt 6lm897j+lI3p2SvZIESDsd7EVSlDuQaFn+mSAy5zMux387PBcHci3kEobDhY7RkLEjJ1 zJTC2yoRRCGzJMxTwoRztiMfSYDv6Kdd22WUOFGBkqH0/FcRf1cBg/e/Lw5Jcw/w7m1B UBJ+VSCJnNVnm6dQVEdzzu3GquO0DRL002Mj+0EO6MNNGFBSzB+tF5pkV0eAVPTOavvN YrIZxDgFHe88J0d7DNGy981BzjJE6dd68PguQT/6koo30iWg8sI0AtwbGyBDeveJpKMZ aW7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=2dRasoeQYKD9lUuxkX3Pwyaj6+42wbyoBHrZ4mafH0E=; b=A3zIgbwkq7ehIHoOTKt0GmWLjxNGO1s1PhmDOJOiceKEphfZEn9clsDjXcsQiJgHIV 9CLRbMOYY8HU08o9SlGq3XzfyfZYfupopgadXa1wpncnmJpjxeyoaZpfPM01pl7iMJTU CCA/rWBAPryw9tr70LVBiXzBwAduqkXdEOu/56cyDScDrPgWYi0Xu3JL5g95Du2XrWSt vNcA1RUnCexzQZkCzwxKCIbvG72yTV4ixQGbZq/MUz8jYDtO71rMQiKDhOM161DOmPdR 3qrtzj9lr/VhFfbXMa5OOExyt9Mb7xwXK9tXX5m+bWYKy/CExL3lNPRYBvjHWno23ZIN mi7w== X-Gm-Message-State: ACgBeo1P1wvVT7gaiHuDPPNxlFbuDLBXrWWsI/VYq/tmvGyRNs1kbBwM /vll8QJU7KbpKvf6oRQl9n6eMhZ/eGAcCg== X-Google-Smtp-Source: AA6agR5uRpN2fHqICsz6h6L0l+NvT3OMWQHWviqg02DAMxCixLCtyjK14itmG3vaM0ZZDnwo4510og== X-Received: by 2002:ac2:5d6e:0:b0:494:8b61:f778 with SMTP id h14-20020ac25d6e000000b004948b61f778mr9182527lft.568.1662466634204; Tue, 06 Sep 2022 05:17:14 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u17-20020a05651c131100b0025df5f38da8sm1882802lja.119.2022.09.06.05.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 05:17:13 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 12/12] dt-bindings: soc: qcom: apr: add missing properties Date: Tue, 6 Sep 2022 14:16:55 +0200 Message-Id: <20220906121655.303693-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> References: <20220906121655.303693-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Cc: Krzysztof Kozlowski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The APR bindings were not describing all properties already used in DTS: 1. Add qcom,glink-channels, qcom,smd-channels and qcom,intents (widely used). 2. Add power-domains for MSM8996. Signed-off-by: Krzysztof Kozlowski --- .../bindings/soc/qcom/qcom,apr.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml index 61b010793fca..9d8ab28b7ea6 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml @@ -20,6 +20,9 @@ properties: - qcom,apr-v2 - qcom,gpr + power-domains: + maxItems: 1 + qcom,apr-domain: $ref: /schemas/types.yaml#/definitions/uint32 enum: [1, 2, 3, 4, 5, 6, 7] @@ -52,6 +55,26 @@ properties: 2 = Audio DSP Domain 3 = Application Processor Domain + qcom,glink-channels: + $ref: /schemas/types.yaml#/definitions/string-array + description: Channel name used for the communication + items: + - const: apr_audio_svc + + qcom,intents: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + List of (size, amount) pairs describing what intents should be + preallocated for this virtual channel. This can be used to tweak the + default intents available for the channel to meet expectations of the + remote. + + qcom,smd-channels: + $ref: /schemas/types.yaml#/definitions/string-array + description: Channel name used for the communication + items: + - const: apr_audio_svc + '#address-cells': const: 1 @@ -141,6 +164,30 @@ required: - compatible - qcom,domain +allOf: + - if: + properties: + compatible: + enum: + - qcom,gpr + then: + properties: + power-domains: false + + - if: + required: + - qcom,glink-channels + then: + properties: + qcom,smd-channels: false + + - if: + required: + - qcom,smd-channels + then: + properties: + qcom,glink-channels: false + additionalProperties: false examples: