Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1492164rwb; Sun, 18 Sep 2022 08:17:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5JoE48gwTqKXS1LYVZRKcwm//4of9Mbngw8SOtDdtNdDtsNGovpTyWZRwwXRNVD+//UE20 X-Received: by 2002:a17:907:c25:b0:780:5d26:c46f with SMTP id ga37-20020a1709070c2500b007805d26c46fmr9581614ejc.623.1663514262623; Sun, 18 Sep 2022 08:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663514262; cv=none; d=google.com; s=arc-20160816; b=pxAe2A9B2cJgmvzuRiaj4vgA6f1mA5iZId2MtI3q+epEbS/WfzpTJnwcHv7FvI+yUE mP0WzgCRG/4UnKL0jDp7npAcPCVSfDDiRp/murXM2D8+oXxX8ErGoibEXuKVMK1oL5x/ 4hVlLx604jIwZrlBkbOgdn6wONK0ss1gXnyJseBT72rkSnD90jOc9iWhofcTB6mdox6B Y8mkE228Lw84OmtksTSNLMMCcj7lIb1ufYTvOUhUB3xCc6yIBw8nvnLa13QoOhJ8yNb2 84svvcAygVbawVPZU6gQ6UaZ7Ej/0KEvqKrM/zDqCQ4n0hkNbEleQl/wt2UhAdFBTZp4 3nPw== 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=lE0151MOVJU7BCff5aIrbc8nw/Cj8NqWzyGXKi//Yt8=; b=au742tuPFhKDjHle0s1Jdr25DzDC5DkJuhkTbXDhWBjpqMHdt1J70AEE4C80dTk03c C2uHLAMjc41ibdWh1iscmGMkTAZHnstCLO8JwSQSAiUcn9QSJGkxa3/myQV/dHKxmKjJ d+8IT5WORWbnNNuM81GPh2R8D5eD1QAncS49ai7/LKvwPyAD6aaPvxNG0foqDkc2rA5g 5oQhKBBrmMal9DpsuUbDgN9Zj+AfvX1KOJeoT4u3wuf8hayHAENaMd8ubHQ2gBPFtwO2 XOEKJBKnyeFH3JZtXP7UmU8M6aGbLkmVjLcy29NWYyVE5PgZCU5gsKMCCGOrwp6RzLSq UI/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=USYlxGY6; 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 hz2-20020a1709072ce200b00780def41dc4si4657206ejc.527.2022.09.18.08.17.15; Sun, 18 Sep 2022 08:17:42 -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=USYlxGY6; 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 S229875AbiIRO46 (ORCPT + 99 others); Sun, 18 Sep 2022 10:56:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbiIRO4y (ORCPT ); Sun, 18 Sep 2022 10:56:54 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9C551F63A for ; Sun, 18 Sep 2022 07:56:52 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id kr11so13065468ejc.8 for ; Sun, 18 Sep 2022 07:56:52 -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=lE0151MOVJU7BCff5aIrbc8nw/Cj8NqWzyGXKi//Yt8=; b=USYlxGY65uQAuLcRBeamKUF9bG441v20ZKIPL2hAdEVlIPvS0tFo9Abb6r9m+W7KPY I4vLDqXcrcVEh8/OOaG4sETMKJvjUU2l6QCD3t63li8dSJ3NbdQuRdvBUcQF7B0I9kQY X8HZM9/jAeLipPkMKfthiiWz4vuFHeud5AwLfoYMFVpnVqA6kSgDEV8JmzsdD9xOQ/Qb EOdH/aFw87UgnOxte2stPq9oMDryGw154uNuL7byDLYgc++hCTzg0uOGutATcr0H0jD4 Wh9ncQ2uSmunsbZ1+7ADHXfYtUUR/8gnfTvbfwjofyyPnpvHkwbG+TDGDPh4W7KM+2zz YQ6w== 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=lE0151MOVJU7BCff5aIrbc8nw/Cj8NqWzyGXKi//Yt8=; b=XI/Q9/tF/U8CpXN2N1SA5jHdjUSI3QuD/QKB+OXRdki2h182OXX81C8fHF5dvSAa2q 0LJCNMohKsW7fTQWeSSeqd38cPJuCYOLiVkwoNz9NOGWaFl/YithswW5wvjzCqyLgjkx M0CcOu29X4THftToodyl6caBKvb8hsP92iARRKsMohl6om47vJPnrxJzrQGhIUdL+8rP yGis42Are8wCfj/zAelEaV+TcqskKIzVazdfQEc9c9KEU7bw43BwOWW7VCBuRilp/BHU NT0zw/rucDIWAi4QU2Dh7FhQINtT/vIchuPGQmdpCY8F7c30u/fSbcVA2m1Iiw63bPeJ yThQ== X-Gm-Message-State: ACrzQf2ACO4xlJpFTN3KQv9jnhKOicGe4NaOocmA+9CVSQVZTonPdrBW TtvzNxk9i6Q4CQRaWH2R+QJ3FlVzkNbsOZBvw7yKZg== X-Received: by 2002:a17:906:5d04:b0:77f:ca9f:33d1 with SMTP id g4-20020a1709065d0400b0077fca9f33d1mr10216154ejt.526.1663513011575; Sun, 18 Sep 2022 07:56:51 -0700 (PDT) MIME-Version: 1.0 References: <20220914071306.3254881-1-s.hauer@pengutronix.de> <20220914071306.3254881-2-s.hauer@pengutronix.de> In-Reply-To: <20220914071306.3254881-2-s.hauer@pengutronix.de> From: Linus Walleij Date: Sun, 18 Sep 2022 16:56:39 +0200 Message-ID: Subject: Re: [PATCH v3 1/2] gpio: Add gpio latch driver To: Sascha Hauer Cc: 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=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 Wed, Sep 14, 2022 at 9:13 AM Sascha Hauer wrote: > > This driver implements a GPIO multiplexer based on latches connected to > other GPIOs. A set of data GPIOs is connected to the data input of > multiple latches. The clock input of each latch is driven by another > set of GPIOs. With two 8-bit latches 10 GPIOs can be multiplexed into > 16 GPIOs. GPOs might be a better term as in fact the multiplexed pins > are output only. > > Signed-off-by: Sascha Hauer I see Serge has additional comments but apart from that this looks acceptable to me: Reviewed-by: Linus Walleij You may want to add set_multiple[_cansleep] later, but it will survive without it. Yours, Linus Walleij