Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5244557rdb; Wed, 13 Dec 2023 03:21:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGWkPREbAHhQTtvR4PNcqF5/H+e16Om44BO03udh3OXk83aXa5WQUvxlN2Eo3SB8mk0N0nc X-Received: by 2002:a05:6e02:1c25:b0:35d:5940:91d with SMTP id m5-20020a056e021c2500b0035d5940091dmr7885839ilh.28.1702466510130; Wed, 13 Dec 2023 03:21:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702466510; cv=none; d=google.com; s=arc-20160816; b=qy4qhmuQg/tKneWeqvyv9K3u72YLyws/7ds0PTM2RIJ3rV1oEStYgTJdPiQgKRHtrT OijFLLQyZp4gWbcDW3iUu3FApyjhFle6ESmEuUhOqj1TsPKOnLK0f69rir02idNWB1Qh Ig4yhb4qtSKqWIXwn2YPFLpJ8RDinHQIho4YecFm7XHxbZRHZMiSQmB/JGApIDmdwo++ 2dAkXHdWsCN4J0esTBcgyFKTfA0pnZRq3//eCyalAzC+9pDWpQsCO9DbDHqLCXaN6cxT M3Ny4agL5PgyT1AwECcrS93Gw+003lTQg0QySpL3WPTSx276G2tbYjwl5wUeUOOdSOAS sXFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ev6Cfv6nDG3qQtZztAusOez9MHzFknUz32Jp+6osCws=; fh=PzUYntJUzztNSyF9vKmQYzPjTFtJfGfoquScFSUOxzM=; b=GU4Pl7t43XsRFSTX7BK25m3fSdG4zPxbRW/LI74UfCqwDIDmDF7mobmuq+b2gUI1/2 7mUFHM2ghL2LGdAS22o1PCHYwUOCtKEFBJiXO9pGHt1XeAeZ8NqsolavH0NZwfn6jRfS pmmElCRJYiTV62Ii8Qx/rO2MMhN2EYOKX65g8uTiWyiiVuTJiFo9eJu/zr6LHdbm5607 /hnfvBQmgCI+GPcLF5jrJN0cdnUap4emsXWkxsqt4QYO+MFWamvautLaNSSNp0gCtwUi 0aNDUw1JE6vJvlTFbtic9pIWZ36hb7gHkB0V4EkANw1A9zIxB9h/n2BJ4dC3hYlbXZYU XQ3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=pRfBouSm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id z25-20020a656659000000b005ab7b51ab5bsi9088542pgv.110.2023.12.13.03.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 03:21:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=pRfBouSm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 28AD88099CDE; Wed, 13 Dec 2023 03:21:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377256AbjLMLVX (ORCPT + 99 others); Wed, 13 Dec 2023 06:21:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233270AbjLMLVW (ORCPT ); Wed, 13 Dec 2023 06:21:22 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95F47D0 for ; Wed, 13 Dec 2023 03:21:27 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40c0fc1cf3dso69646425e9.0 for ; Wed, 13 Dec 2023 03:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1702466486; x=1703071286; 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=ev6Cfv6nDG3qQtZztAusOez9MHzFknUz32Jp+6osCws=; b=pRfBouSmfIk7+UkwhgR6609sL0nJpVqW53h8QK576q/yEA96HUnIwioeKgyH0wVWOo C46X4jqbdAgx75E3WHQknWSFL+qX43jnM8x7fp9Ufvg+fTlN0c3YICO/LbePONGc6bjx vnhG28i8msV7nixLZAq+1N0UUT7r+Tu70gvF+va9yol/ld93W7NfQTxHzHT0xdDILB8d twryLQxoIs8n9sJg9XOpm290IcycOYkctr+/gWJRRlZKKuzg3phz6A7pMic9D61AK5B/ SBh8olhH2Gqh02XMFuz+jkHr/yD2lYJPGtkNNaddltnHd3VL5w9/ENzPcFJxTLXKzkVr OjFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702466486; x=1703071286; 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=ev6Cfv6nDG3qQtZztAusOez9MHzFknUz32Jp+6osCws=; b=xLCuLgnslFI/EpoBAjSGcwMYOIL/SldMXiVgh0X+rfae3q+Mv6HBhtFvz2mkbvNaeF eAJib6sr+6xhJmi66Ljh8iY1R6dFn7gxLsXT04ntA5YwVDsgrO8KH8VC6Ak0oJj6J27/ GaR8S7C/nAw0/Ir44pcWbhjizQ1LNX9tPa/Z1piYqnG+H8QD0XhCsV92orKXLMYQzZ/7 xMg/OB1VqXXYOfgZVe3CxE8/bfw/cJYDUuofMdogrO2m4Ke4HTrDaIYRhNyJM22Iip7e HgBUzkfPDd6vKwoVoTzXZUkhC0qT2m2UVZ3clnv4DyZ/kH4ycVSBZnVgwdJ4bn5nnoBm xogQ== X-Gm-Message-State: AOJu0Yzzngyrc03dN1SDZUWNUPcAu0qrL3XdvqJBMfDD8tEXXYaAJVKo Yp/1XnoUqnRuFkdDeOiAg/526A== X-Received: by 2002:a05:600c:21c7:b0:40b:5e59:c56d with SMTP id x7-20020a05600c21c700b0040b5e59c56dmr3727083wmj.151.1702466486079; Wed, 13 Dec 2023 03:21:26 -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 m29-20020a05600c3b1d00b0040b3515cdf8sm20097617wms.7.2023.12.13.03.21.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 03:21:25 -0800 (PST) From: David Lechner To: linux-iio@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 v2 1/3] dt-bindings: spi: add spi-rx-bus-channels peripheral property Date: Wed, 13 Dec 2023 05:21:18 -0600 Message-Id: <20231213-ad7380-mainline-v2-1-cd32150d84a3@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231213-ad7380-mainline-v2-0-cd32150d84a3@baylibre.com> References: <20231213-ad7380-mainline-v2-0-cd32150d84a3@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.12.4 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 03:21:42 -0800 (PST) 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 --- v2 changes: new patch in v2 .../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