mbox series

[v2,0/2] Fix dwapb gpio snps,nr-gpios property handling

Message ID 20201119060921.311747-1-damien.lemoal@wdc.com
Headers show
Series Fix dwapb gpio snps,nr-gpios property handling | expand


Damien Le Moal Nov. 19, 2020, 6:09 a.m. UTC
Two patches in this series to fix handling of the "snps,nr-gpios"
property of the Synopsis DW apb gpio controller. Parsing of this
deprecated property triggers an device tree parsing error in
of_link_to_suppliers(). This is fixed in patch 1.

Patch 2 adds a warning message in the dwapb gpio driver to signal that a
device tree still uses this deprecated property.

The first patch is extracted from the series "RISC-V Kendryte K210
support improvments".

Damien Le Moal (2):
  of: Fix property supplier parsing
  gpio: dwapb: warn about deprecated property use

 drivers/gpio/gpio-dwapb.c | 14 +++++++++++---
 drivers/of/property.c     | 16 +++++++++++++++-
 2 files changed, 26 insertions(+), 4 deletions(-)