dt-bindings: w1: Convert HDQ One Wire to DT schema
Subsystems (2)
PATCH 1/1 dt-bindings: w1: Convert HDQ One Wire to DT schema
Convert the Texas Instruments OMAP HDQ One Wire bindings to DT schema.
During the conversion, several updates were made to reflect actual hardware usage and resolve dtbs_check warnings:
- 'ti,hwmods' has been made optional.
- Added 'clocks' and 'clock-names' properties as they are used in actual device trees (e.g., am437x-l4.dtsi).
- Added a second example for the AM4372 HDQ controller to demonstrate the clock and interrupt configuration.
--- .../devicetree/bindings/w1/omap-hdq.txt | 22 ------ .../devicetree/bindings/w1/ti,hdq.yaml | 70 +++++++++++++++++++ 2 files changed, 70 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/w1/omap-hdq.txt create mode 100644 Documentation/devicetree/bindings/w1/ti,hdq.yaml
Documentation/devicetree/bindings/w1/omap-hdq.txt deleted +0 -22
@@ -1,22 +0,0 @@ -* OMAP HDQ One wire bus master controller - -Required properties: -- compatible : should be "ti,omap3-1w" or "ti,am4372-hdq" -- reg : Address and length of the register set for the device -- interrupts : interrupt line. -- ti,hwmods : "hdq1w" - -Optional properties: -- ti,mode: should be "hdq": HDQ mode "1w": one-wire mode. - If not specified HDQ mode is implied. - -Example: - -- From omap3.dtsi - hdqw1w: 1w@480b2000 { - compatible = "ti,omap3-1w"; - reg = <0x480b2000 0x1000>; - interrupts = <58>; - ti,hwmods = "hdq1w"; - ti,mode = "hdq"; - };
Documentation/devicetree/bindings/w1/ti,hdq.yaml new file +70 -0
70 lines not on this page · raw message
Signature · 1 line
2.43.0
Quoted 11 lines · Eduard Bostina
Convert the Texas Instruments OMAP HDQ One Wire bindings to DT schema.
During the conversion, several updates were made to reflect actual hardware usage and resolve
dtbs_checkwarnings:
- 'ti,hwmods' has been made optional.
- Added 'clocks' and 'clock-names' properties as they are used in actual device trees (e.g.,am437x-l4.dtsi).
- Added a second example for the AM4372 HDQ controller to demonstrate the clock and interrupt configuration.Signed-off-by Eduard Bostina <[email protected]>
Wearing DT hat:
Best regards,
Krzysztof
Quoted 11 lines · Eduard Bostina
Convert the Texas Instruments OMAP HDQ One Wire bindings to DT schema.
During the conversion, several updates were made to reflect actual hardware usage and resolve
dtbs_checkwarnings:
- 'ti,hwmods' has been made optional.
- Added 'clocks' and 'clock-names' properties as they are used in actual device trees (e.g.,am437x-l4.dtsi).
- Added a second example for the AM4372 HDQ controller to demonstrate the clock and interrupt configuration.[...]
Applied, thanks!
[1/1] dt-bindings: w1: Convert HDQ One Wire to DT schema
https://git.kernel.org/krzk/linux-w1/c/e89bccb295a8880493693e69e091a3668dc0c279
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>