[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200520162724.GG5759@ninjato>
Date: Wed, 20 May 2020 18:27:24 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Codrin.Ciubotariu@...rochip.com
Cc: linux-gpio@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Ludovic.Desroches@...rochip.com, Nicolas.Ferre@...rochip.com,
alexandre.belloni@...tlin.com, kamel.bouhara@...tlin.com,
linux@...linux.org.uk, linus.walleij@...aro.org, alan@...tiron.com
Subject: Re: Re: [RFC PATCH] i2c: at91: Fix pinmux after devm_gpiod_get() for
bus recovery
> > This will do for 5.7. For 5.8 or 5.9, I can imagine to take the two
> > pinctrl_state pointers into bus_recovery_info and handle all this in the
> > core. I will try this later this week if noone is super-eager to try it
> > out before.
> >
>
> By 'all this' you mean to move the entire function in the core, right?
> Having just these two pointers bus_recinovery_info won't help much. I
> can try it, if you haven't already started...
I mean to add those two pointers to bus_recinovery_info and if they are
populated, then the I2C core is doing the necessary magic (or maybe just
the pinctrl handle and assume the states have fixed names?). Russell
just sent patches to add it to the PXA driver, so we could now double
check how much could be factored out.
I haven't started yet, let's keep in touch who started first :)
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists