Skip to contentSkip to conversation

dt-bindings: arm: tegra: nvec: Convert to json-schema

PATCH Applied Thierry Reding 2 participants 3 messages Jul 21, 2023 – Jul 25, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dt-bindings: arm: tegra: nvec: Convert to json-schema

From: Thierry Reding <[email protected]>

Convert the NVIDIA embedded controller bindings from the free-form text format to json-schema.

---
Changes in v3:
- rename node to i2c to clarify that it's a repurposed I2C controller
- drop unused #address-cells and #size-cells

Changes in v2:
- drop $ref for standard clock-frequency property
- use 4 spaces for indentation in example
- move to soc/tegra directory

---
 .../bindings/arm/tegra/nvidia,nvec.txt        | 21 -----
 .../bindings/soc/tegra/nvidia,nvec.yaml       | 84 +++++++++++++++++++
 2 files changed, 84 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,nvec.txt
 create mode 100644 Documentation/devicetree/bindings/soc/tegra/nvidia,nvec.yaml
Documentation/devicetree/bindings/arm/tegra/nvidia,nvec.txt deleted +0 -21
deleted file mode 100644
index 5ae601e7f51f..000000000000
@@ -1,21 +0,0 @@
-NVIDIA compliant embedded controller
-
-Required properties:
-- compatible : should be "nvidia,nvec".
-- reg : the iomem of the i2c slave controller
-- interrupts : the interrupt line of the i2c slave controller
-- clock-frequency : the frequency of the i2c bus
-- gpios : the gpio used for ec request
-- slave-addr: the i2c address of the slave controller
-- clocks : Must contain an entry for each entry in clock-names.
-  See ../clocks/clock-bindings.txt for details.
-- clock-names : Must include the following entries:
-  Tegra20/Tegra30:
-  - div-clk
-  - fast-clk
-  Tegra114:
-  - div-clk
-- resets : Must contain an entry for each entry in reset-names.
-  See ../reset/reset.txt for details.
-- reset-names : Must include the following entries:
-  - i2c
Documentation/devicetree/bindings/soc/tegra/nvidia,nvec.yaml new file +84 -0

84 lines not on this page · raw message

Signature · 1 line
2.41.0
maintainer Reviewed-by on v3 1/1
#1 lore raw
Quoted 16 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Convert the NVIDIA embedded controller bindings from the free-form text format to json-schema.

---
Changes in v3:
- rename node to i2c to clarify that it's a repurposed I2C controller
- drop unused #address-cells and #size-cells

Changes in v2:
- drop $ref for standard clock-frequency property
- use 4 spaces for indentation in example
- move to soc/tegra directory

Quoted 7 lines
---
 .../bindings/arm/tegra/nvidia,nvec.txt        | 21 -----
 .../bindings/soc/tegra/nvidia,nvec.yaml       | 84 +++++++++++++++++++
 2 files changed, 84 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,nvec.txt
 create mode 100644 Documentation/devicetree/bindings/soc/tegra/nvidia,nvec.yaml
author Applied
#2 lore raw
In reply to Thierry Reding

From: Thierry Reding <[email protected]>

Quoted 4 lines · Thierry Reding

Convert the NVIDIA embedded controller bindings from the free-form text format to json-schema.

Applied, thanks!

[1/1] dt-bindings: arm: tegra: nvec: Convert to json-schema

      commit: 436ebd32b02568378eb694f97f5c1c2fa8c984c8

Best regards,

Signature · 1 line
Thierry Reding <[email protected]>