Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3936008pxb; Sun, 24 Oct 2021 15:21:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ/9RKzE7OIadIQbOEUONoAiRnPQ+oASymE5S+5rRGZzsVkxIHN/aIt6DSLj3LzWeXRSFd X-Received: by 2002:a17:906:f241:: with SMTP id gy1mr16738374ejb.192.1635114118161; Sun, 24 Oct 2021 15:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635114118; cv=none; d=google.com; s=arc-20160816; b=DlTyWP/hXjYRpSX0a13v0dr7Twzh98uLYbzfPi6XnQ3lqeeEPeTl25vv/ZmlS3bwkY huZxqTxFF2df6L7c0zatgh1dOU6L+cKcELGlHMpDpw2vYOWTdY9sUwgPK8z3KHPqqgHq GZnbL3cBj1Uvd9m+bGR6Z+nrO8CSe5a840FAoqc4gojI54Tk8YsFNSM325hliFpbwo9g yTgYfuyNhHkbaBgmXgKkjqJU17LZLxOdiGyJu/cbl4rNjt9g/9JmjNw+VTn3WJPxWhP+ RDpHUbhSTRqXTW5l35Dv7hCYyZPwcbn+rUTqLq8jetZgV+3EDNnW4fZPGsqKYxMvz3OM 19qA== 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=JJaQllcwUzGd4qxnMR+A86sauTQSNS36fTnnI/uULQM=; b=a0aoaZ6iCK1TeHDRYIBjeVlBVc5MbVbtj5uHkt2euR8uHcp50acz3jFPXB7OhVxxG4 F3NajkTGZB7B7bk9rSXJI4kBi0N1vXOStPj4tybY3kxoef8v/s+3lO1nQiJvowaADqjT Ist6ksMZjrZBwG/hxDnZX2fYmxmby4IStvLPUsQOYUn0qMnyK4OCvg+u0EhNIDEkM26f puTWTIabAkTO8fuUDQlio1CjAZ9PVPrTS05gkW1qqdIVSF5RxIttasTEKfOVLUGgrcAv oHBKNiWJqe3FnGR349G4/bUzFJPT59mvjU3D8mjhzluTwiHM7hLi4SBizTlq5r8L7HJl vl2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GQ+zacEv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fs4si22087749ejc.119.2021.10.24.15.21.32; Sun, 24 Oct 2021 15:21:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GQ+zacEv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229777AbhJXWUT (ORCPT + 99 others); Sun, 24 Oct 2021 18:20:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbhJXWUS (ORCPT ); Sun, 24 Oct 2021 18:20:18 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5243AC061767 for ; Sun, 24 Oct 2021 15:17:57 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 65so4289923ljf.9 for ; Sun, 24 Oct 2021 15:17:57 -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=JJaQllcwUzGd4qxnMR+A86sauTQSNS36fTnnI/uULQM=; b=GQ+zacEvuIRSW8rKG/z7bNab0DMU6w/J4LIs6RCDHju9nVo1ufu9qJ9aDN0QJNxejY 0FL926egcpBAegVGFn999GDpXrzXuR0g4jSjEjkqinSx9UutX/P7KOiiUeMk2It6MaEo rRHzucaXtlYVjA3ligXrHAhCQn+VAnngnZworLl41Rcs1XgMfoUs0XE9+ywYpBqjif0Y 145L74F8X6SKmrGpzzZ0a0SX87Stx23qWWYI1iu7U2e4F91knBiglw4EpyuTZiSSocg3 7WqpX796Rj1dGzcnbqfcuMw01bWvOI4Fx9g4xGw+3ubQMZKk1c22FSXIVbj+xJg2o29T UZpg== 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=JJaQllcwUzGd4qxnMR+A86sauTQSNS36fTnnI/uULQM=; b=W37Uq3HJTx5fxksgDLWHy08ayvvq8272WZFLc6D81NRT2kgOFNtHW/mfeyETzmg5RF cye1OXa9Of1xHCE0o36Fpo37RtBCR/3+LJ97nN/CpuBwP+6ONmeVNbRdkRYy41jP9aB6 pcWtqRhJRJ60jgrkrATd/nJJ2pvARoRIcoIsfXvqY8LqwQnKJmSXEoZj46So2602LJ3m A1F7n3SDvIppIhVadlTr9n7aI4+RlSuvOXFOGQkOscO7lJzeWYrSaVYTKjwzeOsjm3MS ZuHZW91SZUBmuOmgB6b01xmhjZdfR1ZgAHU+hcUG9AHdDiGxO769cDjKydQDtfk7hQ67 TwKg== X-Gm-Message-State: AOAM531q6YIkzk3yt248P/bo69TujsPeha2yr0EB3M3ZGWXSy7MK6966 NMOXkLSRfcEFV/muV5WkamBHfXjVr94gd04kASbq2A== X-Received: by 2002:a2e:b748:: with SMTP id k8mr15148284ljo.358.1635113875297; Sun, 24 Oct 2021 15:17:55 -0700 (PDT) MIME-Version: 1.0 References: <20210325122832.119147-1-sandberg@mailfence.com> <20211019200831.3817-1-maukka@ext.kapsi.fi> <20211019200831.3817-3-maukka@ext.kapsi.fi> In-Reply-To: <20211019200831.3817-3-maukka@ext.kapsi.fi> From: Linus Walleij Date: Mon, 25 Oct 2021 00:17:44 +0200 Message-ID: Subject: Re: [PATCH v7 2/2] gpio: gpio-cascade: add generic GPIO cascade To: Mauri Sandberg Cc: Mauri Sandberg , Andy Shevchenko , Bartosz Golaszewski , Geert Uytterhoeven , "open list:GPIO SUBSYSTEM" , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , Drew Fustini Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 19, 2021 at 10:10 PM Mauri Sandberg wrote: > Adds support for building cascades of GPIO lines. That is, it allows > setups when there is one upstream line and multiple cascaded lines, out > of which one can be chosen at a time. The status of the upstream line > can be conveyed to the selected cascaded line or, vice versa, the status > of the cascaded line can be conveyed to the upstream line. > > A multiplexer is being used to select, which cascaded GPIO line is being > used at any given time. > > At the moment only input direction is supported. In future it should be > possible to add support for output direction, too. > > Signed-off-by: Mauri Sandberg > --- > v6 -> v7: This v7 looks like clean and nice merge material to me, Reviewed-by: Linus Walleij Yours, Linus Walleij