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: 36959 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1474468wrt; Tue, 27 Dec 2022 08:33:32 -0800 (PST) X-Google-Smtp-Source: AMrXdXuGpq8rJiydMDiQhZWi8+F3aGh2uMYbPmMK+7fL5hhTCR4+btSvt61Q2WscSo2tfSc9FBKg X-Received: by 2002:a17:907:7a0d:b0:78d:f455:c398 with SMTP id mg13-20020a1709077a0d00b0078df455c398mr16936415ejc.62.1672158812497; Tue, 27 Dec 2022 08:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672158812; cv=none; d=google.com; s=arc-20160816; b=i+0iTmwx26017ouyDnP1IYzxciVTVba3uVLno9LyxhZArO0sVnFTVzufvS0bvXz6HH 0fUKbisacwtqYGLElGCvin1SGmIwu5mofFKxH+S0YGd2FjompF+0f9d10kkRYR8nU4JN 9TesMZSR/ez2m4czgdIz2J4VvqBLpffOackY4u0stWTyoVOkfMDP9wgtmvQJjN6pXIS/ 4mfY/qClrgkMXbHKtDqVf1jKmhu9aPSMyx784iIQdrPz0ihFh/DfXb7HUi7rHKA2A4eF hvLg7thP1NdDsZQPJqQQsxBhVAC08xgEUlp2PqAtgZ0KlOcNfxYGg9hp91z0yOksG/gg 4fXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lyoX12mwMevw/GvkSfOGH+b2RZglwpZdjU1H0BRrPvA=; b=wWRc4bip/0kimPfrURSVQt8M0KP6zWb8hq95Simen0Y6ewrl2BT36WiBW8dW1+I2er S/ioVZipJ67wZb7EaTxfizsuDgz2e+CdGXwGPuq9XjYVZ3R90dmRt121ic7ZYT2aA2ZV AwnwnpCCP9CPQ0Ee/ksnf9FUoy7bHIKML/dOR2RQlS7anK/oTENfr8PjHCWWF7560kL7 rI9cP1mHld8q1tA9Xsuph2geZsMaAl3WOuIh9Haj52EcC1VtlV/BtUb80LefWEVTrJ2e wEvFSd1xSPoVdg4Ga2L8qiKRwuhxJjeOfez08KVeB2vY+dbIVSLuevCgSOaQxqtZ4NpU KfuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lYv3qXlJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg7-20020a1709072cc700b007ae743c61efsi10598703ejc.1002.2022.12.27.08.33.08; Tue, 27 Dec 2022 08:33:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lYv3qXlJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbiL0Qbq (ORCPT + 99 others); Tue, 27 Dec 2022 11:31:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbiL0Qbl (ORCPT ); Tue, 27 Dec 2022 11:31:41 -0500 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 179FEFCA for ; Tue, 27 Dec 2022 08:31:40 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id g13so20250286lfv.7 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=bodlZHZUcLZQZVJQPl6SOJGcHChwUkON6Q9JjPkgWfhQYZnuYvcbOB72y89lF2qOsa Vd7aU/Tw4qtpOSFjSNlvtA9KJYSwjcHU8fIUtX/aRT/jHurToLs69w5fzIuyYCsX0dNt NvSDwYcnTZoKvN7W+4Wkc+7KyBp/TU9B6ElOX7x3B+5X2X8oD34kSChNOvGZigCAdce9 viqx9Zu4frIcR/Xw5bFmxGMx6fu9uSjPHRB6YuDJl/ybjblpxPlxvHdvpErupEJbKvdv tAbvm87RwR4xboByISPxiilzbHfZqWeY06vAFSd8edDkseSxvXgpIVPIjdJpCzC+ZPCJ Jzxw== X-Gm-Message-State: AFqh2kovhaONCsTmGE+7IyLcqDbjHti+HK71Ua9VvVCLhZsg3WvD80pM sLxyQ6C6u/nrtb4NU9TzrEfrEA== 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 Cc: Krzysztof Kozlowski 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753385599155141902?= X-GMAIL-MSGID: =?utf-8?q?1753385599155141902?= 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: 36962 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1475365wrt; Tue, 27 Dec 2022 08:35:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXtmYEFppsFSsO2mDjHGBCvfwBsFfmVd9stBi09OlvXrioMEdYtSqCVDULyys/BjgRnJOSC1 X-Received: by 2002:aa7:d797:0:b0:463:fc00:4594 with SMTP id s23-20020aa7d797000000b00463fc004594mr19559521edq.9.1672158942366; Tue, 27 Dec 2022 08:35:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672158942; cv=none; d=google.com; s=arc-20160816; b=0I/SmoYEUR+wbJhndM+lgKcc4ATWQvOqt/NFfbFsbfW2Bjk3K/PjKQ895ONVeAQJ7q rWiz0Bz6cxp+FwHR6VU+mbnwME566sf+mYjWPXYBU8YcuqWxSAtkE3e8lVEVMNlU/Yu7 R4rVdlIophZEDeuMTKGOvs5f7cyCWTRrxbO4lBlCmTCOWdSIT330PL86Do6+VcV9+E9h thE/CvDa8lrVWizB8rWDzya+ueSZXfsQ9ZquMiyL3FsJ2FH1hKxuffCclGurB/PMvYez TkuYPBuDzcbv5WUMjbfesBRrwamitKiHj/W7zvGtwi1x3nJ8xv6Dk7pg/2S8hiGJzUXf +DfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4vKtFWde8ag1p6V6juNXXh4nFSRBR0CPIqIm4A+AUkI=; b=eYW693rga8RmUsgyI4LHwQJRtOYLjRXrsmaBty9wiwMySgzmzKeaK49YDhlbek9CpY obakXuP1Dw70+mzvK8NtNed/nzbh5iF6aT+C6TFzrtvW23TINlOepiUHcNTnPt3bASmj 6Okgtq05D1XpWvB13aA6P74/TZMp446IXD5DEMZQmhWZyzSlcTShkVBXiIO+rCMsy9Sk JAYWmMcOHkGN2lGEUX5SJWgzMLIdd9n22FisWKTnEXa/BOoG/myWZeQtDDg2ENXm3fnx AQlH3up0mdf9tDeCsw/Fqzll872awpv5PxT1bP490352VQdzpBdtZxgMM50wCw14Mb5U BGnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aCSdFPp3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a056402148100b004608c0b9a8asi6208353edv.201.2022.12.27.08.35.18; Tue, 27 Dec 2022 08:35:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aCSdFPp3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231521AbiL0Qbu (ORCPT + 99 others); Tue, 27 Dec 2022 11:31:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230456AbiL0Qbn (ORCPT ); Tue, 27 Dec 2022 11:31:43 -0500 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 658ADB7E7 for ; Tue, 27 Dec 2022 08:31:41 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id cf42so20287520lfb.1 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=cggx7ofLqyJkL/v8CPXYMhqy0uT4QxN9ZTtpSjrZqsDWnHoiSl68yq/mthQpiFwk7O ua50Ujqmy/f8dN8E4mvolp28vZoSxo81XBPEyDoBNvg6xtqPrf8UmAN9mD+Gh7OvQEmj xSJvKMN9Pnci5p+jyYmODqlpFj5sd7f8ULIkU826N17hXvKtmIFOUCS3TqCu7DxUf2Gs uqAwZ7LIx8a6pFD662DuVp0TxJTSfwGtO8TEIaPpEDUdQS8rCybbe2RzVZBIk0btIP+d eH4uzmb28xmX7Ukh7GnVlAwiWAcahb7hiN3cLYYXTeZVqSoF1uqkwhYGbTbMmTwVWu1C MiTQ== X-Gm-Message-State: AFqh2kqlXeHvYq0/Vyd6Akm7zxNP1kwQvkElDfX8FgqMPzAAjpUCRDgi HSHE++1e9S3fQgUE993nq1Rl0Q== 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 Cc: Krzysztof Kozlowski 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753385735215351488?= X-GMAIL-MSGID: =?utf-8?q?1753385735215351488?= 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: 36963 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1475384wrt; Tue, 27 Dec 2022 08:35:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXvIWYUDiLEisotpMBZ7XThP8cmhqwT4U1eUVVjT3m1gVijUFo5KWxio39Gr6w1Hpd8pFGpT X-Received: by 2002:a17:907:9d0b:b0:78d:f455:30db with SMTP id kt11-20020a1709079d0b00b0078df45530dbmr19179402ejc.3.1672158946463; Tue, 27 Dec 2022 08:35:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672158946; cv=none; d=google.com; s=arc-20160816; b=CVnPfTPyjWgpOMSCp/3Nm9a4fBMZgvI0pAYDp2Tx38+sgtARU/+XqZFFpYpL3uLUV2 Iv38TqvuPjrGxQQL+IAOCaGVPiFrVpwtkJF4tJTRIszC3xnlNq6AIHAlBsed5Ey6D/tL rg16OQl1gETvjWerzxf0Z9kq3doZMohoWe5xkA/hPzibvNl2w6Gd7Ggr+KBnrSEdxBGo Ko/dLCfHUszO+U5dChGfhcrbpM+EcNqmZPGfQfL8M8Bpp6hBykJp0eazOEvJjIHj6ePb nSnFqzxLtekHnaCkT8ZjxhBSI8HQNR24x8W4hGoJlfK24/6XkFKru4nOh6iONb8guHu1 Bi1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=72cmjE0V7BUxC28t/DNBJowrN2/6PZnCNzCr8N7zUBI=; b=omoM89VZIuEwu33+mTebqAhtyTGDnOb46kjpDAPbjEz7a2/lzmquwtlQzg0VErv03/ TiI0okvWqadp3G2QQzWpyMnyUUJEQ+LA2WbEA8GYhYxVtuLwkK/J4Cjjs4X1JDlk5aAQ NBH5zdJgR0OVt8NAQYmLRSF9CUqM0b3gnkKUYopwg94VWvuqxscJnjs5z9AA27qPpQ/C O8Eb6B/IYvpS2U3ep2lsv+EJ6gL8vdor0dhnWv2vn4GOR4dOsVafk8p8YqX/3sGdsI4M bgUEX2uAOixZ6qDzRkFKKbbuDxhBQmLamkgBoz0+PeN4uDTsigO1V7h9FTeQu/0MafdQ QChg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NbHvojsr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ae6-20020a17090725c600b007c0fa8181c4si10273060ejc.567.2022.12.27.08.35.21; Tue, 27 Dec 2022 08:35:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NbHvojsr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229762AbiL0Qbx (ORCPT + 99 others); Tue, 27 Dec 2022 11:31:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231277AbiL0Qbo (ORCPT ); Tue, 27 Dec 2022 11:31:44 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3432FCA for ; Tue, 27 Dec 2022 08:31:42 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id bt23so3609202lfb.5 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=Og9h1rgiB+YGZKiEuzmc4Kdv84yttRcmmM0n6bNpFogI+2VTfbFHNPQDvFOnRVgQRM 5jhAh5reUc896WEeBMJ8cVRN4/zH6k0RujVVpMXhUxTjyIISfUlvAnFe6LtkiDS655mW ykSIDNiAVAh4IVTjSaCFWsI8j/yEddPogC25NTRsfejsYVMyEGi21woBOZpee9aK088s DFM+X5B9bvG1n4iOTdeq3ENM6C0aeAS/7N8nJGeyhx2zoFvxcgAJA/YoTu8KLmdObqPJ fCG2rvRNZP9uFXhyWohhd6C/JY4iwHjsh28DT4tfE934XWf2g0iVM5jlN+40cH6Mk8UD OZHQ== X-Gm-Message-State: AFqh2kpNctGC2JDNJfO0QpOUYCetOqQ3ohBx/4/fhB4hjKjKL39U0AP3 gekNZxU9fTkQXngO8Uq0sDSUVg== 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 Cc: Krzysztof Kozlowski 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753385739315455093?= X-GMAIL-MSGID: =?utf-8?q?1753385739315455093?= 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