From patchwork Wed Aug 4 20:04:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 491687 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1953210jap; Wed, 4 Aug 2021 13:05:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfZWsJcHfWGyxHBcDzdHH0Qgo8aPm+Sgo6ta0iNUBuoaStA6BwrLeY8L+wQcKmAQw/ATKg X-Received: by 2002:a92:da0d:: with SMTP id z13mr221864ilm.95.1628107502275; Wed, 04 Aug 2021 13:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628107502; cv=none; d=google.com; s=arc-20160816; b=SnJljmZC2WLB+8U1n+wZBOaes4M/rTyux1XLtCHatxSZwQQX6WJ6abRRaOe+1CNjok 7bWqHMavsCMr7cVxOGEO1IxNBUPiWZckmcuMrR5WibcUKiYvyMYZ/WS24/YO/xPKMUOm wEp5Ya+UtGcFrjMiNg25E8n+3jqrqPY7KSWgyQZYKYwIZmJSkguKVJtXdXs7oDgocU4N TBVkecE4vwl27h4WQRx/fm6a5ncVTtx9I8xeILQUcJ2EWuVHrg8N1nvf3IGm1j8S0u6K gRIOmQNGQhsA81TZqMRyExEDiZfyQO5gsl0k5D4BFlqI3eIhY435RMrLJsyld9CSFy1g RPew== 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=WpJTczWcMa/wlQB3c8ZVvUWtfwUJzoex9JrRy9qZMaU=; b=dEV+7QHgEdAAbmQLXMSLTxXygxr3WmapKmu30At6kWF4V16jgIgCdqKU5i23JkqxW7 kIUMbKR9PkkJNmov4fvx+r8TznlMVYmrFNrbuLM4vW5xOdovKSVpcG6lfQ+HJ2z67sRp o6c9ltkw6wUyUYVmRdFuMEI68svOiq96mYodkPjdwn/T2EUxPlrpkwJ3Y13pdPXu0KTR K8J0AA2FRDJ7FQNMBgLb9SpxHit5txmp57Ry99s+oFIBTkehO73gXQXVpWK0TgM2vr/8 AQDR1iqTf43KTiBaL0RdKn1OU36QU/cnuNHa0g6JWSkPsLBqb7zQSGlLJJxlm9Y3RCH6 NLtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V2EDbbaF; 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 o10si3119382jat.32.2021.08.04.13.05.00; Wed, 04 Aug 2021 13:05:01 -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=V2EDbbaF; 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 S231214AbhHDUFM (ORCPT + 17 others); Wed, 4 Aug 2021 16:05:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239458AbhHDUFM (ORCPT ); Wed, 4 Aug 2021 16:05:12 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21314C061799 for ; Wed, 4 Aug 2021 13:04:59 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id r1so2778600iln.6 for ; Wed, 04 Aug 2021 13:04:59 -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=WpJTczWcMa/wlQB3c8ZVvUWtfwUJzoex9JrRy9qZMaU=; b=V2EDbbaFFgv/yFfhmUf9155JJ/wIPornZXPN5AzHMdPUVi9oaTtJHHA3yLPuRQMgqy zbJtaSsDaAy7JzbAIYII7nU0nm0OBeVxtXYt1k1K9NX0kzAQy8s15auhXOTIIAMAgmdB asCu7p8zDWaWpxHnXDklH9PVT0bW6J2749f7WmmtsT5m+zt9IZ0cy7QwSbCNxVa4FzMp EkftrmLD1ielcb7qYdXN2h202l07Z/vYeS1zutrclwZrikfMvFpQgy4DI2stqWPPh98m Yk0xOk9+3dXTvCmwZ+HiDYSAViWN2YO/VPV7HPyZP5gecmsaIgoXo1qz5s9kD1kPjHHP lu5g== 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=WpJTczWcMa/wlQB3c8ZVvUWtfwUJzoex9JrRy9qZMaU=; b=n2geK+jAh8l8bwnHR3YFI1MhTg7WHc9ysFDC+zmTu/S65ZzFIqQ6J02tAgSTk5B8wK vypwNGslbPTEzPir+W3YgHFxSatTDTFIJlJ/F8WKo6ysteeuFdLHQfrAMo7FyUpr3juC N0GPzpmtw0xbl4emzbzhfStMbSXryoNMgzZlS21/5hIRA8JV56VTpCS6AJeBPbdzoSFT 8vGGedcBoCdOdQ7yP34fxU25qTisv5HJPJu6Z3mOug34dLyZrbjkwwDrSnwphZ+JTLbU o/viSGUYluGcbeZ3MP1kRG+LdAFefpHLbEaxOyDb8d3zEdS51N/9qFW/YB9Oo0mqit4Q pPrg== X-Gm-Message-State: AOAM532XAr3BmQYA2Hs3AmifeoUYmdbB5W3F7hS+lh3T8ROxmwmThH9V bdmhEGDcoLtE2pua5JV3VNoaoA== X-Received: by 2002:a92:c8c1:: with SMTP id c1mr999791ilq.106.1628107498554; Wed, 04 Aug 2021 13:04:58 -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 f7sm1681097ils.42.2021.08.04.13.04.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 13:04:58 -0700 (PDT) From: Alex Elder To: robh+dt@kernel.org, bjorn.andersson@linaro.org, agross@kernel.org Cc: elder@kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: net: qcom, ipa: make imem interconnect optional Date: Wed, 4 Aug 2021 15:04:55 -0500 Message-Id: <20210804200455.1878582-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 --- v2: Now based on linux-next/master (not net-next/master) 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