Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp109324rwb; Tue, 4 Oct 2022 01:06:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7SEVZa9Ia2Rf6ixLOfC6vxsg37oQze6YLdVBE1l7E6N9kbBnopMh5QwyPaMmQBYJGuAC3F X-Received: by 2002:a63:1e10:0:b0:439:3c93:25ab with SMTP id e16-20020a631e10000000b004393c9325abmr22721561pge.317.1664870774631; Tue, 04 Oct 2022 01:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664870774; cv=none; d=google.com; s=arc-20160816; b=ql/Hf04c2gys3+/8W/MDYF5B1SShdC+NNfnAztX7e3Ed1U24RsKjplnjQV9n8Qs0lj /4tZDb7U/AWePgf+TFoCApGSi2IepfjGhmRE8pq7lIF9522rkBKFhTz2cI3uWDmqaigp 7E9v11GdSSk3pfsD2ClbOhCQJaRr9iOZ7FMEsr/BNbW5NfHSpmxcQlRgjYc7zhTRHfFo zFPGI1nxpGx1w4jzzM212CDTq/Faiy60Z2uuaSF0bq/yG2hpDi1qdLKecQp7viTNkjV/ PJM6SkFlqlP3o/VqZRI/iXPd2nwWJr1vV2DX7I7vHj0hxlXNLi2+yjvGQlagmOPwczbe fkfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HuBDebX32mfzckg29ZwF9mNbIAnlovuCTYwf0VzLqrE=; b=CgBmXG52T3VdLlasG6lsQkIJ5N8goUD/GzVd81KLeDVMF26FrZxtTykK37mCiAhM2g GqIjcuIKXcQXeCP9hJxsPpvQMjhlBbf1X61nYo2PKaTMzRwk8GOJwRH3ylvOIAAnmRZ7 jSJ0CfISSm7urDXge71nI8OXXK+EE9VUBr+e6neaD+o9AYwBoyzeIabb1n4C7BGFRgHZ K8dpLoKkMgpM8QMxITEf/1n2lyH1Qh1bNIITCO2rKpQ6P43paI4c+l29X/cXMpok9R/J Amwk/lxaovM27NqShazNxn8RTofRCEfUsQWiMxhyZUvTUZuwGSdfm1Yekdz4eU/RbE11 VI0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Fzeqs/j4"; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a637007000000b0043be8b2d5easi9699874pgc.497.2022.10.04.01.06.00; Tue, 04 Oct 2022 01:06:14 -0700 (PDT) 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=@linaro.org header.s=google header.b="Fzeqs/j4"; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbiJDH2M (ORCPT + 99 others); Tue, 4 Oct 2022 03:28:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229790AbiJDH2A (ORCPT ); Tue, 4 Oct 2022 03:28:00 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 724813F331 for ; Tue, 4 Oct 2022 00:27:57 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id s2so7043160edd.2 for ; Tue, 04 Oct 2022 00:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=HuBDebX32mfzckg29ZwF9mNbIAnlovuCTYwf0VzLqrE=; b=Fzeqs/j483jGS88AHvGLCGuzS8AbJy6/0P8m10kARA8jstidBxZ4bzVcENt6+M1zFo UNxzK+UMMOQRZEU7vyPUVOrpNHPiZs81NMnT1u1UKUPz31TOyPkP53qP6lNkEt6IRxn8 PenRerr2Ykl10t+rdk7n7jPd6LuB3pSgMbvn1F+ju7w2Wk1vZ+Z9uB69nYh8ig3gX38z 5+uC12+LuypW3xZdqjEEYxZ495W5ITn3w5GBHAm2QKp/RwMKb7RYenpDgwBzMcKhc5h3 h+YzVeFf5O3cnm5BpbBd1Ry9BbsRfxTH1fTiVUCGhADnLZCQTh4enizXS87N0B4jin65 mguA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=HuBDebX32mfzckg29ZwF9mNbIAnlovuCTYwf0VzLqrE=; b=RXuCTPd8rIOTiu3b6e5CVQsqW1c68gBZRaY9hSZHfXN1geMFMd3VvZLvxi/AhPudLc ITTLfY6bn+8eT0F7sh08eQce5gyZO1FoJYNGtgEo2v6o4sTJaHORsU7d8RGLmSMjaZZF cvTSSsiYfN51/W8iANEs6y7QwuKuGUNjiJwRqBf/69HtyzvTRykcNXngvTz+gscHtxJ/ CTKOMANxS6TMjS2x0iKE5MuqW8wxNxpISsdVXX//fxLXyQF74gpAl5/6AzrbGtsq9/Vx c6fYJpWqhcHPDj3Jx8k2OOpxsHKEsXcI0MZoWLYN6J8iiAZ3NfwPv8ThZWOC3HpWmaIQ dVKg== X-Gm-Message-State: ACrzQf1szsCLmb29UQ6AaW5vi1jtGi9Z/pa0hqaC4tCMXNn/SddIF6rr A6GEHYnvMmVsXX+z6NcGedU4w6UKt3E2uVCh1ixhR6RuCoY= X-Received: by 2002:a05:6402:2690:b0:452:3a85:8b28 with SMTP id w16-20020a056402269000b004523a858b28mr21767496edd.158.1664868476075; Tue, 04 Oct 2022 00:27:56 -0700 (PDT) MIME-Version: 1.0 References: <20220914071306.3254881-1-s.hauer@pengutronix.de> <20220914071306.3254881-2-s.hauer@pengutronix.de> <20220914140310.5ffrnsy63piegdyr@mobilestation> <20220922133105.GN986@pengutronix.de> <20220925153002.makz5eijmwzrgqqs@mobilestation> In-Reply-To: <20220925153002.makz5eijmwzrgqqs@mobilestation> From: Linus Walleij Date: Tue, 4 Oct 2022 09:27:44 +0200 Message-ID: Subject: Re: [PATCH v3 1/2] gpio: Add gpio latch driver To: Serge Semin Cc: Sascha Hauer , Rob Herring , Rob Herring , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , kernel@pengutronix.de Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Sun, Sep 25, 2022 at 5:30 PM Serge Semin wrote: > I couldn't find any generic ready-to-use DT-property for this case. > So IMO instead the next properties would work: > 1. "setup-duration-ns" - data input timing after which the clock input > can be asserted (Tsu in the hw-manual above). > 2. "clock-duration-ns" - clock input timing for which the CLK signal > must be kept asserted so the device would perceive the input > states, the outputs would be updated and the clock signal could be > driven back to low (Tw including Th in the hw-manual above). > > @Rob, @Linus, any suggestion regarding the properties and their naming? I think your suggestions look fine! Yours, Linus Walleij