Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1216180rdb; Sun, 7 Jan 2024 08:44:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSlNr89WeYywEbePmqfwPY4bFawp9yv1qriGBsH9vipQ+7G2UytZCbQg7U9jgFTMqLTYgd X-Received: by 2002:a50:c081:0:b0:557:1d99:9e05 with SMTP id k1-20020a50c081000000b005571d999e05mr1172048edf.70.1704645857527; Sun, 07 Jan 2024 08:44:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704645857; cv=none; d=google.com; s=arc-20160816; b=QJ5YbE2DlmxDzIdiUrlKurEIzFIz5M1vNuLRHiXvBZuqvF7s74ukOW7Wo/2GDXG/z1 siGX9A4G+t7nWViH2LH6PtqulLhdojYPU6t/y1TsWEivdiJo8qyyju466NLZfqxixUz9 cWD9aAIv/O2TCr2FKlV3ugy9z4MH6nj5xDdOYSuhklJ+VatzlYr0yWjo+Np2d5B7Ey/f c4rYOYckAL4DBEXtBZGL2pP76a5Kc7YVcqexbVmgEZzQzm2MYZzuX7DDvWuXHs6c6HIs EHDuOMBshtFPXR3P4ZNRufxpYWgVR4CmN6XTcAfKTTDHOJx7f2oU/0QmnSp4ZH+TQtSa /URQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=MDurUsmhJq0dyjr8SWHs5bXM+VTm8bsWDia3wsX0Pwo=; fh=15+hIjx7ONMEzWVMDaNmTvFyOQj3yOYmIzs9sQdmUtc=; b=ZvNd7+IstBPPrj9CCtx2KTByoFU3rF0dRnFd9vECAMilaWquszhCH6WpTuLcsDOWz+ NNkMNMBYmgWl9GyXvsibwNGLgphF+EZBgayqkZnK/moDMUdARr5N283YeUyv4z/nQr97 hJmRprBq/hZ6ynrgM2Fky5NKGFwrTJVEVSAgGos0a0M1gD9BFgBGqPtVA/fmJG3Sz9AP OTuo116o3MTknAKfT6z92uCDwxy97ANCOT/fDbhr41TVzl0KcEr3nH8o0aADqAF/wmyy i+K/4zpnlwm4imdJ5crp4mOdDGnOqE0yU/Gm4hWP6h9yYUM2naqAnWKV+UqINBvFEI7/ otzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KYjoohRE; spf=pass (google.com: domain of linux-kernel+bounces-18923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18923-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c23-20020a50d657000000b00554eaf000c7si2406013edj.469.2024.01.07.08.44.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 08:44:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KYjoohRE; spf=pass (google.com: domain of linux-kernel+bounces-18923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18923-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 480811F216F8 for ; Sun, 7 Jan 2024 16:44:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1E8B13AEA; Sun, 7 Jan 2024 16:44:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KYjoohRE" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1726F13ADE; Sun, 7 Jan 2024 16:44:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C6E1C433C8; Sun, 7 Jan 2024 16:44:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704645846; bh=yNuz58aVKzYmHclOZSz1fw5Rc9L0KgXBqimMwdOlpUk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KYjoohREaK0YSvHr3ECAzknIg8vFcNYObH2tLXzm6mx0i37QXMPrOCCybDv1aN0Z3 U84nhFjdVNZzhd1Aa8neNg9SE7ynhCy0S7IsCpqnPI/8herlXN2DMCXQPZwHzXc6gi v7oDRftEYjLLSAEtLH7yzgZFG5ZGmoY755pXfXXg+qqHSmRez+pf0MjQC6dPLmGEqV Ib1TBRJCGcHr4ZjzNgtlCNAhuDWBfbyGP0XwFYzBGENfvrC1cAN2omwe2SuDmiXYv+ mEb834deSX3yKNdsvrYyEgLb+Jvam7Y6jcJag0zgMwxsK/DmMktfuMdmCpQYASQZ8/ k//qs42hwV95Q== Date: Sun, 7 Jan 2024 16:43:56 +0000 From: Jonathan Cameron To: David Lechner Cc: linux-iio@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Hennerich , Nuno =?UTF-8?B?U8Oh?= , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/3] dt-bindings: spi: add spi-rx-bus-channels peripheral property Message-ID: <20240107164356.3e8df266@jic23-huawei> In-Reply-To: <20231215-ad7380-mainline-v3-1-7a11ebf642b9@baylibre.com> References: <20231215-ad7380-mainline-v3-0-7a11ebf642b9@baylibre.com> <20231215-ad7380-mainline-v3-1-7a11ebf642b9@baylibre.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.39; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 15 Dec 2023 04:32:02 -0600 David Lechner wrote: > This adds a new spi-rx-bus-channels property to the generic spi > peripheral property bindings. This property is used to describe > devices that have parallel data output channels. > > This property is different from spi-rx-bus-width in that the latter > means that we are reading multiple bits of a single word at one time > while the former means that we are reading single bits of multiple words > at the same time. > > Signed-off-by: David Lechner > --- > > The rest of this series is ready to merge, so just looking for an ack from > Mark on this one. Mark, could you take a look at this SPI binding change when you have time? I don't want to apply it without your view on whether this makes sense from a general SPI point of view as we all hate maintaining bindings if they turn out to not be sufficiently future looking etc and we need to deprecate them in favour of something else. Thanks, Jonathan > > .../devicetree/bindings/spi/spi-peripheral-props.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml > index 15938f81fdce..1c8e71c18234 100644 > --- a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml > +++ b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml > @@ -67,6 +67,18 @@ properties: > enum: [0, 1, 2, 4, 8] > default: 1 > > + spi-rx-bus-channels: > + description: > + The number of parallel channels for read transfers. The difference between > + this and spi-rx-bus-width is that a value N for spi-rx-bus-channels means > + the SPI bus is receiving one bit each of N different words at the same > + time whereas a value M for spi-rx-bus-width means that the bus is > + receiving M bits of a single word at the same time. It is also possible to > + use both properties at the same time, meaning the bus is receiving M bits > + of N different words at the same time. > + $ref: /schemas/types.yaml#/definitions/uint32 > + default: 1 > + > spi-rx-delay-us: > description: > Delay, in microseconds, after a read transfer. >