Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp3047546rdb; Tue, 13 Feb 2024 05:33:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWt666kr9yfz3jv0QH+b8q6zdyYJkZfKUBX8VVQBdGFwmhA+FQH0HnaCDOH1Vq0qPAwcgbKsMGhCQaQvLaj2lACvvnkYbA6qKnjAAKBBA== X-Google-Smtp-Source: AGHT+IGFY1JbMcllZxav+hNzcTu+4xJIbO8lYPLIBCAmKWtabs0Ss27CAnLYYX8XAt+6nghRHw/C X-Received: by 2002:a05:6a21:1014:b0:19f:2df0:1410 with SMTP id nk20-20020a056a21101400b0019f2df01410mr4639428pzb.53.1707831224338; Tue, 13 Feb 2024 05:33:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707831224; cv=pass; d=google.com; s=arc-20160816; b=xyklR3/GjHwmnkbnAaHzl0/inesvsyIH3tCILnGXpI1JATDECbvJv43jTuyAtjegiX VShL0JmFXyRjOAz0GXHTRhYNBBU8yurBktI6+nGZk8YFAPw7bH+lv2y0XlJIxO8bYSbB jx2AaR5nSDlDxB/bFwnTkN8fc+HIZj7l+UVMycAX7UbYZmoLQSptTyhQRaXGBrr3J7UH mVi/L9QQ15KybYzCM40gK3IWAtI/gq2iZW19QkF5UsBpEfWzjxcezLz4MQVvTu8d70Kp 7iFwW3gakoHi2bRmG7MY+jVl+i+ZOzC6dKzGugvizmBWBwy3X5ftDERc5wRlwhC5ry/F PT4Q== 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=3JMgvXflfPmwAIVanP3Q6BW98+h6zxLAvl9zospwl/c=; fh=z99HVTRFs89ld7MiOed7Loe0QHQ8HBLm0vSpu0L2lyw=; b=dCTjcA4qbcCrWx2AOdcELIctksy2+PG3tBC4S9hCZmm4g8skm1D1g9Majwdo0MtVcg Z10bkhC6b4KUQP7z5izMt4weasyPzDc6ACfnv98QVRVJ3MeU68UIBoVSjh6pDwMVG47n C/F7ZyrKiBH4Gm2heBaA2lBSMBg6H65JmsgwokrgSZ9s/zsPu6XpDyeqmlumCnRkwDZ4 sJgpgZ81CC5tguiavCjNEyyfzSYmA0zdwYPEHbrE2CGcgCOkMDB2G4iskH2wbekSaOFa /ASHhWAXkt4tNC7cjvso+137mfJCAXgyAjEdGzA90QexMHUAMCzOrUR4rALRSWSsWPEZ spJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BAMkzeJy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63570-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; AJvYcCX4WJR98zZsBLQLvz8V2bQqCto1OXJibU/ibEhCBH8n6Euc9IoITg+mRQZ+a3xJss4S98UM1kAyFdXwI2WK0egFypelXyNEB1XOW3BIog== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s67-20020a635e46000000b005d8c0939d40si1973516pgb.855.2024.02.13.05.33.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 05:33:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BAMkzeJy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63570-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 91439B21701 for ; Tue, 13 Feb 2024 13:14:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB27055777; Tue, 13 Feb 2024 13:14:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BAMkzeJy" 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 E752455769; Tue, 13 Feb 2024 13:14:07 +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=1707830048; cv=none; b=Q2Y9rQjg891Tz1Zl9olfhbn79NbDUInEsDI6a5czK0FYGPSlpF6YYuBvubPwqAuDhvAsEiFRHKhsSiOKfVUfM8TGxVCKLBhpl+qbhTM1yikIK7l23+mGMcYXQy3gfOJvpkShfa7GMvbj1RQnQbDIGo6ovIu5VP27qS9+RWasMWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707830048; c=relaxed/simple; bh=+vPxa+J/7hvWU17r1zp1OBnxkzfzLxPHNrKMEj/0zHM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NeXfIlCS7QOucrDNNoJNLSOuZ2NGNKcJxComBqtapZDbHP8yDeSg8jc6dHo7ovPZrT3u7FFnL7WItqje0AUw4uiYmNT1ujiu2/PBJNCRBjKuJass6SdlzGkOsWUkVs82zefmSun+zBEfnPuCvihx+FINryv14au8/6ZrZX67rt0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BAMkzeJy; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7880AC433C7; Tue, 13 Feb 2024 13:14:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707830047; bh=+vPxa+J/7hvWU17r1zp1OBnxkzfzLxPHNrKMEj/0zHM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BAMkzeJy/N+tXl6fJq0i5v/9/D7xKPiPfkk8frxKtzxqgTm6cNqAPXlx5mpeMynZm O9LaDS26HkHo1o+t2sBfTVm+PnNvnkWI50/XnL1Kg63X0Xq1zjET1euoaLzUHi+Cdz eIVwTGN4SZig9BQKzob5vpyCYpRCRf2WFQQBmfXsHtWDZUTTiQmeKK4vrjq41z+NNt 1U3GluvfX5JtfgQ4lc87G1cxIkquX+8eG3Yl0RRwdSwZJkl99IdksbSsYM76WTfCbQ JLw9i612XyMWFhObBP4mCagDCE8XRZCOd2unYxJ+ThKA7CRPiaLdTpL/LPediFjNRp enjhVdi+75UnQ== Date: Tue, 13 Feb 2024 07:14:05 -0600 From: Rob Herring To: Tudor Ambarus Cc: broonie@kernel.org, andi.shyti@kernel.org, krzysztof.kozlowski@linaro.org, semen.protsenko@linaro.org, conor+dt@kernel.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, devicetree@vger.kernel.org, arnd@arndb.de Subject: Re: [PATCH v2 01/12] spi: dt-bindings: introduce FIFO depth properties Message-ID: <20240213131405.GA1047438-robh@kernel.org> References: <20240212140331.915498-1-tudor.ambarus@linaro.org> <20240212140331.915498-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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240212140331.915498-2-tudor.ambarus@linaro.org> On Mon, Feb 12, 2024 at 02:03:20PM +0000, Tudor Ambarus wrote: > There are SPI IPs that can be configured by the integrator with a > specific FIFO depth depending on the system's capabilities. For example, > the samsung USI SPI IP can be configured by the integrator with a TX/RX > FIFO from 8 byte to 256 bytes. > > Introduce the ``fifo-depth`` property for such instances of IPs where the > same FIFO depth is used for both RX and TX. Introduce ``rx-fifo-depth`` > and ``tx-fifo-depth`` properties for cases where the RX FIFO depth is > different from the TX FIFO depth. > > Make the dedicated RX/TX properties dependent on each other and mutual > exclusive with the other. > > Signed-off-by: Tudor Ambarus > --- > .../bindings/spi/spi-controller.yaml | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) With the indentation fixed, Reviewed-by: Rob Herring