Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp656919rwb; Fri, 13 Jan 2023 02:32:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXvHa/tLuzxAxWw4YrpNDGsIys/rKZQVgGEkApcB9SuEpbWnotq878tfftIu1JibqbMYDdhQ X-Received: by 2002:a17:906:3687:b0:86b:914a:571 with SMTP id a7-20020a170906368700b0086b914a0571mr336703ejc.5.1673605971838; Fri, 13 Jan 2023 02:32:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673605971; cv=none; d=google.com; s=arc-20160816; b=s55s2Ihr4nypBKv6v+jKj5Pul1LcXZmsCCsg2epmjQYOtCYOsKgir3GuyyWQROEcCy bUKvG25w/jtRUqGaJqcy4y7Dkaqlr0lsKfHqonN/XkRfCrZkTMX2Sb6mu2bKZbAhiLQd fqW/e7z4JeSbF/8uYpUZoFd4pBGYEeFvipd1DOoGNJWQ8EyeGuuq08fkC+PEmMBhBBcf hX8zItPmH46MuN6vqaElj0NPmfnu6dB5gXZNZJ4I7P+v0fzrqQSgW5nPTY7eS3vf+mQf UFon1qNt0vYTt7BFgCC6HXpsbtnwnA5Kp4N0fPC/0FowKIb4J1HjvGjigCCXO59i5/D7 8dVg== 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=ZgCe5wRBqRLQtt5STOF/L8qWMC/SbVlq29FpodkIVw4=; b=RQ29rdo2FYQfe5CVmWX5BXZbFQ+cGoB7PwriwfoHXUb727tnRmHOo29SpmG1aXtjE3 VPM/ZcuMdgaJlT8KUCI6SgHSMs2wxJJKy53GttoSlQ/tFzN4FnOinRPT6VqjgJSIXw9c xMoycmnka2GQluUYDIHNZmFgot6YXdEJseb7RPO7W8xvyDY0+1YzvIlsfXvcOfkkhhml RhC6t2fiZsHx2sUAjG7VT0D5Q2ymR5eypzqZw/a/uowYYj8+HYaE6BhJI7eP9ZXCzhls UTNpZVGsx/T7YolR+6SB/ng3s+GZdv+ccX9sLxYoEjCS3rnlETq5nKcTvd511UhQ/eUX KeHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=xoflWglI; 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 hd9-20020a170907968900b0086a76383bcdsi1940617ejc.130.2023.01.13.02.32.37; Fri, 13 Jan 2023 02:32:51 -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=xoflWglI; 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 S241175AbjAMKYS (ORCPT + 51 others); Fri, 13 Jan 2023 05:24:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241172AbjAMKXi (ORCPT ); Fri, 13 Jan 2023 05:23:38 -0500 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0EE2BC0F; Fri, 13 Jan 2023 02:23:37 -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 2D09D4258A; Fri, 13 Jan 2023 10:23:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1673605416; bh=M3tZrYZnQ0FBU0rxzLvbqjtCSW4bNvZXYV5NUHuboTk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=xoflWglINJt2Kww6POJDVwvtrmzEH4a7tuJzKq+dTzqd5irvgP1Exj3UZ9TOAPLHj Jo9GbMSlw4pmdP335FEAWSGBaYmN81gsITgcorIbKPwW32uXmLbs8x8lc2YJTqWp1q 1yXxZkgs+AHxN67mmI7xs1zqw5NxTpAaTKrqtDKo9tsJCuEMAtskUmJ8DhAGqwaUTB MoeuvEbtYnro6hp4nuqzlwVvP2gRKLpu5GIp07cgrhlfB+K46FCNHYpus3uqgrh2Vl fW2BzoBy0+8hGZPP8SIAmC6cbHWEvdIKTOwKDMfjumS1r+Tj15QC7SltWowsx/PO62 FgK6uSuqSK4Hg== From: Hector Martin To: Mark Brown Cc: Rob Herring , Krzysztof Kozlowski , Tudor Ambarus , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, Janne Grunau , Alyssa Rosenzweig , asahi@lists.linux.dev, linux-kernel@vger.kernel.org, Rob Herring , Hector Martin Subject: [PATCH v2 2/3] spi: dt-bindings: Add hold/inactive CS delay peripheral properties Date: Fri, 13 Jan 2023 19:23:09 +0900 Message-Id: <20230113102309.18308-3-marcan@marcan.st> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230113102309.18308-1-marcan@marcan.st> References: <20230113102309.18308-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 Reviewed-by: Rob Herring 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