Commit ebc4969a authored by Nícolas F. R. A. Prado's avatar Nícolas F. R. A. Prado Committed by Greg Kroah-Hartman

dt-bindings: usb: mtk-xhci: Make all clocks required

All of the clocks listed in the binding are always wired to the XHCI
controller hardware blocks on all SoCs. The reason some clocks were made
optional in the binding was to account for the fact that depending on
the SoC, some of the clocks might be fixed (ie not controlled by
software).

Given that the devicetree should represent the hardware, make all clocks
required in the binding. Subsequent patches will make the DTS changes to
specify fixed-clocks for the clocks that aren't controllable.
Signed-off-by: default avatarNícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220623193702.817996-3-nfraprado@collabora.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b2c510ff
...@@ -67,7 +67,6 @@ properties: ...@@ -67,7 +67,6 @@ properties:
maxItems: 1 maxItems: 1
clocks: clocks:
minItems: 1
items: items:
- description: Controller clock used by normal mode - description: Controller clock used by normal mode
- description: Reference clock used by low power mode etc - description: Reference clock used by low power mode etc
...@@ -76,9 +75,8 @@ properties: ...@@ -76,9 +75,8 @@ properties:
- description: controller clock - description: controller clock
clock-names: clock-names:
minItems: 1
items: items:
- const: sys_ck # required, the following ones are optional - const: sys_ck
- const: ref_ck - const: ref_ck
- const: mcu_ck - const: mcu_ck
- const: dma_ck - const: dma_ck
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment