[PATCH v1 0/3] gpio: mmio: Make driver agnostic

Andy Shevchenko posted 3 patches 2 years, 1 month ago
drivers/gpio/gpio-mmio.c | 53 +++++++++++++++-------------------------
include/linux/property.h | 26 ++++++++++++++++++++
2 files changed, 46 insertions(+), 33 deletions(-)
[PATCH v1 0/3] gpio: mmio: Make driver agnostic
Posted by Andy Shevchenko 2 years, 1 month ago
Driver uses so far some OF APIs when generic fwnode ones can be used.
Replace these APIs accordingly. Note, this will help to clean up OF
headers even more.

Andy Shevchenko (3):
  device property: Implement device_is_big_endian()
  gpio: mmio: Make use of device properties
  gpio: mmio: Clean up headers

 drivers/gpio/gpio-mmio.c | 53 +++++++++++++++-------------------------
 include/linux/property.h | 26 ++++++++++++++++++++
 2 files changed, 46 insertions(+), 33 deletions(-)

-- 
2.40.0.1.gaa8946217a0b
Re: [PATCH v1 0/3] gpio: mmio: Make driver agnostic
Posted by Bartosz Golaszewski 1 year, 12 months ago
On Wed, Oct 25, 2023 at 8:50 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> Driver uses so far some OF APIs when generic fwnode ones can be used.
> Replace these APIs accordingly. Note, this will help to clean up OF
> headers even more.
>
> Andy Shevchenko (3):
>   device property: Implement device_is_big_endian()
>   gpio: mmio: Make use of device properties
>   gpio: mmio: Clean up headers
>
>  drivers/gpio/gpio-mmio.c | 53 +++++++++++++++-------------------------
>  include/linux/property.h | 26 ++++++++++++++++++++
>  2 files changed, 46 insertions(+), 33 deletions(-)
>
> --
> 2.40.0.1.gaa8946217a0b
>

Applied patches 2 and 3.

Bart
Re: [PATCH v1 0/3] gpio: mmio: Make driver agnostic
Posted by Linus Walleij 2 years, 1 month ago
On Wed, Oct 25, 2023 at 8:50 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> Driver uses so far some OF APIs when generic fwnode ones can be used.
> Replace these APIs accordingly. Note, this will help to clean up OF
> headers even more.

Clean, elegant and does exactly what we want.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij