Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp453257rdb; Thu, 8 Feb 2024 10:24:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzuORiUwx4CuI+8Wa9U6oHN/o+db9cbuDrjPoQSXN5FI57VXN8P2R3XsCuYVPfKYnkFwSe X-Received: by 2002:a05:6a00:4585:b0:6de:3b41:2845 with SMTP id it5-20020a056a00458500b006de3b412845mr18915pfb.32.1707416699200; Thu, 08 Feb 2024 10:24:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707416699; cv=pass; d=google.com; s=arc-20160816; b=LnaXtw8lvDqf7o69tsnyXiaQ2yWthitGJPnZxuUfaslmH24oRJosrY1w6ixJy4c8m7 wfs3sVWaqoywEpqQpNXBzIDJSR3hPf92+yqCIGOMFvTiM5FB9W44dVWi97xcqXDjLr/x s2ac+CTmUVB8ctENcosegUMdidYgYDSPUOl24CG0tRt9zxOMwChou9VE4D5SMA9KUz+e hW2xKin5YvGTRgX3wa5l4St5I3SjVxHboMGqAZH0Ts3GiJD5jHehKqCPP2wIe4u26pw/ U04rDgXUMuigs2isVf4k2XlqsosYXZgAurn8mM8KNI+OuMwitjB4BL30okl4BEj8EDcv rIrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SfMO5oHbOfov9j3CxdM9EtW6vlUnqiIAgChVBG8W+vs=; fh=K6px3UJnxiUYV+FHhnFWm9f/QgPqNrrC9mK23fiI6gg=; b=S8g0iM8V7AWqMIVUJT4k9imnEftoXRkVk4Co/M5MAFy6qH+M4VKMwkavTbc4GEVsS2 1239c3hpdDgUrMnaBpGNCF9lCS9wuSX+SAbU8rHWN1Zod4lElB12LWSNf0B2DdmLz/7n FC4PikrZ8wClnb4huRT0c11tJFi5rhMKR7gptvF4feJITErBBPWkZKxHVp0CX+Lthozk tGXtGfchi93xUUA3Mqrbv0ruEyDDLEBkNqQnxiiX4y+68NMz+cbrQi4WGQbegfZYQx5H BT0DpKXcPdmhibO6Btuus+TrnQ7aHegSAbF2adoSdAXjCJfYMojd/dVvm0xoQL61Tuek RmDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qvQo1cpI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58528-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58528-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVncAu4vkYmBYvzUos0UzZihC4VAnyVYQDo7LCn2WQvvdH/+i6vAO9ITEz0BORXbvRidmxQh41t7BFUuMzuGFd4URRBr5kIGsXHjj0ZGA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k64-20020a632443000000b005d8fdaafe5bsi159066pgk.550.2024.02.08.10.24.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 10:24:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58528-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qvQo1cpI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58528-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58528-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 87207286EEB for ; Thu, 8 Feb 2024 18:24:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8240786AFF; Thu, 8 Feb 2024 18:24:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qvQo1cpI" 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 9A8DC86AE0; Thu, 8 Feb 2024 18:24:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707416658; cv=none; b=Pj3aOgk3hyFkg84J2B6t16Y0iBaR7VKsjl7oDF+ZhOJh6sY6n2RxKxyjpeqeBAdC+sd6QhoyI9XYtoJUA4Jx8//9XOw9BHIFvtWeEc9Bg8LPZ8T4xEJsnfjgmICrON0nBQlmH8gQzHur6IOpTzw6F4rzpBdCGbqtJLwIjQi6Sw4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707416658; c=relaxed/simple; bh=NhYY0t1oDuUXa7DHyLNcCO0JhwCrsEO5ZObT6pq9Q+0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NxJEnHRK+zh72xommWHJowQxwFvmeRytaUPAYU5MlOpbo4isb7aWmTGo0n7qKqHu+hkxYbK/WcOgMnoliQva1+Qd0E5O1EAQCBwc3rLWEyu3K6qiTzp2xD2C1R+IIHznuzR82W2gKlCoBpLoogmegLjLdmhdSc2gobE8gk5AUBo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qvQo1cpI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5C38C43394; Thu, 8 Feb 2024 18:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707416658; bh=NhYY0t1oDuUXa7DHyLNcCO0JhwCrsEO5ZObT6pq9Q+0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qvQo1cpIymsOA3kSoD0y9VckEBA+Ta+ycoUt9JP9dXHWQegPw+LvQ7lTUnEoSz9pm qVv+/+yxOqlislPjf/Hh8DaDtdRBCY/MvP3eZw//elsZFexiUmgy8RChjf2wd1ZBbl U0ehVQ6CYlQeKUwb5g7F7HuedHsUDkQfB+gl+WmCO2eXaUEi+2Bb1Z2zBdhOvvWWSD 3zYjziw72b9zDuJhm2pjpmctQfBCGzJHgviJC+/R3AP02hCDV2nCiopFXWEZxuA1fa qaM5rdwdsKWq6y66H7CRgsxfy0FRVvgrz/4MjsZ6BsIgVk/G4ZXyQD4hsLz4agi/hg OaWLO72DWW5Gw== Date: Thu, 8 Feb 2024 18:24:12 +0000 From: Conor Dooley To: Tudor Ambarus Cc: broonie@kernel.org, robh@kernel.org, andi.shyti@kernel.org, semen.protsenko@linaro.org, krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com, conor+dt@kernel.org, devicetree@vger.kernel.org, arnd@arndb.de Subject: Re: [PATCH 01/12] spi: dt-bindings: introduce the ``fifo-depth`` property Message-ID: <20240208-grating-legwarmer-0a04cfb04d61@spud> References: <20240208135045.3728927-1-tudor.ambarus@linaro.org> <20240208135045.3728927-2-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rPlINU3cZvGxB9hH" Content-Disposition: inline In-Reply-To: <20240208135045.3728927-2-tudor.ambarus@linaro.org> --rPlINU3cZvGxB9hH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 08, 2024 at 01:50:34PM +0000, Tudor Ambarus wrote: > There are instances of the same IP that are configured by the integrator > with different FIFO depths. Introduce the fifo-depth property to allow > such nodes to specify their FIFO depth. >=20 > We haven't seen SPI IPs with different FIFO depths for RX and TX, thus > introduce a single property. Some citation attached to this would be nice. "We haven't seen" offers no detail as to what IPs that allow this sort of configuration of FIFO size that you have actually checked. I went and checked our IP that we use in FPGA fabric, which has a configurable fifo depth. It only has a single knob for both RX and TX FIFOs. The Xilinx xps spi core also has configurable FIFOs, but again RX and TX sizes are tied there. At least that's a sample size of three. One of our guys is working on support for the IP I just mentioned and would be defining a vendor property for this, so Reviewed-by: Conor Dooley Thanks, Conor. >=20 > Signed-off-by: Tudor Ambarus > --- > Documentation/devicetree/bindings/spi/spi-controller.yaml | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/= Documentation/devicetree/bindings/spi/spi-controller.yaml > index 524f6fe8c27b..99272e6f115e 100644 > --- a/Documentation/devicetree/bindings/spi/spi-controller.yaml > +++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml > @@ -69,6 +69,11 @@ properties: > Should be generally avoided and be replaced by > spi-cs-high + ACTIVE_HIGH. > =20 > + fifo-depth: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + Size of the data FIFO in bytes. > + > num-cs: > $ref: /schemas/types.yaml#/definitions/uint32 > description: > --=20 > 2.43.0.687.g38aa6559b0-goog >=20 --rPlINU3cZvGxB9hH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZcUcTAAKCRB4tDGHoIJi 0j4tAP9wfGzupRs/uJ9s16k8o3KzbLzjn/TaEfWzAuiE4hxX4wEA5U1nuuXWBR0x gYqzzLuJIoHfQ4vImDfzN6zyxv0HEAA= =glJv -----END PGP SIGNATURE----- --rPlINU3cZvGxB9hH--