From patchwork Wed Aug 4 13:13:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 491673 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1619715jap; Wed, 4 Aug 2021 06:13:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUbNjdNQq7acVWjSSkbwnpg01uZKsPTQTnQqm1xDq4Ox/K18bB63SWLczkE4WpdF6vFqgV X-Received: by 2002:a5d:9b8b:: with SMTP id r11mr133497iom.26.1628082835954; Wed, 04 Aug 2021 06:13:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628082835; cv=none; d=google.com; s=arc-20160816; b=rochY67oMst+yPBADWGD8y3kd8w3ANHzFQmg73h/LhXYojduz7TKjeRDiHojEUyMcd i81TxlzrTBNcc+ghfUdmCkItbrE86FCUJwNiUdxI3Ta1rY62G/gZ/xUejlfOkbxMuavI ZBN2BCOlATGlo8y3vEwQpBntDMsElNR4/TZ6c1IXipjZF8zBx1FLvBy0km64BRskhvWy idAAgDv+37LhNFC8sDd0862Ftcpbh/P9/229iIIhyYXqWVdVYhZdfGXGC24Mftfal7yi KuEqhAwBPi2T/WVnYDbRIeClFxrmsICJz45Fi8Iam0KCs9a73t+tt2ft9/KiJXIaA8s1 PbSA== 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=16q7EqqyfEhwetWb0XYAPotm+XuJAb7KckeFFuyZn6k=; b=j/26QKMDiQvs1x+e1cUa3owSY03C7EC6ixHkjxtqEhoxQoOHsMsyibKSKGL54XTqFS xpOPAVtZWbHg0mnm1M/5CTlyRRLUo7sSERUdcrUItx/F4HrxZgZyo39CZM0B+/DX+6GS Hg7Rd6il8/cFsgFlYflD0Kw/UD+FUvH7YM339GWy/+Q4I+HesMKqP3ZSJHfsZ4HfOllR /pynQUxDdy0VqBxNPLS6a76nTzD5zcPFuoQohUU19yokAnMcK7DBP8tbaETiHtmDevdb j7ecHjc3OivLdiUMaStGUVC8YyZeJoaWajvwTw8qgJCW9H5kpLQAwhdu2l1XRa0Z5DUr 5rOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=URaICnYo; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 x15si2074120ilv.107.2021.08.04.06.13.55; Wed, 04 Aug 2021 06:13:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=URaICnYo; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S237969AbhHDNOH (ORCPT + 17 others); Wed, 4 Aug 2021 09:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233389AbhHDNOH (ORCPT ); Wed, 4 Aug 2021 09:14:07 -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 839F4C061798 for ; Wed, 4 Aug 2021 06:13:54 -0700 (PDT) Received: by mail-il1-x131.google.com with SMTP id y4so1659984ilp.0 for ; Wed, 04 Aug 2021 06:13:54 -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=16q7EqqyfEhwetWb0XYAPotm+XuJAb7KckeFFuyZn6k=; b=URaICnYo2fzFjMRGWMjcx7FktVrKjirxd33+rMnDvTa5e29Yg/KDItyfGl0UHCFwJh /8Vh0SrA2SXk46h4aix1i4Pm8GqdE4i9KC8V8xQo0VSoahukzJGk42RU+2XwGLOx2srk 25ULQrAKKMTA89tgkVVUYFKRKpvNGzqqnz5R4HqeDzWjtt60+ENg5pcGS+tuqUt4rMpk 3QE7N2bAimMjO3Bbg2BMMfbp+uUJxIwqZJ+ESRlbs0bLiwtdIomEu46BiYCzlAW6yKTg J5VmjAPy6rg5wDzBzQSI3+JEaJx6WnYfvNsYzyygO6B6J+lAJDC2oUFhyr2xMBAQHpw6 X4aA== 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=16q7EqqyfEhwetWb0XYAPotm+XuJAb7KckeFFuyZn6k=; b=TapiwdxfnGyLqJYuw/VMHcGlqLLxlPxoM0sk0ebPuCz9eu5JNM71I5g40ITYajFcqH ZJaSGPscktC2wz+sd1UUPH0kH7Y9hOMSAtD/A/sjuS41ecmXrvvnXqeq/FJs+qbZarqe t1sfVT9KbCIQjhZ0zE7s2B0b9Ht8FenjREfefevFB6YF9Fvf2Tc0hjGiefd2wvsm0E4/ 1/v/MDxcgEwoI2TBfu8mYyd3hHjHrlS4cwF5RSM0KCizU9mxYPIdrnBfoz/ft1mfrItJ BWre1F8MzVa5nTjuxnOQzb/3eROAv9JJbK4BallyMZP7d1FEhX1qplUteD+re/tXY926 nFWw== X-Gm-Message-State: AOAM531zx7Krrel7x9Wot3oyWGFR8n8MLQEKQqkJmo7IXYjWR9pm5gn2 cS7g4kO2DIFNN1p9BCzp/FKaCg== X-Received: by 2002:a05:6e02:1561:: with SMTP id k1mr404140ilu.25.1628082833939; Wed, 04 Aug 2021 06:13:53 -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 q11sm1073012ile.71.2021.08.04.06.13.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 06:13:53 -0700 (PDT) From: Alex Elder To: robh+dt@kernel.org, bjorn.andersson@linaro.org, agross@kernel.org Cc: elder@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: net: qcom, ipa: make imem interconnect optional Date: Wed, 4 Aug 2021 08:13:49 -0500 Message-Id: <20210804131349.1179832-1-elder@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 --- Rob, Bjorn, Andy: This was posted as part of a small series once before, and accepted into the net-next/master branch by David Miller: https://lore.kernel.org/netdev/20210719212456.3176086-1-elder@linaro.org/ That series got reverted yesterday: https://lore.kernel.org/netdev/20210802233019.800250-1-elder@linaro.org/ Now I'm posting this patch again (by itself, and a little different this time based on input from Rob) so that this patch can be taken through the Qualcomm repository. I will be posting other updates to DTS files in a separate series shortly. I didn't copy networking addressees this time... -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