From patchwork Tue May 17 07:01:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573503 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 1690AC433EF for ; Tue, 17 May 2022 07:01:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239783AbiEQHBa (ORCPT ); Tue, 17 May 2022 03:01:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240307AbiEQHBZ (ORCPT ); Tue, 17 May 2022 03:01:25 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A55F41EC7B for ; Tue, 17 May 2022 00:01:20 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id l18so32777460ejc.7 for ; Tue, 17 May 2022 00:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=moO0mfzAsMtnfgS0NS7AObTvGTtLS3H0rOk3lb8ST4E=; b=aPGWNN3PAd3qCX5gCedlMYKZImBmit6DpCCYVTshbdtR+j+xvc2yU+HVk1RMXd6W6v 1YkjAwxijgbh3d5sRwRypmdK5vt0wcFNlgoe7bCfFUSMyZAbpFoZoO4TIkL6A36o3GD0 22f2v+HNc7k3R0+ODOqzxg5F7NeSAcyO8jpyWW4qRLhOAKuJxYQ63isb9IzmmGM4SmId N91X7IZEuOIjlw3KXtY91cOVwDr1oVtKiIJSBCHee8cSeZgAGO4Q5bmnx3C0lgcMg/kd nFe6Z+GP8qyclKNsrvJ/NWditH7WdWHSOjkoRRDmtzptwViPWZ+b6KedgfbvL2NfJRYU KOgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=moO0mfzAsMtnfgS0NS7AObTvGTtLS3H0rOk3lb8ST4E=; b=WKq1ZWOgIsG8feo6oCe0tC7F4MmQkS2W3LoOHz05bR/MfqryZpjxSaXI8h3APQNNtA Onz3TDFPS5vt+S+Xz2ekcRnLkZAW+8cZ8cuj+FFiTHiUPOE6ZuXIl1+Z6ZAC7UV/31un iE3SanphOQti7jeNzP+nmUnHz70jxCoi59VSZfkITHOle9Lk4oE8VpITs2obwtw+vuTa CpnHwJwRP9FT4mD7uW+lspLMn0+Mah2x9cYj1Q6PH6SE5s4+4aXOcpRGCFxZbZ6EK8fM 7T0jhllDcFnNofZo+exxNV4KKdmtyp2XGYAhPsbOHs5OmOtkerya3rACNqOUoGk4kpxG oD5g== X-Gm-Message-State: AOAM531/E0biozLJf5ZATYb9qLFFILk9eHkN1j1833fL1e74pwBT35u0 GeHpbHiXfGEzoZwpl0v4KsJvIQ== X-Google-Smtp-Source: ABdhPJy/n8xO8YnxRehXQ1gZbEjZKoNLgBvMQ6gADrK7/3iIaYZ9CTI5ZfDCECnI+q9RXedO2sEsCw== X-Received: by 2002:a17:907:72c5:b0:6f4:678:8742 with SMTP id du5-20020a17090772c500b006f406788742mr18676120ejc.607.1652770879157; Tue, 17 May 2022 00:01:19 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:18 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 01/12] dt-bindings: soc: qcom,wcnss: remove unneeded ref for names Date: Tue, 17 May 2022 09:01:02 +0200 Message-Id: <20220517070113.18023-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The core schema already sets a 'ref' for properties ending with 'names'. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml index d891ecfb2691..5320504bb5e0 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml @@ -77,7 +77,6 @@ properties: Should reference the tx-enable and tx-rings-empty SMEM states. qcom,smem-state-names: - $ref: /schemas/types.yaml#/definitions/string-array items: - const: tx-enable - const: tx-rings-empty From patchwork Tue May 17 07:01:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573952 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 B90C6C433FE for ; Tue, 17 May 2022 07:02:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240630AbiEQHCU (ORCPT ); Tue, 17 May 2022 03:02:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240513AbiEQHB3 (ORCPT ); Tue, 17 May 2022 03:01:29 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 004502CDC5 for ; Tue, 17 May 2022 00:01:21 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id dk23so32796176ejb.8 for ; Tue, 17 May 2022 00:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tfEGYpn75JZIAXykbEZSrC/6uLUKdiFuaaBfUgP96o4=; b=aqrzdFHaxxIHJsOHHTRhp9XZBr3FCIznH3IAP/kCztIGY9IGSvhOU3TiqNp4osPaKn 5fGzy04VbBQ7ONevNZGOOx1IWMaN/CSTza9okBZfdEklrRSqAh1F7YfFVUsdXy9Rmusn cva08ShLCkekAIzsxQytWi26XN5lomrL5Pq0FFtCRx5Xf+IVT822bnlXOEiWaHttKSza LC6Lrte5DbeqISmg76YBdsa95O3zyX6PpLZ4fJ4k379pHdkSGNF4OZUVRKSoTFVMQONq uMm5Y4JMMcaUp1O5M94mtQimsQ9zTbt0x4wFPspRwM9Lv+XQnEXWu6lsZCpTLXiiW3Iz FQBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tfEGYpn75JZIAXykbEZSrC/6uLUKdiFuaaBfUgP96o4=; b=70KtsiELUeUnAy9rkIInFhc/y+pq4gJVQ8RIp+KGNAdB/B87QMYlcq0i/A4vf6MtWF Z2pdrNfpMZIfC7XKfx7j9ONvR7bdawX1t8WeJbOGWz4ud2BEfM8bLvlGwvB23Y1Kd8KV PBhtpce91Bjlx40NZ6kwdVA+fI5213oG5ESS3aEACgcPz0fX7xghLstZ0jrvsUdF0B3T qQPNx/64o/ht0MfQPvDJ2wlvCMOFkGmDAxSRE3NufqXrSx1by4W608bm+RiTMFeYIDXj g1RDTVIgMbOvxrJuZ1JURgJvLaT29Xsj9OhjYP2eMfg/DdI2WXPfXQ/SPvC1JP+kM8BE JdCQ== X-Gm-Message-State: AOAM533ig7EtG22TYScx6Ex6oyZ5ebOQlr+egCvVhDZa2//1ZFUiL1uy zhb5dUObuBl+9l5sRfIx10x2dA== X-Google-Smtp-Source: ABdhPJwU7YfLmQb69S3WYBqzwSble4j7A+5uNz0HWOjwom95/MqGo5I2jvhB/XOFIR4Oxu+aEhGzKQ== X-Received: by 2002:a17:907:1c21:b0:6f4:7a8a:d6a2 with SMTP id nc33-20020a1709071c2100b006f47a8ad6a2mr18490102ejc.288.1652770880298; Tue, 17 May 2022 00:01:20 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:19 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 02/12] dt-bindings: remoteproc: remove unneeded ref for names Date: Tue, 17 May 2022 09:01:03 +0200 Message-Id: <20220517070113.18023-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The core schema already sets a 'ref' for properties ending with 'names'. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 1 - .../devicetree/bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml | 1 - .../devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml | 3 +-- .../devicetree/bindings/remoteproc/qcom,sdm845-adsp-pil.yaml | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 947f94548d0e..810ef9d2bcc1 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -116,7 +116,6 @@ properties: - description: Stop the modem qcom,smem-state-names: - $ref: /schemas/types.yaml#/definitions/string-array description: The names of the state bits used for SMP2P output items: - const: stop diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml index 31413cfe10db..06f5f93f62a9 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml @@ -90,7 +90,6 @@ properties: - description: Stop the modem qcom,smem-state-names: - $ref: /schemas/types.yaml#/definitions/string description: The names of the state bits used for SMP2P output items: - const: stop diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml index d99a729d2710..ade932468c38 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml @@ -76,7 +76,7 @@ properties: - const: pdc_sync memory-region: - $ref: /schemas/types.yaml#/definitions/phandle + maxItems: 1 description: Reference to the reserved-memory for the Hexagon core firmware-name: @@ -102,7 +102,6 @@ properties: - description: Stop the modem qcom,smem-state-names: - $ref: /schemas/types.yaml#/definitions/string description: The names of the state bits used for SMP2P output const: stop diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sdm845-adsp-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sdm845-adsp-pil.yaml index 1535bbbe25da..20df83a96ef3 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sdm845-adsp-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sdm845-adsp-pil.yaml @@ -90,7 +90,6 @@ properties: - description: Stop the modem qcom,smem-state-names: - $ref: /schemas/types.yaml#/definitions/string description: The names of the state bits used for SMP2P output items: - const: stop From patchwork Tue May 17 07:01:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573955 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 F0B9CC433FE for ; Tue, 17 May 2022 07:01:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240702AbiEQHBc (ORCPT ); Tue, 17 May 2022 03:01:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240527AbiEQHB3 (ORCPT ); Tue, 17 May 2022 03:01:29 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8B7431343 for ; Tue, 17 May 2022 00:01:22 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id dk23so32796263ejb.8 for ; Tue, 17 May 2022 00:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZjLxakQ0FSfyTvd+sfZt6yVLmsWKYw5HJWioql1MULA=; b=HQY/XKhJJ47vJX89ecJOgBcJXEoDja7yEsRe5wcWIsu8QaGJ2m1Dcghz5EmgQ3FIJr oTJk5/mqhhfdh1m/eCuJ2iffLzQdvYxFus6pfki7RqQ9iRuQFVkglT7vd8zBzqNWMRB2 7OBCSLwbi8LSEX1ZKUC9ZdHXZ+XfO8o3eTY3UpkllrQvjJWD8e4NTY5jpoKyzVdFQbZc 0oQJe2FoxJi88Ddlb18TiePefyEKxRuO+uTs+uk9Az/mraqj5tGef4HIyIFnFOR1akoT 1C9/lt0alTRFJOdRVRSpwCjZhAaKafX4lRgAd0F2FLibWsiG/cmrU/vsiRHMA54O7UPQ /DQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZjLxakQ0FSfyTvd+sfZt6yVLmsWKYw5HJWioql1MULA=; b=p67gYV8DS49uYfw0kNWQPDoUh2eLrls4p4meCSYtrKb94pfoRyFjGiyr090LYXohT1 NpSHR585oR9mzxrnlmsuiSJgQz3DhmzAjVpLlv+i36hQ0I4H+cktew9HSaFRbQJiNNL9 LN6dAfHSNSTzUjoX5ywlx+I2IKQEqla2zn3OTHMq/oTb9Lc2RyDShQM5SbICAEFLfqqc 0loCC1azkXTzNSXAnIFTugq8JEl1Cr6RprfUphMyd50arO7NWMmFIfuKU+XBntrz4lUo 7isVKxLVCCNfI+8r4eMwvH/XEqAAJzeWJQJKG3xmUqc897pUReYhcQkusBb1xP7TYh/v MISQ== X-Gm-Message-State: AOAM531Ie9yjF6H0TUOP7crCBRqm84BXzKTJoaR5m4juBkFIENNkeLiu qanNpTRTczcBgtvB3zOcz4Jm+A== X-Google-Smtp-Source: ABdhPJxTPLYtnDAjRe9X2IdxWarT1jcYAAPfoKCM0yNozDKFc/Ek6ZjA+hyu70A8B8uGnhpicokqAQ== X-Received: by 2002:a17:907:948d:b0:6fa:7f00:ed57 with SMTP id dm13-20020a170907948d00b006fa7f00ed57mr18079250ejc.761.1652770881471; Tue, 17 May 2022 00:01:21 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:21 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , 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 v2 03/12] dt-bindings: remoteproc: qcom,adsp: add interconnects Date: Tue, 17 May 2022 09:01:04 +0200 Message-Id: <20220517070113.18023-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SM8350 ADSP Peripheral Image Loader already defines interconnects, so document the property: sm8350-hdk.dtb: remoteproc@4080000: 'interconnects' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 810ef9d2bcc1..6e1fdfe91043 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -67,6 +67,9 @@ properties: minItems: 1 maxItems: 8 + interconnects: + maxItems: 1 + interrupts: minItems: 5 maxItems: 6 From patchwork Tue May 17 07:01:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573953 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 85977C433FE for ; Tue, 17 May 2022 07:02:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240594AbiEQHCL (ORCPT ); Tue, 17 May 2022 03:02:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240558AbiEQHB3 (ORCPT ); Tue, 17 May 2022 03:01:29 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8548A3CFEA for ; Tue, 17 May 2022 00:01:24 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id ch13so32733406ejb.12 for ; Tue, 17 May 2022 00:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E5YORnDcbWOJgrpTz/qSCG6/YYMuC3Z8T9fT4bh9Wds=; b=RYlKaedw8XHDuSPIsAKH6WOjvMjDHWHUoi4CQtC+m/fNR53cM3SDI76mkQpItCoVY1 CYzO9Ts1Qn/CfANZIYuarG2+pJ595hoigvvmvPKXlOl60ynbZmgx8UfonJLu9I3/gMlf pglWRR4sOVASjLDDylbx9YnHd7vNP8uOPa3zQa8ruxz9nKwnf97+Snh2aJdSC0a/vvLM TuP0m3Hn4OEbEQRJ0dxPsQ4/5lWgH/DI00PmuFY5BQ159Q5FJubWq/SKjQO7ENqXh8FA 2xjBfDRFoABd/YWD7eNX+e0+KqPKaM1A8DHXzjYDuiHHfksoy8+MlJsBDyp9tZvEX5+4 811Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E5YORnDcbWOJgrpTz/qSCG6/YYMuC3Z8T9fT4bh9Wds=; b=FF314qGzaqPU41q6s9ekTb5k5gZKlJsnG5lm3Oje5WiVr/UsRfO6LXJ2egRA8n7Dpl zleAbsLUilat+6loxmAte/UtrtAds17For32hBkL1uSpUooMSPqDiBwdxer3ccL9muk3 2x0J1YEvWJXVhAtwZyMni/JmU5sE591Hk1PeBCDp6xrhOhXPu6kohqVRzbHAbAc3Vbxk 4oD1rSb41hRUKhFm+rl+nSWOCLJxeT8Qx7ZsE/EKnAvulenr7RwCc4Fcilyp9E04tJhn jYRc2YFkBnSxOXbKdCK5F8oW6mqKY09w7E79fhVwFllxNVkIj0TZYQamUhmJRXmhpP8w aDHw== X-Gm-Message-State: AOAM533xII4t8wxODirSmqpTWPkiHWmO62mo4sNgprJmxj0abrhW09pa JKilG468nDNcTOxzsb+Xtl5HYg== X-Google-Smtp-Source: ABdhPJxPFRNvEnpD/ErxMu/AzfcJ14qdJNWTxdny8unKsWuGXSxICUMN5cKLkMAJZaswSxnz6rW1Pw== X-Received: by 2002:a17:906:5d11:b0:6f5:942e:bc60 with SMTP id g17-20020a1709065d1100b006f5942ebc60mr18109093ejt.254.1652770882573; Tue, 17 May 2022 00:01:22 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:22 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , 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 v2 04/12] dt-bindings: remoteproc: qcom,adsp: simplify interrupts Date: Tue, 17 May 2022 09:01:05 +0200 Message-Id: <20220517070113.18023-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Interrupts between variants differ only with presence of last optional interrupt, so the constraints can be simplified. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../bindings/remoteproc/qcom,adsp.yaml | 46 ++++++++----------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 6e1fdfe91043..0b2db36e5d14 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -72,11 +72,23 @@ properties: interrupts: minItems: 5 - maxItems: 6 + items: + - description: Watchdog interrupt + - description: Fatal interrupt + - description: Ready interrupt + - description: Handover interrupt + - description: Stop acknowledge interrupt + - description: Shutdown acknowledge interrupt interrupt-names: minItems: 5 - maxItems: 6 + items: + - const: wdog + - const: fatal + - const: ready + - const: handover + - const: stop-ack + - const: shutdown-ack resets: minItems: 1 @@ -317,19 +329,9 @@ allOf: then: properties: interrupts: - items: - - description: Watchdog interrupt - - description: Fatal interrupt - - description: Ready interrupt - - description: Handover interrupt - - description: Stop acknowledge interrupt + maxItems: 5 interrupt-names: - items: - - const: wdog - - const: fatal - - const: ready - - const: handover - - const: stop-ack + maxItems: 5 - if: properties: @@ -347,21 +349,9 @@ allOf: then: properties: interrupts: - items: - - description: Watchdog interrupt - - description: Fatal interrupt - - description: Ready interrupt - - description: Handover interrupt - - description: Stop acknowledge interrupt - - description: Shutdown acknowledge interrupt + minItems: 6 interrupt-names: - items: - - const: wdog - - const: fatal - - const: ready - - const: handover - - const: stop-ack - - const: shutdown-ack + minItems: 6 - if: properties: From patchwork Tue May 17 07:01:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573498 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 BB027C4167B for ; Tue, 17 May 2022 07:02:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232221AbiEQHCN (ORCPT ); Tue, 17 May 2022 03:02:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240544AbiEQHB3 (ORCPT ); Tue, 17 May 2022 03:01:29 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 857BD3CFF2 for ; Tue, 17 May 2022 00:01:24 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id l18so32777460ejc.7 for ; Tue, 17 May 2022 00:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CzOLeWMoI9zSx/zven+R8jYOl3Pysvttl5adaJeZPwE=; b=wm4Jf03mQs70D1AQO8mr+FSdwcopoi8EyQNknbgNQz5wnnLPo4I0y59kwyP4iHEUYC 1SqcdEXEFLOr9pGaOCDROlHIlSSQNRUYEJUCUIlMFgjZqhNWZDkx+ElBMlMxCqzWSX/U WZ+VAv3JvEoGdzR4BUMg2CUXdOLWA96cV/FsZkZRhn1wscj4+1AJZ7ARgkdilmPMO/1l wR6bNrD9cK5C43Vrf5HJK/E2A/BKWY0J7U686WdNB1tjQwbir8NSgzn6AAT4uyOo1ECS xh9wOM3/Cwm2TpIlk6MA0xy/zbDU4xfn07kRtlmeT/n2AvC9KwUzy4dljEMCLhpusJe8 V5sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CzOLeWMoI9zSx/zven+R8jYOl3Pysvttl5adaJeZPwE=; b=NrzUiKBDy078DGMFjuPDKmUXJgsC4jTPNcv72CtG26Aep6ka5PKAXcrKPaFkGnIsga QjLIbIKbZGeuDYMSIYhCqqJfJGVCCfrJYjVkpneVNBImoRsE3Uv6WEKjM5VjXvGOe9hz HEmRJC5Gxc736KYvvhWkw+oeuB0n1Ju0XkKmQWM1OxA18fcUQ7DtcSLzEZeZLzPD1qdV AkYtvGj91HDLrGdL8RXEd0yKaJNBiy215hEwat0Jdh23eAiSpRrgSLlbi+i54aSQ2td9 Eriwe/YzSx8JrHENJcEZ5yoriYH7K18euwwQh5lGMdk6aHObTOFZ34SY6iL6ooyCN0bd ycMQ== X-Gm-Message-State: AOAM532Ljdr8aRHwvve+R8JXnbD18+V1mT7gX0pt+qrO554bp4Lg155k KTZK6/0VPrR+Huo/JMxHlOXvmA== X-Google-Smtp-Source: ABdhPJyS4ug6RGlpiMRHX5YhbZbZdKpS4A8GRbN8on3xyqWHOCo07ADAj6g3CTyFB5ZKerIDTALrYw== X-Received: by 2002:a17:907:2ce3:b0:6f5:130e:d98f with SMTP id hz3-20020a1709072ce300b006f5130ed98fmr17878330ejc.706.1652770883851; Tue, 17 May 2022 00:01:23 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:23 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 05/12] dt-bindings: remoteproc: qcom, adsp: simplify SM8150 power domains Date: Tue, 17 May 2022 09:01:06 +0200 Message-Id: <20220517070113.18023-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SM8150 if cases for power domains can be merged with another entry. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 0b2db36e5d14..e3a193299c4a 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -371,6 +371,8 @@ allOf: - qcom,msm8226-adsp-pil - qcom,msm8996-adsp-pil - qcom,msm8998-adsp-pas + - qcom,sm8150-adsp-pas + - qcom,sm8150-cdsp-pas then: properties: power-domains: @@ -434,19 +436,6 @@ allOf: - const: cx - const: mx - - if: - properties: - compatible: - contains: - enum: - - qcom,sm8150-adsp-pas - - qcom,sm8150-cdsp-pas - then: - properties: - power-domains: - items: - - description: CX power domain - - if: properties: compatible: From patchwork Tue May 17 07:01:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573499 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 054EBC43219 for ; Tue, 17 May 2022 07:02:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240614AbiEQHCK (ORCPT ); Tue, 17 May 2022 03:02:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240607AbiEQHB3 (ORCPT ); Tue, 17 May 2022 03:01:29 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 705353D1DB for ; Tue, 17 May 2022 00:01:26 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id j6so32764798ejc.13 for ; Tue, 17 May 2022 00:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KYeBcLtOIBRk8eetAhraGQ55nA0X3XbtRB4w/tNkBGA=; b=cG61NTNM+ZDLAW7nVuf/6PqpcSZfx1QVKqJJJ1zpe+EOLS6pUwOs3XhzPf0KQUT8E4 7qB08/i9v3EEikoxIofIr/gRImD5o+/wg0Urg172SRXUZWav+J+kA2Tp40vijS4xaxnH QusrQq1F6NIocC48zkiwe0aYwU9zXzIUjV/ydHEpJQxZadpxOcCz92Zm4jYVl8W9H5x5 yNWT2+QHlUQcGhe+Cyjv/gUadGNRvMW4abaj45iY269AhlDNilmlwl5MeQ2GspFl5Ikx NAxD8bXKruURoVObOnvoRKVNfF1m/H0G3EnEaaoJ0TI/SbXTq6OGqR10/VrOfe5MUDvT OlBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KYeBcLtOIBRk8eetAhraGQ55nA0X3XbtRB4w/tNkBGA=; b=hNePOuDYJAarKlOv/sZ3sMgEhROIW/HlmZvYUWzoCst2AdnRlFW+OWx1VOHyjn5JHh dvOX4fvpDNfGguiULUAzckBA9lh3LiTd/JjCcAiQ38gYNP9FDuusKFXy+wB/9/XfhMgn lM36XcpmoFOjTensTqI7weQW6OF3S5/hI3723VCf2mkVBDve8yi33lAa5ecJd96YfBWA LtbR6uJHQgpOohEFTFkYTWwmm53lB/ZOnAFhXCE00n5jvOgraxy93cJecqP4vyIm8mRl W9UCA5zR9tnVomZrf+Mk1LfV+O0lX6O3PvcMRPm5YpKieOOseePeVtXeZ+TUnRjGb8Qd 4ZvA== X-Gm-Message-State: AOAM533VYS7+AGLVjr0T3l3WF00TxZzm+ENO+UCeqf7COe4TVEtYIwck SKUxJvm8DewBQyG+yHj8JkuEvA== X-Google-Smtp-Source: ABdhPJxd5QFcbp/FZrPylMNIisctJd9WG/F8SkiGk1dWCV7+wPGAPI+hp9C/ZrhzR6QnmO3N8ipYWw== X-Received: by 2002:a17:906:3099:b0:6f3:e8e1:87cd with SMTP id 25-20020a170906309900b006f3e8e187cdmr18483709ejv.290.1652770885058; Tue, 17 May 2022 00:01:25 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:24 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , 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 v2 06/12] dt-bindings: remoteproc: qcom,adsp: use GIC_SPI defines in example Date: Tue, 17 May 2022 09:01:07 +0200 Message-Id: <20220517070113.18023-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use GIC_SPI defines instead of raw value in the DTS example. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index e3a193299c4a..d04de60ae017 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -575,11 +575,12 @@ allOf: examples: - | #include + #include #include adsp { compatible = "qcom,msm8974-adsp-pil"; - interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>, + interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, @@ -601,7 +602,7 @@ examples: qcom,smem-state-names = "stop"; smd-edge { - interrupts = <0 156 IRQ_TYPE_EDGE_RISING>; + interrupts = ; qcom,ipc = <&apcs 8 8>; qcom,smd-edge = <1>; From patchwork Tue May 17 07:01:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573954 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 B8F67C433F5 for ; Tue, 17 May 2022 07:02:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240651AbiEQHCH (ORCPT ); Tue, 17 May 2022 03:02:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240614AbiEQHB3 (ORCPT ); Tue, 17 May 2022 03:01:29 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1C823DA42 for ; Tue, 17 May 2022 00:01:26 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id i27so32768975ejd.9 for ; Tue, 17 May 2022 00:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R8I3k1Yqw2llxG/1a2XlWwnnd2xdhA1wKFdWrbiPS8U=; b=rpP6u9dhtfbJ2ujNsvM5elT7o9rRnKtHKtlgqX6tCI8rvtRoENFV0lqtz9kZf1YFFs vRX40hOf85/gDz9jhGomNzfmnok2LJcKWZqkGqF2uPw1alD8ZJt6/VTVZ0l0roLZPgN7 cPbDUmd6DQmP86nRENYZ61yn9Y27aHZETRyd/MhKcmTdkyzBNPIltdJ1bZZu1BVBWBRL hZpXUhEITSHUtljqakgS7AHqAx+j9RdlEBqnLqGK0re4J1bCgGncIAxxoOdAe92vnJoI Ok5oLTIABAx312SwRdRb1P/jWsCbHQ4+mFIA3j+JgjG/p8pB/OSc3SL9HrTPe8EIoNPV 8Fxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R8I3k1Yqw2llxG/1a2XlWwnnd2xdhA1wKFdWrbiPS8U=; b=yYicjmFA0sKWptAW7OaOaTgBKT4b6YG87BoQYBJ68fzwDVEQu1tMEysHsrS/v2GFHG m+hhYvTz2R50FGrrFOqqNEEpikcxIdZyQsG5+9pTXJKvcw61mRouW3bf7IIFUyHshnHd sjL/n70oII1k0VWzTLjesqebFesuBLxCaSlQTSheXWNGHjmGpEv8tRl3AkBXpctPcXJV BvJurp513wce+abFsiR4lu8Zgl+tSmuA5ZDMbKQ8epCEObDizAZ5CSnCbVnVpAj/6xCu QrvYK36uRxzEvfTUCH4qx75Fs7dML6P70tOcZiS2Oeb3MPVUpiiNRejehK4XVBmOA/SF /oow== X-Gm-Message-State: AOAM530UaSOikLfTFJSSr9GBtpYN8jWsNHShZomYcC5kHRxYcBgwZiD8 tKJ9THLEuCxS2YPDt8A2qQAxYg== X-Google-Smtp-Source: ABdhPJz1Y4SrEBPvcX4hebTvSgeFoP+jhcQMEWGrivFENi9/I7lepkvBPtLsJsggCIExnMmu5/MP8w== X-Received: by 2002:a17:907:968e:b0:6f4:d80f:f0c3 with SMTP id hd14-20020a170907968e00b006f4d80ff0c3mr17515802ejc.145.1652770886243; Tue, 17 May 2022 00:01:26 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:25 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 07/12] dt-bindings: remoteproc: qcom,glink-edge: define re-usable schema for glink-edge Date: Tue, 17 May 2022 09:01:08 +0200 Message-Id: <20220517070113.18023-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 'glink-edge' property appears in multiple bindings, so split it into one place which can be re-used. This reduces code duplication and adds strict schema matching for glink-edge nodes (instead of just "type:object"). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/remoteproc/qcom,adsp.yaml | 2 +- .../bindings/remoteproc/qcom,glink-edge.yaml | 72 +++++++++++++++++++ .../remoteproc/qcom,sc7280-wpss-pil.yaml | 18 ++--- 3 files changed, 77 insertions(+), 15 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index d04de60ae017..4dfbfece1ec7 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -154,7 +154,7 @@ properties: channels and devices related to the ADSP. glink-edge: - type: object + $ref: /schemas/remoteproc/qcom,glink-edge.yaml# description: Qualcomm G-Link subnode which represents communication edge, channels and devices related to the ADSP. diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml new file mode 100644 index 000000000000..fa69f7b21eed --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,glink-edge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm G-Link Edge communication channel nodes + +maintainers: + - Bjorn Andersson + +description: + Qualcomm G-Link subnode represents communication edge, channels and devices + related to the remote processor. + +properties: + $nodename: + const: "glink-edge" + + apr: + $ref: /schemas/soc/qcom/qcom,apr.yaml# + description: + Qualcomm APR/GPR (Asynchronous/Generic Packet Router) + + fastrpc: + type: object + description: + See Documentation/devicetree/bindings/misc/qcom,fastrpc.txt + + interrupts: + maxItems: 1 + + label: + description: The names of the state bits used for SMP2P output + + mboxes: + maxItems: 1 + + qcom,remote-pid: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + ID of the shared memory used by GLINK for communication with remote + processor. + +required: + - interrupts + - label + - mboxes + - qcom,remote-pid + +additionalProperties: false + +examples: + - | + #include + #include + + remoteproc@8a00000 { + reg = <0x08a00000 0x10000>; + // ... + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_WPSS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_WPSS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "wpss"; + qcom,remote-pid = <13>; + }; + }; diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml index ade932468c38..3f06d66cbe47 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml @@ -106,8 +106,8 @@ properties: const: stop glink-edge: - type: object - description: | + $ref: qcom,glink-edge.yaml# + description: Qualcomm G-Link subnode which represents communication edge, channels and devices related to the ADSP. @@ -121,21 +121,11 @@ properties: - description: Mailbox for communication between APPS and WPSS label: - description: The names of the state bits used for SMP2P output items: - const: wpss - qcom,remote-pid: - $ref: /schemas/types.yaml#/definitions/uint32 - description: ID of the shared memory used by GLINK for communication with WPSS - - required: - - interrupts - - mboxes - - label - - qcom,remote-pid - - additionalProperties: false + apr: false + fastrpc: false required: - compatible From patchwork Tue May 17 07:01:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573957 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 54019C4332F for ; Tue, 17 May 2022 07:01:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239768AbiEQHBg (ORCPT ); Tue, 17 May 2022 03:01:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240673AbiEQHBc (ORCPT ); Tue, 17 May 2022 03:01:32 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9383314D0B for ; Tue, 17 May 2022 00:01:29 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id j6so32765004ejc.13 for ; Tue, 17 May 2022 00:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/DJsn/mWARyNVzFFXmoMpEbl4HOTy1K9KwSYNDuFj9U=; b=tX0S2rPvPxXu1gxVAyHLA4IigsrtkxiNYbCB9ZWci1DAh/PV6oHyPahbk9vfx96W6P W1AEKpsnrACJggLhkibH+HKSlwQSgDp72nEMH6xZJmsLa/OCooEliXjprpiBb8oid305 7f3qMhiFkonRiURXY13leUP2dHaYM+n95z0aiAWr3sdmWHVFITAgc8wFzWENYgMH9C32 lm6fIBcqNSSwVkwfCao1pEmCQeeYF0mDzoQyrI5//rsCo6CCToajKVukt+UhKOWCo0dw YDx7x1WAY9Zpb3bB3MqXva/P1BOa1lyfJ47Ghh63XlJql8r6gzvD9d2WmtKm0OAjjER5 TN+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/DJsn/mWARyNVzFFXmoMpEbl4HOTy1K9KwSYNDuFj9U=; b=68dDQXGYSL1bF3tLsvAyBJzMQHFUTgvdKuWjvo7EWMJvdKbPTbc9ocg3mwbyt8AEgT wiPc1K7qUeWg4qIZTWhV7E94iZDhofbAvpUGMQdFEJekEC54sjxuB0i/Qpsbs5p8+5BM TXhFDhHRjsYq4fKi+YmDEjgvt1RWEtYpGMBjVPDLqjdaXFNg8ukxUCMEqtJy9zdGvm7R 6wSrPpFwXorIfCY50+j8bU7LHwaGhQxm2V+W5de0GZvSUEBhAtdA5+eWKk/lqzYCMB64 YULcYCjI7XfOYrV4hIFTmxFZNT+bh+6ZpznkqYJgJC/a9toid1HrJVRyoqRj7nADj6yd g5rA== X-Gm-Message-State: AOAM531nms6tDbC792tELl0EbO1U6ir7FEOYy9/TKpe7SdyOlEKtFsiP QWCA4YEQoF3bSCjjPpZnDa1yiw== X-Google-Smtp-Source: ABdhPJw9wi36hEQlHYvDqC5oCxBJcpriV+CqViVf5bwsdEh1BBquoGhaJm901prYo0InIM51Vhlc1A== X-Received: by 2002:a17:907:2da9:b0:6f8:6104:659 with SMTP id gt41-20020a1709072da900b006f861040659mr18681405ejc.556.1652770887470; Tue, 17 May 2022 00:01:27 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:27 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 08/12] dt-bindings: remoteproc: qcom,smd-edge: define re-usable schema for smd-edge Date: Tue, 17 May 2022 09:01:09 +0200 Message-Id: <20220517070113.18023-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 'smd-edge' property appears in multiple bindings, so split it into one place which can be re-used. This reduces code duplication and adds strict schema matching for smd-edge nodes (instead of just "type:object"). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Remove ref from label (Rob) 2. Add tags 3. Remove too many blank lines in schema description --- .../bindings/remoteproc/qcom,adsp.yaml | 2 +- .../bindings/remoteproc/qcom,smd-edge.yaml | 85 +++++++++++++++++++ .../bindings/soc/qcom/qcom,smd.yaml | 53 +----------- 3 files changed, 88 insertions(+), 52 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index 4dfbfece1ec7..3072af5f9d79 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -148,7 +148,7 @@ properties: three offsets within syscon for q6, modem and nc halt registers. smd-edge: - type: object + $ref: /schemas/remoteproc/qcom,smd-edge.yaml# description: Qualcomm Shared Memory subnode which represents communication edge, channels and devices related to the ADSP. diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml new file mode 100644 index 000000000000..06eebf791e32 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml @@ -0,0 +1,85 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,smd-edge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SMD Edge communication channel nodes + +maintainers: + - Bjorn Andersson + +description: + Qualcomm SMD subnode represents a remote subsystem or a remote processor of + some sort - or in SMD language an "edge". The name of the edges are not + important. + See also Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml + +properties: + $nodename: + const: "smd-edge" + + interrupts: + maxItems: 1 + + label: + description: + Name of the edge, used for debugging and identification purposes. The + node name will be used if this is not present. + + mboxes: + maxItems: 1 + description: + Reference to the mailbox representing the outgoing doorbell in APCS for + this client. + + qcom,ipc: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to a syscon node representing the APCS registers + - description: u32 representing offset to the register within the syscon + - description: u32 representing the ipc bit within the register + description: + Three entries specifying the outgoing ipc bit used for signaling the + remote processor. + + qcom,smd-edge: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The identifier of the remote processor in the smd channel allocation + table. + + qcom,remote-pid: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The identifier for the remote processor as known by the rest of the + system. + +required: + - interrupts + - qcom,smd-edge + +oneOf: + - required: + - mboxes + - required: + - qcom,ipc + +additionalProperties: true + +examples: + - | + #include + #include + + remoteproc { + // ... + + smd-edge { + interrupts = ; + + qcom,ipc = <&apcs 8 8>; + qcom,smd-edge = <1>; + }; + }; diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml index e6f9ffa1c0ea..a609c3425816 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml @@ -21,51 +21,12 @@ properties: patternProperties: "^.*-edge|rpm$": - type: object + $ref: /schemas/remoteproc/qcom,smd-edge.yaml# description: Each subnode of the SMD node represents a remote subsystem or a remote processor of some sort - or in SMD language an "edge". The name of the edges are not important. - properties: - interrupts: - maxItems: 1 - - label: - $ref: /schemas/types.yaml#/definitions/string - description: - Name of the edge, used for debugging and identification purposes. The - node name will be used if this is not present. - - mboxes: - maxItems: 1 - description: - Reference to the mailbox representing the outgoing doorbell in APCS for - this client. - - qcom,ipc: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to a syscon node representing the APCS registers - - description: u32 representing offset to the register within the syscon - - description: u32 representing the ipc bit within the register - description: - Three entries specifying the outgoing ipc bit used for signaling the - remote processor. - - qcom,smd-edge: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - The identifier of the remote processor in the smd channel allocation - table. - - qcom,remote-pid: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - The identifier for the remote processor as known by the rest of the - system. - # Binding for edge subnodes is not complete patternProperties: "^rpm-requests$": @@ -91,17 +52,7 @@ patternProperties: additionalProperties: true - required: - - interrupts - - qcom,smd-edge - - oneOf: - - required: - - mboxes - - required: - - qcom,ipc - - additionalProperties: false + unevaluatedProperties: false required: - compatible From patchwork Tue May 17 07:01:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573500 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 F21F9C433F5 for ; Tue, 17 May 2022 07:02:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239684AbiEQHCB (ORCPT ); Tue, 17 May 2022 03:02:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240658AbiEQHBc (ORCPT ); Tue, 17 May 2022 03:01:32 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2961015FE4 for ; Tue, 17 May 2022 00:01:29 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id gh6so32914794ejb.0 for ; Tue, 17 May 2022 00:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=a0nTM6qsq4GtGJkoH4nf0Q+TnkSQuyFZioVt/ZR1zw4=; b=KyCAbTTMVnROhAWhKMIJxpaFtqhASwLPlQnI6zyJnMA861UhvrMpV8uiyyYbcenumd pUsni593woFCYfRxNtulIrbjduv4JLZHLJXxaADspko9cA1csQmLvt0WXd0b9HXf7DST NTkmBaqOUXT6RnVjf+Pv16SYYmIvtRwbkXSCVoWMO3lW/5C1hCgLXLVFTL5z7CYvd5y0 kFdKMONi+s7OXBvunWgezadfXxn13GJMgevy5L8VOoYfe9MwJ6eAbW8qS+1OFh+wb4fB JNFqZShDE41K8Js4Tn9ZaWLeT9SZt8VJvM5s/cJlXKzBDUa0FsXpIk/wdp2lX5DfeDNV YsJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=a0nTM6qsq4GtGJkoH4nf0Q+TnkSQuyFZioVt/ZR1zw4=; b=KJQO4nhpsI4ylszQnO7hEs2FAlxCeXjY5ir3exYIrR32kzNU2ziaW0cqeVsZ6xjK/I h29aHtafvn052XAqscfmGl5G9/LAU2Z2j+ZHTkzieyof0ExDGxcurPkIzxnsZdmfdoPS QFpC8Nvf46/REkmJwsJGzfQosjQBz9VeoZi4uaASXf/ym7oLIYpAxdGcdElutWL2ipTg z9uqsy2OW2Fp4Gu1fXLrWxp+Gg9rXU3Wvt0ge212q6mriBpI8E6sVQI8lAA4kpKymY0m aVvQP9v1cjW+Nveg4HD5+pkzND3O7DexXvXSH8vL1o/N0d/JJMbQj+Lq9iVZHstj7CIF 38hA== X-Gm-Message-State: AOAM531sRRLle2QWEwrED5nXO96ZcCquZ/KkfQkaMS2CkHI1jMxrRRTv 7Cq0Br+Qdih8iKDpDvc9Lfg0Fw== X-Google-Smtp-Source: ABdhPJz1Wy90bvIuITitIqGO/uaK5LgSpxtYb8P9aCGxTkSHFD0DXaP3Gg6ENrsWV0WPKNQTxSgdxA== X-Received: by 2002:a17:907:1ca3:b0:6f4:d185:9f46 with SMTP id nb35-20020a1709071ca300b006f4d1859f46mr18061789ejc.165.1652770888746; Tue, 17 May 2022 00:01:28 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:28 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , 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 v2 09/12] arm64: dts: qcom: ipq6018: add label to remoteproc node Date: Tue, 17 May 2022 09:01:10 +0200 Message-Id: <20220517070113.18023-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org glink-edge bindings require label: ipq6018-cp01-c1.dtb: glink-edge: 'label' is a required property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index c89499e366d3..9db30e7da7bd 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -621,6 +621,7 @@ q6v5_wcss: remoteproc@cd00000 { glink-edge { interrupts = ; + label = "rtr"; qcom,remote-pid = <1>; mboxes = <&apcs_glb 8>; From patchwork Tue May 17 07:01:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573501 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 13D2BC433EF for ; Tue, 17 May 2022 07:01:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240731AbiEQHBs (ORCPT ); Tue, 17 May 2022 03:01:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240732AbiEQHBd (ORCPT ); Tue, 17 May 2022 03:01:33 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B346946B06 for ; Tue, 17 May 2022 00:01:31 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id j28so7097663eda.13 for ; Tue, 17 May 2022 00:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MAlRyJ0IHfdwsaWhxry6um/UE2vHbyKkhoLXrIb+qPA=; b=Yesb7UuUkpV5Q4fE9VtD/On6PSh4j5XE+KrEJu3WVX1qp58pp25T3Cr2gV21EhVhB8 q4VNIKTsQtEnqPLtreCqDLot7X5+n9DeQzsEa3xNzvQhxuD5nik2Ch24Cmyg9sn/PXgP Ap9ExebtqSbb5ojtVrn2eA6JSeOGXtx1TBUuiFlepryT9pIMKBHKNQ/NmIcM/teOFtRs Lx4708xV/UsLsarENaPb8M7ep0prEgVbQWFjg/YflbDmTT/+dRb2g8+VKzpqxJPdBb0k FOKc6z5EcLeodd9BpKJxCnuRAyK6gKg44VAdb4w5Yns9zCjdnbrCowounwp5Fplv6/Nl syGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MAlRyJ0IHfdwsaWhxry6um/UE2vHbyKkhoLXrIb+qPA=; b=H+4tK72UFDgEbfXen4VTPvncLdTrVcCicxGyaNE+jyUW6fkW5/3XQw30V3mWSkVv0x ggtvGcmNVkmMLL08bxuCjEX+U9jcS2jdZreGOW4859E/STNHHwdMXZLXLtUBNDttbH83 05zmyf2f7RHCGy9c9Kx0ZG0yHwa7huUHwy22mEbRd9cxq9KHJD3zwYthFDmKjS+rVtUT Hd6GeAfPy89EIjgwPFaxsVvwiTClScI6tWh8fSmZKBy1DxLEGDq0sEv6lTrEmgzH/Ovk lfktpjLwnRuDkQaxlxNBRN2OeAS6bfp4LCrlul6dDp2GTBY2/jOpN3Zg7sAxRF5qgLi0 rLag== X-Gm-Message-State: AOAM532uXlaLSssLrDoLJ0m5i+pZMF5UyoHlQPtcjtQmxTbXX48La4B/ /vPFrnjhlUq43WbuEPFKaxN6Pg== X-Google-Smtp-Source: ABdhPJySZbPsZoeL90Ixgleh8/wwW1Fl8h3hW8PH2fBiwpqroH7HjsP32Zz9S6Sh8+6YTkF+w8NgOQ== X-Received: by 2002:a05:6402:1d48:b0:427:dfa3:2272 with SMTP id dz8-20020a0564021d4800b00427dfa32272mr17378050edb.333.1652770889845; Tue, 17 May 2022 00:01:29 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:29 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , 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 v2 10/12] arm64: dts: qcom: sdm630: remove unneeded address/size cells in glink-edge Date: Tue, 17 May 2022 09:01:11 +0200 Message-Id: <20220517070113.18023-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org glink-edge node does not have children with unit addresses: sdm630-sony-xperia-ganges-kirin.dtb: glink-edge: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9] Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index b72e8e6c52f3..8e32eb3ed599 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -2158,8 +2158,6 @@ glink-edge { label = "lpass"; mboxes = <&apcs_glb 9>; qcom,remote-pid = <2>; - #address-cells = <1>; - #size-cells = <0>; apr { compatible = "qcom,apr-v2"; From patchwork Tue May 17 07:01:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 573956 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 75F2BC433FE for ; Tue, 17 May 2022 07:01:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232050AbiEQHBr (ORCPT ); Tue, 17 May 2022 03:01:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240731AbiEQHBd (ORCPT ); Tue, 17 May 2022 03:01:33 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B329D33A20 for ; Tue, 17 May 2022 00:01:31 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id l18so32777460ejc.7 for ; Tue, 17 May 2022 00:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LazXu2ADGNpRx7NCnnIVEulufa0K62/IELeSMelv/jU=; b=vB4FwIdysdASe6llMH+QnqOEj5eQjfjT0I7FtDmu6ZM0+3b2K1aOeZ9+v9ivZheD11 /S8aBSY7q3orvfrDksXccAgfRiWvneEXAeRi+pjfvXCAxF2/ZKvrxSOzMck38IlIkPAV HKsOkX0u3oWfza3FZxh/3PHc3rjcY62MIHzeuUZQchvX14VKCQF5QyDyb1Qvt4qsZE/N tDvL2vE9TQtoWL4nZzEHB+IgDI1KKQ0oeU20MSYNWCRnzPZGG9p6irlPGRBFSudLGLwm OtTFBkAWlE4W5kltyabWCIGGmHoONatlPOLd7t5WnhYzQam3DhH7uMEhIRGzcxh8dt2D rpDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LazXu2ADGNpRx7NCnnIVEulufa0K62/IELeSMelv/jU=; b=d5wtz10LuOqK/WJpljccfxs7AlPM0KO4L0jBmXMEX7wpiZsEV85l7BuQvga4XIgtWT bCxkUP8KRXGUQNOibt2L0Pl2Lndj+mUUm7zSmjpRYW4wiiGjhGTmAyh7nB5mN43sernI pZZ3qnvocUb3SkRogFiOGlT+H0l6QDNW3VtX30xJHqd2AYm594s1BeScyBjnf4vHJ3lg Yfn6oVR8Tjl72j9qdpUV9OfbWoaKlCImWED5E2+ovk8hMUsBKspBENKqCVg5f6viaMdV 62QUVsDA6KMSqJFuh0U0daZt0dY2suez1deXvrZQwEMnmCzYQqWLqGiyklZ6YEREjJzJ NDlA== X-Gm-Message-State: AOAM531AlefRtphjBU0d+eORwZWwHLIyVu73LJEg2itKEaJbAPAylTvK uWO9lhebEGL+l6IbsHjR2iGmOg== X-Google-Smtp-Source: ABdhPJz3cvQL2isulpmYvKIWq0RrGfWma5QYQTNUNHch7EOBn7IIxI3HBT7zWKUVIDh83HdjyHj10g== X-Received: by 2002:a17:907:7b89:b0:6f4:9b92:c2ac with SMTP id ne9-20020a1709077b8900b006f49b92c2acmr17831258ejc.409.1652770890896; Tue, 17 May 2022 00:01:30 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:30 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , 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 v2 11/12] arm64: dts: qcom: sm8350: remove duplicated glink-edge interrupt Date: Tue, 17 May 2022 09:01:12 +0200 Message-Id: <20220517070113.18023-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Specifying interrupts and interrupts-extended is not correct. Keep only the extended ones, routed towards IPCC mailbox to fix warnings like: sm8350-sony-xperia-sagami-pdx214.dtb: glink-edge: More than one condition true in oneOf schema: {'$filename': 'Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml', Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 743cba9b683c..e8c341faa8df 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1677,7 +1677,6 @@ IPCC_MPROC_SIGNAL_GLINK_QMP IRQ_TYPE_EDGE_RISING>; mboxes = <&ipcc IPCC_CLIENT_MPSS IPCC_MPROC_SIGNAL_GLINK_QMP>; - interrupts = ; label = "modem"; qcom,remote-pid = <1>; }; From patchwork Tue May 17 07:01: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: 573502 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 5C2B2C433FE for ; Tue, 17 May 2022 07:01:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240674AbiEQHBh (ORCPT ); Tue, 17 May 2022 03:01:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240528AbiEQHBe (ORCPT ); Tue, 17 May 2022 03:01:34 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9883D3CFF1 for ; Tue, 17 May 2022 00:01:32 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id n10so32833425ejk.5 for ; Tue, 17 May 2022 00:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bc1mIt/3dkcIrUfw+Wx32EX6v+iTPPZGITrndOapvM4=; b=Fjh6poNxasG94ErQpFcdlbjAl0+dlDmlCBoaT6HDLJGKC2Kw5OTZ92q8Dr7fo/kBF3 BLNhTmSo5/UVu2d9ilG70dsB8hTy4sLrmiex8pe6YJnw3utstVhoF1BcSiHY/9fMkZBL xH4r97n04dXzIzRWhJvmJU+5eBiVSVbT6hT31XGH0IhBX+7iugUTRaSR1H4ewVuUO4nA l9XGL7TQX4/ozmnfXw11EBk8btdV96qaweYJ5tsPVAMzCFpFjbBx6YvvpiGTbhOTrLgL w5hKS9/BnpqQZc0GdsSBzhNdf3UODOS2hof9D/XKWnW0dLTLVx7fhOkn5thbJCdos7qx V+WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bc1mIt/3dkcIrUfw+Wx32EX6v+iTPPZGITrndOapvM4=; b=h09KD5TQ+C94WcmSZOmffQmYQzlo9UQ7rRBMm9praPEXCmMEaN7NFDHmyeBY2+k9xP tRPZKkZTtqbzOOyZbj3jgtcpYAgrWEFPqzGO5ZZIEGdYQl04zrdxCcHitSUVX5cbLp/o Mho/z0OmlvflAgg2CYNyKY1LnLqCe1RSAMjD2SsKxgLFpxZJpaXi3A+nmXxD0mOPF94+ eo3bIRhTmmYMBPMKzNd/2kjPT600gGzimjrPcbJslUv3gp2um5RCQhehl1vBn04w9BsC hXVgP+D7PYKDqGNVcQkQtQtD8oqWdx1QZ0vd5vQY6J+/FK9Upq3WqIMVhzlclaMLssPU +LEw== X-Gm-Message-State: AOAM530tnRDBtXGmwZe/u2lKweJnrO87lBYqGNCXN6FMCkfljpC/3pr3 wJ6CSsFMthxpVmmGdBAZ70qgAg== X-Google-Smtp-Source: ABdhPJzkUfAuTvwacS7XtUrVOynLJXz12kNbe6zJA4OEiOtW6jW6Kj8UltSzl8K/mI/BNt0o0hkPBA== X-Received: by 2002:a17:907:94d2:b0:6f4:b5f9:6f3a with SMTP id dn18-20020a17090794d200b006f4b5f96f3amr18025368ejc.313.1652770891993; Tue, 17 May 2022 00:01:31 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id b5-20020a056402138500b0042617ba637esm6487016edv.8.2022.05.17.00.01.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 00:01:31 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , 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 v2 12/12] arm64: dts: qcom: sm8450: remove duplicated glink-edge interrupt Date: Tue, 17 May 2022 09:01:13 +0200 Message-Id: <20220517070113.18023-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> References: <20220517070113.18023-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Specifying interrupts and interrupts-extended is not correct. Keep only the extended ones, routed towards IPCC mailbox to fix warnings like: sm8450-qrd.dtb: glink-edge: More than one condition true in oneOf schema: {'$filename': 'Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml', Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 7d08fad76371..4e796f27d6fc 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2282,7 +2282,6 @@ IPCC_MPROC_SIGNAL_GLINK_QMP IRQ_TYPE_EDGE_RISING>; mboxes = <&ipcc IPCC_CLIENT_MPSS IPCC_MPROC_SIGNAL_GLINK_QMP>; - interrupts = ; label = "modem"; qcom,remote-pid = <1>; };