Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp108337rdb; Thu, 25 Jan 2024 09:31:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTZB4lyQKzUj4pI5G2gWREBER5qxgPGYyq3yKjW0jQ4od3qVTEgo07FHxx9ikNu1Dt0wYD X-Received: by 2002:a37:c206:0:b0:783:9353:56ca with SMTP id i6-20020a37c206000000b00783935356camr1276954qkm.86.1706203899425; Thu, 25 Jan 2024 09:31:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706203899; cv=pass; d=google.com; s=arc-20160816; b=QItR1vZoCwnsnZT31jm05R7o7ojQE/zTaOCNN9rEEqvG9lmLibj5C5+TX8K4odlKFL 1cPjrAKcHvoP1OkJ++6UJSl+KuMEBnHtPYHwj6Dmp+HRtqIs+x+xw7aISgFBDGj28DQD qiAK2KmZN/NAMa5EPayQEm7ny6jzsf3hq4X9m5oc41/Ls5MhhmBeqM5ZHP8NdFApZnnP EJinSvKkJalPiIKfYYiCcgcQUOVt7DV7SHEL9+HgeoyBSpFbaCoJ2fHdTc0ybiKtDJ73 BkFUelYf94YnbTkuDoZmsYbRz7wkmF4Vs9Q7YoVnQDrfPM7UiX5+Sw+3sUSfYdxc74Uk c0UQ== 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=VDpXdV1xjn9xA6o5INqM6Q193iqPmYntEZprkTGrWcc=; fh=6kmZ7pMuo83kqiEe4Dr09tWVGnZFzyeSLYch16C8B+8=; b=bVi0jUZjxGJyNqqw0wxa5CG9xMLjTFsxHQ5geph4Uov/T1wIAN3dyJz7YVyazx37sN EHz1n9jAATxoc9t/D7e0Jut8ZrwKJkqZDKegfI32xTZrhv5Mo8ONpUklYYY2EqRunNss cXpEd3x/0faCxw/KRlDkf6MhA6MLdWIMtsFt57eIvwgmGfrZUP1UqpAvOYY6sw7X0UFI aI5f5bvePZmtaFJpVfgcXJ9QmpJivQDYMnJ/03RM6DosJCkHL+AVMg6bLSEb07MBEwYG Jg7ujItFdFtJlNtecreqxsyeC1VyrUPD36rsqYSWjbmHQtG+PoE8RGThv/KrbC/FYOEC uoRw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n9LWDxOJ; 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-39040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c24-20020a05620a11b800b00781e877cd8dsi12621429qkk.158.2024.01.25.09.31.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 09:31:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n9LWDxOJ; 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-39040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39040-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A59951C25C9D for ; Thu, 25 Jan 2024 17:31:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5EE8130E4D; Thu, 25 Jan 2024 17:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="n9LWDxOJ" Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 850336EB5D for ; Thu, 25 Jan 2024 17:30:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706203859; cv=none; b=fsRf0a2/5x4KK9gtSYjZnMr5c3GO71DBaomvDnyqIrNIl+MRGDP0SsQeW+5NqVscYQyPXv5SulPWUBq6tZ0H8HoApYRjROd9j9c9XDcIQncrVdJvKrC7gb10UV8/DlOu8KT5u5FR7XtY2Rt/dra90PY31vOY6HBZyMCa0c111j4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706203859; c=relaxed/simple; bh=bCw/HUurHJ1qdBhBYQuW0bpfzi+EJCZAMtvmywaQIQo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qEdN6e2XqOpQ+6f+diIjd3VXAjIEAi6Fw8sTVKvWbtffPtZrlVieZ3jF/TBFLjc6vhwU4T2wGzDFq88JDMoXtK6gO/BGkzwJF53sDXFIUkzIzQ1ia2S3fG/bZNG43uoe74rvyIUMdRx/BhzyG6cKg3rVShIxWg5u6QgheDaMyQQ= 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=n9LWDxOJ; arc=none smtp.client-ip=209.85.221.53 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-f53.google.com with SMTP id ffacd0b85a97d-3394b892691so622942f8f.1 for ; Thu, 25 Jan 2024 09:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706203856; x=1706808656; 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=VDpXdV1xjn9xA6o5INqM6Q193iqPmYntEZprkTGrWcc=; b=n9LWDxOJQlH6CnDVlEm5/hDYdpGCtgKP5QQYK0+YSg5tlBNHSQ7RbFIf2s/KV5zPup 9V658NMlHJI/QBZdXxUkgPm1v1fHmxEEA38golvm0S0jY3YH0N4RWCnPfdO53sfgtQp4 Mcf07eIxxT+oLHlfjoxXnlvVeIEMj68Y9Mw7IrlTBYB84yAoNZVFDPDG8m1l74q1fqqC RCG5e++hwjGnE/4yDZ7f1xbBtrJqBM0xq+6SodVD+Pq9gxVtPbQEtKTJWgqNN0sjHykM CYklqw/G7zg2LXXF11hwA3eru2eIhq1qDaF6VYa2+R13CODmF98ac6ryQVKrAfgg9ULo 1xRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706203856; x=1706808656; 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=VDpXdV1xjn9xA6o5INqM6Q193iqPmYntEZprkTGrWcc=; b=KzQpndk/w4fm2XMovepoJzftXg+1h/Im6Pzd+0Ha02tC3E9eptF4v4hPVosXl9snQZ MAJtS3nrQCEY+pENRkVaU3LP9IErKEdnd7zk3MH+l8hR23yre75qKyDNNgcqg1ENmbjT x9TTKDOpJYJXl+ZImmZGqi40JIj4WJ9QJHjVX+zVtPZFKLp9FY5wlTsYBfZrWZRHYObd DPgnfCrd2JaXmjP67L8IQOKleA2UdngOoqIEj/XCUYkHGcsVWxhEjQD74NH/SPOsRpuo 7OBmKFl246rRZGWWk5ffAmYlGEM4z78Q4dOJrcy9KnDrIG9bzDCjVufnssD8cR9a5AOw udNQ== X-Gm-Message-State: AOJu0YyD9GSoio17JKif62cnaa368XFn2Eut+BIuMcMw/R15uqY3D2CR Pa/zsvgRSVVARHtk4wDgenTTCT7mzRSpMHmAuWIzlJ9qPWxJTGOcy6WIQZ05EJE= X-Received: by 2002:adf:fe46:0:b0:337:b74b:6f1f with SMTP id m6-20020adffe46000000b00337b74b6f1fmr133414wrs.22.1706203855769; Thu, 25 Jan 2024 09:30:55 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.202]) by smtp.gmail.com with ESMTPSA id c16-20020a5d4f10000000b003393592ef8dsm10715665wru.54.2024.01.25.09.30.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jan 2024 09:30:55 -0800 (PST) Message-ID: Date: Thu, 25 Jan 2024 17:30:53 +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> <1c58deef-bc0f-4889-bf40-54168ce9ff7c@linaro.org> <55af5d4a-7bc9-4ae7-88c5-5acae4666450@sirena.org.uk> From: Tudor Ambarus In-Reply-To: <55af5d4a-7bc9-4ae7-88c5-5acae4666450@sirena.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/25/24 17:26, Mark Brown wrote: > On Thu, Jan 25, 2024 at 04:38:07PM +0000, Tudor Ambarus wrote: >> On 1/25/24 16:16, Mark Brown wrote: > >>> 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. > > OK, so just the compatible is enough information then? For gs101, yes. All the gs101 SPI instances are configured with 64 bytes FIFO depths. So instead of specifying the FIFO depth for each SPI node, we can infer the FIFO depth from the compatible.