Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp77548rdb; Thu, 25 Jan 2024 08:42:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuh1GdLUYkXi1LssWbzJoZ0Z5P6q6fAa38or0A7olX+IExwyRj4YnO860U/23cLgwwZJdH X-Received: by 2002:a05:6359:5181:b0:175:c187:c1f with SMTP id od1-20020a056359518100b00175c1870c1fmr4777rwb.45.1706200946812; Thu, 25 Jan 2024 08:42:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706200946; cv=pass; d=google.com; s=arc-20160816; b=pnfIZpsXmtKnhvv7L8dt/qY5h8DfUuao4p535oGyF8bCo+0utV0rRQcmZ/scYaxESu X+DqL0pmitP7vcG/JNj4ejNlhYzWwqhfn0DQcbgdM7wNSa3YWuEK10wmY/JlWXRzmr+q xKz+/FOO6FUOQTu4nPFFgZIJnH/NMiclYqq+APCDTkC96SJHPzhNvzzXnUlndIX5kthT b/sv3PhWBEW+bsC4xiJiuTPGWZ5zVc8S6COTBUz8DQQNcKpISHtAF2NzpHrxbFD5pk9I dLQ6i6W77lB+XWPg8ItO9DZOkQH+X4roV0pE5bv4AsYFP29C7bXcy8BQY13KWR0fXDgu IoMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=rdWJmaQOAQRqKfeFd0MmNRfM9EYtkNX7pmnDfEinoJo=; fh=6kmZ7pMuo83kqiEe4Dr09tWVGnZFzyeSLYch16C8B+8=; b=ibJTIlYGOsr65cnPzp8EDotd7UMhDYAIUXq7B7/cCbCYUZB7PWiEJzGXK+NrYuXGfp M0xnlrFwZ1RAB42yI8eoDtsX1xfnybb8XR3rzpV8iRKndxO+bvTbOdtc6xYND4dgNgbW wNRWswdYwn7zM6tfA7TRkN4WFqMYV8RlkGujYG49580zhmmxyBdCC86VE1tnQ9R3w4gL wRb/iOm0SxyfaRu/7GmLr4ub90J+GqG5jbuJq8t4KfVD3452X1QCvlzr2hqXqwoZRmp9 LMWA6z7UPAg/4xnqRiggys1faviQPO/Wo3E5YywZPC2kA0JE4NI4drnVwTkR55YP4p7P 96vQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IgzLHAvO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-38906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d34-20020a631d62000000b005cdf48b01f4si13317674pgm.717.2024.01.25.08.42.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:42:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38906-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=@linaro.org header.s=google header.b=IgzLHAvO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-38906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 6FC0DB256CF for ; Thu, 25 Jan 2024 16:38:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF08D130E2C; Thu, 25 Jan 2024 16:38:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IgzLHAvO" Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F7DC129A6D for ; Thu, 25 Jan 2024 16:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706200693; cv=none; b=h5AH6K3Y5SF6+pit+f78nrCce4akT2s1DAgIEf+syl2uGB4+AmFU0iaZJgQEhaKLeyob+iNohQ7l32OkkAwKFm/ginGvfn1nYqn28mt6VReMfrGXnvc/QyVh52U4oOmoL9gkaEq3bN8IZ9QmyaUz4xNHzovILcmmh7prD77eOT4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706200693; c=relaxed/simple; bh=5iHmZSUw/hxQN9z3V+lUnPdT+e3bU0zrcKfS5gS85Hk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rElvphR4jwQ3Ub6azG2QYONo22xde4npBVzKyepZBdynPokUCxeI5smWbmzezBnXSFj8omAKr8vX1T8PZ25g5LkxlQy/wDWFDSukC3Vhhinqqnzk431kHO0w25/0RaoW9TsiFesvoTALZrhwlyej92EExU4inHEayQ3B8pMd/h4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IgzLHAvO; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-3392d417a9fso3215720f8f.1 for ; Thu, 25 Jan 2024 08:38:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706200690; x=1706805490; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=rdWJmaQOAQRqKfeFd0MmNRfM9EYtkNX7pmnDfEinoJo=; b=IgzLHAvOEaS80zWpEmg5BFAtnbXO+eTi0fW/bIZznAHv0dHOre72Md6C7cN7Pfu3V/ pEzhWSHr6kBWGXrekYoVVadQZ1WUNKd+rxiuLTXtauYCDiXLFHSwJG5fNllg8alXZlH2 m0SEGKzkTA98Zp2HWBD85ONaxFUzs3eL6JUXDWOJE1+HysC9YgJVfOkjHF9SahTXSwTv YmjETnOqWYkDR1NfrC45d9d8bEVMZrPd/8/fEBMJRm3lIU0sJ2CVIWmQF+w3196VpOgK FtkAapWKfe2YWG3G+56MB1N7+00+z8DbnPvEsdeyaDD301ZHUT3vm1CRp2cTx3RKf1sc +FZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706200690; x=1706805490; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rdWJmaQOAQRqKfeFd0MmNRfM9EYtkNX7pmnDfEinoJo=; b=cNRPVAsyA5ONzJVMKAMBKXBaM0eG760+pe7QL0ux6JBSzchf/PWPofpJNuo6+4O7r6 tz8tbr+VpYxHJNE98ZEvjYFXnbNnVVql9X6YHlzH2QUGk77fxmkVF6KBElHbHERsdYP5 rQdsnI+RJcKNhY68lOFNwKvzHo715Ssh+WvE5Gs2RLHxe2YGcCMv5kxVLEjju3JyYJck bZB09DHDb5aBH1HNIqMVXy2bRrhK4NBcGjn6T4i4rfhePaanYCRJbAzFovuPag7us9HS k/5WtH3I6gClVbJCs3PrOyps7hrsLcFXAtHRxXJmUAqBhiPLtyyvfnDnW2VHP3rCzIK3 6rEQ== X-Gm-Message-State: AOJu0Yxi/S+u4U8jdI3cBf9se5JqYAyPbhjqqMWO+JJ+B1vu6Iw0tj2l 6kWIVNevSd11rhTEXTsCkNCvITft6456ibzIMhqDdKnhT7Xq364GJlUuPIShl/c= X-Received: by 2002:adf:e686:0:b0:339:21b8:e716 with SMTP id r6-20020adfe686000000b0033921b8e716mr988724wrm.127.1706200689695; Thu, 25 Jan 2024 08:38:09 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.202]) by smtp.gmail.com with ESMTPSA id l9-20020a056000022900b00337d980a68asm16818099wrz.106.2024.01.25.08.38.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jan 2024 08:38:09 -0800 (PST) Message-ID: <1c58deef-bc0f-4889-bf40-54168ce9ff7c@linaro.org> Date: Thu, 25 Jan 2024 16:38:07 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 05/28] spi: dt-bindings: samsung: add samsung,spi-fifosize property Content-Language: en-US To: Mark Brown Cc: andi.shyti@kernel.org, arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com References: <20240125145007.748295-1-tudor.ambarus@linaro.org> <20240125145007.748295-6-tudor.ambarus@linaro.org> <7ef86704-3e40-4d39-a69d-a30719c96660@sirena.org.uk> From: Tudor Ambarus In-Reply-To: <7ef86704-3e40-4d39-a69d-a30719c96660@sirena.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/25/24 16:16, Mark Brown wrote: > On Thu, Jan 25, 2024 at 02:49:43PM +0000, Tudor Ambarus wrote: >> Up to now the SPI alias was used as an index into an array defined in >> the SPI driver to determine the SPI FIFO size. Drop the dependency on >> the SPI alias and allow the SPI nodes to specify their SPI FIFO size. > > ... > >> + samsung,spi-fifosize: >> + description: The fifo size supported by the SPI instance. >> + $ref: /schemas/types.yaml#/definitions/uint32 >> + enum: [64, 256] > > Do we have any cases where we'd ever want to vary this independently of > the SoC - this isn't a configurable IP shipped to random integrators? The IP supports FIFO depths from 8 to 256 bytes (in powers of 2 I guess). The integrator is the one dictating the IP configuration. In gs101's case all USIxx_USI (which includes SPI, I2C, and UART) are configured with 64 bytes FIFO depths.