]> www.infradead.org Git - users/hch/misc.git/commit
ieee802154: ca8210: Switch to using gpiod API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Mar 2025 10:55:36 +0000 (12:55 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 6 Mar 2025 20:55:18 +0000 (21:55 +0100)
commit20629a48d50ad98cb9376dedeec1e98aff092ad9
tree344d349d9c1c505aee5147829c4bb7c26cd32978
parent0a3e89b06d36d55392829681f63ce0c74861901b
ieee802154: ca8210: Switch to using gpiod API

This updates the driver to gpiod API, and removes yet another use of
of_get_named_gpio().

With this, invert the logic of the reset pin which is active-low
and add a quirk for the legacy and incorrect device tree descriptions.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/20250305105656.2133487-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/gpio/gpiolib-of.c
drivers/net/ieee802154/ca8210.c