From patchwork Thu Mar 9 08:24:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 66688 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp170452wrd; Thu, 9 Mar 2023 00:34:00 -0800 (PST) X-Google-Smtp-Source: AK7set/fZPQqHF6LM52fo2skJXj1dsFkO19bBHIgS2FfxXRwoaNpZ0wfphHBtOJFzPGbxcVYHRlC X-Received: by 2002:aa7:956b:0:b0:619:d5c2:e97 with SMTP id x11-20020aa7956b000000b00619d5c20e97mr14842520pfq.2.1678350840247; Thu, 09 Mar 2023 00:34:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678350840; cv=none; d=google.com; s=arc-20160816; b=QB0M1MEXZt7E/SY8oPfHGZ7oT572B+NnxCAQ1kGpaFv3elyGlo+3iU/rV7HsuQ8W8j B1u+uoe3gY8gpaDPGZ5rXbVdqSkrMp7WaJ91+iHpvkvG/mBF5P22cuLRSAM8aEzpDKRa Rfc9p1JR+6GMPqMEauoIv1TvDnEMMLe3QZlF24VKU3HQgh+CPROaIxDmEQfixRgYRZT1 +0LrLaxcTV8hZZH+QdI5AgiT6Dr34y9yml0SRW/s7DXYF5XKFAHf4Avs94fRfJqOiad/ 8IQU/8jk7KYEwj4VwExq/SuUbXUyGjKS30VqR5Nc17quLH+IEBNHWutoLETuERLfe24H SqyA== 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=nL9/TykSc18L23eiaPWvgWLTS2LdKi4LLDhXCWkq3ec=; b=pBWSWdRwVUAcLmMoGjSLCTbN/oTtv9xKFjtZMWDcbVY0bbm1+uwoQ733Uu0PhfOSTG XKlM0TMFeJMnZHqM8JQ89QSweyQQDRsAYwhZ1Yo+hEyQ4zh0cZgQgmIAyM1J9Pbm6A++ aF3uXc5JajFrJKk+CLq22bbHKNuxadGjgHE3L/A4ddp0DFk330g3W281bmanERhpF3Kc /8OSdRZDoaDsEoVKbaKwj2My8iActBOw9jof9Y8p6iG3N9rth1l6iKe4QU7m4QLyOSwN TjvYInvGW9PdKPZ3/OtT0vCdNLJnoRbgtx2RUKOUWB2HCEdyijcSu2Gb1mzig4Yr+r2m chdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ErQvoImE; 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 x13-20020aa78f0d000000b0056c0a9e09f0si17226277pfr.292.2023.03.09.00.33.47; Thu, 09 Mar 2023 00:34:00 -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=ErQvoImE; 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 S229546AbjCII1T (ORCPT + 99 others); Thu, 9 Mar 2023 03:27:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230172AbjCII0y (ORCPT ); Thu, 9 Mar 2023 03:26:54 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7C6AE20F8 for ; Thu, 9 Mar 2023 00:24:52 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id k10so3678934edk.13 for ; Thu, 09 Mar 2023 00:24:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678350291; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nL9/TykSc18L23eiaPWvgWLTS2LdKi4LLDhXCWkq3ec=; b=ErQvoImE2RaH2Wg4rFSVMBuQ1SpAgZTY7oYNpzjDuaNbfkGTxI0jUTNDVQBkPRfkas fo6/QPZk+ngNfUEKatCrAYYcEgK8rQU3eFmZ2ZW6P3J1B6+LgcJYUKyNiTBidusCs3+i 2Gxv+/OFyJMVjXTIcRMt+UJ1E+HGLdJuXxbrclCajwB3r6HgvcnoJbwr+DGUzFPdJFfj DBU8ZxRbuS46OIymqBDlbtis4EH+aS4Gf93yr5eUSSSYc4Pysta7KDr+2KZTiY1OxlZN GJSDofCPHA7ULLpS42/L83Xt4EXGTyUpXyIYlpehcd68JKm4xjkzqJ/AStVW1Eq7OKZY xPGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678350291; 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=nL9/TykSc18L23eiaPWvgWLTS2LdKi4LLDhXCWkq3ec=; b=B7R6liLxP+omMNH5u30nRwGbvdTjgj0s7Eh9hrbkDputa3siDuEzKoP8iVz/sXIvSv SdHOr0R97oNPmE2VxB55E0bGZCAZBLwIXiSRoB/c4ifqQk6FfeOcyRUtSUnT/E37wpFi ImkRv2xMkroPnCzFaheE+ah1d3fOk9Kac0Fq873c7a2RxFMCoE97uncAWLNGtQNo4yTP RmYhEAgbzK6XHYuXr/ooCQNbuqb+HsPCSjEgsM31kBOAUo5cifu15FI0k1BBCEKLoiPZ ZYP3gJw9B5h0XltvniEWlNbiEvZ0EdUiQwxsSHsTvxinVggb5fhN+Z74GrsPmmCc50MA jc2w== X-Gm-Message-State: AO0yUKX2eyf15hhgWlDSQ+ABEoxpXR2oA+Yj9ySKardz06on7bccQsoJ hOItv1NrpntjND/Xytkrl/LEXQ== X-Received: by 2002:a17:907:7244:b0:8b1:78b6:bbd7 with SMTP id ds4-20020a170907724400b008b178b6bbd7mr26301630ejc.10.1678350291210; Thu, 09 Mar 2023 00:24:51 -0800 (PST) Received: from krzk-bin.. ([2a02:810d:15c0:828:7ee2:e73e:802e:45c1]) by smtp.gmail.com with ESMTPSA id k7-20020a170906578700b008b904cb2bcdsm8662276ejq.11.2023.03.09.00.24.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 00:24:50 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Bhupesh Sharma , Neil Armstrong , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] dt-bindings: remoteproc: qcom,pas: correct memory-region constraints Date: Thu, 9 Mar 2023 09:24:44 +0100 Message-Id: <20230309082446.37362-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=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?1759878410636686092?= X-GMAIL-MSGID: =?utf-8?q?1759878410636686092?= Qualcomm PAS devices expect exactly one memory region, not many. Also, the memory-region is now defined in device specific binding, not in qcom,pas-common.yaml, thus also require it in the same place. Fixes: cee616c68846 ("dt-bindings: remoteproc: qcom: adsp: move memory-region and firmware-name out of pas-common") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Following dtbs_check errors are expected (not related): - qcom,halt-regs:0: [142] is too short - clocks: [[24, 222], [24, 223], [24, 157], [16], [24, 229], [24, 224], [24, 225], [27, 2], [27, 8]] is too short - 'px-supply' is a required property --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 1 + .../devicetree/bindings/remoteproc/qcom,pas-common.yaml | 1 - .../devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml | 3 ++- .../devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml | 3 ++- .../devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml | 3 ++- .../devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml | 3 ++- .../devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml | 3 ++- .../devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml | 3 ++- .../devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml | 3 ++- .../devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml | 3 ++- 10 files changed, 17 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 828dfebaef6a..69ba955432bf 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -50,6 +50,7 @@ properties: required: - compatible + - memory-region unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml index 171ef85de193..63a82e7a8bf8 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml @@ -82,7 +82,6 @@ required: - clock-names - interrupts - interrupt-names - - memory-region - qcom,smem-states - qcom,smem-state-names diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml index 5efa0e5c0439..eb868a7ff4cd 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml @@ -42,7 +42,7 @@ properties: smd-edge: false memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core firmware-name: @@ -52,6 +52,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml index 5cefd2c58593..689d5d535331 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml @@ -51,7 +51,7 @@ properties: - const: mss memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core qcom,qmp: @@ -67,6 +67,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml index c1f8dd8d0e4c..4744a37b2b5d 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml @@ -38,7 +38,7 @@ properties: smd-edge: false memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core firmware-name: @@ -48,6 +48,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml index f6fbc531dc28..96d53baf6e00 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml @@ -38,7 +38,7 @@ properties: smd-edge: false memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core firmware-name: @@ -48,6 +48,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml index c66e298462c7..5d463272165f 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sdx55-pas.yaml @@ -46,7 +46,7 @@ properties: - const: mss memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core qcom,qmp: @@ -62,6 +62,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml index fee02fa800b5..f7e40fb166da 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml @@ -36,7 +36,7 @@ properties: description: Reference to the AOSS side-channel message RAM. memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core smd-edge: false @@ -48,6 +48,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml index 2c085ac2c3fb..238c6e5e67c5 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml @@ -40,7 +40,7 @@ properties: description: Reference to the AOSS side-channel message RAM. memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core smd-edge: false @@ -52,6 +52,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml index af24f9a3cdf1..4394dfd2d8e6 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml @@ -43,7 +43,7 @@ properties: smd-edge: false memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core firmware-name: @@ -53,6 +53,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# From patchwork Thu Mar 9 08:24:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 66680 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp168531wrd; Thu, 9 Mar 2023 00:28:35 -0800 (PST) X-Google-Smtp-Source: AK7set8aVvlJNpZaMbnNz9I5os+vt7XGizFAz2Vfi5i2AQUcQnlziFXGepbh9IVeTaOgBsNIpPsz X-Received: by 2002:a05:6a20:cc5f:b0:cc:3da8:63a7 with SMTP id hq31-20020a056a20cc5f00b000cc3da863a7mr17377401pzb.44.1678350514980; Thu, 09 Mar 2023 00:28:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678350514; cv=none; d=google.com; s=arc-20160816; b=Jdt03Vf0GL+JogQ8UY9Wv46MjmnlDTPUbvILui6ITgjdlKcA5sDtK4jPp4S6YJqsq6 nKYFXPh63ClGcDkWHk7q0nsGeMqbS8pw7RHe6ZBuIHZh0itl4pTvLE32jvC6hpzA4BOo /ZWWJVw/a3MtV+CfghbqMi4GZokD0L/eVVDtw5HITNYe16+S12eUkUbeWlQYJF80khN8 c8M3YbGtoo1DArcXoMIq6TjOrlJGiABoHG8uTESiT9zz+35Ii6Tjuq49XPKZ2RXtE5o6 ZT/LGBLYEnSIEccdn7OzPsakOG2GjHpR3i+o2Q+0WTzX+u96fH3UytidjhGD8Oz0HFFI 4u/g== 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=54M36yJXtJywDqa3soejZEJ58/SqIkXRqwDM4xMj3tU=; b=NqdenUFXyd7gEo0CSILYclQyO9M/3IXD4LMn1QAyQWvis8LduNUbbod9uNVFrEhaSA 1JVmdBzvyibCq8+ir+w23cB4tn+QCNFWqON8nd8zLvVOe8AS89Dmmd3K2XOM9HvBlmxy 0XApdzo6e4KfIcZlQVWpOnFrL8leHsWInpQfcvOqiJEaurYLVVYW+DasRZop4lehGYzX vBZooBH9u7rE4hzny86RojNvBqYo3XQxhRBXm3Hy3dluBSIJmS92TjJY05liF7huQFgE 5D4nP1yZ2bs2dN+3MZw8kirncpdaaASD5N9lVKeNszXJGFZZjKi0v2/iY2d6yJ379JYA CiRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J9gD5OKW; 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 t12-20020a65608c000000b00502e2343db2si16882645pgu.150.2023.03.09.00.28.22; Thu, 09 Mar 2023 00:28:34 -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=J9gD5OKW; 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 S229580AbjCII1W (ORCPT + 99 others); Thu, 9 Mar 2023 03:27:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbjCII0z (ORCPT ); Thu, 9 Mar 2023 03:26:55 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BF0AE20FC for ; Thu, 9 Mar 2023 00:24:54 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id j11so3808067edq.4 for ; Thu, 09 Mar 2023 00:24:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678350292; 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=54M36yJXtJywDqa3soejZEJ58/SqIkXRqwDM4xMj3tU=; b=J9gD5OKW64LqWoKLplDJq9sO4bxFw7M2PB2X137MWe2HC68kzicZA5zT+AQCjKQc3D IU9ZwHCPhFrUN09RO+92qFKGkV8j+FRgQWB6VqU0zMKhLDuCxcoQ+Q5SsPkaD/3qx0RW YL6IN8BAqwb9DCtg6Xp8LeaATU8bQfz/YC1h0dE48E7/HxY6ftnnvv6P6xLxbwYVkwVc emm2pECa9QXWWGiytLPTQqnQlcfbBPxmNDSpujN9JV51JQrRV2rzP0dSrr0OuyaKtjUY bSHyo54S9ZrpKNd+Wypw/U4570O48Y97X5e0TrogJkRVymKLN9Py62xMh/CDe1qbbw9h bDKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678350292; 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=54M36yJXtJywDqa3soejZEJ58/SqIkXRqwDM4xMj3tU=; b=ADUKFVspdQp0a3WeGyaSomSiyY+Vy4/Hl9FTkScZqX5818Rnlt+JXWIsVwEI6AUViA D6eI3KieT7Ov+Y4s0mfSKx0JM7cyRv4H8omgQYAiwzzRCSETwxlQ5bdJFxENSqN4kLRc 4EQA6QMGR12gQMZIyCRFreVdSAmKNlIPrgtgf7Hh+na6q/Z18czRve3TLAr/p39VUOfM KdsNSVRrlU4ZuBvXWeuOHDK0MDSR2/kDCMWhxqSzFcY8KwA9aNFZRt91PQ1WBkX9C8pX 9ahFZR0UPYoCG2TbZ8tltFvNuv5kwbhme4WF4dgiByU5+6qv7c3b+GTiki80t5qaby3D DGxw== X-Gm-Message-State: AO0yUKUdxvyasJMJ1a/KYoDnx12O4ZmslX21hK+0F/lj7J5jtaCJik4r e1zVNjCG1vZuexh8mpH8eu7H4w== X-Received: by 2002:a17:906:434c:b0:908:6a98:5b48 with SMTP id z12-20020a170906434c00b009086a985b48mr20284099ejm.40.1678350292465; Thu, 09 Mar 2023 00:24:52 -0800 (PST) Received: from krzk-bin.. ([2a02:810d:15c0:828:7ee2:e73e:802e:45c1]) by smtp.gmail.com with ESMTPSA id k7-20020a170906578700b008b904cb2bcdsm8662276ejq.11.2023.03.09.00.24.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 00:24:52 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Bhupesh Sharma , Neil Armstrong , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] dt-bindings: remoteproc: qcom,sm6115-pas: correct memory-region constraints Date: Thu, 9 Mar 2023 09:24:45 +0100 Message-Id: <20230309082446.37362-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309082446.37362-1-krzysztof.kozlowski@linaro.org> References: <20230309082446.37362-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?1759878069320872625?= X-GMAIL-MSGID: =?utf-8?q?1759878069320872625?= Qualcomm PAS devices expect exactly one memory region, not many. Also, the memory-region is now defined in device specific binding, not in qcom,pas-common.yaml, thus also require it in the same place. Fixes: 838c558bb8bc ("dt-bindings: remoteproc: qcom: Add sm6115 pas yaml file") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml index f5d1fa9f45f1..1ac5b99b2fad 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml @@ -32,7 +32,7 @@ properties: - const: xo memory-region: - minItems: 1 + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core smd-edge: false @@ -44,6 +44,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml# From patchwork Thu Mar 9 08:24:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 66681 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp168564wrd; Thu, 9 Mar 2023 00:28:40 -0800 (PST) X-Google-Smtp-Source: AK7set8McgKfSfj8dUHJR96lYz0JAQkg9dGMZ7oNz2eFIKKi/tGE+tYjcWeLMquGUqxoKTEBLzJZ X-Received: by 2002:a17:902:d543:b0:19b:22c2:26a1 with SMTP id z3-20020a170902d54300b0019b22c226a1mr21104320plf.9.1678350520491; Thu, 09 Mar 2023 00:28:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678350520; cv=none; d=google.com; s=arc-20160816; b=bH/pqzrHYth5R2ER/7pNRHgZurxTJ9fHCSD7hFyIwz49Fus9inRII+Lv+DFaN/hebO dF7+Zs580LpBUTFsCDGnx5BbiuJWxTH45wdmAUq6ISCyuUFNReDDV8HOzdHZWSPP64I7 GkbEOChyEfbsltpiDVTAY63si6JjOKZaSnMQv+18ZN7kJRqOn2WphwWVI3vqKxq3Cli5 FydMmuv4QMg7CkbhKduC3jdE9+ZzLaXcztOR0/In9K1W/Tj5lGFE3Fk9cdW/PPZiuUhH OzhbSi3S3Goijbpkv5NqnHvHMyDFNN40wHEV3536jPe9Vmz+FcfmJRoF3ak0bAcijjun ztJA== 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=p0WNWiNoThDdKJdR6l/VK0hHflrQJ+6jbMnoczwCR5A=; b=Y7nnyvFEfAg47o8JZORPtTrPD5cu8jrdDXt4jfqJOjxw4YX5BSz1fxvrLVaoZ8n5tD V77wSDmxMiJbhv0FOqiyMYu4oct2siucKm1xOBs/QLXa2Lvwv4XNuOau8xCs7RWUEn9F E1jg+JyzT2/8Xg3XOkSLwLYjfeEO4rFunBsmds7kD2CMnTEyT7CUJOZOV2HesB9OAOa2 fQzmqlotqWx6EFUGxkyQ9vEZNJnv0EWqQLyeoGrdT/Tho5LdH52VjR3bMkP0uXwMXa6k fT0qgbubtAwzmTctNriOwwsN1mJN9Qw279W6vDzMkgnUlndWSzy3Z7SteLsuESJAM9UW gAuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vYMiir8P; 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 kz8-20020a170902f9c800b0019e6e64b991si16359357plb.562.2023.03.09.00.28.28; Thu, 09 Mar 2023 00:28:40 -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=vYMiir8P; 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 S230244AbjCII1Z (ORCPT + 99 others); Thu, 9 Mar 2023 03:27:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbjCII0z (ORCPT ); Thu, 9 Mar 2023 03:26:55 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79612E20C5 for ; Thu, 9 Mar 2023 00:24:55 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id x3so3730422edb.10 for ; Thu, 09 Mar 2023 00:24:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678350294; 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=p0WNWiNoThDdKJdR6l/VK0hHflrQJ+6jbMnoczwCR5A=; b=vYMiir8Pt9oNQfkOENopaYqriGaOppN9EklvT6m7/lbBlknxj1VH10yYL63jvt/JLA J3rL3T7rutGgL/6j+dWHA6MJqTdXi6Q3KbLPfn2c9afbD5wlf+lKtRPmCDkJ7XS9sHew OF0cO7gAJ+IrXxmTQq3kR5YBVLp6tE4ek53iC8mIYdH7lHA8XVmsexep5JHXjvsk3HOj iA6axWi2cQDDDv7AKsnvf1DMjve/M0/T3HafO0N23Qf6hSKLjdACWPQffRpluOdGbCWL 3DzyitbzmigE3/g4itAQxhgx7H9DMAs4Uxw9BA0PSRn4mhU1++KDQ0GU/7W4d26FZn4f 60dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678350294; 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=p0WNWiNoThDdKJdR6l/VK0hHflrQJ+6jbMnoczwCR5A=; b=PBxlkqvjLxDvIyV3EaAxWLDgFG5HKU6otwmhDS+k9v4AVg+4q1dklaXDR7GmIEBhu1 sX22AtwDuJCJmZr6lgVjItwG0m8EImYx30GOHR76FouRgeQQ9mkOk52tQjHMtTscRWZZ L4r3Gy52drMn8idVIAf0xj7K/q7Eut20oyHPD7/+Dm96L6oUkH2+/RbJBsIDcqVR0LRW +BkRzM5eYn7+9hDSckfykQYqwRs53pxX7hF9UuIWd7asQPbxTssCNIdhZTlKVXPU90nE bmkybwAVQTfTWr1Cl16AvFiQrZDG19C9fwpGmLa1odcI6riVjvb/iMfl/3KNT+uT7+EC LStg== X-Gm-Message-State: AO0yUKXI4mB658Nt/qQ3pbfrvCCVwbsUvOG6LHu6eMO/df9PvADRn4Td BMA4TApOMaIOa0vMaxE0sCnVXA== X-Received: by 2002:a17:906:dac9:b0:8d9:8f8f:d542 with SMTP id xi9-20020a170906dac900b008d98f8fd542mr23087299ejb.32.1678350294028; Thu, 09 Mar 2023 00:24:54 -0800 (PST) Received: from krzk-bin.. ([2a02:810d:15c0:828:7ee2:e73e:802e:45c1]) by smtp.gmail.com with ESMTPSA id k7-20020a170906578700b008b904cb2bcdsm8662276ejq.11.2023.03.09.00.24.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 00:24:53 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Bhupesh Sharma , Neil Armstrong , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] dt-bindings: remoteproc: qcom,sm8550-pas: require memory-region Date: Thu, 9 Mar 2023 09:24:46 +0100 Message-Id: <20230309082446.37362-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309082446.37362-1-krzysztof.kozlowski@linaro.org> References: <20230309082446.37362-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=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?1759878075355389145?= X-GMAIL-MSGID: =?utf-8?q?1759878075355389145?= The memory-region is defined in device specific binding, not in qcom,pas-common.yaml, thus also require it in the same place. Fixes: 084258d60712 ("dt-bindings: remoteproc: qcom: adsp: document sm8550 adsp, cdsp & mpss compatible") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index fe216aa531ed..58120829fb06 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -53,6 +53,7 @@ properties: required: - compatible - reg + - memory-region allOf: - $ref: /schemas/remoteproc/qcom,pas-common.yaml#