[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbTqxzXnLE7uQ=MrqV-BoP5gpZtX07gsHyCr++ah3s65Q@mail.gmail.com>
Date: Wed, 11 Dec 2019 01:37:03 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Michał Mirosław <mirq-linux@...e.qmqm.pl>
Cc: linux-mmc <linux-mmc@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Viresh Kumar <vireshk@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/4] mmc: simplify WP/CD GPIO handling
On Mon, Dec 9, 2019 at 10:09 PM Michał Mirosław <mirq-linux@...e.qmqm.pl> wrote:
> This series removes convoluted handling of inverted CD and WP lines in
> SD/MMC host drivers when using GPIOs.
>
> First patch, sent separately earlier, adds gpiod_toggle_active_low() to
> switch line inversion flag in the gpiod structure. Next two patches
> modify WP and CD initialization to apply all the inversions onto gpiod's
> active-low flag. Final patch removes now-unused argument from init functions.
I like the approach, as much as I liked my own idea to centralize
all DT quirks and hide them in gpiolib-of.c I can see how this
makes it easier to solve the final hurdles in the MMC framework
and contain it better.
If it also works I'm happy for Ulf to merge all of this!
Yours,
Linus Walleij
Powered by blists - more mailing lists