From patchwork Thu May 12 09:59:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 571857 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 1888DC4332F for ; Thu, 12 May 2022 10:00:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352384AbiELKAY (ORCPT ); Thu, 12 May 2022 06:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352360AbiELKAU (ORCPT ); Thu, 12 May 2022 06:00:20 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE1CA22EA63 for ; Thu, 12 May 2022 03:00:18 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id a21so5625342edb.1 for ; Thu, 12 May 2022 03:00:18 -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=emzH+JokSC0O/Ko2ZLGcXwOO6UT/JvwHW3bVaLoX1oI=; b=IR4qiHWxHg5QD/BjSENOSJVPuLhW9zy59KW+f5fyG6rxVek9cMHJajUEBcMA4YzJ93 d1TefSNpzwjpwW+yDfM0GZN3y5PbxmucErU4dXaqW0Ew2ED6U8gL639BPGm/VdJiVlJt RFoHZzesauJ2F6xao0X93WUsPUL/VcJnAQ1udsI6FueNthd2ptiYnDZHoOyDaF33yfx7 CYVZCRzX+qtFTiNrYE1kDGaRSdOBHv3YDLY0O3JfDQXZA8fhMfW35abzFTbvNWz5zlWk mU69IfMX+Cwr9Jh9dQVsNv2E5K5moXF/aCCEIvExmEjIuz9MeiOWMRVE1A+J1SEwEAlZ cxtg== 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=emzH+JokSC0O/Ko2ZLGcXwOO6UT/JvwHW3bVaLoX1oI=; b=5uDU79NjnuRaN3WGYM8hlF0PeQ9x0fWjgfZBNQPVa07iPQAL8svfKA0rGXcQyqUIAe 3gZaG6VVjw78z4LAn43OhM76JeFf8dthB4yvKmus6YKuMnl94Ju2wM8yuUaKOxyY1QA0 NInkl8/S7BNjoaP9lO9mi5rsia2Um7x/USart/xpKRkjbp1I77MUBJpyMR226RJvEL8W zeAtF5eF3vFgSyN5zU7Fa1Pi74BzDDkLOLLOLJY1O5SfAogPfh5owN+5GnPPZWQdY1va R4r12pLapRmnVA1uFuA4DO691mb8/xTuRvtdcV8b5k3IqbUXF4pyL6eS/UGiL/9J5KLk tDCw== X-Gm-Message-State: AOAM5303S3lLe7m8KaRkOQO1D0w7mXLWrIhOC3b7gfnxd9EiNgx0exXW LMerNZm0F2C6WNyUlBnDzuUJaQ== X-Google-Smtp-Source: ABdhPJwI/kkZa2f79DEgU8mGj/rNuBIgrTItBI+pcSdRN9/xrHd4kzXsSy712av4kUjt+8cA2AwxMA== X-Received: by 2002:a50:a6c8:0:b0:428:5b3a:6c99 with SMTP id f8-20020a50a6c8000000b004285b3a6c99mr33119168edc.222.1652349617300; Thu, 12 May 2022 03:00:17 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00:16 -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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 01/12] dt-bindings: soc: qcom,wcnss: remove unneeded ref for names Date: Thu, 12 May 2022 11:59:55 +0200 Message-Id: <20220512100006.99695-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 Thu May 12 09:59:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 572209 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 90083C433FE for ; Thu, 12 May 2022 10:00:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352389AbiELKAZ (ORCPT ); Thu, 12 May 2022 06:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352399AbiELKAX (ORCPT ); Thu, 12 May 2022 06:00:23 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6538A22EA53 for ; Thu, 12 May 2022 03:00:20 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id p18so5596520edr.7 for ; Thu, 12 May 2022 03:00: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=cnjZ2W7biyTRSy36TvcNQNrq8PNzrb9bYrBeKPi7Su4=; b=Z5iwoaPM6rL1j2X7HbtrL7czX1HTAytDrmszpbDvVUrYGaoY9U/cHw/JiKldDkNRBj Q0ry8heNd5xIMJBlGm/TtvzGTitsCGY5c+DGl3/+m5zZ8ZVS9NCHyuJ+Rw+tOOaaxG7X 2Q9BQd31cdXrYmlUfsvuHUneCRoeCATS+qO/qTrqMVPitEFKqJSWr7EJL+Sz3rNuVuan lwMjzdkZKPExkZFic96AA+iBQm1Sy40xhR3DJW7wvvkWuvCB1waEmtneTnrKK2bLn9rj 65MtnOWZvzluCT7njY4ji5A4x3z+jY3gMB7CHlCDmDIkW9bdqFUCuaskRXPJwi0rCe5p wg/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=cnjZ2W7biyTRSy36TvcNQNrq8PNzrb9bYrBeKPi7Su4=; b=eDhTb4B0yzbe/MAE/xAA1Bk0ApbiWNprgVak0KgXz+OR57S/phn5dT7TOm4t/hdhAg kKo+qKmZ4mAt52RtEIIKyqiVECX2GmYpUz3gwU+lz0r2uiQB8Ru2lExzBFdm5p3NUrxF R31XSCgmvb4sdp32HtGEth//7JWPNYUPVARSyVf8VViu51OdzYW4Avxnx6db5cZ5NZ3o ZTSlbQ0mh2SSsU2vvVDfo++YqhSn9gpiO6OQHFO7P6WHsUXjEUDD8NUNs2Co+uB2Bic9 BMpjh/MCdSTkmm3Q2QWJZLdLtnBiPW41P6/1Rt8dQv5nNupPvlmB3Jev4tUd5yV2toeD s26g== X-Gm-Message-State: AOAM530XMGe8wIdqEOkBBoQmVvNnWAvIRg3IsLEBA47BuvkIgK/58xX6 sHIA9mCeC+KcFYR65+/yKHp8OhmH8DEfD/DA X-Google-Smtp-Source: ABdhPJzBfunhSRNAFcVuJ/UI4w37vC4SezpGAV8dBNR3VH9Sllkn1nubo8lhDA7x3UcT1OcYaPulyQ== X-Received: by 2002:a05:6402:5205:b0:427:b431:e0ed with SMTP id s5-20020a056402520500b00427b431e0edmr34760222edd.186.1652349618627; Thu, 12 May 2022 03:00:18 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 02/12] dt-bindings: remoteproc: remove unneeded ref for names Date: Thu, 12 May 2022 11:59:56 +0200 Message-Id: <20220512100006.99695-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 Thu May 12 09:59:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 571856 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 D096CC4332F for ; Thu, 12 May 2022 10:00:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352401AbiELKA0 (ORCPT ); Thu, 12 May 2022 06:00:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352407AbiELKAY (ORCPT ); Thu, 12 May 2022 06:00:24 -0400 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 96EC82300E5 for ; Thu, 12 May 2022 03:00:21 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id p18so5596614edr.7 for ; Thu, 12 May 2022 03:00: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=ZjLxakQ0FSfyTvd+sfZt6yVLmsWKYw5HJWioql1MULA=; b=oKuGfm7/9iBCaaPc5mhPpwnUcc7KMWedSIlK2to3AQnPjr5zs2yttDv1zqEA3nGfxY /A8lPZm1yXkHH/aszZLujZQumQMR0FByXXA1eC6g7vsCjSDIff6rGT76DmZpGuy+C1DE s1GeDDq8KPg0DLOpaTUOa9+1mnQ4rTFeOvLFqIQ7oTmFR8/RawpH0wVbJtgZNOHDeIZf HyE/p38Gs/7Z6vVGENuVVaGdXUjth0n0Dm8ULQxY1Qfftnk0EQ5skJ/6+aLRGYGv55+n cEAabyWwSYARxWtqgOeIbIqRHTYoNLDZ9TFwV5FV250WEF8kMWgQdX5Aa7x8SBf/rKfG u8tA== 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=DxezhMhhCeCaAxgfp5RSWAcdDWk9UDiqtFTeiDqzV//BH9U+4rysuF5T1Iwu6zp53p o8oLTbOj3NjGrgXknGjikJS/zXzOonTwk3PJcV5MH7EfRWKJARmWAnOdmmiA0CfI9XOS EOzHXkPCimkPmaIT0BnmI5LZ2HGx+FHWtQPJZVqiTgrYZUhy7iliy4oN+FYve/3Ald4W ukDvxs+WdFMlfc6+j74kmeAclaN8C3BfWtnYvu89OFGWA229Tri9DOrTrOIXFpkz8gls 8kl95S1TYj97PBRfhq/AHfNQHlfUmV5EEzkorVqzncrfvD20ea7CTlOZcm98oSBJ6AFi Fr5w== X-Gm-Message-State: AOAM533Gf8helhhrWHbeQwqdXSmguUf5DL3TeRYTlK5vr75PLdqMVL0p /EouxballhwFGeRAKKIa/N0dig== X-Google-Smtp-Source: ABdhPJwLH8DMilBzXnoMU839jb/MHw2Ayl45szfnmU2n4inrbex0g7IO4TeWJ6vQflnS/RWleVCPdQ== X-Received: by 2002:aa7:de0c:0:b0:425:d510:8f40 with SMTP id h12-20020aa7de0c000000b00425d5108f40mr34230989edv.4.1652349620065; Thu, 12 May 2022 03:00:20 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 03/12] dt-bindings: remoteproc: qcom,adsp: add interconnects Date: Thu, 12 May 2022 11:59:57 +0200 Message-Id: <20220512100006.99695-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 Thu May 12 09:59:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 571855 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 9413DC4332F for ; Thu, 12 May 2022 10:00:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352501AbiELKAw (ORCPT ); Thu, 12 May 2022 06:00:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352417AbiELKA1 (ORCPT ); Thu, 12 May 2022 06:00:27 -0400 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 61BB422EA77 for ; Thu, 12 May 2022 03:00:25 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id t5so5546819edw.11 for ; Thu, 12 May 2022 03:00:25 -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=tag+9P2t6thmYxjj7J1BOojXQX1tCri+O11NqGILYUOWqcJ6jw3hpWb5QYILy+FXSY nVdSdVSlhuTRTt/G0wrrozxzJJYIocRWYwpQ2yl3pMhtK5TED1puBrNRuH/6tI5yd093 znrmOPCCYUkJ5S+QP4BKUibf0nHpXYo6Abif6Qu8Ut+slVG7r1CIJBW6c1SIhWMX4CsA WIk7F4HqLztUuuHN7zEk55VZZQXN49NeZUYwY83ti4PMfp55YgIOPxoFzEcRpJK5jUte WWjvXkp1lmDFlmppaHxmRRnKPPRqeslms0nimycPHaZylLR2EkJaESCw8YHQUeCG5uI2 nmmw== 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=pBLzyEILnWn2/ItYXoVzuUCzaeFWYe7a88DTvhp/E56EE18PSC/bleAnjQFQVCTmmc 2cJrnUuXKPU7dNDZRjUNht71NcZAB+Z+7wM1NHKtf+Jq2vJGtic0SkwfdK+K/qxdLcyn jftl7frbtPWp/gyGU7TqTcavQ+jqO6d//0FVO/0GSogb4BJ14mqf1nUObYKVIJcpoAjH qhNcQ3ZzDJaRlU1c06Y2iygLan4ahmfAZWe/rDcY9Oi6ma0XNJiDijCnSoWeWiXtAbxn Z08BXs5tcQIuK3QUQhejYz4dGHmvUQST7Q+zhGn3Y0evxhLqOTTpCmMg3GPhP4tY27ep PfFg== X-Gm-Message-State: AOAM533li6svYbq8CDCiI26/r8QmO/AVRXRQOkI39IAA+IN+CWOeg31p 2UHxInWP2qTmKS9qDfFK2yxjrQ== X-Google-Smtp-Source: ABdhPJwazH+uuaXS24OcpT4IwHOvZL8EGifCrtq+KeCqc3EgGbj2G01XYvk7XHbqVVh8hkxFIwYzaQ== X-Received: by 2002:aa7:c306:0:b0:428:414d:e216 with SMTP id l6-20020aa7c306000000b00428414de216mr33733082edq.394.1652349621242; Thu, 12 May 2022 03:00:21 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00:20 -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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 04/12] dt-bindings: remoteproc: qcom, adsp: simplify interrupts Date: Thu, 12 May 2022 11:59:58 +0200 Message-Id: <20220512100006.99695-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 --- .../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 Thu May 12 09:59:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 572208 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 23D35C433FE for ; Thu, 12 May 2022 10:00:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352429AbiELKAc (ORCPT ); Thu, 12 May 2022 06:00:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352383AbiELKA0 (ORCPT ); Thu, 12 May 2022 06:00:26 -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 DBF9B2300C0 for ; Thu, 12 May 2022 03:00:23 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id i19so9088899eja.11 for ; Thu, 12 May 2022 03:00:23 -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=tkpPDqrVq/H+y/puJS4Gb9kI2/A7Lq32jtq9rYl6yb0=; b=IFOCvrs1XcRqoYH+gtMSaRO+jB86LwFrCJlZuTQw6K5wGLZgkWJzdyfIqnB4g/ICx7 awvQNRBRVjo2j3c+kx05jfv9MzsjtKKw2TkcoX4TGKnRp6zKSxn93IpM5+Lijs5lMLMk qg4/5SozOIWU5fHhYTz/2pTWlzwDg8/9tZb7wMLguvv08VfJWzSS95AaW7/rJ71klVvm GdJSbN3fl4+qdW9cyliiJBmZHlyEHCWyAtu8voMpalw3WXrn1M2kFZsKDSJ07VEFgsj4 n8A3KmJTAnLi3ZA59gbEjr2zj+Vc/Pf+0FRJwk8A5xNrssGWqDXS1KU9cmoWy2TBhGxG fZ3g== 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=tkpPDqrVq/H+y/puJS4Gb9kI2/A7Lq32jtq9rYl6yb0=; b=50unmEdGyGq0xXu/BumZ4fVi+N3/eiJ53hD8fp9baPrM4YI4zrZncOJ8UFkAoLYitX IGNegNc8Odo/nCxGJCf1p9FXHYFQpJ+u95Sk+MWt91oykBQCbj6MRnCJDr7LQCmcYtQP 7Ic66MwuFZ92gI2E01+/0P5TEQwT7Kwo/NgZUj8h3lCwUM/g96FXNjH+tCoqqlhfcUaF 3Wc24ttx5YnewQbsYWgS46UyTaHBynURqM71hazl0nfUzIUHBCrKGar54AOQZBg13u9J 82+cmDste+ouabE4u29h42xXt0Bc6FWI4sCT55T2rxu2zkw8m+BMY5yeJWQGxdeXcAfh oBSQ== X-Gm-Message-State: AOAM530OuFGIFYCjhLFxxhAKDE8iimNSWgImQD9ZdNwz0n24eSRHVK6b sJQhf8AdWtz0bbRP+a2HTEsI0w== X-Google-Smtp-Source: ABdhPJyZ8rok39ODYQ+iX33CtABflvZmQXwLGT+B5UvhCCikKYy5X5z8qcmrUVr68U1RX4O9efLIag== X-Received: by 2002:a17:907:3e8f:b0:6f4:4f42:a75f with SMTP id hs15-20020a1709073e8f00b006f44f42a75fmr28608981ejc.695.1652349622410; Thu, 12 May 2022 03:00:22 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 05/12] dt-bindings: remoteproc: qcom,adsp: simplify SM8150 power domains Date: Thu, 12 May 2022 11:59:59 +0200 Message-Id: <20220512100006.99695-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 Thu May 12 10:00:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 572207 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 129EEC433FE for ; Thu, 12 May 2022 10:00:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352476AbiELKAt (ORCPT ); Thu, 12 May 2022 06:00:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352421AbiELKA2 (ORCPT ); Thu, 12 May 2022 06:00:28 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 614A522EA72 for ; Thu, 12 May 2022 03:00:25 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id t5so5546812edw.11 for ; Thu, 12 May 2022 03:00:25 -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=NlucVuMSl9/wuCgD326aQu7m+E7uxY0DfQEiX3BhFbEzcnNDuOIYVyn1lJ7Zke0WZ0 StmeDYB6CIRje1L5uD7iz4dMr30kUbR88l6UD6Pyc0LWKXSz86gnxvCDBuOaJRmP33NH uF6MXCW/R0BPIcLvxOOUdHiq/Li7Sx4ZgUJF0efSukvUTqmfZkbQg9Ouvbo8Da9L9Gkq M22PbokhMBBf/z95pmAo7kIMKR/uKlH6CLPlallMou8QmLG9hRdQ1cOK75TmolnNiQfY gTc4f9PYUL6jJ+ELshqXGZORlq/YBgM6KRUHJew0OY0ZFT8/mcXhvh3GUux1Aw7vEFu8 +sgw== 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=q9h15dmsvYco1lXMJ8/VwqTM3Wk+xuMR5+YtPx/01iqR37Hso0+VG2FUaN62R6k/iB XV+eZW0wCW5B1BErRSm7kQz/2dx9tyZvvHEHkVF+AOKb42cdzSeST9Kh2Nbh2LSgm16u +DpXn05+H9IqRwiux3g2zQu58Jq1cAgRY28fJbcxHh6qvJwCMBds7aNyqQV7FFo5h0+k 4vASK56f3uF8nDBwpSlI2DaKyzDokcC25vuY7RRxBNgxmsaz+AD9koEVVZRfGqM4gIkA vUw1BwJ3zIOH7APjI28kHFKppTUWgg32RLMBmxyF2lb5qPBVi/A+tR7dA8yLDabX0TUq uqoA== X-Gm-Message-State: AOAM530x9tyGkZz3Z4AkvFmr+qxY2e9rKSLIVNui9lmBkKfnGU3kA30J ASnYIF6Cwpj7zbm6rLlQ7byqSQ== X-Google-Smtp-Source: ABdhPJxhwKvYUoLyz4rfWf9/itQcivelkjyOFUdXSVCz6n6J2MSVD4UEdAPjvYHFFIetH0/hSXmgvA== X-Received: by 2002:a05:6402:4391:b0:427:f2f0:607b with SMTP id o17-20020a056402439100b00427f2f0607bmr34483394edc.45.1652349623633; Thu, 12 May 2022 03:00:23 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 06/12] dt-bindings: remoteproc: qcom, adsp: use GIC_SPI defines in example Date: Thu, 12 May 2022 12:00:00 +0200 Message-Id: <20220512100006.99695-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 --- 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 Thu May 12 10:00:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 572204 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 C3A32C4167B for ; Thu, 12 May 2022 10:01:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352418AbiELKB5 (ORCPT ); Thu, 12 May 2022 06:01:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352427AbiELKAa (ORCPT ); Thu, 12 May 2022 06:00:30 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E93FD230218 for ; Thu, 12 May 2022 03:00:26 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id i19so9089133eja.11 for ; Thu, 12 May 2022 03:00: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=PrL26VFPR3bSShQRaBht+QhZehTfEgJWGZ9tOVoazls=; b=DD8sEFTqDx2Ah5PWZMyR7GwBJhJ0W2mLmFW3dbmCvZRUdPz6iyjrxoJhA7ONXyxucN dh0tt7nrz5SqQmtKlURYrq1jz9Jv7/N+g1EepRAuOYjBW8eY2KYsMqk9nIpkgMAvE7S8 1q45emo7Cig/o6axWfWpqARC8xB3a9eIetuOw+txzG/wA6jheZIvOG+2i7kkdZC6jz5j AFHQy0TZyByinrnFWHADr6szamdRpCtuVCTFAnlWBTZUlqiIcu+TmHiV085W0CCShjBQ nic01R/tkTKVBbQmcr50EDDrRgTXwRFSJDm/pE/I0Bx427kVIVMzvQDgjz11egz0vEp+ UDWQ== 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=PrL26VFPR3bSShQRaBht+QhZehTfEgJWGZ9tOVoazls=; b=S2Z8G3MLCGMQCJMbZogE9tmPAwK9BpBsOEzVx80ztrjLVG/lSFMQ5dAPWKZNTCt6Zk yRt/e016NKtfdgUCh1PMwbUAQBc9yYSfS2Imfw/I0ErFsiLvkKJ/jT1UiCmOGud9Zt5p YGCnzzGFgqfeLfpRxTcvReTsVbBWeZS2JA4pzpb6c5FUG+CRQoB5P7N9dLoJeM+caGml fnAWYKFzCz2g1ei0rgPlzEpXUl/7dmc9kgcm9CizNekApD417dO5knVHtm1s+CeCC4Ot 2fqDwBEmjWDyZnh7PX1qWfbYNp+6mhT4sEd4ydHo4nDDeF5GEgrhDeQ/VL4oCeawuSbn GITg== X-Gm-Message-State: AOAM532RX3kq3kfnkWcqze3zG38dND177FkvrpWLOpkzLaGGNqP6QVne xpIprcLW00IcECvOQ2JzPo7lJg== X-Google-Smtp-Source: ABdhPJxHMR0bBW/SrPBZURI0In45z9hjlYzniRADDROA40gnmEO3TStOX0rxmeWcPEUGVLbU+QifPw== X-Received: by 2002:a17:907:7ea9:b0:6f3:de9c:c6fb with SMTP id qb41-20020a1709077ea900b006f3de9cc6fbmr29593860ejc.304.1652349624727; Thu, 12 May 2022 03:00:24 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 07/12] dt-bindings: remoteproc: qcom,glink-edge: define re-usable schema for glink-edge Date: Thu, 12 May 2022 12:00:01 +0200 Message-Id: <20220512100006.99695-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 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 Thu May 12 10:00: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: 571854 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 72FCAC43217 for ; Thu, 12 May 2022 10:00:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352419AbiELKA6 (ORCPT ); Thu, 12 May 2022 06:00:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352463AbiELKAt (ORCPT ); Thu, 12 May 2022 06:00:49 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F00D72311CE for ; Thu, 12 May 2022 03:00:31 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id p4so5673108edx.0 for ; Thu, 12 May 2022 03:00: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=CmuWp0Z1UVnCg5DS3PV2nhWRslglfQ6c3PLNijBuXeM=; b=RgU+pV0cR8X12x3s8Xx8Odi4almmsZsrZohor5WGTrdi+lqF1xhOWH/zPIK7F1Ol4U JZwwByeGr+g0DIRfPAT0rFR/tAMKPTLuRty3tne+R8qugiUYvLWe8mNHT9idRMmAghQU Lg83JSRv6rhZIemXuLvwpagHrX4Yeo90kn5aJ7XJAbRWTHln2bejefhgov8rrsyhN/lO sS4WwdiGWOFYZXckwlwjJ4HTtnEzDlKJAAAP5MVVj9iLCjNai32fgvMMPS8iuqgh/s0G zjy4DewTK/oZfMpQk0A0uQH5YAQtyhGCdYCStXFliv4nHCJnteo5nk6arWg1tYkM1B6v TgvA== 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=CmuWp0Z1UVnCg5DS3PV2nhWRslglfQ6c3PLNijBuXeM=; b=mO7M8VYaYqzJ4wJb3Q+zcgFLEtEvlbJmU2da7dk9dLpGdn0TO0eEnvymXpg5C0eZkT lnX1r66Jdy8uf+nfk9aPK25PiXC2lQ/Ra7emSnHbx85rs5uD55CdFCjJg3qwGV6Sj9g2 WoWD96az2w8W7Y6L87N4vCIbMWcioNgBd3Ir6GuVtbmKKkGBVa6mDvME6xE7/MUDK3K3 ICmbDqaukgXc2t4CqXQC3B9Z3amrZjjOA+9cBwKq4H0Z+8QAasnMEEPebLkGJb3G3kP/ yIIYYCxky8tzWew8w1mPaEJTKb8geyfzayRpSTIV9yYo+ZkBQ6Sli4n/T0UNzN6Uqojt 8WFg== X-Gm-Message-State: AOAM532yKvnwZi1HV7EGPCFu6tuw71DCEjaZoCwXYjs2afKBvUSWKEDz MoxmfDfnm3SDcjQ+G1/7ukAPAQ== X-Google-Smtp-Source: ABdhPJwyAO/WEqO2ApMogtBoxzawzBDWPuYeMjv2giNzk9gMuB/48Wz93YjmMFqvooQ99nWXBDBqKg== X-Received: by 2002:a05:6402:4492:b0:428:a206:8912 with SMTP id er18-20020a056402449200b00428a2068912mr20551855edb.279.1652349625844; Thu, 12 May 2022 03:00:25 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 08/12] dt-bindings: remoteproc: qcom,smd-edge: define re-usable schema for smd-edge Date: Thu, 12 May 2022 12:00:02 +0200 Message-Id: <20220512100006.99695-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 strict schema matching for smd-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,smd-edge.yaml | 88 +++++++++++++++++++ .../bindings/soc/qcom/qcom,smd.yaml | 53 +---------- 3 files changed, 91 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..fde2c450e8b5 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml @@ -0,0 +1,88 @@ +# 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: + $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. + +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 Thu May 12 10:00: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: 571852 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 2EBDAC4321E for ; Thu, 12 May 2022 10:01:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352445AbiELKBy (ORCPT ); Thu, 12 May 2022 06:01:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352435AbiELKAr (ORCPT ); Thu, 12 May 2022 06:00:47 -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 E34CA230200 for ; Thu, 12 May 2022 03:00:27 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id gh6so9227843ejb.0 for ; Thu, 12 May 2022 03:00:27 -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=oQtJ1P1ICxbjuMvyKGc4PrOAjOYiXbWwf9h50atcRuWJ3tVM+EDUHiZUwhHWJRX3oH KkcXY+UDJL4iCFU+LPkUAwmbiW0xc+fR53Z7Tiyc7BmzupNQSbNqNvoikVrwctwew9HN Evnr3mYbJv2yxkkoUTsjSqEKXAiSWHn2z/D1ZGnSjJ7t0U90qwvUsieqTIvlMRLXydhP jBIwSBQAMGT4icJxcJZRrjFhYoUGwlzQpiIZF8qmEgXBBmeRvXOiw/tISK7utNTNxYaD /IexxpPTLBnJzv0kUIAMI66JSMoKjOCrK/CUS7LMU6FdtR7L2u/+E/ZLOl4OFWhZXrvu 3MOA== 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=wcLmsFpZ/XOvl3KM+2OuaOQN8A4ei12KpLoOPSemtGKdcEuPDIFdgUPS+/dYo4gZ2e tL0OwLwHc5WYOr3jnzyr7+x8EPuCyMdVi8ucss6852dLvzL5RbtPSwxo8Dp2LaTf0/Cd 5I/GtecCWIq5kO7Ijkjss6uDssUWLK64EjXtw+dAcK5BrbNLMsvlqiDQbQx6VSOyqfbm NRanPQyE1c45H9ITj/esJazkkprTFcTxL+8QN53rzPJhQTFMspeadZV1Y7Jz057EOb2l wyQY8eXOLB9LDgs2bhoX12cSzJbBYqSs5OjpUHZX6GY5oSQUDm4WjYV5pv4cw+VW9qGb tzHA== X-Gm-Message-State: AOAM530/BnyXPn5nu2fjM0TzH2v6y1lyUWjttMmuqYzvHCno8qfI6sOD PzDnCzcsbqkM8DMh82knaCH16g== X-Google-Smtp-Source: ABdhPJztglS/DsrXYvgSkRA9NmYg98rfTUoXDYryxBoafF/ogKr7ATiW2uZke/W9R/xOYWc7cKdl7g== X-Received: by 2002:a17:907:62a9:b0:6da:7953:4df0 with SMTP id nd41-20020a17090762a900b006da79534df0mr29302869ejc.316.1652349627443; Thu, 12 May 2022 03:00:27 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00:26 -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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 09/12] arm64: dts: qcom: ipq6018: add label to remoteproc node Date: Thu, 12 May 2022 12:00:03 +0200 Message-Id: <20220512100006.99695-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 Thu May 12 10:00: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: 571853 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 5E4C4C433EF for ; Thu, 12 May 2022 10:01:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350219AbiELKBu (ORCPT ); Thu, 12 May 2022 06:01:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352445AbiELKAs (ORCPT ); Thu, 12 May 2022 06:00:48 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEF8D231090 for ; Thu, 12 May 2022 03:00:29 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id l18so9121823ejc.7 for ; Thu, 12 May 2022 03:00: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=MAlRyJ0IHfdwsaWhxry6um/UE2vHbyKkhoLXrIb+qPA=; b=HQIdXAR/JBhklqnlGGuEgsJU1ko85OEMvZbET4FVuTkS/TTDxWbpsRpsew3xKXbcaj /G5Ol+0q/ZlDx0Z/Pl0ui1lNEyj0bQV8fzAWFHrG84sISyZ+XRZQGFg1JWe4CEquN+xX GxVjc+eGWPDg0xSWZd2n6urM72qu42CB1a1ltM+adEJJhMVgUijkACDrFFJ9WWZx/V1k 5aEup+9P8KjxgdRADLEhrcvsRHWYs5P1QTgUVNs5tCDzmp2Vjl0QHXx3uPgnI3Y0TVxF sJVU/enibj3KDtfWPj2RvoBw8VmSZd9VivhdrgF09VHE1EAyjuKbXrMUF5p4XtudoNh+ xijA== 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=nrGW5kOGaxG6Nw7iSL1GzjMMGDWG2VPAIuXeeb7AU9PcuFyy/pZPSRRt90ELOqPXTh mKTpaN8Xx/WYVC6Wr5Tz/B/3gFhepUy+MjEO1IL41sLN59kMdA+aP0l7PatdBL6H9/KY kDtP7yUNsCdb7E2rPevOCka5CttZ5D2ulHoYK+4hK4aI3b0KOmuBjBhKAJ2QRPrFCqXQ BTDZSSXOIp95nOyf2jRgtcdPHUu5x4ynye9/xbOaTxdlCdjYXymFZ3CL66XlBtLbCyCz UGjvyvb6BB9Sd/4MSeOtgvYXyGthX+xmtXJ0doq1C3Ea9XA96hnyYDYH1OsD6MGs493L 4Q3w== X-Gm-Message-State: AOAM531rCs+ztdVclZFJsj2GnKafAwiTT5tPn22UnfwpV3OOwD2jpWLV hRoGn+eqAwpsP/H9OmMhuRLZZA== X-Google-Smtp-Source: ABdhPJxGNv2EEGDkjnxhKKuaa6cDWZmaGOgjKIXE75pBz7nY1wlq7c8pHtcpcsD3Aki/Tzwhu9tyfw== X-Received: by 2002:a17:906:19c6:b0:6ce:98a4:5ee6 with SMTP id h6-20020a17090619c600b006ce98a45ee6mr29302193ejd.567.1652349628444; Thu, 12 May 2022 03:00:28 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 10/12] arm64: dts: qcom: sdm630: remove unneeded address/size cells in glink-edge Date: Thu, 12 May 2022 12:00:04 +0200 Message-Id: <20220512100006.99695-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 Thu May 12 10:00: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: 572206 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 7DA7FC433EF for ; Thu, 12 May 2022 10:01:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352442AbiELKBA (ORCPT ); Thu, 12 May 2022 06:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352449AbiELKAs (ORCPT ); Thu, 12 May 2022 06:00:48 -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 0364C2310AB for ; Thu, 12 May 2022 03:00:31 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id dk23so9121480ejb.8 for ; Thu, 12 May 2022 03:00:30 -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=BHyoR/E36GrxjWs1c3eg3CzZO5xdXaVzfgKr8REoysiJBIoXmDeomsLrgQjPUGVJE4 N0BTTEMn1hP2YM42kGbnQIz8vqZcwvr/Fzv4dVpI/vftfY5DZ+1Mgjo0Z7ggC++2uvRW gdJ7bNr4fgRHeU/DdcdbyqIspcud1++SG9XgVCgdwvPaWPbgIRsiPU7e/bL8/g/ojB5n pvthfGrkCsJb0+JwWkY6uuZYG9/gPVxqr315nh7DilaKhNWXoFNKWFBeR+bKNqwOefkA T/tIorJrXSW5nfinvxog5CrTs5+oWLo3HSG+eDBnzA5kFznjF53riH6o5EinWjJvbxz9 Ms3A== 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=YrK2wE7ToJF5E2Q6oqAWBLfqm0pUFRloZlfyHV1z2pyzVIKXNeVT0RT6jvor4g9nQV KTMbSGgWj5kdEHZg3W6CyPnQlBFGHtTGjVL1GZfbi74rsVQFcghMYuMq/PVGPdkC1V4Z PAd+NQR0IbLcRXeLKt7rMiwQYrjq9/QHRo3JtZ+1aIwEy8G+9DD7BmGsC1/X2nfU6oct TpugRjArjd61hL/5N2739HlyHUuljde8O0Py0suvehy2i/OKO33RR+Bh2DC4aQQCi2ue hdFGrarNfbPzKxKhf0sOkDhqnEwT0e+OGUJzLBfpHVq5IT7P8e1uPmm5kznVO4hMGPYm srgg== X-Gm-Message-State: AOAM533sFlBsqnWop/nR4NxA+dQMLIyU6S3/Ud2DstC1WZfCvNYA28+v GHnpru6KK49m1CXrASe6A03Y8Q== X-Google-Smtp-Source: ABdhPJygUmKIFX9w14FfJap+NS6E/NvTIZIMP5lxsuHYESeGzfT7um6Ms1/YGk+DLjZEZIkjSaU50w== X-Received: by 2002:a17:907:3d92:b0:6f4:5ddd:94d with SMTP id he18-20020a1709073d9200b006f45ddd094dmr28281564ejc.268.1652349629473; Thu, 12 May 2022 03:00:29 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 11/12] arm64: dts: qcom: sm8350: remove duplicated glink-edge interrupt Date: Thu, 12 May 2022 12:00:05 +0200 Message-Id: <20220512100006.99695-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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 Thu May 12 10:00: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: 572205 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 38A68C4332F for ; Thu, 12 May 2022 10:01:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352403AbiELKBv (ORCPT ); Thu, 12 May 2022 06:01:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352448AbiELKAs (ORCPT ); Thu, 12 May 2022 06:00:48 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1F0E22EA69 for ; Thu, 12 May 2022 03:00:30 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id z2so9161403ejj.3 for ; Thu, 12 May 2022 03:00:30 -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=XWoI6TWSrxqK4NFoOjglomE/cazymfb44cK3GD+F51Mv24B90JgGF4RjFOU6vUL2TA Q5PrHb+k5cF5N4/WTC03LZyXuQyeOh3GeFVMQiDGBW8q3Tnp4VuezfIuUa2Dbb057fxI UdliXYS1OEAbQgB+XnH1fDT8b/s0IlZm3fS1qcO9qmlWwXKVwAOS5cDoYODbM9Se53s8 Xs4/A3+oL1w8WnMjB6UxxhXb+S+SXVw9XwXy+6FWk1jGX1IiT6N3rn7h30vnW6D4NWCJ z98XLnrs8xh6/N9nasuXsNNwwNvnK3xguu9XYnlMhc0vYjIFjjH6M91XwBWvRGwyfxwu kqVw== 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=P/csZI3RQVlQzkTcmK34F6I1dlYbQkm4Z8fdc0DfczExDrJyhMqL1qkOfGI9CKvvo2 uQY1Ci9+24BHbzKHtEAbCROvUNg9kxm/lFQSNmLhVBgmt6Tisg+ME8+wnvySn10T6kKq Lh98v0+hOtVu6f3N2BM9U3+L8tg1NzAjUDU7qM3mFRFBMw3/g5hjJ4mywY/czsXVrnEg UjVFFWVPlz5x/hj2bfudBLMvTVNnS94sR0uvBSUutr8UPXggTq2GBpcYrdwTr9CTD6Wh vtZgCzrcHALjhSASK/0B/qCqgQivDxrovaO+NF1MrC6wAO7mmRK1gutFas8uwMZ6lRg+ tuaw== X-Gm-Message-State: AOAM532VWtwIG2htximD6SZ0RbC5fVJWBnff17NGl/f8rIzJsHQcKSGO mxy41eDGSpqLS2vwrYF2RJZenw== X-Google-Smtp-Source: ABdhPJwYJ3PjB3jJ91CPv9ONU3HTEf/WZ7sIWJ5XKfonKTYMcQs7h0i1F6unGKj0cysXRYnV8JkFWQ== X-Received: by 2002:a17:907:62a6:b0:6ef:8118:d3e2 with SMTP id nd38-20020a17090762a600b006ef8118d3e2mr28698426ejc.605.1652349630543; Thu, 12 May 2022 03:00:30 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d17-20020a170906641100b006f3ef214da1sm1970287ejm.7.2022.05.12.03.00.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 03:00: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: Sireesh Kodali , Sibi Sankar , Krzysztof Kozlowski Subject: [PATCH 12/12] arm64: dts: qcom: sm8450: remove duplicated glink-edge interrupt Date: Thu, 12 May 2022 12:00:06 +0200 Message-Id: <20220512100006.99695-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220512100006.99695-1-krzysztof.kozlowski@linaro.org> References: <20220512100006.99695-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>; };