Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp96879pxt; Wed, 4 Aug 2021 06:47:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQMMN66QpEsCwhx8ONzBi4u1+i/mSqiTQbu7rlVvO+H1wz6ZDYzQcHw/BL9pingNwZ7iEh X-Received: by 2002:a17:907:7da5:: with SMTP id oz37mr25224972ejc.396.1628084862752; Wed, 04 Aug 2021 06:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628084862; cv=none; d=google.com; s=arc-20160816; b=bQrdqJz2Xc/RcQgvzw6qp3nmN24n81qWsJ4Z5EAFAJINLutp2CEOvkHU1PhcQrH90R 6cFR3hT/idj+8JRiMMe72qOtwy2TcbvCzkguKykYziJTvrtgiBLRBgkOawg/LX5mn7L/ PhnSS4hVIeHUP6c/d3QSDZTITMrVU/o3hBLBmzb2HT+kqKztPDpOhrWflwlUNYsse8ew fJEkENFQ7D2wbciykX731COkViBOo4NjEBnZpKscpbNek3kOgXbit0MoUJNxrCqutATS 8L+tu8FO8WFNCEyy7PckMEcQwRn5B/F8troknairnm9ULBjl518DQraLHkjMzqXasJS+ V71Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature; bh=WEEoYWeo7g/aPLJ9OiB+t88pw1GizfDuJiiyMPsrkdU=; b=Dc+viV4e6agqDzZiqg74VMkSteG+h/pk5siuqStPZQ3tBCgPnO+7MJqIsFp0/Q8buG 2nSo3y6v6Yt/m1q1JH9Lz886pMXFv0rA48IdFM9ny8K/JgyhEHgNhMkcwVQnmUosXYhx OB7cnzjhgVUQiETm6a8eU71ECQPMT50vNZw0fQRZMq+2hTVLsVeRz3pUcU4xFeMin3SG ziYP/9Uol6YWPmVILm8kyJFQLmvU9kBjHYOWKdh9EYfaoJWlF9Erddw/v4f1qssBEdpl Enz+czZGaxnGUebGShupTbZz6WJuUda1gsB6gekj+Vq/xZn5wFrRs8lqs9Alr/nM/Cp4 Zywg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m7yQAE09; 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 u24si2185688edo.515.2021.08.04.06.47.16; Wed, 04 Aug 2021 06:47:42 -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=m7yQAE09; 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 S238483AbhHDNaC (ORCPT + 99 others); Wed, 4 Aug 2021 09:30:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238496AbhHDNaB (ORCPT ); Wed, 4 Aug 2021 09:30:01 -0400 Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E6CDC061799 for ; Wed, 4 Aug 2021 06:29:47 -0700 (PDT) Received: by mail-il1-x12a.google.com with SMTP id f8so1657184ilr.4 for ; Wed, 04 Aug 2021 06:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=WEEoYWeo7g/aPLJ9OiB+t88pw1GizfDuJiiyMPsrkdU=; b=m7yQAE095pvcZHScJ8REPAQNt1BSnerISpefviqyMC+hx6SCsIdkh3Hw2hJKQjwDMu oUiJSmjr7ld0OUGPOcty6+Km3mAu0n7IKkarhZu4Mioz7jAdWEo5qsrGws4WG4U+K6Zv DYSJbZ9rshw178PUyNYTd4DKkPnSvNr8QpWYaUKEoKFkqra4fVFLyGYL2zPuyCEEKQuK BRlH00huL5yNd8BXlchGvsZTr+qeakPvM+Sw627KamS+4FF9XzvDhOT9D4EabqVPRcQr shnlJgt62QDyfgOBxYo/XwXLEjfc7LUh1fHGlL21kX3lZce0OLLjUL7At7ymhodTSXqE uFMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WEEoYWeo7g/aPLJ9OiB+t88pw1GizfDuJiiyMPsrkdU=; b=TUrvjhtKcccAJOt7G6lV9921g+0gZVAGPL3mkbTAQiI64ls5Lu7lhFXj1FXHAnB6b/ R0jH1FBxQhGOPH9PPslVqhyTqiHdCzTpPnwtnKqdEDSvpQ4KJ+wkPuERVA7UsXvrfzrr 8fr8Ka2CQ9pcJb+snjNM8k34Y4G1NkNNBqtP4efPGHImTZ626+m2517ixLUiuEJgh+D6 mI4WHpBxToTZ5SVt3fn4jdVDPRRi4Aybsbc+tA1JbArvETPbVxl69GmjKNaifJRDmh4j m30quW624k1KIPPCy3f5RmIlNqYiWIUXblueoU3n/44t6u5O2jt2kgeizp5TQZeZ785a nm6Q== X-Gm-Message-State: AOAM530uGyW7AQstWqz0No7vQn+oRGHQO8qkeWZOwZY7B+cZ833mCKOA HBMGs8nOwmJ9C2WgmhEN0c3kbEfa7OK1gQ== X-Received: by 2002:a92:8e41:: with SMTP id k1mr1028304ilh.276.1628083786650; Wed, 04 Aug 2021 06:29:46 -0700 (PDT) Received: from [172.22.22.4] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id n10sm1069963ile.82.2021.08.04.06.29.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Aug 2021 06:29:46 -0700 (PDT) Subject: Re: [PATCH] dt-bindings: net: qcom,ipa: make imem interconnect optional 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 References: <20210804131349.1179832-1-elder@linaro.org> Message-ID: Date: Wed, 4 Aug 2021 08:29:44 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210804131349.1179832-1-elder@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/4/21 8:13 AM, Alex Elder wrote: > 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 And now I realize I mistakenly based this on net-next/master rather than linux-next/master. I think I need to wait another day or so before I can apply this to the right branch. Sorry about that. Please ignore/retract this, I'll send again when I can, and will call the update "v2". -Alex > --- > 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(-) > > 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 >