Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12992817rwl; Wed, 4 Jan 2023 01:47:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXvCZXl2cer0uJtZUJnzQ9mssF96009oIfWreT7885Lz8WXpl2fhJFV0PWHUKb07FDojlrRh X-Received: by 2002:a05:6a20:3b9c:b0:ac:94a1:8afb with SMTP id b28-20020a056a203b9c00b000ac94a18afbmr43463385pzh.13.1672825661826; Wed, 04 Jan 2023 01:47:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672825661; cv=none; d=google.com; s=arc-20160816; b=VJ+xk6zEN4sDBJTo3MagX1sap5qCDunRGc95llmOyzB86bHO9mJdGmA8lPzI/v9IlE o5LHBqB2KsWjHi7iSKJshowd/bA1DlnAKTOzkBVmO7l46zcH4676DYz0pOYj0wQSri0o EAu6Ij7EwdbU1WPgorO9qryqJ7o5Pmw1L/jzPoKrSrLVSQBJ2vCBHGU62PrqfYRGXtRi r4PA+YmxhFIDCkoiuOboPrMvQaMtwte2hutx4zHR56juJJ5mps0vttNvKMPbDp6VFjb+ cw4ihhql0r/G8g+6wPSmc7YK5/JQCAn/37Z8eugvQEc3scLpQ+TYj2QK44Aa1WCaIYbF iwJA== 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=jr3uMUAzKewQFBCCj7g3IoVxrK0o5mooVmBomlp0574=; b=Yoh7DPx8ZGcaN0S+lC173yjFt6qn8PPnbc1gcrxAKR/197TIcmh9iMX5Ojl/4kK6qh yMxQtkQte044dU5ArNhp/xMIp1wMfN/r+rx5zGwMniPOdXibZYdPmcoBCggteEnNZldp /8fvLzsAE5ieZexfUhC4Zcp3LgR+s8NSdr/7NuvI2SL4aeUPCkQUsjxyce2H0hkzaf2m TZ9bBKMdOIRnI+nBaxOJZy0pE6GPc9y6HdXPgPDKzsjH0a5sY6ZkHp7eiUDgG9bqQiM8 H40KM3r3FD0jhWVH460tgU7aVeqS/BUpG3T4k5hXY+XXq/2QVHYwp4Zu7AvXf5+6E1dZ V0qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b="HhZ+eD/Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h70-20020a638349000000b004a46963e2b7si4952758pge.313.2023.01.04.01.47.34; Wed, 04 Jan 2023 01:47:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b="HhZ+eD/Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239205AbjADJiK (ORCPT + 57 others); Wed, 4 Jan 2023 04:38:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234422AbjADJhl (ORCPT ); Wed, 4 Jan 2023 04:37:41 -0500 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 526AC1839F; Wed, 4 Jan 2023 01:37:38 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sendonly@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id E287242037; Wed, 4 Jan 2023 09:37:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1672825057; bh=NUEh0FNVbl8pM5v3KLVsYoeV+coXZrlb1+D5P/bGSSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=HhZ+eD/ZncivrtyFKQI4dRTREx8Czu7pZTMHYTB1CDFE6pEVnkM2RTQR+TCBcFk42 9VYuPyml0THd37OvUssFznHXZcoaczR2eIypomMKN7NAGpk2n9fXUb4Qo+B2e3Jlkx IzLM+xQfYqjM+gCa4N56ygvujCbVSpgHE0ICkekH3I89YeSBoSAuNRVY9jyH8Mp7On WXGXzzBwsAGNUgiTqNL2+a6QCdj3sOo7MeXgqpJLxK9AJaWkrBh3bSY20SLZQWBk1N eJqotZcGoJrcQYYhrYB2p0gSudj9N2X+1WhnGDMe9ZxBn4sQQJpvdB9YgGGH6ySPRg 9s3FyXTGuI/XQ== From: Hector Martin To: Mark Brown , Rob Herring , Krzysztof Kozlowski Cc: Tudor Ambarus , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, Janne Grunau , Alyssa Rosenzweig , asahi@lists.linux.dev, linux-kernel@vger.kernel.org, Hector Martin Subject: [PATCH 4/5] spi: dt-bindings: Add hold/inactive CS delay peripheral properties Date: Wed, 4 Jan 2023 18:36:30 +0900 Message-Id: <20230104093631.15611-5-marcan@marcan.st> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230104093631.15611-1-marcan@marcan.st> References: <20230104093631.15611-1-marcan@marcan.st> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Janne Grunau These two properties complete the bindings for the Linux spi_device cs model, which includes cs_setup, cs_hold and cs_inactive delay values. Signed-off-by: Janne Grunau Signed-off-by: Hector Martin --- .../devicetree/bindings/spi/spi-peripheral-props.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml index 9a60c0664bbe..782a014b63a7 100644 --- a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml +++ b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml @@ -49,6 +49,16 @@ properties: Delay in nanoseconds to be introduced by the controller after CS is asserted. + spi-cs-hold-delay-ns: + description: + Delay in nanoseconds to be introduced by the controller before CS is + de-asserted. + + spi-cs-inactive-delay-ns: + description: + Delay in nanoseconds to be introduced by the controller after CS is + de-asserted. + spi-rx-bus-width: description: Bus width to the SPI bus used for read transfers. -- 2.35.1