mbox series

[v3,0/1] Fix dwapb gpio snps,nr-gpios property handling

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

Message

Damien Le Moal Nov. 26, 2020, 1:47 a.m. UTC
A single patch to fix handling of the "snps,nr-gpios" property of the
Synopsis DW apb gpio controller. Parsing of this deprecated property
triggers a device tree parsing error in of_link_to_suppliers().

This patch is extracted from the series "RISC-V Kendryte K210
support improvements".

Changes from v2:
* Move the warning about the use of the deprecated property name from
  the dwapb gpio driver initialization into the OF property parsing
  code as suggested by Serge. This removes the second patch that was
  in v2 of the series.

Changes from v1:
* Extracted the patches from the series "RISC-V Kendryte K210 support
  improvements".
* Added a warning about the use of the deprecated property name in the
  dwapb gpio driver initialization

Damien Le Moal (1):
  of: Fix gpios supplier parsing

 drivers/of/property.c | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)