From 3202dc1a87740b756e511ef587afbbfd5df5eeca Mon Sep 17 00:00:00 2001 From: Maciej Zagrabski Date: Tue, 29 Mar 2022 12:53:00 +0200 Subject: [PATCH] dts/bindings: stm32-otg: Set pinctrl-[0/names] properties as required Follow up on commit 37bf7cb ("dts/bindings: stm32: Set pinctrl-[0/names] properties as required") Report lack of those fields soon at build to avoid cryptic DT api build error messages. Signed-off-by: Maciej Zagrabski --- dts/bindings/usb/st,stm32-otgfs.yaml | 6 ++++++ dts/bindings/usb/st,stm32-otghs.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/dts/bindings/usb/st,stm32-otgfs.yaml b/dts/bindings/usb/st,stm32-otgfs.yaml index 4f46a8d4a30..f4e425653f9 100644 --- a/dts/bindings/usb/st,stm32-otgfs.yaml +++ b/dts/bindings/usb/st,stm32-otgfs.yaml @@ -14,6 +14,12 @@ properties: interrupts: required: true + pinctrl-0: + required: true + + pinctrl-names: + required: true + ram-size: type: int required: true diff --git a/dts/bindings/usb/st,stm32-otghs.yaml b/dts/bindings/usb/st,stm32-otghs.yaml index ea857222d85..a151a38e948 100644 --- a/dts/bindings/usb/st,stm32-otghs.yaml +++ b/dts/bindings/usb/st,stm32-otghs.yaml @@ -14,6 +14,12 @@ properties: interrupts: required: true + pinctrl-0: + required: true + + pinctrl-names: + required: true + ram-size: type: int required: true