Message ID | 20230309082446.37362-2-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> 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 <rfc822;carlos.wei.hk@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Thu, 9 Mar 2023 00:24:54 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id j11so3808067edq.4 for <linux-kernel@vger.kernel.org>; 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 <krzysztof.kozlowski@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Manivannan Sadhasivam <mani@kernel.org>, Bhupesh Sharma <bhupesh.sharma@linaro.org>, Neil Armstrong <neil.armstrong@linaro.org>, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> 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?= |
Series |
[1/3] dt-bindings: remoteproc: qcom,pas: correct memory-region constraints
|
|
Commit Message
Krzysztof Kozlowski
March 9, 2023, 8:24 a.m. UTC
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 <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On 09/03/2023 09:24, Krzysztof Kozlowski wrote: > 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 <krzysztof.kozlowski@linaro.org> I think the sm6115 was not yet merged, thus maybe this patch is not needed. If it wasn't merged, please squash it with original submission and send new viersion. Best regards, Krzysztof
On Thu, 09 Mar 2023 09:24:45 +0100, Krzysztof Kozlowski wrote: > 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 <krzysztof.kozlowski@linaro.org> > --- > .../devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring <robh@kernel.org>
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#