From patchwork Wed Aug 11 14:18:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 495182 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp5018919jap; Wed, 11 Aug 2021 07:18:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjjPAOJVUVLYX0Wd1pamuHsiMby2rFWF4q37xAN7YKKFI9vUfOIx2lHjRO3XP/J3WoOwdm X-Received: by 2002:a6b:8dc6:: with SMTP id p189mr158024iod.57.1628691487081; Wed, 11 Aug 2021 07:18:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628691487; cv=none; d=google.com; s=arc-20160816; b=GMdd2KblOqyrrBxVqe99ZW7AeZ1BwmpZJvSOswNi1aBd44k1aIn3WCJjC8NGQ24dIt aTId3deruAs+e931DANBanAO2VsnN/OqR1ZFJ7a2EkANCAXBr2jexmNKAYAKj4dnhMt6 hPT92Z/4zVDSExvv6HfjJZOkGXAyR+fd0nBM1fnpMrZWnXjsH4Qh54FZe8r1GvE1Iymo Q7Hc2PoXTzLjOpVYnK2DzWKxlTJiHJ9yasM6/9Jwk/a4KMtVHF6e8v10Ekul85rUqHW8 qZPKUIyMfTaEk8cEnKohy56kBDt8CIu65QdUmNcrZuCqc55Fcv+N9tw5JCJ+kJFZsAu9 Y8YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=LDWP9qisBxFdueMqiOTeG0NsmbdU+x+l/xp0sQwGHd4=; b=llwvD4RGYHyUDsAwEEZJD3mDSyGIb1Lzor3xR1Yx+r/pg8Czc52DjwNntj7gwFDAxd bQDD97WVvOTLLF/JyKKpGVbzWkt3J/c/Ra8wnZNx1ojvwfBp/wKwuIKNsjoqqzXb3lE7 FmTVKMzLvtP/7NqgYniBqSE7OG3XfN7Qgx+oDgHX3qDSd6my1f1KuG3JTUYa6U/rC4dO se1ubkSthqBXKvx4GAAzg6V5hxB4xwlyt5TcFjAJA4Z3zmedR/KJe/tKKJVebEbxp1PK Ex7xmDWzwqiV1kY1NSKDhC6za3nL6B5HUYTMnU3TGEYYRGLmBh2oyzJN3tnDDheyMzwy zbyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WO/JfNQF"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x1si23102679ilp.101.2021.08.11.07.18.06; Wed, 11 Aug 2021 07:18:07 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WO/JfNQF"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232122AbhHKOS3 (ORCPT + 7 others); Wed, 11 Aug 2021 10:18:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231872AbhHKOS2 (ORCPT ); Wed, 11 Aug 2021 10:18:28 -0400 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60775C0613D3 for ; Wed, 11 Aug 2021 07:18:05 -0700 (PDT) Received: by mail-il1-x131.google.com with SMTP id y3so2999837ilm.6 for ; Wed, 11 Aug 2021 07:18:05 -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:mime-version :content-transfer-encoding; bh=LDWP9qisBxFdueMqiOTeG0NsmbdU+x+l/xp0sQwGHd4=; b=WO/JfNQFytTyy9YMRuVLi7YfkL9EWNVf3vMlugzUjYyHGImqe/zrP0msZjp+R5UMaI Z6txHSWra1O3C49h3bR+/FF0q5h1BqlUHJch1M3gsDr89UR+QTGYsp7zLSe1dGyOQl8T IJHiaVDTmiWd5W39HhEIkGc9sv1houRJnCGLBDtxQ2fJO2Me0u2hhGg8h4bJC1+D/ytZ evCDTbYjpWTP/Vbn+yc/ZFcOKtKOq+uBsKFOion6GeNbXcAnL+hr7sRPpC37ClE00aD6 DGZxWwWLRKv9/1FFAUbTts0ae9JVwnqgrG9rrX2Rcl1uexKhpBlKQ6HGzAdVuWny1+lp 3+gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LDWP9qisBxFdueMqiOTeG0NsmbdU+x+l/xp0sQwGHd4=; b=NyZl9JBg00ce9GUFsHdG9z0ZyiGNqbIywdY9Pd4Mh36RgJ0JY/MfZXn1XRTy3vmWnd GwHFjM8Fj0Y5xwBEWgQesqbgfJCWJahsHYX3s1cfjcaaMrgY3TS69OpGvwTSpK86Idmw 14iCmRvTkxc9wtlQld9PA6zZZwiRGxLc1xBgnPzTC1QZYkRYEZ6/27dPrq+m3vlTqi8S CeoQkqflQzrfTLRnl2myZs6qc8GdSr6WgHgu02zZwmVNg8HY2fM5tXrTpHIAYDWD9G4r vtv4Re/rps5zjjPlxPpNmebJ0yGsVBVVpQkfXAY184Pxir2ezVaE67eFiu2k/gUGRKHy H5bg== X-Gm-Message-State: AOAM530Jh1WI8G6P+PNFZLhO9N47YRz9um/WJh2nCaRtI5F0sQ+Oil44 Al4RYGgr71inOhEKFbnyC5DW5Q== X-Received: by 2002:a92:c601:: with SMTP id p1mr73562ilm.284.1628691484831; Wed, 11 Aug 2021 07:18:04 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id m184sm14287014ioa.17.2021.08.11.07.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Aug 2021 07:18:04 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: robh+dt@kernel.org, bjorn.andersson@linaro.org, agross@kernel.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v4] dt-bindings: net: qcom, ipa: make imem interconnect optional Date: Wed, 11 Aug 2021 09:18:02 -0500 Message-Id: <20210811141802.2635424-1-elder@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On some newer SoCs, the interconnect between IPA and SoC internal memory (imem) is not used. Update the binding to indicate that having just the memory and config interconnects is another allowed configuration. Signed-off-by: Alex Elder --- v4: Hopefully I included all the right addressees this time. v3: Based on net-next/master; sending for inclusion in net-next. v2: Based on linux-next/master. An earlier version was sent with some DTS updates and was accepted into the net-next/master branch, but later reverted. Bjorn accepted the re-sent DTS patches into the Qualcomm repository; this patch should go (by itself) via the net-next repository. -Alex .../devicetree/bindings/net/qcom,ipa.yaml | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) -- 2.27.0 diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml index ed88ba4b94df5..b8a0b392b24ea 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml @@ -87,16 +87,24 @@ properties: - const: ipa-setup-ready interconnects: - items: - - description: Interconnect path between IPA and main memory - - description: Interconnect path between IPA and internal memory - - description: Interconnect path between IPA and the AP subsystem + oneOf: + - items: + - description: Path leading to system memory + - description: Path between the AP and IPA config space + - items: + - description: Path leading to system memory + - description: Path leading to internal memory + - description: Path between the AP and IPA config space interconnect-names: - items: - - const: memory - - const: imem - - const: config + oneOf: + - items: + - const: memory + - const: config + - items: + - const: memory + - const: imem + - const: config qcom,smem-states: $ref: /schemas/types.yaml#/definitions/phandle-array