dt-bindings: fix issues seen during STM32 DT validation
Subsystems (6)
cover dt-bindings: fix issues seen during STM32 DT validation
This series updates yaml files to clean some issues seen during STM32 device trees validation.
Alexandre Torgue (3):
dt-bindings: arm: stm32: Add missing STM32 boards
dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field
dt-bindings: usb: generic-ehci: Add "companion" entry
.../devicetree/bindings/arm/stm32/stm32.yaml | 27 ++++++++++++++++--- .../bindings/pinctrl/st,stm32-pinctrl.yaml | 7 +++-- .../devicetree/bindings/usb/generic-ehci.yaml | 5 ++++ 3 files changed, 31 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/3 dt-bindings: arm: stm32: Add missing STM32 boards
This commit documents missing STM32 boards:
-STM32MCU: F429 disco/eval, F469-disco, F746 disco/eval, F769 disco, H743 disco/eval.
-STM32MPU: MP157 dk1/dk2/ed1/ev1.
Documentation/devicetree/bindings/arm/stm32/stm32.yaml +23 -4
@@ -13,19 +13,38 @@ properties: compatible: oneOf: - items: + - enum: + - st,stm32f429i-disco + - st,stm32429i-eval - const: st,stm32f429 - - items: + - enum: + - st,stm32f469i-disco - const: st,stm32f469 - - items: + - enum: + - st,stm32f746-disco + - st,stm32746g-eval - const: st,stm32f746 - - items: + - enum: + - st,stm32f769-disco + - const: st,stm32f769 + - items: + - enum: + - st,stm32h743i-disco + - st,stm32h743i-eval - const: st,stm32h743 - - items: - enum: - arrow,stm32mp157a-avenger96 # Avenger96 + - st,stm32mp157c-ed1 + - st,stm32mp157a-dk1 + - st,stm32mp157c-dk2 + + - const: st,stm32mp157 + - items: + - const: st,stm32mp157c-ev1 + - const: st,stm32mp157c-ed1 - const: st,stm32mp157 ...
Signature · 1 line
2.17.1
Re: [PATCH 1/3] dt-bindings: arm: stm32: Add missing STM32 boards
Quoted 9 lines · Alexandre Torgue
This commit documents missing STM32 boards:
-STM32MCU: F429 disco/eval, F469-disco, F746 disco/eval, F769 disco, H743 disco/eval.
-STM32MPU: MP157 dk1/dk2/ed1/ev1.
Signed-off-by Alexandre Torgue <[email protected]>
Applied, thanks.
Rob
PATCH 2/3 dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field
In reply to Alexandre TorgueAs there is only one item "st,syscfg" this commit moves phandle description fields under "description" tag. It'll fix a validation issue seen during stm32 DT check.
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +3 -4
@@ -40,10 +40,9 @@ properties: allOf: - $ref: "/schemas/types.yaml#/definitions/phandle-array" description: Should be phandle/offset/mask - items: - - description: Phandle to the syscon node which includes IRQ mux selection. - - description: The offset of the IRQ mux selection register. - - description: The field mask of IRQ mux, needed if different of 0xf. + - Phandle to the syscon node which includes IRQ mux selection. + - The offset of the IRQ mux selection register. + - The field mask of IRQ mux, needed if different of 0xf. st,package: allOf:
Signature · 1 line
2.17.1
Re: [PATCH 2/3] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field
Quoted 6 lines · Alexandre Torgue
As there is only one item "st,syscfg" this commit moves phandle description fields under "description" tag. It'll fix a validation issue seen during stm32 DT check.
Signed-off-by Alexandre Torgue <[email protected]>
Applied, thanks.
Rob
PATCH 3/3 dt-bindings: usb: generic-ehci: Add "companion" entry
In reply to Alexandre Torgue"companion" entry is present in "generic.txt" usb binding file. This commit adds it also in generic-ehci yaml binding.
Documentation/devicetree/bindings/usb/generic-ehci.yaml +5 -0
@@ -63,6 +63,11 @@ properties: description: Set this flag to force EHCI reset after resume. + companion: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: + Phandle of a companion. + phys: true required:
Signature · 1 line
2.17.1
Re: [PATCH 3/3] dt-bindings: usb: generic-ehci: Add "companion" entry
Quoted 5 lines · Alexandre Torgue
"companion" entry is present in "generic.txt" usb binding file. This commit adds it also in generic-ehci yaml binding.
Signed-off-by Alexandre Torgue <[email protected]>
Applied, thanks.
Rob