From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1148BC6FA83 for ; Wed, 7 Sep 2022 10:17:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230489AbiIGKRY (ORCPT ); Wed, 7 Sep 2022 06:17:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230365AbiIGKQ6 (ORCPT ); Wed, 7 Sep 2022 06:16:58 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65807B8F11 for ; Wed, 7 Sep 2022 03:16:07 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id u18so9364033lfo.8 for ; Wed, 07 Sep 2022 03:16:07 -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=I+Cj5rW1qPBHDkQI4vuAbqESvVL5430WmrKXOMhCHDY=; b=zw7LF+v/GSLMvrb4j4VoXsv5Ndiyq17UrNjLf6ZHflRLbgAEm7sK3GcwD0JMS/OElJ 3/OYfsGF/OiEcF9c/1CN/H8hvQnGdzhmF6geF/7yqi71PP9SF/ukFEZP3f1dfEwTo98z gpYpl1l+vr3g3k1s79HybNOQtaDKMUhUrmmZV9AH9IY65XFQ9Xgyz127hmEW1VK2DO4W f4zw/5dR/IzUII0RjLirDuBLqHxWty2WAEWM9fD4Yqb23BBqgtIXqCVDmZzexmB8CoCj q2APQ0q1LHNAt9nn8l/Q1w9BmlWVz0jRgWpiqIEjIbZ4LEkzUx2HzUqvN/n5rJcK0ewQ h3xA== 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=I+Cj5rW1qPBHDkQI4vuAbqESvVL5430WmrKXOMhCHDY=; b=q58eiOWK0IgEBK6T0h5T40bvSyRWSrvPde8OYTXVwwp3z3PpLoGaulGNysJcgOso0L 0Jtrfvuih/3QZpcpLACNMNB/aAguCqIIml9VHUGDTAn6ZgScbzaI27qODCPkOsGLTuF7 IRcSPT/bdznf060H6RdgMfd/GVjUUFxFx+VMoFy298FeeZLZuk0bLRh6xkok/j4XdqRI Ghu5Nv0zx4yTsTFfRQ9sNspBcNudBRAsHcSzxWYmRhTPPs8GPmf7CYQ4W5dv2l0eamd8 mNu1JZjns5qN2gx2f8JUK9KzKDFM76UOrSZMz0+xxvOBrYjkSrEwxQO7u5jpSRYMqs4n tgxw== X-Gm-Message-State: ACgBeo0L23gZprurHOBpAw0sWkAIvdWJoAHLRZl+yhh+ZRJM9UvRiJHw UZWnLQ+rVQUKy/SYK58RliZMOA== X-Google-Smtp-Source: AA6agR6awmhGQ57KqfVEWjXn9QT2nqWu9hWZ169t7LkCnwnlpe3HEgAaREW54MCDCv35aCRH3s/VmQ== X-Received: by 2002:a05:6512:3f14:b0:47d:e011:f19b with SMTP id y20-20020a0565123f1400b0047de011f19bmr826474lfa.427.1662545765991; Wed, 07 Sep 2022 03:16: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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16:05 -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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 01/14] arm64: dts: qcom: sdm630: align APR services node names with dtschema Date: Wed, 7 Sep 2022 12:15:43 +0200 Message-Id: <20220907101556.37394-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" DT schema expects APR services node names to be "service": qcom/sdm850-lenovo-yoga-c630.dtb: remoteproc-adsp: glink-edge:apr: 'apr-s= ervice@3', 'apr-service@4', 'apr-service@7', 'apr-service@8', 'qcom,glink-c= hannels', 'qcom,intents' do not match any of the regexes: '^service@[1-9a-d= ]$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Srinivas Kandagatla --- 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/qco= m/sdm630.dtsi index 9ae6610af93a..3cd1f40b44fb 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -2224,12 +2224,12 @@ apr { #address-cells =3D <1>; #size-cells =3D <0>; =20 - q6core { + service@3 { reg =3D ; compatible =3D "qcom,q6core"; }; =20 - q6afe: apr-service@4 { + q6afe: service@4 { compatible =3D "qcom,q6afe"; reg =3D ; q6afedai: dais { @@ -2240,7 +2240,7 @@ q6afedai: dais { }; }; =20 - q6asm: apr-service@7 { + q6asm: service@7 { compatible =3D "qcom,q6asm"; reg =3D ; q6asmdai: dais { @@ -2252,7 +2252,7 @@ q6asmdai: dais { }; }; =20 - q6adm: apr-service@8 { + q6adm: service@8 { compatible =3D "qcom,q6adm"; reg =3D ; q6routing: routing { --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94738C38145 for ; Wed, 7 Sep 2022 10:17:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230033AbiIGKR3 (ORCPT ); Wed, 7 Sep 2022 06:17:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230369AbiIGKRB (ORCPT ); Wed, 7 Sep 2022 06:17:01 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9072FB8F23 for ; Wed, 7 Sep 2022 03:16:09 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id i26so5933010lfp.11 for ; Wed, 07 Sep 2022 03:16: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=8QkNF8EHcAEMbV0p0CldmJdisF79bfeyCTRVHy2ZadQ=; b=AT/9rjiALq4axC819gsn6/Nazj3lemyc6pePeYxp9VIO3dQ1aKy3xqyPEDqQ2H7f/s cCSZpsW0k423aaXO5jGpNJISvDZ5I1W0tRBAExb8rL8ve7rbkhtVBlDsvVtX1IHG5Cfw LZzzDiDKKAuigd3xi9QPQhZiplGFJWrXQ1OI3AlqRsO8+ATDcsSLgKoHtMcl8ZO9U1A6 G7v3VBX4GpFfjRITnCl+G6MtFxN49OCkP3xkNEpJQT7CUb+1BII8KxPRQBMVT9pSVlrm J4zq476YmHyKaw45OFFbzwts/1/am8SRwcsBva1+BO+60JCtke30J+imMVbCG/TUMqWi 1wVw== 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=8QkNF8EHcAEMbV0p0CldmJdisF79bfeyCTRVHy2ZadQ=; b=ujKQXpOdcW9KNyLaDg78xq2usRSvpYHKD/p0Wx0cb1wj/xxEoyDv79CEopfqUrES4a pq/Ntowf3DfaHmukn4C9l5ZeQp7s2UnNKiAse1rB7kezTdKzRWYsdR5gm5uHMXyNMCvH OFJ9Xe6lspK8pyjnXTc4sc8BURN69SrrR+oYqlFtyk2hpF/cWp2ke6RbukcHpO+N43vb ahd/bJHQT1e/ioDNKiCfwAQsEgVVu63tNUXsUf/qk8716zvt9Xn3waw1U2dxX2LoqiIH WQYPJ+TpF0q+clrf5BmVQ3bmMP2InBSXMcMaLUsv1jdfGiKlAdnaFmTrkHh/qCFmHqCn qciA== X-Gm-Message-State: ACgBeo21fAzjITXfB8N6KXaM5vedhoTkKo6cgg+NMeYpnI1IOYczSR0D i86ws0TwaqY53J6XPpsVjI0uxg== X-Google-Smtp-Source: AA6agR5LmZKga4iWytzN3ERlPtDAjjyhJOYh+OiKqcsYZw1SEjnzH86sfehXmLXrTJKzwSHQUhf2lQ== X-Received: by 2002:a05:6512:3f19:b0:492:fdaa:b535 with SMTP id y25-20020a0565123f1900b00492fdaab535mr796161lfa.267.1662545767357; Wed, 07 Sep 2022 03:16: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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16: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 Cc: Krzysztof Kozlowski , Steev Klimaszewski Subject: [PATCH v2 02/14] arm64: dts: qcom: sdm845: align APR services node names with dtschema Date: Wed, 7 Sep 2022 12:15:44 +0200 Message-Id: <20220907101556.37394-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Srinivas Kandagatla 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/qco= m/sdm845.dtsi index 347c3abc117b..627e32515d29 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -767,13 +767,13 @@ apr { #size-cells =3D <0>; qcom,intents =3D <512 20>; =20 - apr-service@3 { + service@3 { reg =3D ; compatible =3D "qcom,q6core"; qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; }; =20 - q6afe: apr-service@4 { + q6afe: service@4 { compatible =3D "qcom,q6afe"; reg =3D ; qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; @@ -785,7 +785,7 @@ q6afedai: dais { }; }; =20 - q6asm: apr-service@7 { + q6asm: service@7 { compatible =3D "qcom,q6asm"; reg =3D ; qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; @@ -798,7 +798,7 @@ q6asmdai: dais { }; }; =20 - q6adm: apr-service@8 { + q6adm: service@8 { compatible =3D "qcom,q6adm"; reg =3D ; qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26B1CC38145 for ; Wed, 7 Sep 2022 10:17:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230516AbiIGKRo (ORCPT ); Wed, 7 Sep 2022 06:17:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230372AbiIGKRB (ORCPT ); Wed, 7 Sep 2022 06:17:01 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C08DEB8F30 for ; Wed, 7 Sep 2022 03:16:10 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id a8so85524lff.13 for ; Wed, 07 Sep 2022 03:16:10 -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=751surAPxPI7nKu0MMgW0W0B94zgA9MhkjYrnO7nGnI=; b=o5d+FdZnHGKmhZkD13oEr5F2G7/5qQRMGIc/xYqsZnha5sQxzrPVMX8IVbRTOKbcxw OAomQ+Q2KiUCOBAijRgd8owZ2Wc1aWPqqMusrNIYCPHkRrEy+m0NGndmwxFPYFV1zi1Q xN4/jxTG0tzd9/FdscLVJofV8cfq92yVgM2vsyL+U3qznumg0+2pZllHn+EH7KmkP6m+ ih0hmX98sQVmXnYZ0dWgAC0/4s+/IYCCxVkhWv2R8eCKovkjAAyBIjq3KcuIFH9oJlF7 ZYKNmHoWudAgOgpkWpR2+9zPqr6ZHpeqEyKgC7h64hDjsDetrjXqQPFs7zlQZavgITJG Z0aw== 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=751surAPxPI7nKu0MMgW0W0B94zgA9MhkjYrnO7nGnI=; b=XWIvOHyt4p65Fi9vTpBxeC7ASGuEZx6HipOURXKDayINPdscpU/SEpU7USikufU6ib uevFew+qoRqR/XTzvW7wI4Ueu+1bcLRS29c/hRDgWnk72DC0WWyKp871pJ030Pn9E8Er 0KynvR1FyLs6e8UwS4i3pAIAMKt8XkxB1SwJsoql7J65VDyi+H9ag5z6xkNWgPKIf034 j/ouhA5od3hCnFNjlpgwZDmnyI0cgdxksc0S7gYqWWJXLA9wHMgVnVfjLXjZi94aOmim hq2fTql6VpYnQbcqxzkTXx4QskiNuEjsP4Wo3yNVdDBsrzz8Bu0KGnX7Hx9r3ReaFlaq ZiVA== X-Gm-Message-State: ACgBeo3e7P34z8KIUpX2gd1wVlB5hiKi7JNx9vJTBTYKUiZMQPmPYcHt 42nciSvZOI3WQZwmn5sbBRY3fg== X-Google-Smtp-Source: AA6agR7C/OFIpW9w94tqGiShtUWVPncRPvTDDLGRPNEnmp5S+qRQa35ahQen3VhMVvQmjiaL71XG1g== X-Received: by 2002:a05:6512:3502:b0:493:e21:b77d with SMTP id h2-20020a056512350200b004930e21b77dmr843355lfs.580.1662545768897; Wed, 07 Sep 2022 03:16: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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16: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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 03/14] arm64: dts: qcom: sm8250: align APR services node names with dtschema Date: Wed, 7 Sep 2022 12:15:45 +0200 Message-Id: <20220907101556.37394-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" DT schema expects APR services node names to be "service": qcom/sm8250-sony-xperia-edo-pdx203.dtb: remoteproc@17300000: glink-edge:a= pr:service@7: 'dais' does not match any of the regexes: '^.*@[0-9a-f]+$', '= pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Srinivas Kandagatla --- 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/qco= m/sm8250.dtsi index cf5d65940174..84b4b8e40e7f 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -4782,13 +4782,13 @@ apr { #address-cells =3D <1>; #size-cells =3D <0>; =20 - apr-service@3 { + service@3 { reg =3D ; compatible =3D "qcom,q6core"; qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; }; =20 - q6afe: apr-service@4 { + q6afe: service@4 { compatible =3D "qcom,q6afe"; reg =3D ; qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; @@ -4805,7 +4805,7 @@ q6afecc: cc { }; }; =20 - q6asm: apr-service@7 { + q6asm: service@7 { compatible =3D "qcom,q6asm"; reg =3D ; qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; @@ -4818,7 +4818,7 @@ q6asmdai: dais { }; }; =20 - q6adm: apr-service@8 { + q6adm: service@8 { compatible =3D "qcom,q6adm"; reg =3D ; qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B1DDC38145 for ; Wed, 7 Sep 2022 10:17:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbiIGKRh (ORCPT ); Wed, 7 Sep 2022 06:17:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbiIGKRD (ORCPT ); Wed, 7 Sep 2022 06:17:03 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2935EB9412 for ; Wed, 7 Sep 2022 03:16:11 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id q21so7444315lfo.0 for ; Wed, 07 Sep 2022 03:16: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=hnmXzvjIzn/KGbEWap9g0ZuckOp+5W2/ARJz1gMjBQE=; b=F+T18O7i1RR3RmnLodjnbrXR4Ld1HD4FYmpTjxTsAKaHH8c8XtjwcUOmyQba73z37w CQDItukJUP65Qdg0f2pXpHgPuv0MYhPsYwwx+tswenTByeHg6S+VI1tNl6A3eYRK8RxQ dkr2i2BZhFDNmfqITk+OXeaIhC4teIpEv2Dc9CNaXP0n07RsXrlLkxwU3f0FLhJbWL5L 0ddmgoCM/boRUTLDHQTg8lhjQerJ+EMvZWBqIm7GzkCQu0bqjwJD5phi3I/Q4iR4rMM5 Z2crU6iRdflUza1bi09FoWMotYFWeZdPN4f/jT/bBX8Ror6Rb+1cn9VC4E0X5pXC9g1k LlLg== 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=hnmXzvjIzn/KGbEWap9g0ZuckOp+5W2/ARJz1gMjBQE=; b=NlRkSCh4yBkv2rnS4uZcKjICB2iY60kVNJ13kvYWPfZR+RUVM4YZ//hs78FrQwMXTS xglqtN0ScIbZw0EE0Q+Hp3jO4dUUg0ru74x0m0bMExx4+Hz8lYR3eRdlWfQkzSW392yB 2B17xP5VO5t0Qx66CfL0Cpx9FvCxeScpAuWC/ZrPMCbjQoEJGXV8Ub6YNq5qI2PCnBM9 +1SRq3QFR9inn3uAz6Tv12EqYhDmU9fRg1hYK0AFLZ6Qe8nnS7GBLR7aGkV2bA/j/fjQ NVC/rdjc14U07g4SiD9jiKvFm6RK9EJyIoVGL1gyawfHMjFUdGg1tSrIFnrY+14Pt+G7 GPWw== X-Gm-Message-State: ACgBeo3yKgafGABcvEqBIf3HtA6gfGalmT8fP6T/UnLS+1fSGp5DTJyu LOF3o8FyeAjbaYDnt9J6kuvPbg== X-Google-Smtp-Source: AA6agR62nrQ6HPltqeNhqkdVFoggD8qRZIG68KGK6gXuvRJCmVSgv9rIlppYQJZP7PeYZi5RbQESIg== X-Received: by 2002:ac2:4f02:0:b0:496:d15:ea89 with SMTP id k2-20020ac24f02000000b004960d15ea89mr827601lfr.69.1662545770290; Wed, 07 Sep 2022 03:16: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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16: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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 04/14] arm64: dts: qcom: msm8996: fix APR services nodes Date: Wed, 7 Sep 2022 12:15:46 +0200 Message-Id: <20220907101556.37394-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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-9= a-d]$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Srinivas Kandagatla --- 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/qc= om/msm8996.dtsi index 1e6b70582866..abc17c905bfe 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3389,12 +3389,12 @@ apr { #address-cells =3D <1>; #size-cells =3D <0>; =20 - q6core { + service@3 { reg =3D ; compatible =3D "qcom,q6core"; }; =20 - q6afe: q6afe { + q6afe: service@4 { compatible =3D "qcom,q6afe"; reg =3D ; q6afedai: dais { @@ -3408,7 +3408,7 @@ hdmi@1 { }; }; =20 - q6asm: q6asm { + q6asm: service@7 { compatible =3D "qcom,q6asm"; reg =3D ; q6asmdai: dais { @@ -3420,7 +3420,7 @@ q6asmdai: dais { }; }; =20 - q6adm: q6adm { + q6adm: service@8 { compatible =3D "qcom,q6adm"; reg =3D ; q6routing: routing { --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EE74C54EE9 for ; Wed, 7 Sep 2022 10:17:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230422AbiIGKRs (ORCPT ); Wed, 7 Sep 2022 06:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230273AbiIGKRE (ORCPT ); Wed, 7 Sep 2022 06:17:04 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43B80B943B for ; Wed, 7 Sep 2022 03:16:13 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id bt10so21696484lfb.1 for ; Wed, 07 Sep 2022 03:16: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=F43WJbqoo0esyv4lpLD+5bCe2x3EVG4sANVKIPN1Vsw=; b=xmlzZQbf2DMgztOnWPFp/6TwUKd3NbdkQa8CHOpJ2iixaJ4Uu/bk6096xO4EccdW15 6YWzSmXT7CzsDWAhiAF1/CcMHUDhrZdvk+H1IrLalrI5v6+pzq0r7pyvyahAF7Tvb57z Pr72/vKvhce3sJvxlFqASqDmJAVVneFibznMkrF67NPqnpe2Lh1pj34YI6XVvIx15zAT wwYBJremev6MpWlF+qGsVQj+kmRH6RsOhEJx1bNoXeVx4BGgfi6MDvI1L0ahlLuYAlUS ANzEpt/3CvLIPrjRXLbByvsDLwqM5r7zevgdERJX7OBHhq8F6Dm+ta2Ar/VqeVmF4Fpt I44Q== 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=F43WJbqoo0esyv4lpLD+5bCe2x3EVG4sANVKIPN1Vsw=; b=aeSXd50lWGLsgUAcxvtEzGDDfZnx8ZgbSvePIwhcicaKik39PUVYru2UgSNMVeqbvG 0509fQTFvuhK3qSB5jiYcrukCl36rSUVdD4eZlTY2cgGY39jv37Rap6Il7VbBuhIBN7v DUB9NpIBpkDm036lelcBVYCVYoar/hYdUKpC0kqvSXpz8ud/kuVRnMpiGZjAtcTWnFNG x8m057ifz6JIz4tbJkOKpaVVc3W9OAmzABx8pdWhtXuMa/u+0s9yjU9i9wNxms5MkOtH p+5WlQlrITAQtgI+EsauBOge33RllQy6w+DLD1aG9gE6evd4xVSuD9bPGBhqEPmPHR60 TNmA== X-Gm-Message-State: ACgBeo3dzeWfgRAvslzWtD1GZ1bsIkJrNJNrLEmuRufR2NCR1JHdhsdp lE2zGTo8SEX5ZDbal0ClxYUtqg== X-Google-Smtp-Source: AA6agR5VL/ZwHN2b5TbucRKB9Js8Zl0vOY56ths98uuXeYrnYhwNQYSjRcmNdYu7vJiOf4PTL9h5Gw== X-Received: by 2002:a05:6512:10d5:b0:494:b495:6c5b with SMTP id k21-20020a05651210d500b00494b4956c5bmr836003lfg.388.1662545771565; Wed, 07 Sep 2022 03:16: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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16: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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 05/14] arm64: dts: qcom: sdm845: align dai node names with dtschema Date: Wed, 7 Sep 2022 12:15:47 +0200 Message-Id: <20220907101556.37394-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" DT schema expects DAI node names to be "dai": qcom/sdm845-xiaomi-beryllium.dtb: dais: 'qi2s@22' does not match any of t= he regexes: '^dai@[0-9]+$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Srinivas Kandagatla --- 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/d= ts/qcom/sdm845-db845c.dts index 132417e2d11e..2110a5893149 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 { =20 /* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { - qi2s@22 { + dai@22 { reg =3D ; qcom,sd-lines =3D <0 1 2 3>; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/ar= m64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts index 0f470cf1ed1c..68e2a07a01dc 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 { =20 /* QUAT I2S Uses 1 I2S SD Line for audio on TAS2559/60 amplifiers */ &q6afedai { - qi2s@22 { + dai@22 { reg =3D ; qcom,sd-lines =3D <0>; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts b/arch/arm6= 4/boot/dts/qcom/sdm845-xiaomi-polaris.dts index afc17e4d403f..4f6f1ce7286c 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 { }; =20 &q6afedai { - qi2s@22 { - reg =3D <22>; + dai@22 { + reg =3D ; qcom,sd-lines =3D <0>; }; }; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E5EFC38145 for ; Wed, 7 Sep 2022 10:17:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231131AbiIGKRv (ORCPT ); Wed, 7 Sep 2022 06:17:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbiIGKRG (ORCPT ); Wed, 7 Sep 2022 06:17:06 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2F555007B for ; Wed, 7 Sep 2022 03:16:14 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id l12so6949715ljg.9 for ; Wed, 07 Sep 2022 03:16:14 -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=/UI25rqJUxEZV+KxQUPmeT2zHV2+PmX8LADJ48o6xoo=; b=QUayBXXXQQifaUr7SvEteJ9XjlPDTTT66Q4Cr4Y2pFZe8xZ2d254ZvhSiA9kRb49ld McwmwvCp3p8Tuw+ECr9s5WhumW+6i/VW8oPQ1uhAkTr3/xrUvkCtjBUyW6vkFlI9bDnV 2WzYIUtI/SQmLTiZnq9dZPqKalruCfa74SFxABL50QhOCNsREOGMEHfwkptLLyqX9X3A 9JWRuj+r9Z7zGAjLKvB4+mloxi6JkHw8oCGOrRx9jtyPgimyBiWG66gPImowHdFBIGla Qc5lqJnIrd37Bi8Osls7UaxBhfZKA7iKmN4bkQl0Vgrr5gkXSVfXWbKl3UAFaZBrQQfc IeHQ== 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=/UI25rqJUxEZV+KxQUPmeT2zHV2+PmX8LADJ48o6xoo=; b=7Wlyv9bqHZgJJl4IZ2yduZ012iUai2jH6PdaiaPuDA3ZoS3DixP9BEcGFr0PYQdMVa nAoNZxpdDyYIPODrtg25ac+xfzubSpCUGbts+UswNDbxKrNeWJTO0GATLGZUwy+oBe75 2dBBByIO7Hb/0k9h2FxPqhAxBzVl7L4QsKkW1huha5horw7S6fGYk1bz+R1ReZSR5jaM hzKaT4glwW+SE5u7hN5QNtJHJGWvfxoZPlbLtN1KkgYrh7swcXShaK5mgp85alLQMqf2 O81ZZ7BGQuSdWAlF+FIGPft1oLpXYavc/o2D6IAOUGnHBALcpCUiweYC1GOuyU9Dxtgk EO+Q== X-Gm-Message-State: ACgBeo2aDGI0PDCMfx7jgKsTaQKliun2uypj1QbAcVO3mlv24QJG21MX o/AQujRa/WJXiKvj417baRQknA== X-Google-Smtp-Source: AA6agR7nOIzZhNtvn8sRXKUjNyuxZEtUpULEKTr10PqSzpitYQCe6cmjzcxlGYW/+BV7LVNfZ/LOeg== X-Received: by 2002:a2e:7314:0:b0:26a:ca18:60eb with SMTP id o20-20020a2e7314000000b0026aca1860ebmr708771ljc.69.1662545772937; Wed, 07 Sep 2022 03:16: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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16: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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 06/14] arm64: dts: qcom: msm8996: align dai node names with dtschema Date: Wed, 7 Sep 2022 12:15:48 +0200 Message-Id: <20220907101556.37394-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Srinivas Kandagatla --- 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/qc= om/msm8996.dtsi index abc17c905bfe..b346ecccb94d 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3402,7 +3402,7 @@ q6afedai: dais { #address-cells =3D <1>; #size-cells =3D <0>; #sound-dai-cells =3D <1>; - hdmi@1 { + dai@1 { reg =3D <1>; }; }; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A5EEC38145 for ; Wed, 7 Sep 2022 10:17:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbiIGKR4 (ORCPT ); Wed, 7 Sep 2022 06:17:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230444AbiIGKRG (ORCPT ); Wed, 7 Sep 2022 06:17:06 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E477EB9401 for ; Wed, 7 Sep 2022 03:16:15 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id w8so21619906lft.12 for ; Wed, 07 Sep 2022 03:16: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=Om7NL/8n/AZHbaNF9gisHUFy/iTMOZIGCGU/AWMpqjM=; b=yyAR2FSMXExBEjSTTnE4d1l2buPFXE01QRADkyhDi8maXkoZlKZyrO7jjGT+L5phcO n7//Hf2E8pDi3V/tJAPZm750UgCYUJGI8QA21af1x4WdzKM6IGDayxT5kJQFtQ24O+ub SQDbNGrlEsPE3lW0RtF0CPdNw0xtowKc3Z+46BO/HGx4g+VEg/bENKWOmqfutjF6KkBD gK7174juoMdDenx5rMydLULD4DC7AJD+a1OIrqYNKFh9vicpQAzRrqyH4yE1FV0B7Vfi 7EFx3DjH02YE/qGXN/CWjPonfpcmz1SzWKBVXKjlEjlJG/0dVgOSR60PXFR/Yee7TnKp y3Ow== 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=Om7NL/8n/AZHbaNF9gisHUFy/iTMOZIGCGU/AWMpqjM=; b=uycwZeSlnNeMl4FYbff6kRAIdf40n8iRx5Aou5IjFLnHG8nBR62NF/fpcL8q2YymAg tk1HicnP+JT1kn1lu4RnHoC8lsViF0IgNVdC4y2OkU6AaZlkWbtvmKnlNZ5DuBXcJpcj 0ZMOUzUEAcZESSzxlm6BiXvPYdbVQSb6x8fGsM1jHqedOdn1SqO794V9yXZmi72ae+SC WAt7vE0aTAg02tG7TyyA+m7JHEbRM8rxuH1QBI7nRjzwQm86GETTWpea6OHg9Jfb8VHc 1iHp5MeyOOaziN8UDUPajenATKlfWzOJQLjRq8FbxsRPjjVJOho2cfm4fMcTFoQCb6Dn 1nvg== X-Gm-Message-State: ACgBeo0ZDboQ6Eh4pdxtWcM0fY1EEvraOP/KUe/iJQha9EKCiae7sSOO JywP2QDsCQW705dT7JVfEo4zkKhI8ULyVw== X-Google-Smtp-Source: AA6agR6DqunZMTRvl5zpTEvufNILFw4QbyDoI1vitKQ0AOW8Zi5cVHd/bo8dqxmmVcUIK5w3JMXU0g== X-Received: by 2002:a05:6512:1683:b0:497:a6f2:1ae5 with SMTP id bu3-20020a056512168300b00497a6f21ae5mr874533lfb.7.1662545774311; Wed, 07 Sep 2022 03:16: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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16: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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 07/14] arm64: dts: qcom: qrb5165-rb5: align dai node names with dtschema Date: Wed, 7 Sep 2022 12:15:49 +0200 Message-Id: <20220907101556.37394-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Srinivas Kandagatla --- 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 { }; =20 &q6afedai { - qi2s@16 { + dai@16 { reg =3D ; qcom,sd-lines =3D <0 1 2 3>; }; @@ -875,7 +875,7 @@ qi2s@16 { =20 /* TERT I2S Uses 1 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { - qi2s@20 { + dai@20 { reg =3D ; qcom,sd-lines =3D <0>; }; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6F9AC38145 for ; Wed, 7 Sep 2022 10:18:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231142AbiIGKSG (ORCPT ); Wed, 7 Sep 2022 06:18:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230446AbiIGKRH (ORCPT ); Wed, 7 Sep 2022 06:17:07 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49FE7B8F2E for ; Wed, 7 Sep 2022 03:16:16 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id m15so2003270lfl.9 for ; Wed, 07 Sep 2022 03:16: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=rD7nUjrvSdRKK26SnCtib57c+ip99Bt4hzrz7aSHTO4=; b=Sf1qMEHpMyvMOM726UPwmd4tFRVkWl14QmuLSPwXcWWckFo9iNstALB59POadIE3u/ F4z6QMTShCXZaeHZaFD4RKl2hlR7sNGnoBa5+8K7+ZFhEBx9neK7x13pTAbYvQeS232w 7R+ZoQUBb2u+2ZUQpdjN2u7ejl8F4+rI0uxB6f6Z4ev9OJLKIzSw8UPB/4KAR99ad/o6 EZtlx09RAjYbxIODMUR9TrydowX1NenVtzRJZ2fA7I9z9xOzOToR4+92ckfskb5xIy9E pC5ayOZDuvvQ9LhpNihN4Bknw/MZVX5C3ayd1eMT+JS3+zKXteUg61uhzMrlufgMWLvf xU4Q== 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=rD7nUjrvSdRKK26SnCtib57c+ip99Bt4hzrz7aSHTO4=; b=Anr1IzroWpFtIScUrjmyYmHXo6S4gDakO0gFFthJRQxd5ihQ+IwCGZVTnLO8yo2qyg UJsEHbSE/DUjyGYhtiACTswoiDGM2oZgT94zRXT769+GYEEQ7pD8zpiIsJGJftjqgzpm 0aBdTEXtg3wkAyM2dHc2x4qCcYNYm62phRkABcMpnI2eYtBP241sJmb5zBIPtCnMnHze s0VaKgnPBxob3l5gJFfSuYrOkQRkwEKFe76iuk6qcVR4TNejlUjM3MZ9i5HXrNHe0qSU 3bQZZU/3OE5ZKGPmILVbVLapaa4hMGqmWn+qvHOZOc8OAmQ6dCEeTgzvJP4u2ptE437b nTTg== X-Gm-Message-State: ACgBeo2Y4XRdn+jg8npvLp7QBR73RQYwNFRFX2kZGCfEFEo3A9YbwhSr w0wrU6zRTccTVa4WIGCFq0CyIQ== X-Google-Smtp-Source: AA6agR6tnZ/eDnpRKASnvAO3rT5c8S19KCAhnPnR8bkNHZdmAwUtPsbo7BPBgbJoF2jBYLWQZCUFYQ== X-Received: by 2002:a05:6512:ad0:b0:497:a620:157d with SMTP id n16-20020a0565120ad000b00497a620157dmr941660lfu.643.1662545775597; Wed, 07 Sep 2022 03:16:15 -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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16:15 -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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 08/14] arm64: dts: qcom: sm8250: use generic name for LPASS clock controller Date: Wed, 7 Sep 2022 12:15:50 +0200 Message-Id: <20220907101556.37394-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Srinivas Kandagatla --- 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/qco= m/sm8250.dtsi index 84b4b8e40e7f..6ee8b3b4082c 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 =3D <1>; }; =20 - q6afecc: cc { + q6afecc: clock-controller { compatible =3D "qcom,q6afe-clocks"; #clock-cells =3D <2>; }; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F7C6C38145 for ; Wed, 7 Sep 2022 10:18:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231150AbiIGKSL (ORCPT ); Wed, 7 Sep 2022 06:18:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbiIGKRJ (ORCPT ); Wed, 7 Sep 2022 06:17:09 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF2935A2E0 for ; Wed, 7 Sep 2022 03:16:18 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id f11so7658186lfa.6 for ; Wed, 07 Sep 2022 03:16:18 -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=gkNG+qHcrxb6dHeMWe1c0FIspCIqhs0hG0rU1YpvATQ=; b=s83OHZJoA4t36RGSXtm/7aHzlM/OXF8ldYpfRpox214Y6tSCM7GwXrfgT49cnokNWk EuBkHCAPX3OPaz9wwqtQk9D2waxBNUZyQKUNMn3aNCVmMv3HDrj/HOpeBlJ50MQRqw5i pzN8HRE9KJ8mGJddaRIjHf8XyriPROm89ln7JJWlLapAtfNh8CDmTrHZ8ihb3NiQO56y 48cNHW5uTjsuIpp7mz8mXAwNkfmwcs96T0mRrfmY99Ld1Er8fofT+9us5C/fqhzAqr9I ByMBpGFMIBO/wXSN0iV0ZRv7LJL1PcsqTZVDEv1jk/inMamA4XaSrHlvjj/CiU147zwc 7cWQ== 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=gkNG+qHcrxb6dHeMWe1c0FIspCIqhs0hG0rU1YpvATQ=; b=L7vuradaQ4bHpONeUdGStYpI/RNA6GPBBTSO4/+kPuoY+EY1VQRqa7bIB56/Wfpd++ 7eULdLgtaJkGOWfn5v5NB/jJa73bCQGDAY2h5hJchFKut/tDPJdTBpnUWaimc0TSAuDJ GwIrpHQ2cOGJiMukGiISq+viazd18wFkJS8/XQFJfVDqpSwW7e1ShQpCrglPHHHIEftZ TaRhNJgb2ElyicT4rMh/8AbXTEwSuc8wRdUcvFV6l0TgfYy46DmqJTLMJkk1OUSfaFf6 AKv7Hqix1TkLTlMqe1hxkLnzH06G6YK2bOv1ezyFt4HStYsJaCWLr+SHBaJ2+8Y8p09c DtqA== X-Gm-Message-State: ACgBeo3D2C09qEXX6URZnPffmEFSHDACUS0wXUBo7bQwvk58ntLmW0lW AoTRW7HjmkwtAA5qNwh53GOlEg== X-Google-Smtp-Source: AA6agR4ntjNiwe+YhhQH3At+XwAWpn0ItRcjKRzCu/35uda2S2LdIV7HOkJdZ33CCjcTs4j8GWRc9Q== X-Received: by 2002:a05:6512:131f:b0:494:5d2f:c34b with SMTP id x31-20020a056512131f00b004945d2fc34bmr891828lfu.324.1662545777101; Wed, 07 Sep 2022 03:16:17 -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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16:16 -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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 09/14] ASoC: dt-bindings:: qcom,q6asm: convert to dtschema Date: Wed, 7 Sep 2022 12:15:51 +0200 Message-Id: <20220907101556.37394-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Convert Qualcomm Audio Stream Manager (Q6ASM) bindings to DT schema. Signed-off-by: Krzysztof Kozlowski --- Expected warning because the qcom,apr.yaml is being fixed in next commit: Documentation/devicetree/bindings/sound/qcom,q6asm.example.dtb: apr: serv= ice@7: 'dais' does not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl= -[0-9]+' From schema: /home/krzk/dev/linux/linux/Documentation/devicetree/bindin= gs/soc/qcom/qcom,apr.yaml Changes since v1: 1. New patch. --- .../devicetree/bindings/sound/qcom,q6asm.txt | 70 ----------- .../devicetree/bindings/sound/qcom,q6asm.yaml | 112 ++++++++++++++++++ 2 files changed, 112 insertions(+), 70 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.txt create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.yaml diff --git a/Documentation/devicetree/bindings/sound/qcom,q6asm.txt b/Docum= entation/devicetree/bindings/sound/qcom,q6asm.txt deleted file mode 100644 index 0d0075125243..000000000000 --- a/Documentation/devicetree/bindings/sound/qcom,q6asm.txt +++ /dev/null @@ -1,70 +0,0 @@ -Qualcomm Audio Stream Manager (Q6ASM) binding - -Q6ASM is one of the APR audio service on Q6DSP. -Please refer to qcom,apr.txt for details of the common apr service bindings -used by the apr service device. - -- but must contain the following property: - -- compatible: - Usage: required - Value type: - Definition: must be "qcom,q6asm-v.". - Or "qcom,q6asm" where the version number can be queried - from DSP. - example "qcom,q6asm-v2.0" - -=3D ASM DAIs (Digital Audio Interface) -"dais" subnode of the ASM node represents dai specific configuration - -- compatible: - Usage: required - Value type: - Definition: must be "qcom,q6asm-dais". - -- #sound-dai-cells - Usage: required - Value type: - Definition: Must be 1 - -=3D=3D ASM DAI is subnode of "dais" and represent a dai, it includes board= specific -configuration of each dai. Must contain the following properties. - -- reg - Usage: required - Value type: - Definition: Must be dai id - -- direction: - Usage: Required for Compress offload dais - Value type: - Definition: Specifies the direction of the dai stream - Q6ASM_DAI_TX_RX (0) for both tx and rx - Q6ASM_DAI_TX (1) for only tx (Capture/Encode) - Q6ASM_DAI_RX (2) for only rx (Playback/Decode) - -- is-compress-dai: - Usage: Required for Compress offload dais - Value type: - Definition: present for Compress offload dais - - -=3D EXAMPLE -#include - -apr-service@7 { - compatible =3D "qcom,q6asm"; - reg =3D ; - q6asmdai: dais { - compatible =3D "qcom,q6asm-dais"; - #address-cells =3D <1>; - #size-cells =3D <0>; - #sound-dai-cells =3D <1>; - - dai@0 { - reg =3D <0>; - direction =3D ; - is-compress-dai; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/sound/qcom,q6asm.yaml b/Docu= mentation/devicetree/bindings/sound/qcom,q6asm.yaml new file mode 100644 index 000000000000..505bd64a0717 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6asm.yaml @@ -0,0 +1,112 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6asm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Audio Stream Manager (Q6ASM) + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +description: + Q6ASM is one of the APR audio services on Q6DSP. Each of its subnodes + represent a dai with board specific configuration. + +properties: + compatible: + enum: + - qcom,q6asm-dais + + iommus: + maxItems: 1 + + '#sound-dai-cells': + const: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + '^dai@[0-9]+$': + type: object + description: + Q6ASM Digital Audio Interface + + properties: + reg: + maxItems: 1 + + direction: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1, 2] + description: | + The direction of the dai stream:: + - Q6ASM_DAI_TX_RX (0) for both tx and rx + - Q6ASM_DAI_TX (1) for only tx (Capture/Encode) + - Q6ASM_DAI_RX (2) for only rx (Playback/Decode) + + is-compress-dai: + type: boolean + description: + Compress offload dai. + + dependencies: + is-compress-dai: ['direction'] + + required: + - reg + + additionalProperties: false + +required: + - compatible + - "#sound-dai-cells" + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + #include + #include + + apr { + compatible =3D "qcom,apr-v2"; + qcom,domain =3D ; + #address-cells =3D <1>; + #size-cells =3D <0>; + + service@7 { + compatible =3D "qcom,q6asm"; + reg =3D ; + qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; + + dais { + compatible =3D "qcom,q6asm-dais"; + iommus =3D <&apps_smmu 0x1821 0x0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + + dai@0 { + reg =3D <0>; + }; + + dai@1 { + reg =3D <1>; + }; + + dai@2 { + reg =3D <2>; + is-compress-dai; + direction =3D <1>; + }; + }; + }; + }; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35552C38145 for ; Wed, 7 Sep 2022 10:18:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230473AbiIGKSS (ORCPT ); Wed, 7 Sep 2022 06:18:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbiIGKRL (ORCPT ); Wed, 7 Sep 2022 06:17:11 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD9158B44 for ; Wed, 7 Sep 2022 03:16:20 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id p7so21680074lfu.3 for ; Wed, 07 Sep 2022 03:16:20 -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=baXMfYCB7PE60Npfbg3h15u6sSL53emte/DC7KwMEHU=; b=n0Z9eIrNYaQUl1F2pQluleBXgOygvZm9/qzU9Y17MRfzuta7/5Lz148J8JmrZdakzd nwind7DypVs18RYofRdwdp8SRm1D4MgJS7r4tLJGuoCZX1WprJDi8dD1r49Kd1wJPa/4 qMQRrF0MzRktBLVlxK0y0VO0UqaWqt1oxd+Bzc18ES1hiLdD/T/WnfnYBjdCXmIgKZKl ymx9k3ZyUlekMR/hycoJVec1O/BVsbCCfiK4Og41c3CKnUUfnmslEHkzoYUcb8KY8545 Q+62hN0hcOkUubKECvfjDC2+/hUYdHRHVVqgf3UT0c3ivAQxCP98LkADDxJh0ZBh3pfd VajA== 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=baXMfYCB7PE60Npfbg3h15u6sSL53emte/DC7KwMEHU=; b=E8f9nq5oehTJSfAsKZgW1DL/KQ+Cxky+IclX/o1z07ENGnPBGowcbcUcWu9p2lfvJg KzWmtZ6JssrQFaHUwz7UztfEktS3BkxXPeZedlTdjl8oMGbJB/qZoFsbYCEkMVLngFQm LPOgQ7PvsfiTmHs6XZsXBk1fWbvJVRyeUm4NIbO1wbL8sdTjP7M8CjTIuIFp/A0pkwZu Ujwjen4ataseBOvadEQW7ENZ6Cm/H6Brkdsk6FeuUFBXFWSrkssvRrXIPxvfU7haWQkH YJu4EFp1ulYmSGGNg76fCTMoJiJGVkQHIY+V/sxqhCALeDDp5lobUiD4/LTYxZqmhFHA ly4g== X-Gm-Message-State: ACgBeo240QvbFI7a9J+JJXVeRUSLiS4IKKocSUDXuV+PdYk7r8QG6jiy ji1YMjEGfDt7j6a/MxoglJHv3OA7phyQ0Q== X-Google-Smtp-Source: AA6agR5j0drCb5MJhH6/d7ItohGvjahLjxofqXFGdrA7NzK26DZdB7fIlJ5H0vrREookezeAJ+n7EA== X-Received: by 2002:a05:6512:3d1a:b0:494:7983:8a04 with SMTP id d26-20020a0565123d1a00b0049479838a04mr921425lfv.164.1662545778494; Wed, 07 Sep 2022 03:16:18 -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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16:17 -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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 10/14] dt-bindings: soc: qcom: apr: correct service children Date: Wed, 7 Sep 2022 12:15:52 +0200 Message-Id: <20220907101556.37394-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Srinivas Kandagatla --- Changes since v1: 1. Correct also sound/qcom,q6apm-dai.yaml (Rob) --- .../bindings/soc/qcom/qcom,apr.yaml | 68 ++++++++++++++++--- .../bindings/sound/qcom,q6apm-dai.yaml | 10 +-- .../sound/qcom,q6dsp-lpass-clocks.yaml | 16 ++--- .../sound/qcom,q6dsp-lpass-ports.yaml | 16 ++--- 4 files changed, 66 insertions(+), 44 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml b/Doc= umentation/devicetree/bindings/soc/qcom/qcom,apr.yaml index 028c5d105adb..5b9b9c86e61f 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml @@ -97,6 +97,25 @@ patternProperties: 3 =3D AMDB Service. 4 =3D Voice processing manager. =20 + clock-controller: + $ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml# + description: Qualcomm DSP LPASS clock controller + unevaluatedProperties: false + + dais: + type: object + oneOf: + - $ref: /schemas/sound/qcom,q6apm-dai.yaml# + - $ref: /schemas/sound/qcom,q6dsp-lpass-ports.yaml# + - $ref: /schemas/sound/qcom,q6asm.yaml# + unevaluatedProperties: false + description: Qualcomm DSP audio ports + + routing: + # TODO: Waiting for Documentation/devicetree/bindings/sound/qcom,q= 6adm.txt + type: object + description: Qualcomm DSP LPASS audio routing + qcom,protection-domain: $ref: /schemas/types.yaml#/definitions/string-array description: protection domain service name and path for apr servi= ce @@ -107,17 +126,44 @@ patternProperties: "tms/servreg", "msm/modem/wlan_pd". "tms/servreg", "msm/slpi/sensor_pd". =20 - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - - patternProperties: - "^.*@[0-9a-f]+$": - type: object - description: - Service based devices like clock controllers or digital audio in= terfaces. + allOf: + - if: + properties: + compatible: + enum: + - qcom,q6afe + then: + properties: + dais: + properties: + compatible: + const: qcom,q6afe-dais + + - if: + properties: + compatible: + enum: + - qcom,q6apm + then: + properties: + dais: + properties: + compatible: + enum: + - qcom,q6apm-dais + - qcom,q6apm-lpass-dais + + - if: + properties: + compatible: + enum: + - qcom,q6asm + then: + properties: + dais: + properties: + compatible: + const: qcom,q6asm-dais =20 additionalProperties: false =20 diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml b/= Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml index 5d972784321d..844d72b30969 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml @@ -16,16 +16,12 @@ properties: compatible: const: qcom,q6apm-dais =20 - reg: - maxItems: 1 - iommus: maxItems: 1 =20 required: - compatible - iommus - - reg =20 additionalProperties: false =20 @@ -41,13 +37,9 @@ examples: compatible =3D "qcom,q6apm"; reg =3D <1>; =20 - #address-cells =3D <1>; - #size-cells =3D <0>; - - apm-dai@1 { + dais { compatible =3D "qcom,q6apm-dais"; iommus =3D <&apps_smmu 0x1801 0x0>; - reg =3D <1>; }; }; }; diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clock= s.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.ya= ml 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 =20 - reg: - maxItems: 1 - '#clock-cells': const: 2 description: @@ -32,7 +29,6 @@ properties: =20 required: - compatible - - reg - "#clock-cells" =20 additionalProperties: false @@ -46,11 +42,9 @@ examples: #size-cells =3D <0>; apr-service@4 { reg =3D ; - #address-cells =3D <1>; - #size-cells =3D <0>; - clock-controller@2 { + + clock-controller { compatible =3D "qcom,q6afe-clocks"; - reg =3D <2>; #clock-cells =3D <2>; }; }; @@ -66,11 +60,9 @@ examples: service@2 { reg =3D ; compatible =3D "qcom,q6prm"; - #address-cells =3D <1>; - #size-cells =3D <0>; - clock-controller@2 { + + clock-controller { compatible =3D "qcom,q6prm-lpass-clocks"; - reg =3D <2>; #clock-cells =3D <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 =20 - reg: - maxItems: 1 - '#sound-dai-cells': const: 1 =20 @@ -145,7 +142,6 @@ patternProperties: =20 required: - compatible - - reg - "#sound-dai-cells" - "#address-cells" - "#size-cells" @@ -161,11 +157,9 @@ examples: #size-cells =3D <0>; apr-service@4 { reg =3D ; - #address-cells =3D <1>; - #size-cells =3D <0>; - q6afedai@1 { + + dais { compatible =3D "qcom,q6afe-dais"; - reg =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; #sound-dai-cells =3D <1>; @@ -187,11 +181,9 @@ examples: service@1 { compatible =3D "qcom,q6apm"; reg =3D ; - #address-cells =3D <1>; - #size-cells =3D <0>; - q6apmdai@1 { + + dais { compatible =3D "qcom,q6apm-lpass-dais"; - reg =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; #sound-dai-cells =3D <1>; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A632C38145 for ; Wed, 7 Sep 2022 10:18:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231163AbiIGKS0 (ORCPT ); Wed, 7 Sep 2022 06:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230417AbiIGKRL (ORCPT ); Wed, 7 Sep 2022 06:17:11 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6962139BBF for ; Wed, 7 Sep 2022 03:16:21 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id f11so7658384lfa.6 for ; Wed, 07 Sep 2022 03:16:21 -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=Tn2FE4uhx3qd+o+7Fk9TdVeJts1VUhiNI+L2cf12iKs=; b=wmrxO8LMD+MTnqYrEWS8VoI8pGCdL92Hp+n3t0Z0BQpJ3QzEK7Gut2SM5hUwsYxqkT Ut8wyoI1y+83zVBJbote2nDxz1zm8g5uFQ27seyEpurRfGghwg9feePY4XUZmm/eGzeP tWU+7OrftmbVC9O9vlRIc9KEgfuwmTfSrojB89i0AIKc6iRU9LSjKn0tpCUKki/Qgsp6 zRvqfWygycZPc81nbZw3sHpGj8y8HlCquVXKx5+JbhmmbQaHJiIN7XKwIjNCeRSySGIR spjhhozeJTwT2eJ5UloQ5yY5SE+QsLpHU/B8PS4yMfm/PLlnooUeUQNSZlnBSPceOrnt AJKA== 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=Tn2FE4uhx3qd+o+7Fk9TdVeJts1VUhiNI+L2cf12iKs=; b=fppX+RBJKMr/pjc9+JEx0aJ0JngXllXsJBAVEio/hCFrfaPS9RGjSRU1/uR/JmsLHf bkYuq37VyuiggV5TQiCaE5QUK/ttKA93dZnTy88Sp4yf0P0aoA8diHdKrHw9SQ3Fw6+o EL8OShs5bMhwZq6xThc1myhIE8X3wxWEmE1XVrp68jEZ+IWHkToyP1tNVZv8GGyhEeJo hGjePgbBo8q80Momlkeignb6M1Ly8JYCzov00DNKk+fOJ9tYmviuO+QQLR635/zxsRye 1OFDRjDask6DiNBmoqSwt6vI6BjgA1Q8mk29ylISgLR2ditaxRSfb+5lvaoZqRdwvk7o 2f1w== X-Gm-Message-State: ACgBeo0OWg5pJ64BiiBH3hLoOLCjJACPPgj8OLTWOdvyCT3Fq5Yg2xK5 kpYfh1lLrwXtNYHuaf8FQ2+nxA== X-Google-Smtp-Source: AA6agR7C4ChseY66F7QZIfa9vAhumII2zndyeu9DBWtPdLZ1Bzuwapq/6WLgTNqkWa6T94uUHDrJdQ== X-Received: by 2002:a05:6512:3f94:b0:496:5e1b:a1c5 with SMTP id x20-20020a0565123f9400b004965e1ba1c5mr905346lfa.483.1662545779790; Wed, 07 Sep 2022 03:16:19 -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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16:19 -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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 11/14] ASoC: dt-bindings: qcom,q6dsp-lpass-ports: cleanup example Date: Wed, 7 Sep 2022 12:15:53 +0200 Message-Id: <20220907101556.37394-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Cleanup the example DTS by adding APR and service compatibles, adding typical properties, using proper device node names for services and fixing indentation to 4-spaces. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Srinivas Kandagatla --- Changes since v1: 1. Add few more properties. 2. Adjust indentation (better). --- .../sound/qcom,q6dsp-lpass-ports.yaml | 48 +++++++++++-------- 1 file changed, 27 insertions(+), 21 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..e53fc0960a14 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml @@ -153,24 +153,29 @@ examples: #include #include apr { + compatible =3D "qcom,apr-v2"; #address-cells =3D <1>; #size-cells =3D <0>; - apr-service@4 { + qcom,domain =3D ; + + service@4 { + compatible =3D "qcom,q6afe"; reg =3D ; + qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; =20 dais { - compatible =3D "qcom,q6afe-dais"; - #address-cells =3D <1>; - #size-cells =3D <0>; - #sound-dai-cells =3D <1>; - - dai@22 { - reg =3D ; - qcom,sd-lines =3D <0 1 2 3>; - }; + compatible =3D "qcom,q6afe-dais"; + #address-cells =3D <1>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + + dai@22 { + reg =3D ; + qcom,sd-lines =3D <0 1 2 3>; + }; }; }; - }; + }; - | #include gpr { @@ -178,20 +183,21 @@ examples: #address-cells =3D <1>; #size-cells =3D <0>; qcom,domain =3D ; + service@1 { compatible =3D "qcom,q6apm"; reg =3D ; =20 dais { - compatible =3D "qcom,q6apm-lpass-dais"; - #address-cells =3D <1>; - #size-cells =3D <0>; - #sound-dai-cells =3D <1>; - - dai@22 { - reg =3D ; - qcom,sd-lines =3D <0 1 2 3>; - }; + compatible =3D "qcom,q6apm-lpass-dais"; + #address-cells =3D <1>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + + dai@22 { + reg =3D ; + qcom,sd-lines =3D <0 1 2 3>; + }; }; }; - }; + }; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EEEBC38145 for ; Wed, 7 Sep 2022 10:18:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbiIGKSb (ORCPT ); Wed, 7 Sep 2022 06:18:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230423AbiIGKRM (ORCPT ); Wed, 7 Sep 2022 06:17:12 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC7465D135 for ; Wed, 7 Sep 2022 03:16:21 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id bt10so21697119lfb.1 for ; Wed, 07 Sep 2022 03:16:21 -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=aK4G1Qq6cdDpbzIBmLo9qbHlkXgmVXTFgbxmWme4nqM=; b=iJEBGiJqXXiegmiXuqo2B6OiveypNmJ9RC1K3vIBsRvmE5sWUR8BpA0SyfLrwY8XtT QklZYpDoETo0BsCpJuIJ83vTg7OzPgcoQXi4jAXQRJxO07vuAYkPfF3XS1njodL4+mvp 842sAvQdgqH8HdJmV4n/Z1Lrv2b8dWHZ3jysdK4yTeHMSDG5FXdBTp+kx+DaAjJsYfwf I1jEXiL2UUa3M2EV1x0oTL5WKZgZPgav1VWcASoDkG4d+MQVlqQB2UoZz9J1rUfdT63r 0ny2ca7CvEJU24ggz9S3ZMqGJshAJJFvKw3TST+pse8d+R1gjIhC69IBSqHg7IMHgrdr 4D9A== 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=aK4G1Qq6cdDpbzIBmLo9qbHlkXgmVXTFgbxmWme4nqM=; b=R1bxaLjXaFJlZDVEFueDvcKWczPF+DVwOc7sL1BM6oHbMHPmbx2MKP5SFRoFxjvXRg 9tQMG9Df+IviLopzd36rNadZ3HXefouQaLVukus+WLpyTD5w1ok3ozz+SVg7KE6bbgRu 8e1vSLUNIKVM3H9P28z9/TJCoBZllVHZViT4o60qy4tX5UdqAhEzBIcggC+QDv6XhHQt F6h1cz8mXeoMG7PhKBNPz7C3qmVcUIz5F7GBIXCNfYySVERGosQEbesURtGokVZck0e4 3r7AteDH/y5ftfxT28V6C3xElgL5xI2dWpJvtjbY7OOLlRolNjB5Wuk7hygKN9MgIfcj 7WsA== X-Gm-Message-State: ACgBeo2IAruJbufmw0dHWakvN+gL7/55bZUsJBWVritrmxV4cur1B6uT JojnVTbW5zcVh4mv8INQQ/rwTQ== X-Google-Smtp-Source: AA6agR4Zn1G3W5prvOClIzFDIxdFRH12bnmFLoC3HL6Q2qsxBu/1/06d7WEYmFZRjXArrk4N9g/y6A== X-Received: by 2002:a19:7b0e:0:b0:494:6a97:fec2 with SMTP id w14-20020a197b0e000000b004946a97fec2mr867822lfc.87.1662545781307; Wed, 07 Sep 2022 03:16:21 -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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16:20 -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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 12/14] ASoC: dt-bindings: qcom,q6dsp-lpass-clocks: cleanup example Date: Wed, 7 Sep 2022 12:15:54 +0200 Message-Id: <20220907101556.37394-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Cleanup the example DTS by adding APR and service compatibles, adding typical properties, using proper device node names for services and fixing indentation to 4-spaces. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Srinivas Kandagatla --- Changes since v1: 1. Add few more properties. 2. Adjust indentation (better). --- .../sound/qcom,q6dsp-lpass-clocks.yaml | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clock= s.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.ya= ml index 604861d84ffa..fd567d20417d 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml @@ -38,17 +38,22 @@ examples: #include #include apr { + compatible =3D "qcom,apr-v2"; + qcom,domain =3D ; #address-cells =3D <1>; #size-cells =3D <0>; - apr-service@4 { + + service@4 { + compatible =3D "qcom,q6afe"; reg =3D ; + qcom,protection-domain =3D "avs/audio", "msm/adsp/audio_pd"; =20 clock-controller { - compatible =3D "qcom,q6afe-clocks"; - #clock-cells =3D <2>; + compatible =3D "qcom,q6afe-clocks"; + #clock-cells =3D <2>; }; }; - }; + }; =20 - | #include @@ -57,13 +62,14 @@ examples: qcom,domain =3D ; #address-cells =3D <1>; #size-cells =3D <0>; + service@2 { reg =3D ; compatible =3D "qcom,q6prm"; =20 clock-controller { - compatible =3D "qcom,q6prm-lpass-clocks"; - #clock-cells =3D <2>; + compatible =3D "qcom,q6prm-lpass-clocks"; + #clock-cells =3D <2>; }; }; - }; + }; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C5EAECAAD3 for ; Wed, 7 Sep 2022 10:19:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230448AbiIGKSk (ORCPT ); Wed, 7 Sep 2022 06:18:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230213AbiIGKRP (ORCPT ); Wed, 7 Sep 2022 06:17:15 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FFCF399DF for ; Wed, 7 Sep 2022 03:16:24 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id by6so15353838ljb.11 for ; Wed, 07 Sep 2022 03:16:24 -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=IE9iYaf4ljXjTzH90yeiguLHiQ95amY6yCG9ecN7egM=; b=ChWRI8qDis+YWkKe0I+qyMCm0aW5WKr/0HGHzuKwD32pRYC5t8LRindSrtP0Cd3ajj eIUcTl+TvJd5BR0FR4oHNqM3YPOjV3cNUPt7ubturR3ZceiLSDdufIbavuNYSkhW3APo /e+tKcLEObXGRRip17WUYl0nffilkBw2qRH1INCiaoNdj94+ndnw2N02CcylccwJenFk EhlX2HfbZKPsrxTRhp+Ep3xcDMioWlBBw5VcV6L2As+NavAZY3izxUb6Gw0IYyYqZWvg MrUWAfbWXv74yLWFbkPNguDu0y6bbrdc35P2HV2NOG2gBGtQIDnfmG3y5hvcqi4RtxPJ W0MQ== 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=IE9iYaf4ljXjTzH90yeiguLHiQ95amY6yCG9ecN7egM=; b=mdJrIh7V8vO9AnXgJFvGxc0kFBM9J/8wOfNmyG+PFeGtnVGAH2sKmQZ0SAAPtsR1yK Lva4B9up7WCP4Y4ivY2aqyBYjtxAQaFb2TbbLie4W9vRa0N0GaM0EMS4Z5E72Z4A9bUE nSIodHZAoahCmTjp7biFsThvHKTOhF993K9GfH1YBmW8JDdOgkCtjYj5c4BrmCemZ6PF /LKIDH/V9rSSewFZxbbsaX0Ez2R4J3doq/TTnOKgdiVFwcCRpFJ5KLydTWbQ4CuvUeSr 6tsbS2EBM+nzypSjZGDlL9A3h25PEs+bqHmT2K8Inkz0Zx1nQ/0JUrD/pgP5rGVo+das ll8Q== X-Gm-Message-State: ACgBeo0SorUyHvVoOujLn2svKUOTCqx5KZtKdmDyB5jGdFLjRcvyHJkY aZie1Db1gWLnRWLpJsDx1knjAw== X-Google-Smtp-Source: AA6agR4qNoMuCGTXy/UbzjBcRROS+BhHEWrT0sR/EQ2fEGnRWEpeJSviNxaq4edkYpNdKXZZvg87oQ== X-Received: by 2002:a2e:b003:0:b0:26a:d07d:c501 with SMTP id y3-20020a2eb003000000b0026ad07dc501mr204338ljk.388.1662545782589; Wed, 07 Sep 2022 03:16:22 -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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16:22 -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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 13/14] ASoC: dt-bindings: qcom,q6apm-dai: adjust indentation in example Date: Wed, 7 Sep 2022 12:15:55 +0200 Message-Id: <20220907101556.37394-14-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Cleanup the example DTS by fixing indentation to 4-spaces and adding blank lines for readability. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- .../devicetree/bindings/sound/qcom,q6apm-dai.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml b/= Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml index 844d72b30969..24f7bf2bfd95 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml @@ -33,13 +33,14 @@ examples: #address-cells =3D <1>; #size-cells =3D <0>; qcom,domain =3D ; + service@1 { - compatible =3D "qcom,q6apm"; - reg =3D <1>; + compatible =3D "qcom,q6apm"; + reg =3D <1>; =20 - dais { - compatible =3D "qcom,q6apm-dais"; - iommus =3D <&apps_smmu 0x1801 0x0>; - }; + dais { + compatible =3D "qcom,q6apm-dais"; + iommus =3D <&apps_smmu 0x1801 0x0>; + }; }; }; --=20 2.34.1 From nobody Mon Apr 6 12:40:02 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C8ABECAAD3 for ; Wed, 7 Sep 2022 10:19:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229924AbiIGKTa (ORCPT ); Wed, 7 Sep 2022 06:19:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230436AbiIGKRQ (ORCPT ); Wed, 7 Sep 2022 06:17:16 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E1C5659E6 for ; Wed, 7 Sep 2022 03:16:25 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id u18so9365327lfo.8 for ; Wed, 07 Sep 2022 03:16:25 -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=RR3PjHV9nmH/GbIhDoQ0i32DEOxqy1Cnfemy+zsHX2M=; b=SqYGb2SgUnHjteGhc8NyokrY/38tgAr0fl5azwYi3dQL4RVhNvyLC8pdKB6kdq+hTO d5RZ6EfJPA9+LkKSmbv1gKKIZeEmpdR1UqoJ6CPDG3wBfgU4MzXXOQMksXsLfLsq2zku 3RJxa4McHvggTOEWIb/tbjWSgQHLZTXlos3o2+IwtGosQV/xuRDpRUoVzta5Zl4/T3bE /sRGCP2tjz91SpHg82OgRzWZZrugB5AxybUo1khCBEqN2rC9xH0U7yhpkM4FA2WQe4Go kDYU6s3aHcwY7iNg4Fu8cDpxZz6Sw/iSZ7NTDgfhifBPVP9VEp1gtDMnG21gtiLjiyVA W8hA== 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=RR3PjHV9nmH/GbIhDoQ0i32DEOxqy1Cnfemy+zsHX2M=; b=P8wpMe3nCEXHMHT9rHtc8UGI0qGUMsog/kJF9NOTqJnaP8FevOFflSu/HAf9fxTIJy vUyehL2KluIlEBTQpPi7yt7BpljocypP19PWJw+AkNjwDYvMCziLhbWPHgIPvpRCBJhn o4STrL+evkyOMWlBpTrjOsKdgi7mgo5+35Va8quw1D+G1O/mT+cKUbDC7aWC4gpBJBC1 wJyTAvwzRJmQ3VvuzaLK4ma1g7cIkuC20O4S+gATR0mILjCaxQEds/0PCFUq4sVRKLPM roWUlorF14wyztnD6dcVyxI02mc9ILe0f6drbAlsdIs9xrCcMQw9KCZG6H4j5cetEALw BoVg== X-Gm-Message-State: ACgBeo34zNVUkc0MuI4o1E+fMBGfuuF9hp10zyIfkSvYkIzJJ4fZPlol YSebE2/5zX73vyx4tk4kvjwELg== X-Google-Smtp-Source: AA6agR6DyUOR+dEKXcroet8OSjPW5hDJTdHMyxeQlbulwrF+Cf1t0W2pj2y21Qq1pTGqu8uHmK0r5w== X-Received: by 2002:ac2:4901:0:b0:494:88dc:7efc with SMTP id n1-20020ac24901000000b0049488dc7efcmr843550lfi.408.1662545783806; Wed, 07 Sep 2022 03:16:23 -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 u9-20020a2ea169000000b0026ab0e480bcsm960734ljl.39.2022.09.07.03.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 03:16:23 -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 Cc: Krzysztof Kozlowski Subject: [PATCH v2 14/14] dt-bindings: soc: qcom: apr: add missing properties Date: Wed, 7 Sep 2022 12:15:56 +0200 Message-Id: <20220907101556.37394-15-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> References: <20220907101556.37394-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Srinivas Kandagatla --- .../bindings/soc/qcom/qcom,apr.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml b/Doc= umentation/devicetree/bindings/soc/qcom/qcom,apr.yaml index 5b9b9c86e61f..02a261ace221 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 =20 + 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 =3D Audio DSP Domain 3 =3D Application Processor Domain =20 + 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 =20 @@ -171,6 +194,30 @@ required: - compatible - qcom,domain =20 +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 =20 examples: --=20 2.34.1