Skip to contentSkip to conversation

dt-bindings: display: verisilicon,dc: make resets non-optional

PATCH Applied Icenowy Zheng 2 participants 2 messages Jul 2

Subsystems (4)
lore
Share & tools
lore

Icenowy Zheng

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: display: verisilicon,dc: make resets non-optional

The only variant supported by the binding now, the DC8200 controller on T-Head TH1520, requires three reset lines.

Add the reset properties to the required list to clarify this. The in-tree th1520.dtsi file isn't affected by this change because the reset lines are already populated there.

The driver still considers the resets optional, so if another variant with no reset line appears, only the binding needs tweaking.

---
Changes in v2:
- Fixed wrong reset line count of TH1520 in the commit message (Thanks to Sashiko).
- Added Conor's R-b.

 Documentation/devicetree/bindings/display/verisilicon,dc.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/verisilicon,dc.yaml +2 -0
index 9dc35ab973f20..919a900122012 100644
@@ -75,6 +75,8 @@ required:
   - interrupts
   - clocks
   - clock-names
+  - resets
+  - reset-names
   - ports
 
 additionalProperties: false
Signature · 1 line
2.52.0
maintainer Applied
#1 lore raw
Quoted 12 lines · Icenowy Zheng

The only variant supported by the binding now, the DC8200 controller on T-Head TH1520, requires three reset lines.

Add the reset properties to the required list to clarify this. The in-tree th1520.dtsi file isn't affected by this change because the reset lines are already populated there.

The driver still considers the resets optional, so if another variant with no reset line appears, only the binding needs tweaking.

Quoted 9 lines

---
Changes in v2:
- Fixed wrong reset line count of TH1520 in the commit message (Thanks to Sashiko).
- Added Conor's R-b.

 Documentation/devicetree/bindings/display/verisilicon,dc.yaml | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks!