mbox series

[v3,0/4] dt-bindings: reset: convert Hisilicon reset controller bindings to json-schema

Message ID 20201208124641.1787-1-thunder.leizhen@huawei.com
Headers show
Series dt-bindings: reset: convert Hisilicon reset controller bindings to json-schema | expand

Message

Zhen Lei Dec. 8, 2020, 12:46 p.m. UTC
v2 --> v3:
1. Keep device tree patches and reset driver patch separate, as they were in v1.
   That is, revert v2.
2. When the new compatible match failed, fall back to the deprecated compatible.
3. Fix a typo, correct "hi3660,rst-syscon" to "hisilicon,rst-syscon".

v1 --> v2:
Merge the driver and DT modification(correct vendor prefix hisi to hisilicon) into one patch.

v1:
Patch 1-3 change the vendor prefix from "hisi" to "hisilicon", to eliminate below warnings:
  crg_rst_controller: 'hisi,rst-syscon' does not match any of the regexes: '^#.*', ... , '^hisilicon,.*', ...
  From schema: /root/leizhen/linux-next/Documentation/devicetree/bindings/vendor-prefixes.yaml

Patch 4 does the json-schema conversion.


Zhen Lei (4):
  reset: hisilicon: correct vendor prefix
  arm64: dts: correct vendor prefix hisi to hisilicon
  dt-bindings: reset: correct vendor prefix hisi to hisilicon
  dt-bindings: reset: convert Hisilicon reset controller bindings to
    json-schema

 .../bindings/reset/hisilicon,hi3660-reset.txt      | 44 -------------
 .../bindings/reset/hisilicon,hi3660-reset.yaml     | 77 ++++++++++++++++++++++
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi          |  4 +-
 arch/arm64/boot/dts/hisilicon/hi3670.dtsi          |  2 +-
 drivers/reset/hisilicon/reset-hi3660.c             |  9 ++-
 5 files changed, 87 insertions(+), 49 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt
 create mode 100644 Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml

-- 
1.8.3

Comments

Philipp Zabel Dec. 10, 2020, 3:06 p.m. UTC | #1
On Tue, 2020-12-08 at 20:46 +0800, Zhen Lei wrote:
> v2 --> v3:

> 1. Keep device tree patches and reset driver patch separate, as they were in v1.

>    That is, revert v2.

> 2. When the new compatible match failed, fall back to the deprecated compatible.

> 3. Fix a typo, correct "hi3660,rst-syscon" to "hisilicon,rst-syscon".

> 

> v1 --> v2:

> Merge the driver and DT modification(correct vendor prefix hisi to hisilicon) into one patch.

> 

> v1:

> Patch 1-3 change the vendor prefix from "hisi" to "hisilicon", to eliminate below warnings:

>   crg_rst_controller: 'hisi,rst-syscon' does not match any of the regexes: '^#.*', ... , '^hisilicon,.*', ...

>   From schema: /root/leizhen/linux-next/Documentation/devicetree/bindings/vendor-prefixes.yaml

> 

> Patch 4 does the json-schema conversion.


Thank you, I've applied patches 1, 3, and 4 to the reset/next branch.

regards
Philipp