Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp479946imn; Tue, 26 Jul 2022 00:32:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1szyjtFjhJzzukIQkCCZVZg7Xfs0wOlE/72zFloIDQkIgd7FLRa0sc6U6u7raKl1pHpyCUk X-Received: by 2002:a17:902:8502:b0:16c:c5c5:a198 with SMTP id bj2-20020a170902850200b0016cc5c5a198mr15386057plb.88.1658820752453; Tue, 26 Jul 2022 00:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658820752; cv=none; d=google.com; s=arc-20160816; b=bvE+7XXWCfQtZrIOAGiIv9lisqSTbTSsy/2jAcfdz1xYrvb3QCk6ixHNP2YJtzBgQQ mgwzRGh0Rzj9jjMruveCeGFf9PL4RXc97AOpN7CtOu/oVwo1VA4edIkqE1GKoHb9CHdv M72xgHkb6NrdBq+K10XjY79FZe9psbhl92n9tZjZqqwfWnBAItjnunxidoZJQL+mk+2F Z+5LAHOo1iEjZ+Ylk4tVnE6k0Jw9/AX489fviaTJyfqvp5UQaxwcqISyjMwRlAgUFp1t JypkIduDxenCXVoSvxbuFrdsoS5ZGY09LHDSxRY0OIAy+q+2CyRi80h7biPSKYvj6woa v91g== 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=DD0uadPhkaJ539aapAhTDeVFQH+XGwCWm7G+YfPh7fc=; b=msp0vr8H0KONzUUY6r2QbzaVo9o1J3h0w2EeWLlBVbMs9GQQ5q1oCJy7G2wIF+oGkN oCk9VLYUWLYDWyfA20X9EKRw/ZpMTGMLwGIBIrAe4WDH4s4egzerbpck1F2ivZ0IqudB YGZsY0LDZxIsqG5KwwRcOGaTaZtJi+6H6vPVNXH1HXSA7dO4B4lHDHiFgULo+PmfSeF/ sfxqdGruSmVVaf4UWM8by87MMIz7H9VtQiQ16lWMF6r/4tsj//ch5LpGuB1RwTgqXRuH VHNTsu6Zf2N54fxox2HbAvHEjVk9J0mqXj0b6udjh9osyu9yKf1VHflO0rGXphELvgRf jEnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kba4ZDV1; 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 p6-20020a17090a680600b001f0b3bf2836si15599627pjj.60.2022.07.26.00.32.17; Tue, 26 Jul 2022 00:32:32 -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=Kba4ZDV1; 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 S238120AbiGZHYR (ORCPT + 99 others); Tue, 26 Jul 2022 03:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238118AbiGZHXa (ORCPT ); Tue, 26 Jul 2022 03:23:30 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B2002B621 for ; Tue, 26 Jul 2022 00:23:21 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id j22so24587382ejs.2 for ; Tue, 26 Jul 2022 00:23:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DD0uadPhkaJ539aapAhTDeVFQH+XGwCWm7G+YfPh7fc=; b=Kba4ZDV1A/AXRgz6iEbxRwn8EqVTv2R9yv+8Q2gRza9+ZIvQtXmDpHMJ+sUhFJFMZ0 7FbNc6d3/UoKdDqyTR5suL8w6TJ5Gn4/Kz3AtA2NjJTGAKHlcxyL3aJx4A7+/5TiUfQS NxlzBAykIrKayHvDFOAKgU5Tiinpei2lR44V3d7wEJl+WEyIYRuRvQ9iG/c5gF30k3Zl UFz7H/aJUp9D6Vjh3W9yMy72PrQ2Xxh5RoEOE3cP+U8zGqLPIIyi1AHwfcGI0gIcwimM 2dsoyOJLHp+5tVE6zpTC3LAoEK7Uku2f0P0wNfD7NWfh2JBiJ8ColgXgz/u4zr4EIrTZ 1Fsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DD0uadPhkaJ539aapAhTDeVFQH+XGwCWm7G+YfPh7fc=; b=nxDagiv/d7UqvfZ5qdYyuFCWjEbNXuT6bfp259Dc5Ajway+gA+TH1DshA01Swm6cjq +WUQ0H4dQIqglrnIbfSLoYC+oRF83odWgi7n8BSZztSG/MO77/0ZR7iy5wXjQMZ2TjU1 wwf63jchWhuyn1UqAgxZFwR+Czxkv6Y64s4oUPiywgyBiiGYl2hfMtsqjliBoiQf8j3o pqCC8M6Ot64iBNxqJlqqBsuPlCGulXrUfxUIHbVyAKANDD0iOVADH+4wxRlLUrWi6asD 0r2mEHkv9krgZ5idYfHHAbXEz1ts730MZE61emfjtzFBVpWjI7ZFPUtPsSuQuEv/2eCK J/9g== X-Gm-Message-State: AJIora/MyGE9BKy8QiNZHHskbK+ulh3Db0TMhb1F7TgL1HWveOXQe7jk Ch1IHKCmpU30qg1c8K5xZUM21eaLuXxK1VDVcJaFGA== X-Received: by 2002:a17:906:58c8:b0:6fe:91d5:18d2 with SMTP id e8-20020a17090658c800b006fe91d518d2mr13217132ejs.190.1658820199862; Tue, 26 Jul 2022 00:23:19 -0700 (PDT) MIME-Version: 1.0 References: <20220721093422.2173982-1-marcus.folkesson@gmail.com> In-Reply-To: From: Linus Walleij Date: Tue, 26 Jul 2022 09:23:08 +0200 Message-ID: Subject: Re: [PATCH 1/2] gpio: gpio-74x164: add support for CDx4HC4094 To: Andy Shevchenko Cc: Marcus Folkesson , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Maxime Ripard , "open list:GPIO SUBSYSTEM" , devicetree , Linux Kernel Mailing List 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=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 On Tue, Jul 26, 2022 at 8:55 AM Andy Shevchenko wrote: > On Tue, Jul 26, 2022 at 12:22 AM Linus Walleij wrote: > > Well it will work, because all values come out, however *during* > > the transfer, not *after* the transfer as intended with the > > STR signal. > > No. I think you missed one little but crucial detail. The strobe is > edge, not level, while you consider CS as a level signal (only). Aha! Then it works :) > See Figure 7 and Table 9 in the datasheet you linked to. When STR is > low, the data is not changed. Maybe it's not clear in this datasheet, > I found somewhere > in a more clear table. > > > At least how I see it ...? > > If what you are saying is true, the hardware is totally broken and I > wouldn't use it. I.o.w. if the strobe passes all data when it's at low > level and latches at low-to-high, it's broken by definition in my > point of view. I have seen strobes that are level-active in my life, but if you say this one isn't then all is fine! Yours, Linus Walleij