On Fri, 17 Dec 2021 18:05:03 +0100, Thierry Reding wrote: > From: Thierry Reding <treding@xxxxxxxxxx> > > Convert the generic PWM regulator bindings from the free-form text > format to json-schema. > > Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> > --- > .../bindings/regulator/pwm-regulator.txt | 92 ------------- > .../bindings/regulator/pwm-regulator.yaml | 121 ++++++++++++++++++ > 2 files changed, 121 insertions(+), 92 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/regulator/pwm-regulator.txt > create mode 100644 Documentation/devicetree/bindings/regulator/pwm-regulator.yaml > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/patch/1570214 ppvar-bigcpu-pwm: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-dumo.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-kd.dt.yaml ppvar-centerlogic-pwm: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dt.yaml ppvar-gpu-pwm: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-dumo.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-kd.dt.yaml ppvar-litcpu-pwm: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-dumo.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-kd.dt.yaml pwm-regulator: 'max-duty-cycle', 'regulator-always-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/stih407-b2120.dt.yaml arch/arm/boot/dts/stih410-b2120.dt.yaml arch/arm/boot/dts/stih410-b2260.dt.yaml arch/arm/boot/dts/stih418-b2199.dt.yaml arch/arm/boot/dts/stih418-b2264.dt.yaml regulator-vcck: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/meson8b-ec100.dt.yaml arch/arm/boot/dts/meson8b-mxq.dt.yaml arch/arm/boot/dts/meson8b-odroidc1.dt.yaml regulator-vddcpu-a: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-s922x-khadas-vim3.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dt.yaml regulator-vddcpu-b: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-s922x-khadas-vim3.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dt.yaml regulator-vddcpu: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12a-u200.dt.yaml arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dt.yaml arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dt.yaml arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dt.yaml arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dt.yaml arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dt.yaml arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dt.yaml regulator-vddcpu: 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dt.yaml regulator-vddee: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/meson8b-ec100.dt.yaml arch/arm/boot/dts/meson8b-mxq.dt.yaml arch/arm/boot/dts/meson8b-odroidc1.dt.yaml vdd-arm: 'regulator-always-on', 'regulator-boot-on', 'regulator-settling-time-up-us' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dt.yaml vdd-arm-regulator: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/rk3229-evb.dt.yaml arch/arm/boot/dts/rk3229-xms6.dt.yaml vdd-center: 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml vdd-core: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on', 'regulator-init-microvolt', 'regulator-settling-time-up-us' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dt.yaml vdd-core: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on', 'regulator-settling-time-up-us' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3308-evb.dt.yaml vdd-logic: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/rk3288-veyron-brain.dt.yaml arch/arm/boot/dts/rk3288-veyron-fievel.dt.yaml arch/arm/boot/dts/rk3288-veyron-jaq.dt.yaml arch/arm/boot/dts/rk3288-veyron-jerry.dt.yaml arch/arm/boot/dts/rk3288-veyron-mickey.dt.yaml arch/arm/boot/dts/rk3288-veyron-mighty.dt.yaml arch/arm/boot/dts/rk3288-veyron-minnie.dt.yaml arch/arm/boot/dts/rk3288-veyron-pinky.dt.yaml arch/arm/boot/dts/rk3288-veyron-speedy.dt.yaml arch/arm/boot/dts/rk3288-veyron-tiger.dt.yaml vdd-log: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dt.yaml vdd-log: 'regulator-always-on' does not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/rk3066a-bqcurie2.dt.yaml arch/arm/boot/dts/rk3066a-marsboard.dt.yaml arch/arm/boot/dts/rk3066a-rayeager.dt.yaml vdd-log: 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3399-firefly.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-captain.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-v.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-leez-p710.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-orangepi.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-rockpro64-v2.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-sapphire.dt.yaml arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dt.yaml vdd-log: 'regulator-always-on', 'regulator-boot-on', 'regulator-settling-time-up-us' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dt.yaml vdd-log: 'regulator-always-on', 'regulator-boot-on', 'regulator-state-mem' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dt.yaml vdd-log-regulator: 'pwm-supply', 'regulator-always-on', 'regulator-boot-on' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/rk3229-evb.dt.yaml arch/arm/boot/dts/rk3229-xms6.dt.yaml