From patchwork Tue Dec 27 16:31:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 637271 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 3F429C4332F for ; Tue, 27 Dec 2022 16:32:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E213276C2; Tue, 27 Dec 2022 17:31:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E213276C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672158757; bh=f4F+9NXJCNOIJBjpzag9GNzrE1dAeOY15HTPb+Cz28w=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=fiKqEhdd3SejYkoT0UavoCqufdwruXxk4xwKgwRjx7Kf6rD9uNpYkXCQEPC0W13g2 yL1uO4K8BJktaUN7tVJLNideitEhkJ7Q7iqTt9IjiCrtNf9b7cgV70jVEWCbc9T8pS p1PCeVmjXDafNaZ9GREelQEALJhasEc9tytMEMc4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 84D79F804E4; Tue, 27 Dec 2022 17:31:47 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3406BF804E7; Tue, 27 Dec 2022 17:31:46 +0100 (CET) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C49FFF800F0 for ; Tue, 27 Dec 2022 17:31:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C49FFF800F0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=lYv3qXlJ Received: by mail-lf1-x133.google.com with SMTP id bq39so12467961lfb.0 for ; Tue, 27 Dec 2022 08:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lyoX12mwMevw/GvkSfOGH+b2RZglwpZdjU1H0BRrPvA=; b=lYv3qXlJQd5TErBapx2gr0arJ30auBkHwnrHBURc6jJJIAQfMKbJgpUxgD4xW4BDeD fEiX4AYxUcrt8Za5ln7eSERt1vuERBBGSqGik6HErKD2YF4jqdy1kZIHKt/qnrW0lWEi j1qdbpRdTppHfuefBO1jh4y/3OO6Z78d+UCoWf3loFcPPDZYePKlRB4lXnZBPd2ww6va vpbNSqH6EARnKq4bzQn/2tEHwkvRU9FAf3JcxSZS1IjdqFrIltBypydS7/YDJEuF5+RK bI2/yJXCU+Pa3VRoOZuftDuC3yTw989ISotswVm5aEMlOlPD+GiZ8pztYYNcpJLNZ2KN XGZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lyoX12mwMevw/GvkSfOGH+b2RZglwpZdjU1H0BRrPvA=; b=JjnjXcaFRZf7Bzojez7OGUIXr5xjsk98ZjJ8U2lOdAwlFLAF5LOS27ALp/y6qx/3vq U2sFFzceNc4hbupg8Q5hho8Icmu7rg34K1ZY9urtNmBagXCGTs/34XaRgtRZ/SBDmsWW p2McSFpXS3r6f0bDfGCJrAjpRMsudQuueDnJFxRUdukhhotANNTWXOGVw6ylkLEVA/1g rr7TCllfHTSWxeoh8vMBcmp9lQ5kf2FyEZc6K/bN6hgififWKuB2Ep1EzvLxXP/w/nUJ roj9HQwCCh4ww54OV7qE7QRdrHOBWQPQhqnR4lIwGkSUlXYT9u2egTtTVUPThej7L52S SHpA== X-Gm-Message-State: AFqh2kqD7hloLb9na2GDTNvQzR8pxto5O0M8s6uVzGG/QZJUD74HPl+3 eO8b0qZkMAV/G0oZ4/QZhJDdPw== X-Google-Smtp-Source: AMrXdXsoXisr+b5apbAKUCZViYp6vaNIxWI+lRrZbA7Gh0SVf4k14JHySm36TYX+GLwajUW2DSNaPw== X-Received: by 2002:a05:6512:2821:b0:4b0:1305:6e02 with SMTP id cf33-20020a056512282100b004b013056e02mr7010836lfb.8.1672158698492; Tue, 27 Dec 2022 08:31:38 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v9-20020a056512348900b004a46a9cebe2sm2318019lfr.289.2022.12.27.08.31.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 08:31:37 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Andy Gross , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Rohit kumar , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] ASoC: dt-bindings: qcom, lpass-cpu: Document required-opps Date: Tue, 27 Dec 2022 17:31:33 +0100 Message-Id: <20221227163135.102559-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: Krzysztof Kozlowski Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SC7280 LPASS CPU device node comes with required-opps: sc7280-herobrine-crd.dtb: audio@3987000: Unevaluated properties are not allowed ('required-opps' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml index bb42220916b3..f00fc1051d4d 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml @@ -65,6 +65,9 @@ properties: power-domain-names: maxItems: 1 + required-opps: + maxItems: 1 + '#sound-dai-cells': const: 1 From patchwork Tue Dec 27 16:31:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 636973 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 17EDDC4332F for ; Tue, 27 Dec 2022 16:33:08 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5C82218C9; Tue, 27 Dec 2022 17:32:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5C82218C9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672158785; bh=wqm56mrg/ajr9v5aDcEhUBJlTH2a7we+4xTEox2D2ak=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=awNK/S/NXxVi5bY/pY1dMaHxKNyK7P4CdItyfrDml1cK26ZD4QOYQHpKY8tCILO7y dGzicUgERh5kkMbzxRxKvQHMlXwbDfsi7xwysZsFUwUL1FTFEQ3ZoKmrPx5AOJ/6z2 KvwyjMbaI9hZrQmSLYNY+RBMZAHQR8pg9enqibBI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 29BFCF804B4; Tue, 27 Dec 2022 17:31:51 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A02D7F8023B; Tue, 27 Dec 2022 17:31:47 +0100 (CET) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E1311F8023B for ; Tue, 27 Dec 2022 17:31:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E1311F8023B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=aCSdFPp3 Received: by mail-lf1-x133.google.com with SMTP id bf43so20270691lfb.6 for ; Tue, 27 Dec 2022 08:31:41 -0800 (PST) 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 :message-id:reply-to; bh=4vKtFWde8ag1p6V6juNXXh4nFSRBR0CPIqIm4A+AUkI=; b=aCSdFPp3ybPM5fn1ZC9OofVvgotn9V4jc7wxsDPkHRan+nIu4hrvuxCQ45s7NtchTJ SsI1slzKPtFhR9Jzz2WWxAOBpHR0IL1b8CaPbS9WonCOcfAk6eNJYm9I7wKTAQjRnKm2 xn4fTnvQMQdI76EMG097ThjtRn68C83kaxi3w94D1JgRWKLIuAhRA82BlQk2FW6Bvgnn ryxjYjCcd/R8dLWgpXP/vJ1gK0RRjqn6EKHWgoqjND0RoGdLYT0VDbMnNLou9UO3hU4t q/mDvwpi6WiMVxNid83fVGMnEYjlcSI0kXmLOV8wTq5SUc1EUbbJDIAfuU84cNIgBybh WNFw== 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:message-id:reply-to; bh=4vKtFWde8ag1p6V6juNXXh4nFSRBR0CPIqIm4A+AUkI=; b=qAYdDzyV0h06nGSI7ni/FXHnxAly9P4hDarhyiHkzcf+0PVVfiVwIEWBgG7UCroTTY FmlVQJSdzCo5YWiSj0hYMlEojUT6d41UGHXnjTdCx8hwZLEUROWVvzr78Ar5xxzdDUZ/ NPcnyIS830tffwdadOEsEkvcz16A9WFi/nvkBmJVw2r2OSTqUIYrWFDPcRk/Dw+ohtC4 oZg3BiKPIeNy+HBVoQU32t84VISvntcgZbLRUIk6dawG18LTpNcoMWejcXQ6fboBAOYO mJJpZNJr/r0CsM9TLbbZwlh3FSQJQCUkVRa7R1xsFL5PwV2ScBZwIbOwtFnify/Cqb5C S0Mw== X-Gm-Message-State: AFqh2krsECYdvdU2b1cEYmLHBopZM6+nT9mbv8QTrvoNp4HzLUWz/gaR lThkCkjtRMa1ZZNLhzNxR7QYcA== X-Google-Smtp-Source: AMrXdXsi1Yf+1sfjPFQxih5hmhW2m86/4RfbGkn0PY6lv0SikoXPrs5jrTzZX0V5FNf/qJhcAX9dPw== X-Received: by 2002:a05:6512:e85:b0:4b5:aa59:28 with SMTP id bi5-20020a0565120e8500b004b5aa590028mr7251601lfb.38.1672158699757; Tue, 27 Dec 2022 08:31:39 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v9-20020a056512348900b004a46a9cebe2sm2318019lfr.289.2022.12.27.08.31.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 08:31:39 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Andy Gross , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Rohit kumar , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] ASoC: dt-bindings: qcom, lpass-cpu: Fix DAI children pattern Date: Tue, 27 Dec 2022 17:31:34 +0100 Message-Id: <20221227163135.102559-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221227163135.102559-1-krzysztof.kozlowski@linaro.org> References: <20221227163135.102559-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: Krzysztof Kozlowski Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" DAI children (as subnodes) can come with two-digit unit addresses: sc7280-herobrine-crd.dtb: audio@3987000: Unevaluated properties are not allowed ('dai-link@19', 'dai-link@25' were unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml index f00fc1051d4d..16248629f659 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml @@ -78,7 +78,7 @@ properties: const: 0 patternProperties: - "^dai-link@[0-9a-f]$": + "^dai-link@[0-9a-f]+$": type: object description: | LPASS CPU dai node for each I2S device or Soundwire device. Bindings of each node From patchwork Tue Dec 27 16:31:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 637270 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 13863C4332F for ; Tue, 27 Dec 2022 16:33:33 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 563AF76CD; Tue, 27 Dec 2022 17:32:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 563AF76CD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672158809; bh=fW39H5GUQrBPbxCHJzba4mbYtUtAi7l/+bfKS5Vv/OA=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=udwv4geCrduC10G5o/e1qBtT7kW8EZAnXK3a7SkBeL8RKiz169pY5SWSfXmWf814j rn1MFC2QvdMLyXMIe57dhuqmOB8soUJfoou8RTMCHEmNdTHycwzby9Ons26bZPzG6V GpNOPStPGLMpHHtZBWNbQv5PkLCF/SSVHtcesg+o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id AE6FBF8052F; Tue, 27 Dec 2022 17:31:52 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6A364F804E7; Tue, 27 Dec 2022 17:31:50 +0100 (CET) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F376EF8027B for ; Tue, 27 Dec 2022 17:31:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F376EF8027B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=NbHvojsr Received: by mail-lf1-x135.google.com with SMTP id y25so20263102lfa.9 for ; Tue, 27 Dec 2022 08:31:42 -0800 (PST) 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 :message-id:reply-to; bh=72cmjE0V7BUxC28t/DNBJowrN2/6PZnCNzCr8N7zUBI=; b=NbHvojsrG4KTDx9OBuOv4eb0KqhmLcbXkFP/iqhlN3OVTGkCaq0cWQ4jMpkhcK63Zp PmZkTs8M36h3rKdR7cK8P69gAiI0hXs4lj9IA4LsAJHoyeD65U35aJ1Ffv9H7CHlZOVh Gld9v2SH9QS+6kO7lwGFcDpO9nNfulZWMwZAJt90TNOY8BVHTIrjkN+igQKO/cFLtvwp +n2PaWEUVwv4hBmiw9ncVsD4bJnJLy94IJsjLhz3S9EHpUAUHQiDe+z+hoUhvMUH3D+o 1ZB7JqL7yARj2SwLMSuthMBQwTsqGmH2YdyYUgQKEAEny+LPMlmku6gPPU3nn8jJHqft /HXQ== 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:message-id:reply-to; bh=72cmjE0V7BUxC28t/DNBJowrN2/6PZnCNzCr8N7zUBI=; b=6SqutoMWtS+lmedmpL2CV3op1CAJUF2KKVRncV5h6JCr0xDWwEAvW7rxWXPV2N1U83 DXM7v3nN0KeeGW06otw3vCkTeq/E72VcSk/JTzsPQXW3JtWaAzOp4/pLsahBnIuQg5BK YQRx+WOExTI+R651zOKx2IE36AqU7ofITUBS50iJBLLcoWLFspQ4xbBZhTp1mRghUVNS 2kI8uvuF3YKMJ6u+4U3qYbHJ7LUPLZz3rWRnFjNyq5HecQZu6wTposwKTLidiiNg2ZAB 4u4ZzBQFpfIdyCGkGxqj25H14pxPvlRYbtPlIf/Wew1ptB4Tsg+daKAgiwLkfw0I6P7j 7L1g== X-Gm-Message-State: AFqh2koPzacm2isQe9r5fCNwDESZcGLLvgRQZS+cCpPfed0rQjRsgGP+ 6qldTiI8ZRFdBOWkOpOo2YNofQ== X-Google-Smtp-Source: AMrXdXurCVsOysDqPyuiNeCz8zEeNtL+8/Od7Vrp0R3PwtkTV5Cby6lOIAcerYnQcAMYUDfSKqgvPw== X-Received: by 2002:a05:6512:2316:b0:4b0:6023:6f6f with SMTP id o22-20020a056512231600b004b060236f6fmr7739080lfu.57.1672158700907; Tue, 27 Dec 2022 08:31:40 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v9-20020a056512348900b004a46a9cebe2sm2318019lfr.289.2022.12.27.08.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 08:31:40 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Andy Gross , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Rohit kumar , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] ASoC: dt-bindings: qcom, lpass-cpu: Correct and constrain clocks, interrupts, reg Date: Tue, 27 Dec 2022 17:31:35 +0100 Message-Id: <20221227163135.102559-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221227163135.102559-1-krzysztof.kozlowski@linaro.org> References: <20221227163135.102559-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: Krzysztof Kozlowski Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The binding allowed multiple variations and number of reg/interrupts/clocks properties for SC7180 and SC7280. Maybe this was done for different use-cases of LPASS CPU audio node, but DTS is supposed to be a complete picture of the hardware. The upstreamed SC7180 and SC7280 DTSes contain the widest set of these reg/interrupts/clocks, sometimes being even sum of these different variations. Correct and narrow the reg, interrupts and clocks to match existing DTS: sc7280-herobrine-evoker-lte.dtb: audio@3987000: clock-names: 'oneOf' conditional failed, one must be fixed: ['aon_cc_audio_hm_h', 'audio_cc_ext_mclk0', 'core_cc_sysnoc_mport_core', 'core_cc_ext_if0_ibit', 'core_cc_ext_if1_ibit', 'audio_cc_codec_mem', 'audio_cc_codec_mem0', 'audio_cc_codec_mem1', 'audio_cc_codec_mem2', 'aon_cc_va_mem0'] is too long 'core_cc_sysnoc_mport_core' was expected 'audio_cc_codec_mem' was expected 'audio_cc_codec_mem0' was expected 'audio_cc_codec_mem1' was expected 'audio_cc_codec_mem2' was expected 'aon_cc_va_mem0' was expected Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/sound/qcom,lpass-cpu.yaml | 131 +++++++++--------- 1 file changed, 62 insertions(+), 69 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml index 16248629f659..6cc8f86c7531 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml @@ -35,7 +35,7 @@ properties: clocks: minItems: 3 - maxItems: 7 + maxItems: 10 clock-names: minItems: 1 @@ -124,6 +124,8 @@ allOf: then: properties: + clocks: + maxItems: 3 clock-names: items: - const: ahbix-clk @@ -138,6 +140,9 @@ allOf: then: properties: + clocks: + minItems: 7 + maxItems: 7 clock-names: items: - const: ahbix-clk @@ -156,33 +161,31 @@ allOf: then: properties: + clocks: + minItems: 6 + maxItems: 6 clock-names: - oneOf: - - items: #for I2S - - const: pcnoc-sway-clk - - const: audio-core - - const: mclk0 - - const: pcnoc-mport-clk - - const: mi2s-bit-clk0 - - const: mi2s-bit-clk1 - - items: #for HDMI - - const: pcnoc-sway-clk - - const: audio-core - - const: pcnoc-mport-clk + items: + - const: pcnoc-sway-clk + - const: audio-core + - const: mclk0 + - const: pcnoc-mport-clk + - const: mi2s-bit-clk0 + - const: mi2s-bit-clk1 + reg: + minItems: 2 + maxItems: 2 reg-names: - anyOf: - - items: #for I2S - - const: lpass-lpaif - - items: #for I2S and HDMI - - const: lpass-hdmiif - - const: lpass-lpaif + items: + - const: lpass-hdmiif + - const: lpass-lpaif + interrupts: + minItems: 2 + maxItems: 2 interrupt-names: - anyOf: - - items: #for I2S - - const: lpass-irq-lpaif - - items: #for I2S and HDMI - - const: lpass-irq-lpaif - - const: lpass-irq-hdmi + items: + - const: lpass-irq-lpaif + - const: lpass-irq-hdmi required: - iommus - power-domains @@ -195,54 +198,44 @@ allOf: then: properties: + clocks: + minItems: 10 + maxItems: 10 clock-names: - oneOf: - - items: #for I2S - - const: aon_cc_audio_hm_h - - const: audio_cc_ext_mclk0 - - const: core_cc_sysnoc_mport_core - - const: core_cc_ext_if0_ibit - - const: core_cc_ext_if1_ibit - - items: #for Soundwire - - const: aon_cc_audio_hm_h - - const: audio_cc_codec_mem - - const: audio_cc_codec_mem0 - - const: audio_cc_codec_mem1 - - const: audio_cc_codec_mem2 - - const: aon_cc_va_mem0 - - items: #for HDMI - - const: core_cc_sysnoc_mport_core - + items: + - const: aon_cc_audio_hm_h + - const: audio_cc_ext_mclk0 + - const: core_cc_sysnoc_mport_core + - const: core_cc_ext_if0_ibit + - const: core_cc_ext_if1_ibit + - const: audio_cc_codec_mem + - const: audio_cc_codec_mem0 + - const: audio_cc_codec_mem1 + - const: audio_cc_codec_mem2 + - const: aon_cc_va_mem0 + reg: + minItems: 6 + maxItems: 6 reg-names: - anyOf: - - items: #for I2S - - const: lpass-lpaif - - items: #for I2S and HDMI - - const: lpass-hdmiif - - const: lpass-lpaif - - items: #for I2S, soundwire and HDMI - - const: lpass-hdmiif - - const: lpass-lpaif - - const: lpass-rxtx-cdc-dma-lpm - - const: lpass-rxtx-lpaif - - const: lpass-va-lpaif - - const: lpass-va-cdc-dma-lpm + items: + - const: lpass-hdmiif + - const: lpass-lpaif + - const: lpass-rxtx-cdc-dma-lpm + - const: lpass-rxtx-lpaif + - const: lpass-va-lpaif + - const: lpass-va-cdc-dma-lpm + interrupts: + minItems: 4 + maxItems: 4 interrupt-names: - anyOf: - - items: #for I2S - - const: lpass-irq-lpaif - - items: #for I2S and HDMI - - const: lpass-irq-lpaif - - const: lpass-irq-hdmi - - items: #for I2S, soundwire and HDMI - - const: lpass-irq-lpaif - - const: lpass-irq-hdmi - - const: lpass-irq-vaif - - const: lpass-irq-rxtxif + items: + - const: lpass-irq-lpaif + - const: lpass-irq-hdmi + - const: lpass-irq-vaif + - const: lpass-irq-rxtxif power-domain-names: - allOf: - - items: - - const: lcx + items: + - const: lcx required: - iommus