From patchwork Fri Sep 9 12:53: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: 604257 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 B156EC6FA82 for ; Fri, 9 Sep 2022 12:54:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231373AbiIIMyR (ORCPT ); Fri, 9 Sep 2022 08:54:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230270AbiIIMyP (ORCPT ); Fri, 9 Sep 2022 08:54:15 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D5F1102D75 for ; Fri, 9 Sep 2022 05:54:12 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id f9so1784476lfr.3 for ; Fri, 09 Sep 2022 05:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=+M7usIL1UBKOSaYCum2sbivjEepOZO9lCMezSOTId5o=; b=SRbPAS7sRrfEKyrj1lSOrt5AzOIDyyykqTBUNKTn5OEbd7+U80yl6snRLxfTonJk2X u4jdXcyrNr6qPcjgzP0G7MVvuKq5Qbt2aVml4e3nIVq1wXQsnkJmArV51I1MU80rrDx0 fFp5yuuEt8v1ZGSfbLHUOfmhBW1HcNk/Yc+0pjB2sYuXjwT5exvMgt3yLjUbrzM3Oaka 739trqEOAoDFxkZYSGcLQjEASLsC9bbzMXyjxN9wNYwePErZ4adMe/qBaUkR3i8oC/on 9hDczp8+AdnM+CqJi77CYDxnwxleiF9klM8/LV/saRDAZZxgZfoedNCqMLtqeIdFVyeu iVBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=+M7usIL1UBKOSaYCum2sbivjEepOZO9lCMezSOTId5o=; b=E7w7mUzPzG2YOec5iFYIuPcrY7NQCw6j6WiUk+kyWuHbIVPrEE4t0y3oUNFeNxVxlG zN3x/QmHyOHqCRhzD4ZlziIGMMnT5WtuXnVns714thyd+mghmKsdkUduk2V0IacHDDth KaUaWF4HuBaP4wa0xNpd1aL7LnJL/R+arrAULaFMA5GjgxQ+P9PgKsQBorpYTeuV0uM7 QjmRBY9WGnmfyPmTL2lssmO4nopYwZggTbkR7TttIXqFt5/qHriv/a3gSE9idHcWY+gP j9Mh4ZqGPtstkAHbxbZitGnKTO4HFlxJQ1shPO8BJnNQehDhPosrxF/igbB/tS9lLvll /R8w== X-Gm-Message-State: ACgBeo2SG52Y/EbQrYEMkEmkUBZ4fRVDjegdPQfiyInqeLiwbx7Rzul1 YUQFk8OawiFjYJpd2X+pnqW4Pg== X-Google-Smtp-Source: AA6agR6Nwp8HMLeKt/flW5sgc5rPxmQY4GPbJfqaKFV8XM/OJEP4c3BWNPQ8e9sx2kXjRIcDx2CcyQ== X-Received: by 2002:a05:6512:b9d:b0:48b:2567:4bad with SMTP id b29-20020a0565120b9d00b0048b25674badmr4410678lfv.9.1662728050367; Fri, 09 Sep 2022 05:54:10 -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 g10-20020a2eb0ca000000b00263630ab29dsm64750ljl.118.2022.09.09.05.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 05:54:09 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Amol Maheshwari , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Mathieu Poirier , David Heidelberg , Abel Vesa , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/7] dt-bindings: misc: qcom,fastrpc: add compute iommus Date: Fri, 9 Sep 2022 14:53:58 +0200 Message-Id: <20220909125403.803158-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220909125403.803158-1-krzysztof.kozlowski@linaro.org> References: <20220909125403.803158-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The children of FastRPC have either one or two IOMMUs in existing DTS (SM8150, SM8450 and others). Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml index 4b4072b6be1c..809de43afe35 100644 --- a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml +++ b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml @@ -70,6 +70,10 @@ patternProperties: reg: maxItems: 1 + iommus: + minItems: 1 + maxItems: 2 + qcom,nsessions: $ref: /schemas/types.yaml#/definitions/uint32 default: 1 From patchwork Fri Sep 9 12:54: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: 604256 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 ED528ECAAD3 for ; Fri, 9 Sep 2022 12:54:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229963AbiIIMyW (ORCPT ); Fri, 9 Sep 2022 08:54:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230270AbiIIMyS (ORCPT ); Fri, 9 Sep 2022 08:54:18 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A313810BA51 for ; Fri, 9 Sep 2022 05:54:15 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id z25so2539059lfr.2 for ; Fri, 09 Sep 2022 05:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=9yt0jEq+pc8s2OJEJHVFLa3aiH3pkCOI+VxSLX+sCE8=; b=SkxCE6R/deryI7nWW/c6D64WutFNZy3A6sOqad+2MqeXJkbqmO2rTKJEmtDOnJBdi6 Nb5a2ifXvg8fekXjeG0OoLsdUrysU8VywDjeviaLsl4NO+ufy0yFp8LVpKGPf9w90Vgq 0dl8uIbtmKmzDYzQsNaJJLeZc/RvN5ikBfo8ff69MfHmd7shjQGEHRj6Lu71nIqkPHQp WJ//gWZcDiDIcj7TQT/7bmAN0t+eu3BV8jWESVWCMfaPggUHDyv1xxIrAe6OVf0sRfh3 sgV9j58kfFwFr8Rjhah/a4vsIQkC0doBRdP4CHF/sjxx7GVa9rgsLnyZ4lCKI5Wu3zJl uytQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=9yt0jEq+pc8s2OJEJHVFLa3aiH3pkCOI+VxSLX+sCE8=; b=7kLET0DokQ5eXDwO63rxiMpp/vtz2czFpEYROJlydFnrdGGutT7kbInlj+/zDHouv7 wHPrXepTyRVYF5RKYoPJkj2/BAvzghd54iTGZcBO0yP8/xe0S2JHFhFQmbwYOy3Kaupt fPv29vNu8fBpW0yyETA+S0RaWDpdYlHZ1iXmLjOvnsWBzVQXUVmMTLDUXBEcwod3dv9a GDvpd40Ff7hKDy+NfGEPGwqX91QOI8+rxMgrKuaoQU7hlKJOSeSPJtyDu4XrEfrkBaK2 gicBGMnlDQ7kYMT29w93CMlJ/aRhfy/+eGXKW2cFd8g+MXJ/UM3AsZmuFmHoWAlhdqPE rBYg== X-Gm-Message-State: ACgBeo0mJ9yubSZPYivTHzEK/uoF31efE4LnrcAD+A5DMol1bHrkk98O uLORAZDKgZGGQFRpkqMFu7GIzw== X-Google-Smtp-Source: AA6agR5+2Qty0DSA8nwCBoIUTICc1XG28SSb65tGJl3BU+MeDv/C4NLiBhCW0htFG+nM/Q4g/auEcw== X-Received: by 2002:a05:6512:3d07:b0:498:f201:5679 with SMTP id d7-20020a0565123d0700b00498f2015679mr2444850lfv.161.1662728055229; Fri, 09 Sep 2022 05:54:15 -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 g10-20020a2eb0ca000000b00263630ab29dsm64750ljl.118.2022.09.09.05.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 05:54:14 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Amol Maheshwari , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Mathieu Poirier , David Heidelberg , Abel Vesa , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/7] dt-bindings: remoteproc: qcom,glink-edge: require channels in children Date: Fri, 9 Sep 2022 14:54:01 +0200 Message-Id: <20220909125403.803158-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220909125403.803158-1-krzysztof.kozlowski@linaro.org> References: <20220909125403.803158-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org GLINK edge contains subnodes representing devices related to the remote processor. Each of such device (e.g. APR or FastRPC) must have a "qcom,glink-channels" property. However the APR or FastRPC device can be also part of other communication - SMD - thus their schema does not require "qcom,glink-channels". To make the GLINK edge bindings strict, require "qcom,glink-channels" for its children. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/remoteproc/qcom,glink-edge.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml index 8953678da83e..25c27464ef25 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml @@ -19,11 +19,15 @@ properties: apr: $ref: /schemas/soc/qcom/qcom,apr.yaml# + required: + - qcom,glink-channels description: Qualcomm APR/GPR (Asynchronous/Generic Packet Router) fastrpc: $ref: /schemas/misc/qcom,fastrpc.yaml# + required: + - qcom,glink-channels description: Qualcomm FastRPC From patchwork Fri Sep 9 12:54: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: 604255 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 1BEAFC6FA82 for ; Fri, 9 Sep 2022 12:54:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231782AbiIIMyg (ORCPT ); Fri, 9 Sep 2022 08:54:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231669AbiIIMyV (ORCPT ); Fri, 9 Sep 2022 08:54:21 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD8A2102D72 for ; Fri, 9 Sep 2022 05:54:17 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id i26so2487547lfp.11 for ; Fri, 09 Sep 2022 05:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=SK7F419KsULn20Qc23O2UdMj6Cm6vc/xEry45+k1nrI=; b=VAe9WzpSTg5gV/MBrdHd/oDjQx5rn3PmDUoCDgcBW9JwHkEnHoRdG5JalopfZ9Hcmv daQOg/tYbgSjhHg0xih7vFHVjbsjchcq4WXayTlkuiAiH81voDR8pAaed4qmqxwaBdQV 3Eygs8BNIgpVJHrJPz3+E34zmi6MtYyumSoQkIDk3HYJKwjQNR2VVQVRjP3k7d9PHa9O /5CMk5rbc/qxI4GSO5knjd0I5rzS+AHYw0MK9r9vQjRehwB+sCwToZu3nPLTDJDLAddo Rk6mScvg/x80g1Qvlsz+RakqqA65gq1ehOZ0pmo7HuPP3YXV6zm7jOT7z+am6akDlABQ 1C4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=SK7F419KsULn20Qc23O2UdMj6Cm6vc/xEry45+k1nrI=; b=xPX2eHQvnd410wSWRKzHVVdiD2LQmEoYQruWYCquja8OUELGLP9G3fjyOjmh2+76na BFwtAg/5Q1b9NKic8j9hgb6QjTn/6ARbLO9BSNc+DlOYq91s3OWsrYbZzKGwmR5/oTDT VD8OGBVzWb2Ci9Q4r3lXXNKVaqvRN7r7DbQYaHB2mzn6nSBqeSB6KmRvR+ThkdxJXzjd vJBwfKU+7UtxMBpFMONM32YAQKhbHDrmc50vjf/O9JPdWywocbNPmI/DFWPzf8aWSVqv kJcMSL0XgGj4q9AuDCtJ6UKZ1hlk/QfLkTPym01IjyvFomd8ec81Ck+y8aQOl5QXYf5t qUJw== X-Gm-Message-State: ACgBeo0z3qmt/TOU5Qqkbmognox+j79eP/xSjXmLUlb4JIfCmmXWAwrp /bJ9wb+BCuIHy5JwjrMZmLaH3w== X-Google-Smtp-Source: AA6agR7w2LDocmgp+aIUOuWEMqoBIZQta0dJGfd0R0ve/cQMRRRIkg1RFEIHCs8EzjBb6Gdws9Vb1w== X-Received: by 2002:ac2:5462:0:b0:48b:2a7b:3c15 with SMTP id e2-20020ac25462000000b0048b2a7b3c15mr4525869lfn.489.1662728057198; Fri, 09 Sep 2022 05:54:17 -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 g10-20020a2eb0ca000000b00263630ab29dsm64750ljl.118.2022.09.09.05.54.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 05:54:16 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Amol Maheshwari , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Mathieu Poirier , David Heidelberg , Abel Vesa , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 6/7] dt-bindings: soc: qcom: smd: restrict child name to smd-edge Date: Fri, 9 Sep 2022 14:54:02 +0200 Message-Id: <20220909125403.803158-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220909125403.803158-1-krzysztof.kozlowski@linaro.org> References: <20220909125403.803158-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Child node of SMD must be either smd-edge or rpm, so the pattern can be narrowed. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml index 9b3efe97f47c..0e548234611e 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml @@ -20,7 +20,7 @@ properties: const: qcom,smd patternProperties: - "^.*-edge|rpm$": + "^smd-edge|rpm$": $ref: /schemas/remoteproc/qcom,smd-edge.yaml# description: Each subnode of the SMD node represents a remote subsystem or a remote