From 691322a495de5f48167b3355a97e5f5146e16ab4 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Tue, 3 Jan 2023 19:30:11 +0000 Subject: [PATCH] dts: bindings: drop remaining "required: false" from bindings Drop the remaining "required: false" from the bindings, make CI happy. Signed-off-by: Fabio Baltieri --- dts/bindings/base/pm.yaml | 2 -- dts/bindings/base/power.yaml | 2 -- dts/bindings/base/zephyr,memory-region.yaml | 1 - dts/bindings/clock/microchip,xec-pcr.yaml | 5 ----- dts/bindings/dma/dma-controller.yaml | 2 -- dts/bindings/gpio/silabs,gecko-gpio-port.yaml | 1 - dts/bindings/led/microchip,xec-bbled.yaml | 6 ------ dts/bindings/phy/usb-ulpi-phy.yaml | 1 - dts/bindings/pinctrl/microchip,xec-pinctrl.yaml | 1 - dts/bindings/sensor/hzgrow,r502a.yaml | 2 -- dts/bindings/serial/nxp,kinetis-lpuart.yaml | 2 -- dts/bindings/serial/silabs,gecko-usart.yaml | 1 - dts/bindings/serial/zephyr,cdc-acm-uart.yaml | 2 -- dts/bindings/spi/nxp,s32-spi.yaml | 4 ---- dts/bindings/usb/maxim,max3421e_spi.yaml | 1 - .../dts/bindings/test-power-states-api.yaml | 1 - 16 files changed, 34 deletions(-) diff --git a/dts/bindings/base/pm.yaml b/dts/bindings/base/pm.yaml index 1926640d9a2..7caa774bc02 100644 --- a/dts/bindings/base/pm.yaml +++ b/dts/bindings/base/pm.yaml @@ -5,7 +5,6 @@ properties: wakeup-source: - required: false type: boolean description: | Property to identify that a device can be used as wake up source. @@ -18,7 +17,6 @@ properties: the system) by default but they can be enabled at runtime if necessary. power-domain: - required: false type: phandle description: | diff --git a/dts/bindings/base/power.yaml b/dts/bindings/base/power.yaml index 80af26b24df..1091257f204 100644 --- a/dts/bindings/base/power.yaml +++ b/dts/bindings/base/power.yaml @@ -6,7 +6,6 @@ properties: supply-gpios: type: phandle-array - required: false description: | GPIO specifier that controls power to the device. @@ -18,7 +17,6 @@ properties: vin-supply: type: phandle - required: false description: | Reference to the regulator that controls power to the device. The referenced devicetree node must have a regulator compatible. diff --git a/dts/bindings/base/zephyr,memory-region.yaml b/dts/bindings/base/zephyr,memory-region.yaml index bfc1dfee238..a24cd7cd0a9 100644 --- a/dts/bindings/base/zephyr,memory-region.yaml +++ b/dts/bindings/base/zephyr,memory-region.yaml @@ -19,7 +19,6 @@ properties: zephyr,memory-region-mpu: type: string - required: false enum: - "RAM" - "RAM_NOCACHE" diff --git a/dts/bindings/clock/microchip,xec-pcr.yaml b/dts/bindings/clock/microchip,xec-pcr.yaml index 5bfbcd9b44a..2bd974400f2 100644 --- a/dts/bindings/clock/microchip,xec-pcr.yaml +++ b/dts/bindings/clock/microchip,xec-pcr.yaml @@ -11,9 +11,6 @@ properties: reg: required: true - interrupts: - required: false - core-clock-div: type: int required: true @@ -81,12 +78,10 @@ properties: clkmon-bypass: type: boolean - required: false description: Bypass clkmon check of crystal or XTAL2 single-ended clock. internal-osc-disable: type: boolean - required: false description: | If the internal silicon 32KHz oscillator is not chosen as the source for PLL and Periheral devices then disable the internal 32KHz diff --git a/dts/bindings/dma/dma-controller.yaml b/dts/bindings/dma/dma-controller.yaml index f3ae84c68b3..7df822886b1 100644 --- a/dts/bindings/dma/dma-controller.yaml +++ b/dts/bindings/dma/dma-controller.yaml @@ -34,10 +34,8 @@ properties: dma-buf-size-alignment: type: int - required: false description: Memory size alignment requirement for DMA buffers used by the controller. dma-copy-alignment: type: int - required: false description: Minimal chunk of data possible to be copied by the controller. diff --git a/dts/bindings/gpio/silabs,gecko-gpio-port.yaml b/dts/bindings/gpio/silabs,gecko-gpio-port.yaml index e53ef5c8a42..3551f4df1ff 100644 --- a/dts/bindings/gpio/silabs,gecko-gpio-port.yaml +++ b/dts/bindings/gpio/silabs,gecko-gpio-port.yaml @@ -10,7 +10,6 @@ properties: peripheral-id: type: int - required: false description: peripheral ID "#gpio-cells": diff --git a/dts/bindings/led/microchip,xec-bbled.yaml b/dts/bindings/led/microchip,xec-bbled.yaml index fc883e0552f..8275fe4be4b 100644 --- a/dts/bindings/led/microchip,xec-bbled.yaml +++ b/dts/bindings/led/microchip,xec-bbled.yaml @@ -14,12 +14,6 @@ properties: interrupts: required: true - pinctrl-0: - required: false - - pinctrl-names: - required: false - girqs: type: array required: true diff --git a/dts/bindings/phy/usb-ulpi-phy.yaml b/dts/bindings/phy/usb-ulpi-phy.yaml index e9c55ad41e1..0677c362245 100644 --- a/dts/bindings/phy/usb-ulpi-phy.yaml +++ b/dts/bindings/phy/usb-ulpi-phy.yaml @@ -15,6 +15,5 @@ properties: reset-gpios: type: phandle-array - required: false description: | GPIO connected to the ulpi RESET pin. diff --git a/dts/bindings/pinctrl/microchip,xec-pinctrl.yaml b/dts/bindings/pinctrl/microchip,xec-pinctrl.yaml index 1b35c5f186a..36a714bacf2 100644 --- a/dts/bindings/pinctrl/microchip,xec-pinctrl.yaml +++ b/dts/bindings/pinctrl/microchip,xec-pinctrl.yaml @@ -119,7 +119,6 @@ child-binding: pin's PIO type and default drive strength. microchip,output-func-invert: - required: false type: boolean description: Invert polarity of an output alternate function. Input functions diff --git a/dts/bindings/sensor/hzgrow,r502a.yaml b/dts/bindings/sensor/hzgrow,r502a.yaml index f519b70ef39..7ef727e896d 100644 --- a/dts/bindings/sensor/hzgrow,r502a.yaml +++ b/dts/bindings/sensor/hzgrow,r502a.yaml @@ -18,11 +18,9 @@ properties: It is used to trigger a fingerprint enroll or match operations. vin-gpios: type: phandle-array - required: false description: | Voltage input pin to the fingerprint sensor. act-gpios: type: phandle-array - required: false description: | Finger detection power pin to detect the presence of finger. diff --git a/dts/bindings/serial/nxp,kinetis-lpuart.yaml b/dts/bindings/serial/nxp,kinetis-lpuart.yaml index 1ecc17663c5..8fbf2f2bd22 100644 --- a/dts/bindings/serial/nxp,kinetis-lpuart.yaml +++ b/dts/bindings/serial/nxp,kinetis-lpuart.yaml @@ -20,7 +20,6 @@ properties: nxp,rs485-mode: type: boolean - required: false description: | Set to enable RTS signal, which can be used to enable the driver of an external RS-485 transceiver. Note hw-flow-control should be @@ -28,5 +27,4 @@ properties: nxp,rs485-de-active-low: type: boolean - required: false description: RTS polarity at RS485 mode. diff --git a/dts/bindings/serial/silabs,gecko-usart.yaml b/dts/bindings/serial/silabs,gecko-usart.yaml index 2d2709f4d85..14d0fad61bd 100644 --- a/dts/bindings/serial/silabs,gecko-usart.yaml +++ b/dts/bindings/serial/silabs,gecko-usart.yaml @@ -13,7 +13,6 @@ properties: peripheral-id: type: int - required: false description: peripheral ID # Note: Not all SoC series support setting individual pin location. If this diff --git a/dts/bindings/serial/zephyr,cdc-acm-uart.yaml b/dts/bindings/serial/zephyr,cdc-acm-uart.yaml index 73ee5adcd31..8e0a0030978 100644 --- a/dts/bindings/serial/zephyr,cdc-acm-uart.yaml +++ b/dts/bindings/serial/zephyr,cdc-acm-uart.yaml @@ -15,11 +15,9 @@ properties: default: 1024 description: | Size of the virtual CDC ACM UART TX FIFO - required: false rx-fifo-size: type: int default: 1024 description: | Size of the virtual CDC ACM UART RX FIFO - required: false diff --git a/dts/bindings/spi/nxp,s32-spi.yaml b/dts/bindings/spi/nxp,s32-spi.yaml index 908c7893d38..722b3add3db 100644 --- a/dts/bindings/spi/nxp,s32-spi.yaml +++ b/dts/bindings/spi/nxp,s32-spi.yaml @@ -34,13 +34,11 @@ properties: slave: type: boolean - required: false description: | Select if the SPI module is intended to be used in slave mode. spi-sck-cs-delay: type: int - required: false description: | A delay in nanoseconds between the stop of clock signal and deactivating Chip Select at the stop of transfer. If CS remains @@ -51,7 +49,6 @@ properties: spi-cs-sck-delay: type: int - required: false description: | A delay in nanoseconds between activating Chip Select and the start of clock signal at the start of transfer. If CS remains asserted @@ -62,7 +59,6 @@ properties: spi-cs-cs-delay: type: int - required: false description: | A delay in nanoseconds between deactivating Chip Select at the stop of previous transfer and activating Chip Select at the start of diff --git a/dts/bindings/usb/maxim,max3421e_spi.yaml b/dts/bindings/usb/maxim,max3421e_spi.yaml index 6e72f3498dc..0da6a7b7991 100644 --- a/dts/bindings/usb/maxim,max3421e_spi.yaml +++ b/dts/bindings/usb/maxim,max3421e_spi.yaml @@ -19,7 +19,6 @@ properties: reset-gpios: type: phandle-array - required: false description: | RESET pin of MAX3421E, active low. If connected directly the MCU pin should be configured diff --git a/tests/subsys/pm/power_states_api/dts/bindings/test-power-states-api.yaml b/tests/subsys/pm/power_states_api/dts/bindings/test-power-states-api.yaml index e8dd546b047..de43a1514b0 100644 --- a/tests/subsys/pm/power_states_api/dts/bindings/test-power-states-api.yaml +++ b/tests/subsys/pm/power_states_api/dts/bindings/test-power-states-api.yaml @@ -10,5 +10,4 @@ compatible: "test-power-states-api" properties: cpu-power-states: type: phandles - required: false description: List of power management states supported by this cpu.