[PATCH net-next v4 0/4] ieee802154: ca8210: Sparse fix and GPIOd conversion

From: Andy Shevchenko
Date: Wed Mar 05 2025 - 05:58:04 EST


The main part is the patch 3 that converts the driver to GPIO descriptor APIs,
the first one is just an ad-hoc fix WRT sparse complains on the bitwise
types misuse. The second one is a small cleanup that helps patch 3 to be nicer.

In v4:
- split DT patch (Krzysztof)
- collected tags (Miquel)

In v3:
- inverted polarity of the reset line in accordance with datasheet (Linus)
- added quirk for the out-of-tree admittedly wrong DTS implementations
- collected tags (Linus)

In v2:
- split and extended cleanup pieces into patch 2 (Miquel)
- updated kernel doc for changed members (Miquel)
- unfolded PTR_ERR_OR_ZERO() to the preferred pattern (Miquel)
- collected tags (Miquel)

Andy Shevchenko (4):
ieee802154: ca8210: Use proper setters and getters for bitwise types
ieee802154: ca8210: Get platform data via dev_get_platdata()
ieee802154: ca8210: Switch to using gpiod API
dt-bindings: ieee802154: ca8210: Update polarity of the reset pin

.../bindings/net/ieee802154/ca8210.txt | 2 +-
drivers/gpio/gpiolib-of.c | 9 +++
drivers/net/ieee802154/ca8210.c | 78 ++++++++-----------
3 files changed, 41 insertions(+), 48 deletions(-)

--
2.47.2