* [PATCH 1/3] dt-bindings: arm: stm32: Add missing STM32 boards
2019-10-07 13:44 [PATCH 0/3] dt-bindings: fix issues seen during STM32 DT validation Alexandre Torgue
@ 2019-10-07 13:44 ` Alexandre Torgue
2019-10-15 17:21 ` Rob Herring
2019-10-07 13:44 ` [PATCH 2/3] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field Alexandre Torgue
2019-10-07 13:44 ` [PATCH 3/3] dt-bindings: usb: generic-ehci: Add "companion" entry Alexandre Torgue
2 siblings, 1 reply; 7+ messages in thread
From: Alexandre Torgue @ 2019-10-07 13:44 UTC (permalink / raw)
To: Maxime Coquelin, Rob Herring, Mark Rutland, Linus Walleij,
Greg Kroah-Hartman
Cc: devicetree, linux-arm-kernel, linux-kernel, Alexandre Torgue,
linux-stm32, Manivannan Sadhasivam, linux-gpio, linux-usb
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 <alexandre.torgue@st.com>
diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
index 4d194f1eb03a..1fcf306bd2d1 100644
--- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
@@ -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
...
--
2.17.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] dt-bindings: arm: stm32: Add missing STM32 boards
2019-10-07 13:44 ` [PATCH 1/3] dt-bindings: arm: stm32: Add missing STM32 boards Alexandre Torgue
@ 2019-10-15 17:21 ` Rob Herring
0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2019-10-15 17:21 UTC (permalink / raw)
To: Alexandre Torgue
Cc: Maxime Coquelin, Rob Herring, Mark Rutland, Linus Walleij,
Greg Kroah-Hartman, devicetree, linux-arm-kernel, linux-kernel,
Alexandre Torgue, linux-stm32, Manivannan Sadhasivam, linux-gpio,
linux-usb
On Mon, 7 Oct 2019 15:44:08 +0200, Alexandre Torgue wrote:
> 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 <alexandre.torgue@st.com>
>
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field
2019-10-07 13:44 [PATCH 0/3] dt-bindings: fix issues seen during STM32 DT validation Alexandre Torgue
2019-10-07 13:44 ` [PATCH 1/3] dt-bindings: arm: stm32: Add missing STM32 boards Alexandre Torgue
@ 2019-10-07 13:44 ` Alexandre Torgue
2019-10-15 17:22 ` Rob Herring
2019-10-07 13:44 ` [PATCH 3/3] dt-bindings: usb: generic-ehci: Add "companion" entry Alexandre Torgue
2 siblings, 1 reply; 7+ messages in thread
From: Alexandre Torgue @ 2019-10-07 13:44 UTC (permalink / raw)
To: Maxime Coquelin, Rob Herring, Mark Rutland, Linus Walleij,
Greg Kroah-Hartman
Cc: devicetree, linux-arm-kernel, linux-kernel, Alexandre Torgue,
linux-stm32, Manivannan Sadhasivam, linux-gpio, linux-usb
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 <alexandre.torgue@st.com>
diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
index 400df2da018a..754ea7ab040a 100644
--- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
@@ -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:
--
2.17.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/3] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field
2019-10-07 13:44 ` [PATCH 2/3] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field Alexandre Torgue
@ 2019-10-15 17:22 ` Rob Herring
0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2019-10-15 17:22 UTC (permalink / raw)
To: Alexandre Torgue
Cc: Maxime Coquelin, Rob Herring, Mark Rutland, Linus Walleij,
Greg Kroah-Hartman, devicetree, linux-arm-kernel, linux-kernel,
Alexandre Torgue, linux-stm32, Manivannan Sadhasivam, linux-gpio,
linux-usb
On Mon, 7 Oct 2019 15:44:09 +0200, Alexandre Torgue wrote:
> 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 <alexandre.torgue@st.com>
>
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/3] dt-bindings: usb: generic-ehci: Add "companion" entry
2019-10-07 13:44 [PATCH 0/3] dt-bindings: fix issues seen during STM32 DT validation Alexandre Torgue
2019-10-07 13:44 ` [PATCH 1/3] dt-bindings: arm: stm32: Add missing STM32 boards Alexandre Torgue
2019-10-07 13:44 ` [PATCH 2/3] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field Alexandre Torgue
@ 2019-10-07 13:44 ` Alexandre Torgue
2019-10-15 17:24 ` Rob Herring
2 siblings, 1 reply; 7+ messages in thread
From: Alexandre Torgue @ 2019-10-07 13:44 UTC (permalink / raw)
To: Maxime Coquelin, Rob Herring, Mark Rutland, Linus Walleij,
Greg Kroah-Hartman
Cc: devicetree, linux-arm-kernel, linux-kernel, Alexandre Torgue,
linux-stm32, Manivannan Sadhasivam, linux-gpio, linux-usb
"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 <alexandre.torgue@st.com>
diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
index 059f6ef1ad4a..f89897fe2df6 100644
--- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
@@ -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:
--
2.17.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] dt-bindings: usb: generic-ehci: Add "companion" entry
2019-10-07 13:44 ` [PATCH 3/3] dt-bindings: usb: generic-ehci: Add "companion" entry Alexandre Torgue
@ 2019-10-15 17:24 ` Rob Herring
0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2019-10-15 17:24 UTC (permalink / raw)
To: Alexandre Torgue
Cc: Maxime Coquelin, Rob Herring, Mark Rutland, Linus Walleij,
Greg Kroah-Hartman, devicetree, linux-arm-kernel, linux-kernel,
Alexandre Torgue, linux-stm32, Manivannan Sadhasivam, linux-gpio,
linux-usb
On Mon, 7 Oct 2019 15:44:10 +0200, Alexandre Torgue wrote:
> "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 <alexandre.torgue@st.com>
>
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 7+ messages in thread