Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3720453pxt; Tue, 10 Aug 2021 09:46:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVnTWDB+vNDVzb+8avFhlLSF2RfWCbr/H3/PPM+FTXLDbRnjWNgayA875HF3GuiBqru9Vx X-Received: by 2002:a50:ec0a:: with SMTP id g10mr5966299edr.125.1628614007724; Tue, 10 Aug 2021 09:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628614007; cv=none; d=google.com; s=arc-20160816; b=Z67h+fiUN+Ra54mRJfj4WrvcVndeyUQyd6CkPJ9yCzOdrSISgLETKi1IHEePcuhIvn CnbHR3F1oa7MGXAKPBjxE+Lk8HRjGzkpUYN81vYtuCAQmoSfJwgcdp6Tj5Gdx5DYb20j OUxKYyGcLge8k1HFaJgIMzYo+RnQrvKiLYveYkWd4Ji2d+aupLcLzyRvUMzZNC4WoJtq 9uwWNlfZqnnA8XGA6+fsSVIkftVmkrihX3ww36JGdfkkemmultPxfX7aCgewu+lvjaQP VYWEAzOpTDEGW7bQCdn2k/rzy4S2OC1kk91nkhp56UUW6/f87q/76JvKjNeUQP+SYQPG tn6w== 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=A3Wk2pDyXbmU+r0AsnVTvYVgVzJbiqOOteA35AVH/wQ=; b=gKTF+SBknzyJzgkmqX5bF1Hhte/wBex79PYRhsxsUOYZfVbOSIctCYEfqp58BcPKnf VB5r66BoVBvGmwHqwVMb9vI9e7kEkHrUDWKA60e3fmI6zFVdgjD8O6JgbMZ9QjVYN6Yl sJriaPISGQliTEpR1mpWDSXOIIu1KXvNJJsvC2emVce14ANPAwib9rdkdIQhIjmEDOfJ bXvw0OBiS9Pa+xU5Wd5T2yX8aS2kBg6gq+JLBoU6Hkjbu7ToeAh5szurWYCz+Jm0H6I4 BPOgWA+xFSYsh6qmPxHNRM/fSrZ8LMm9aC9KiX93EtwnIJEsauke4qw5mH2wIf0xxbFj w7vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hprt/XB7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 w13si11653035edd.582.2021.08.10.09.46.21; Tue, 10 Aug 2021 09:46:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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="hprt/XB7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S232974AbhHJQU7 (ORCPT + 99 others); Tue, 10 Aug 2021 12:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbhHJQU6 (ORCPT ); Tue, 10 Aug 2021 12:20:58 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34223C0613D3 for ; Tue, 10 Aug 2021 09:20:36 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id h1so32884778iol.9 for ; Tue, 10 Aug 2021 09:20:36 -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=A3Wk2pDyXbmU+r0AsnVTvYVgVzJbiqOOteA35AVH/wQ=; b=hprt/XB7CmBJP+eKFgA9sQuCJZrqn0qwTrgKhwazayta8qPLfTwKMVf9HNNmqzlgin SOKNQiMlNrfI1NbrMxEtm4iyegkbOsAHBXY6+fGvYQwMtZKtJDihnlzBZTufFtt7MJ61 p3V9vR2GV5X/H4mwksUW3huUM/haXeZrPfZQdYs7HjclwN6KulS0tNUL6x7lFSV3pWf/ ceTdoxYF92UxVkbCq/2h31nEZ6WhNq1zx6PsANE8fSZyC6ZBkdpq0ZSY0F0zx4OeraDr 7WadLSHEtpM0nCFEi5TZGkxNWk8IJrfqYAaiCFSdzOLFewUJVelKF/mUSjHp6O6uh2Ok Eo3g== 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=A3Wk2pDyXbmU+r0AsnVTvYVgVzJbiqOOteA35AVH/wQ=; b=qT7ffZSDtUjP/kOn41rkYEi3cjDKhgOohNuPnxRbBWcfxBZp53dm+K0fc19v2xzKUH kTMHP3iewzQwsmJ1YVuiPH5GuYypU0CrPkn+v9bqmiFr6ifK3f7xXixNLKhVBzGYSwrG vvnXGh5uRno3Yu8Hz78cjWHkIUHlh3FOdoh+JRENrKSEeMmaM7yx+mpBFGSzCeK2ZmjN gJsX53phv7rUilmNxyQOHX8uQlnQDlkDwvbaqsLbqXIe1b1t/X90xUHBi8DEU+sJoW/S lzStyYp38iq5HlR+Vj9VfmRSzLhHKZcK/H77iZ6+a9wS738zTY1pbs9NAN3w5wctow3R slMQ== X-Gm-Message-State: AOAM530t89meQaMAgq/mwcVXj/zKEgglVFgL3cpq5lnLVds6x+uR4GzG k/KiTRyav5z064dbPvNQWvX8WBsx9g1uMA== X-Received: by 2002:a05:6638:24c7:: with SMTP id y7mr7077324jat.64.1628612435584; Tue, 10 Aug 2021 09:20:35 -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 h26sm11898210ior.7.2021.08.10.09.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 09:20:35 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: bjorn.andersson@linaro.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v3 1/1] dt-bindings: net: qcom,ipa: make imem interconnect optional Date: Tue, 10 Aug 2021 11:20:33 -0500 Message-Id: <20210810162033.2258604-1-elder@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- v3: Based on net-next/master; sending for inclusion there. v2: Based on linux-next/master, to be taken via Qualcomm repository. I sent version 2 of this only to linux-arm-msm, but Bjorn reminded me this binding update ought to go through the net-next repository. -Alex .../devicetree/bindings/net/qcom,ipa.yaml | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) 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 -- 2.27.0