mbox series

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

Message ID 20250305105656.2133487-1-andriy.shevchenko@linux.intel.com
Headers show
Series ieee802154: ca8210: Sparse fix and GPIOd conversion | expand

Message

Andy Shevchenko March 5, 2025, 10:55 a.m. UTC
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(-)

Comments

Stefan Schmidt March 6, 2025, 9:05 p.m. UTC | #1
Hello Andy Shevchenko.

On Wed, 05 Mar 2025 12:55:33 +0200, Andy Shevchenko wrote:
> 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)
> 
> [...]

Applied to wpan/wpan-next.git, thanks!

[1/4] ieee802154: ca8210: Use proper setters and getters for bitwise types
      https://git.kernel.org/wpan/wpan-next/c/169b22622058
[2/4] ieee802154: ca8210: Get platform data via dev_get_platdata()
      https://git.kernel.org/wpan/wpan-next/c/0a3e89b06d36
[3/4] ieee802154: ca8210: Switch to using gpiod API
      https://git.kernel.org/wpan/wpan-next/c/20629a48d50a
[4/4] dt-bindings: ieee802154: ca8210: Update polarity of the reset pin
      https://git.kernel.org/wpan/wpan-next/c/a5d4d993fac4

regards,
Stefan Schmidt