Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1653566pxv; Fri, 23 Jul 2021 13:58:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzYSp/uPG0qhF7kmcOMCsj9ZTEPMwePElh3OLrerVspPOjco9ucF4Vwg4yISvamZ3LR9o2 X-Received: by 2002:a17:906:d105:: with SMTP id b5mr6442778ejz.50.1627073885995; Fri, 23 Jul 2021 13:58:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627073885; cv=none; d=google.com; s=arc-20160816; b=ccQp7CVhq08oNsvlr4LZnae8WbDXDTxjhNDjj8hN093sEQ7oeV/HtIHPIetA1oz1oK uP8N1RLKqHvEz6xHSgjBdiL5pvyxLH443xSuY8kpao4iexw+ELb0I0A6STjnF8JFdxM8 8fF89UsK45z4eLnkVeJrj7p5+byQaCyhBl8Jov5CuGjMPDMDtZEiXJ6lEo9i63nqv4Tf ExKebsxaT5V4+mBRCIP6eSBSa/4i9DOu64a/tReCymD0sRBRJEF2lBWqq94xJWGzj6Qp mgpDfnYq7ED4mpO50Gv8KiiwZAK1qz3pPa27gYx1/ONGZ0tG9u96W8U2k2iIZONjK6Qn bABQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/AvCVAOPmzcCvwso3MEXLVk+T/5PwdgBQwVXHtVRXLQ=; b=hFhtGwcLWNUgXeIu+wUQZMaurKkE+1FOTb3msjO3ntKst/viBDnYxwSUqRl7+a9EV3 UQ8OsBDP3IXXeTeaBMYdBAn6Os4beywXfMoT4yiEMvnAbZeC8NPoR4zAC0op1FGYUdqq V9/1IC8pIulpnvZw9sq3Hxbg1Cj5/+QypPqSnqPGcasZ1rFegIzJtvI+ciUDASV7H8QB GXhu4Xo59ytMf2+mF0ffx+AdC9iLkkPFIbWkBhhGiS7LFWCGb8vTbCVRl42qa3lGuAlA yz/hUcu8a9JRcaaWkFmzM+BJXJ34NlZwB+n8mC7DCBlkyZsONhbFM748Vb4wG3vZFylQ 9SeQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a9si8562265edt.482.2021.07.23.13.57.42; Fri, 23 Jul 2021 13:58:05 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231383AbhGWUMZ (ORCPT + 99 others); Fri, 23 Jul 2021 16:12:25 -0400 Received: from mail-il1-f169.google.com ([209.85.166.169]:39485 "EHLO mail-il1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbhGWUMX (ORCPT ); Fri, 23 Jul 2021 16:12:23 -0400 Received: by mail-il1-f169.google.com with SMTP id r1so2727328iln.6; Fri, 23 Jul 2021 13:52:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/AvCVAOPmzcCvwso3MEXLVk+T/5PwdgBQwVXHtVRXLQ=; b=oWIJBerd44fkYcRajHOtmSiA4F+zX58JY8MBU/mFlb9Ec0NVLHjYD8AgzdnqehSfmy tEYu7NSHSqHHEtF7/OM/UtNBkMrTzGsfNNvqAzv9Z432gFiVVq1RtRJshsIxXVgk8pIL JcIPFgdLAmAiZjge65ehaz1c2hCteIvE9k+9PqAVWj1VFKOeYGfmW3Nms+cDADLkLn84 oTIVThvC0lKN/ouWCjqddvzivFHy9nXOZMtmUmwdxfB/RjJeAalDyj1O/3x0KGvZ2n8P JzXICfYde7quGLNxbkmN9Oozu5PHgziv8OVcCsp0acWHKGcv2M5fDT/+vGHISb6r7s83 gm0Q== X-Gm-Message-State: AOAM53273Z27WEZOvAy1GTChH6ampyUM6k45so0MJ5Blhj6C08QwufKT 65aqsRgYT7V/EcqBwzeMwQ== X-Received: by 2002:a92:d5cf:: with SMTP id d15mr4618870ilq.194.1627073575770; Fri, 23 Jul 2021 13:52:55 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id m26sm18982919ioo.23.2021.07.23.13.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 13:52:55 -0700 (PDT) Received: (nullmailer pid 2560560 invoked by uid 1000); Fri, 23 Jul 2021 20:52:52 -0000 Date: Fri, 23 Jul 2021 14:52:52 -0600 From: Rob Herring To: Alex Elder Cc: bjorn.andersson@linaro.org, agross@kernel.org, davem@davemloft.net, kuba@kernel.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/3] dt-bindings: net: qcom,ipa: make imem interconnect optional Message-ID: <20210723205252.GA2550230@robh.at.kernel.org> References: <20210719212456.3176086-1-elder@linaro.org> <20210719212456.3176086-2-elder@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210719212456.3176086-2-elder@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 19, 2021 at 04:24:54PM -0500, Alex Elder wrote: > On some newer SoCs, the interconnect between IPA and SoC internal > memory (imem) is not used. Reflect this in the binding by moving > the definition of the "imem" interconnect to the end and defining > minItems to be 2 for both the interconnects and interconnect-names > properties. > > Signed-off-by: Alex Elder > --- > .../devicetree/bindings/net/qcom,ipa.yaml | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml > index ed88ba4b94df5..4853ab7017bd9 100644 > --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml > +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml > @@ -87,16 +87,18 @@ properties: > - const: ipa-setup-ready > > interconnects: > + minItems: 2 > 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 > + - description: Path leading to system memory > + - description: Path between the AP and IPA config space > + - description: Path leading to internal memory > > interconnect-names: > + minItems: 2 > items: > - const: memory > - - const: imem > - const: config > + - const: imem What about existing users? This will generate warnings. Doing this for the 2nd item would avoid the need for .dts updates: - enum: [ imem, config ] Rob