Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6576760rdb; Fri, 15 Dec 2023 02:32:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQK7hHnHw5RPIoO3oxwbu4Illc120M4kn+A5J3kltFNdQ8Yv5c0CKJqGQD/9BVB3scpAdr X-Received: by 2002:a05:6a00:6c9e:b0:6d2:31df:5eae with SMTP id jc30-20020a056a006c9e00b006d231df5eaemr3384445pfb.55.1702636352148; Fri, 15 Dec 2023 02:32:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702636352; cv=none; d=google.com; s=arc-20160816; b=QWSuomZ5d8+EWPL4TUKaOUUmakQ/nwQgf0Giu/waos3cXPLtLPSfh8KeEjguWn0Crg uxo+/caEjZzzyQifLlrUICvpjV0ZIhvGEedsVttl/j91Wh3PNrZLO6G4JkuQKR70OtWE xK1f9cm9Dk+OEcP+LI4xHIhyhjsUP0WDaQ+z7ROhaoi5sEe1bnnwOSSA24qEVaK6mHz3 ppeH9Hzx2CjW0lop8OWOgPZrNqpRI9WIIbNP/NQebh/OskD8tYnv5Yt74/+gh2OemxYE uBvwdH1rY3FkbgT1kLEtBKtza9BfyYNh8PEi/MeURHWtC+iiK15zMlbaoO86UPsL+CD6 URGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=w3bsA3Hq1tZST6LLgdgUCasdE4/LKtqWt/9/psp4mcs=; fh=Tm+8M72PaPwpMzLHjVwAxS23Yl6BOUtV29n6VJ0pvU4=; b=vqiyFOWWvDPjiEELCuqAptzMEpHymW6/R3nT8tVnfKHAGdw6yPdU4a+VFhJkz9qFtD +8wDgP9mnQ3fsh8q+/NPis/uUlHI0ADGZySJM68xfaUKeTgxbISwobeWE+mRJJ036brA nZbkUMHlWfwK4E7RKFgO3/TFhPVXHXqooHvNmNpHn0DR3p8xWY6U3Aod29YvjT2NSMi/ 0wMXIEp9gfpuKvSfr9Y3QRbv4y4pYS5iNubveh7hHzhYNpWKf/wg/GOVpNcvWDi7fqOK zp+1zSYjeIpQ2h7u9LfjBcAJBoTCu4G/kaO9h/D4EHgJaUTd2XywhMMyUiCPyl2YNAm6 Wllw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=WkGmsWB6; spf=pass (google.com: domain of linux-kernel+bounces-758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-758-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ay12-20020a056a00300c00b006d284a51f8asi306081pfb.80.2023.12.15.02.32.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 02:32:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=WkGmsWB6; spf=pass (google.com: domain of linux-kernel+bounces-758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-758-linux.lists.archive=gmail.com@vger.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 A355E285300 for ; Fri, 15 Dec 2023 10:32:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE5521A717; Fri, 15 Dec 2023 10:32:16 +0000 (UTC) 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="WkGmsWB6" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 A06B720305 for ; Fri, 15 Dec 2023 10:32:12 +0000 (UTC) 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 Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-3364a1451c6so247129f8f.3 for ; Fri, 15 Dec 2023 02:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1702636330; x=1703241130; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=w3bsA3Hq1tZST6LLgdgUCasdE4/LKtqWt/9/psp4mcs=; b=WkGmsWB6mErIuSPKRgwJk99QrrPKhdO4xeWDYJi8dCV8BSsfLGzVH0a0IIWPJuNV20 rGJ8eIZ37dboX9DG4b3t97m6+rnqUl+Ex6i9fU1AwD5rFENzDsuOlkNJimpjP0wndB8w sN0rLED3t4GM8+/h66lycMs0PHsj2AVEOBmIQYe/+wtcDtvkY0cvZ/SiT4tUGanHvCjX ZeASR51Qs4T78kqVuPMODnrVGABn0OqnoTkAi4JuTj0DbtGhgfAcOseTDA4UikT6Klnb 5Agp4w7Y1BBw9vD9dPDVqWVRrAutmpSwXA10I37AHw38A5wgFKY7mU1Xj6gnhFN7K5uH kAHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702636330; x=1703241130; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w3bsA3Hq1tZST6LLgdgUCasdE4/LKtqWt/9/psp4mcs=; b=h0nPiUB73+SNirmcL5/zfcB3tkaVaIBSWgbfPMXhzR2uDG+XYtTsmHcFlvpgHhvJmo zl00tDrB+9wdWoO7Jk4Bq0qc9IxGpORrBnwAHZR7ov1slDq5/tAyGWdrNm4oDnQqGkvT TGV7dcOm1gYpizHjeq1H3n3z3KkpJllDX36e6+7rCLjY2OAD5VcOsIUlbrwpS+Nw4Ngd VVibeOZuQJEMeN5mui6cllQANdaGD+695Oy4DvXXZgVfEaYzvkhXsynrPlsarA4BTqNX zAYyWFfeJ2n+rWMeOfc6jxceuzLkmTCDrSUiqATmyrheMKrADHIytVJqmMDuO/+0TPzX 3FqQ== X-Gm-Message-State: AOJu0YwuqX42+ujbArl+VlO3oVRFaWfwCiImQ8GBu5C9hsci/TcWnulA SPr8K2Sg8K333CfIb9z6ZYgIiWLKbl3xTyoeUbn2Yg== X-Received: by 2002:adf:ebc4:0:b0:333:2fd2:8146 with SMTP id v4-20020adfebc4000000b003332fd28146mr7175355wrn.99.1702636330773; Fri, 15 Dec 2023 02:32:10 -0800 (PST) Received: from localhost.localdomain (abordeaux-655-1-152-60.w90-5.abo.wanadoo.fr. [90.5.9.60]) by smtp.gmail.com with ESMTPSA id q11-20020adffecb000000b003332db7d91dsm18421015wrs.39.2023.12.15.02.32.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 02:32:10 -0800 (PST) From: David Lechner To: linux-iio@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: David Lechner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org Subject: [PATCH v3 1/3] dt-bindings: spi: add spi-rx-bus-channels peripheral property Date: Fri, 15 Dec 2023 04:32:02 -0600 Message-Id: <20231215-ad7380-mainline-v3-1-7a11ebf642b9@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231215-ad7380-mainline-v3-0-7a11ebf642b9@baylibre.com> References: <20231215-ad7380-mainline-v3-0-7a11ebf642b9@baylibre.com> 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="utf-8" X-Mailer: b4 0.12.4 Content-Transfer-Encoding: 8bit This adds a new spi-rx-bus-channels property to the generic spi peripheral property bindings. This property is used to describe devices that have parallel data output channels. This property is different from spi-rx-bus-width in that the latter means that we are reading multiple bits of a single word at one time while the former means that we are reading single bits of multiple words at the same time. Signed-off-by: David Lechner --- The rest of this series is ready to merge, so just looking for an ack from Mark on this one. .../devicetree/bindings/spi/spi-peripheral-props.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml index 15938f81fdce..1c8e71c18234 100644 --- a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml +++ b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml @@ -67,6 +67,18 @@ properties: enum: [0, 1, 2, 4, 8] default: 1 + spi-rx-bus-channels: + description: + The number of parallel channels for read transfers. The difference between + this and spi-rx-bus-width is that a value N for spi-rx-bus-channels means + the SPI bus is receiving one bit each of N different words at the same + time whereas a value M for spi-rx-bus-width means that the bus is + receiving M bits of a single word at the same time. It is also possible to + use both properties at the same time, meaning the bus is receiving M bits + of N different words at the same time. + $ref: /schemas/types.yaml#/definitions/uint32 + default: 1 + spi-rx-delay-us: description: Delay, in microseconds, after a read transfer. -- 2.34.1