Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] dt-bindings: usb: richtek,rt1711h: remove .txt binding and fix schema
@ 2026-05-18 16:20 Akash Sukhavasi
  2026-05-18 16:20 ` [PATCH v2 1/2] dt-bindings: usb: richtek,rt1711h: remove deprecated .txt file Akash Sukhavasi
  2026-05-18 16:20 ` [PATCH v2 2/2] dt-bindings: usb: richtek,rt1711h: add missing 'port' property Akash Sukhavasi
  0 siblings, 2 replies; 9+ messages in thread
From: Akash Sukhavasi @ 2026-05-18 16:20 UTC (permalink / raw)
  To: krzk+dt
  Cc: robh, conor+dt, gregkh, gene_chen, linux-usb, devicetree,
	linux-kernel

The richtek,rt1711h binding has a legacy plain-text file that was
superseded by the YAML schema. Remove it.

The YAML schema also declares 'additionalProperties: false' but
omits the top-level 'port' property used by hi3660-hikey960.dts
to describe the role-switch graph endpoint, causing dtbs_check
to emit:

  hi3660-hikey960.dtb: rt1711h@4e (richtek,rt1711h): 'port' does
  not match any of the regexes: '^pinctrl-[0-9]+$'

Add the missing property referencing /schemas/graph.yaml.

A separate dtbs_check warning on the same node is out of scope
for this series:

  hi3660-hikey960.dtb: rt1711h@4e (richtek,rt1711h):
  connector:ports: 'port@0' is a required property

That one is in the connector subnode and is governed by
usb-connector.yaml, not this binding.

---
Changes in v2:
- Patch 1: No changes.
- Patch 2: Fix port node indentation in example; port is now correctly
  placed as a sibling of connector under rt1711h@4e.

v1: https://lore.kernel.org/all/20260518142901.1747-1-akash.sukhavasi@gmail.com/
 
Akash Sukhavasi (2):
  dt-bindings: usb: richtek,rt1711h: remove deprecated .txt file
  dt-bindings: usb: richtek,rt1711h: add missing 'port' property

 .../bindings/usb/richtek,rt1711h.txt          | 44 -------------------
 .../bindings/usb/richtek,rt1711h.yaml         | 13 ++++++
 2 files changed, 13 insertions(+), 44 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/usb/richtek,rt1711h.txt

-- 
2.54.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-05-20  7:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-18 16:20 [PATCH v2 0/2] dt-bindings: usb: richtek,rt1711h: remove .txt binding and fix schema Akash Sukhavasi
2026-05-18 16:20 ` [PATCH v2 1/2] dt-bindings: usb: richtek,rt1711h: remove deprecated .txt file Akash Sukhavasi
2026-05-19  7:53   ` Krzysztof Kozlowski
2026-05-18 16:20 ` [PATCH v2 2/2] dt-bindings: usb: richtek,rt1711h: add missing 'port' property Akash Sukhavasi
2026-05-18 16:44   ` sashiko-bot
2026-05-18 22:53     ` Akash Sukhavasi
2026-05-19  8:08   ` Krzysztof Kozlowski
2026-05-20  4:53     ` Akash Sukhavasi
2026-05-20  7:33       ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox