From patchwork Fri Dec 23 13:22:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 636753 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 48BE3C4332F for ; Fri, 23 Dec 2022 13:22:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236281AbiLWNWc (ORCPT ); Fri, 23 Dec 2022 08:22:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236292AbiLWNWR (ORCPT ); Fri, 23 Dec 2022 08:22:17 -0500 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9B71F594 for ; Fri, 23 Dec 2022 05:22:15 -0800 (PST) Received: by mail-lj1-x230.google.com with SMTP id s25so5026176lji.2 for ; Fri, 23 Dec 2022 05:22:15 -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=p7/q22FrN3HFOcnCXH0fL3Djanl//sYGrslXRP+s/CI=; b=x8jjmdwhOzggrd3mz1yXQ2VWko1pRNySvMlR/g5LlRn6TlkJ0u+xlWibaSZj6y+jJK ES4c2jGqyDCWPaT2cXsbU8QY7RISTReSCc10Akr8eREY0sOQ09WmjA2Qnl9hzaM1tKCI +M+cGw7mTokxEi0vtgOsbaw5XXB9EFp26BZ2y3f3l0F2VGguV0XfKeyoN3q/EFDeE9lL rIAD2AhE3me2tQPLZTmdHHIZ6N/5edLv0dwQAZ48t4KxXlHzZmL4SGgJX0G6RBKzgHeW F9lDocOkUnYha01/EJw4NhUJeCEG+nB5lOpa7YjhWve9auO9LWhPmNWS3SHs9+LUML1+ LrVQ== 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=p7/q22FrN3HFOcnCXH0fL3Djanl//sYGrslXRP+s/CI=; b=3mwuu+ljE7NUWDE4dY8GZfQK34G8EujRmSbtm29Xvs5pKYIFmReZ6E3J+OKjGqaR0V Vx3OzHxSV0kYd/aa0K0hAiDWaxGxc3PRHuCXcJp5zinmUNUDFF+p/Ir57Ptj9gw7L6CY WMC9SVUEwOzENjFk43ejjZbAvTitkRE8p2QKQ4CdrF4WlK792AJMwnNt552OWB8gxlhw Au8zNuaORWfjan7H74n5Cil1u8Iq1rOoDPstnKo4o6vW/gCjzTq2tDjahjnsGA5bmZ6V rYmf8o94sckGKfNvu8s32kzH7VcNPvE+AzPhujuVEVRzncX0qdQ8dvm6zFFqVL7nkdAs b92g== X-Gm-Message-State: AFqh2kqrnEqYND4W3uvRUFAGZzTci42Eb30jwPgr+MWwXKxg/2NE1GOX P7I5gT2bB1j+CfTmeuerey+9Xw== X-Google-Smtp-Source: AMrXdXv9Nz9LOGBxaFJ6sbG6TBSL0LlmWFwVBgCDMqgQ/ga5qsNe/Fyp8TiMdLbdb93FrUKQuAmrhg== X-Received: by 2002:a2e:8792:0:b0:279:e6fd:877c with SMTP id n18-20020a2e8792000000b00279e6fd877cmr2438966lji.53.1671801735442; Fri, 23 Dec 2022 05:22:15 -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 l4-20020a2ea304000000b00279f3c58278sm425163lje.51.2022.12.23.05.22.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Dec 2022 05:22:15 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , 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] dt-bindings: remoteproc: qcom,glink-edge: add GPR node Date: Fri, 23 Dec 2022 14:22:13 +0100 Message-Id: <20221223132213.81273-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The existing SM8450 DTS (and newer platforms) come with a "gpr" child node, not "apr": sm8450-sony-xperia-nagara-pdx224.dtb: remoteproc@30000000: glink-edge: Unevaluated properties are not allowed ('gpr' was unexpected) From schema: Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/remoteproc/qcom,glink-edge.yaml | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml index 25c27464ef25..8e133ab55ff3 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml @@ -22,7 +22,7 @@ properties: required: - qcom,glink-channels description: - Qualcomm APR/GPR (Asynchronous/Generic Packet Router) + Qualcomm APR (Asynchronous Packet Router) fastrpc: $ref: /schemas/misc/qcom,fastrpc.yaml# @@ -31,6 +31,13 @@ properties: description: Qualcomm FastRPC + gpr: + $ref: /schemas/soc/qcom/qcom,apr.yaml# + required: + - qcom,glink-channels + description: + Qualcomm GPR (Generic Packet Router) + interrupts: maxItems: 1 @@ -52,6 +59,21 @@ required: - mboxes - qcom,remote-pid +allOf: + - if: + required: + - apr + then: + properties: + gpr: false + + - if: + required: + - gpr + then: + properties: + apr: false + additionalProperties: false examples: