From patchwork Wed Jan 4 09:36:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 38834 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp5053635wrt; Wed, 4 Jan 2023 01:39:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXtVFWkMZaQAuEBJWZTmGttkF8Pex8nyJe3O2R1jUN5cA0Gc0ivhiVyTiIe5MD19sqNDbwXr X-Received: by 2002:a05:6a20:4655:b0:aa:23f9:7314 with SMTP id eb21-20020a056a20465500b000aa23f97314mr48556310pzb.46.1672825143907; Wed, 04 Jan 2023 01:39:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672825143; cv=none; d=google.com; s=arc-20160816; b=dr7byxprDNYCU49e2Tpd4SjOMk+JrlZjLtmuW5TP8f6FDOF2PnwikMPXAhZ8I8Ivpj 0jiRu2bX0SZDTDxS+02dqdcpYX3yq/JW7nGzL6SbvKnwVC5j/JE4fuYS/1YwypnGvwR7 9BpOif7bUEhvCMLzW4QBA20ed2Ghs+YcPsDKgumb/5GgCuo6GyZ/KMxqLDzrANor00P/ oxCQLPKIPasxumXHJYS1kHZsWn8DQ1RJ6ef+AxHX21LYzvfbmjSGq0HqO7ZjNUiofER+ z29V1LZD/zajiUX/e0Pou0Zb0HNW7hJSZWe63JblXvvahOz3bf9eaq3rwE8ONBT8XDx2 t+XA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a63f218000000b0049e18ff25d4si17563439pgh.809.2023.01.04.01.38.50; Wed, 04 Jan 2023 01:39:03 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754084298373383370?= X-GMAIL-MSGID: =?utf-8?q?1754084298373383370?= 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 Reviewed-by: Rob Herring --- .../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.