From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f66.google.com (mail-ot1-f66.google.com [209.85.210.66]) (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 46D1174C14 for ; Fri, 23 Jan 2026 20:00:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769198452; cv=none; b=oDSbwcsR7pMJFAzdgf5h4u1MO0YHBGjK2490w6Qq3zqe3tDRj5GIgn/4T8NM6Q+2Sm53InyN7QXN5M5HasT2sz8O3Trk00qRhYEX5GgxsCTUgOmIvwWRBhmT0btFd8zSRojJxLkC6BeehQIVxycnqxTY66z/rp2rJrmmL5m8N0Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769198452; c=relaxed/simple; bh=jaSV0XV90NJZ5DW0iVOUm7jPWN0ayo+Rhu16Xwg752M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Kbl8SVZ8e4/gTvuLmiDuMxcfMZHvbtihh7c5B9MpZKDmyIwIuZLnTA3+6ZxngTiUJwmPfbExyIucP2mI23+LeSpd5pPOVId9uDb40rCHhaEnnnMHWKvnoC8E2hVizYjzzmj/57Zyvil7AkQFvi3DyaYutyt1DsTgMw1bMISWRKI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=biWEAE2y; arc=none smtp.client-ip=209.85.210.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="biWEAE2y" Received: by mail-ot1-f66.google.com with SMTP id 46e09a7af769-7d148ddbb91so1090550a34.1 for ; Fri, 23 Jan 2026 12:00:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1769198449; x=1769803249; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fZGE4YuUh5bkNr/jB1KpY4pup5iAiGZtQZh24ZY4RJU=; b=biWEAE2y8hhYAb4xSRpXVOIpHhumtSmteiMO6egnPDCrEGxi4ADUG42blWUPpYsBo3 rKniLaE60XfvkaEq877XyjQAjA4dSTWtBxVyF30SR67AtTNCkZM9MvMyFYov1CIGFYi3 SjdZnVf/gSYwgmE0La9b+esHUa4Z/qISzBqDhhBsFfpWDJuwW/4BkZcGsU7CznDx5CZe +hiwe0Qz06ceMXSlzrrMmVYxcwHT2Z3wYhM37qpQJ3qsDSCsl4zSS+x9GxNpS6UHvIIk kLzlfV4cSqYHGKtCxOAFnpZNVP6pnF49ah3x1a5MPLY0Q+uC3v8ZE2dI+KizRtbkczrR 8qXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769198449; x=1769803249; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fZGE4YuUh5bkNr/jB1KpY4pup5iAiGZtQZh24ZY4RJU=; b=C7rw00slCbqJu4pBOLsNZkcrLP5+XeVdR2ndG2xOC6EFKRy0cUR/WuwoVYxegdctAp YomtQRte76GgpqCQfKVcHjxpXjVT469jsKct/EsCgL/8yFPhI5gVszHTLU/bue1X3XU0 FMzxG3A1bcO7rDa9jifvNjN94M4LvLT+PbLPjtgBi5PUi2449WXQokoa/Inp8EJUxowh 1wxNUZzteqvpHSNEc/jEP9YFqk7oL6ivJhvMhIhDx9NRjq8TxTQERe0HD4daoEZ7PiNO hOIDQ7YkkViEFkPYLL0I0yR30BlbigmiJ54TKqNRkP7FpAZDGmwWlbLRQy1TKxp/G8F7 Paug== X-Forwarded-Encrypted: i=1; AJvYcCXDIKpDYxTX8JIBJ6IECofviGGgIe9QFLWbK3VelavUeDECcq00OdxTAPoY/Z9NpKtEJiDZFL/sXEzRPkk=@vger.kernel.org X-Gm-Message-State: AOJu0YxvIGXLl0s9e+i4WAWs2+uDciPliE7UAUb4ybYwBTgoJ1e9l10S ImMvBGqE9hTia3gAW83+cSc1VLWvzbjJnXBHm4Jax/xhLibLPqq1TRc5hOP+Ytagy0c= X-Gm-Gg: AZuq6aJNeksHNHpZJ03rB0sZLk+1EGIu5T8xMhHeA7+lTBw5PkS2c/Yzhg3KpZXfpDT Zm0xdLHz+hbKKxAKBxgyTy+CfBSa1/7++HEkVpKMlZLomW3I8bk6CK3UCNXwIQUSs2PIUufvl45 UhtDA3fBUbVwkPs3ECa5tFnvc545v3SX877NwgY/bodbG8bgHmikZ/ubee6fqI9GOof8YTYxGzH WzTn7hT9uC04Wz7O+c8JXP/nq1p0J8NzJqgnyfAHR+PRF4PZ9db4qYneE70eYdjLGZE3Er2Kk+5 igI7dEp8eDSv6mv8NLIaik6RoVE9pEw0gis2vbNJVH1RwCkV3UiO9K1fIswC55y+0/1oS35Ebhi si4Z9Nis3k9wAitXipCYvQpgH+HF/ahyaJ4cdXS+GO36zxdugnLeL/GPBmjpbPmikBg/1Utx/SA eNA3wqe/rMAuMZnX68Eyxb+pqG2urURbHQCKe8PxKPrW4wxkGT4R69Asos6g== X-Received: by 2002:a05:6830:6aec:b0:7cf:d1b7:c076 with SMTP id 46e09a7af769-7d15a6391c1mr2303288a34.23.1769198449058; Fri, 23 Jan 2026 12:00:49 -0800 (PST) Received: from ?IPV6:2600:8803:e7e4:500:198f:2b50:c48:1875? ([2600:8803:e7e4:500:198f:2b50:c48:1875]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d15b3d31d4sm2411128a34.21.2026.01.23.12.00.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jan 2026 12:00:48 -0800 (PST) Message-ID: Date: Fri, 23 Jan 2026 14:00:46 -0600 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 v5 5/9] spi: Documentation: add page on multi-lane support To: Jonathan Cameron Cc: Jonathan Cameron , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marcelo Schmitt , Michael Hennerich , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Sean Anderson , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org References: <20260112-spi-add-multi-bus-support-v5-0-295f4f09f6ba@baylibre.com> <20260112-spi-add-multi-bus-support-v5-5-295f4f09f6ba@baylibre.com> <20260114091024.390432c0@jic23-huawei> <20260119101116.00002664@huawei.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260119101116.00002664@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/19/26 4:11 AM, Jonathan Cameron wrote: > On Fri, 16 Jan 2026 16:35:13 -0600 > David Lechner wrote: > >> On 1/14/26 3:10 AM, Jonathan Cameron wrote: >>> On Mon, 12 Jan 2026 11:45:23 -0600 >>> David Lechner wrote: >>> ... >>> Whilst simple I'd kind of expect a multi lane case as the example, or this and >>> the multilane one? For me the comment that follows is sufficient for the 1 lane >>> offset case you have here. >> >> I thought that is what I did. I have one example that shows multiple lanes (ADC) >> and one example that shows the map (Thing 1/2). >> >> But I guess you mean that you want a 3rd example that show both the map and >> multiple lanes at the same time? > Oops. No. I was arguing.... >> >> I chose these two examples because they came from real-world use cases that >> drove adding this feature. We didn't have a real-world case yet that used >> both the map and multiple lanes at the same time so I didn't include that. >> >>> >>>> + ... >>>> + }; >>>> + }; >>>> + >>>> + >>>> +The default values of ``spi-rx-bus-width`` and ``spi-tx-bus-width`` are ``<1>``, >>>> +so these properties can still be omitted even when ``spi-rx-lane-map`` and >>>> +``spi-tx-lane-map`` are used. > > This comment is enough to allow you to drop the first example entirely and > just have the 2nd. > > Jonathan > I still like having two examples of real-world uses cases since they are solving two very different problems. It think combining these into one contrived example would make it more difficult to see that.