Re: [PATCH v2] dt-bindings: pwm: Convert TI PWM Subsystem to DT schema

From: Rob Herring (Arm)

Date: Wed Aug 12 2026 - 15:28:46 EST



On Wed, 12 Aug 2026 09:44:20 +0000, Eduard Bostina wrote:
> Convert the Texas Instruments SoC PWM Subsystem bindings
> to DT schema.
>
> During the conversion, the following updates were made:
> - 'counter' node was added to the allowed child nodes
> list to resolve dtbs_check warnings. Some eqep nodes
> use 'counter' instead of 'eqep'.
>
> Signed-off-by: Eduard Bostina <egbostina@xxxxxxxxx>
> ---
> Changes in v2:
> - Renamed the file to ti,am33xx-pwmss.yaml to match the base compatible.
> - Required a 'compatible' property in the child nodes.
> - Reduced the binding to a single example and included the PWM child
> nodes (ECAP, EQEP, EHRPWM) in it.
>
> Link to v1: https://lore.kernel.org/all/2026081109d-up2208.687731-1-egbostina@xxxxxxxxx/
>
> .../devicetree/bindings/pwm/pwm-tipwmss.txt | 58 --------------
> .../bindings/pwm/ti,am33xx-pwmss.yaml | 76 +++++++++++++++++++
> 2 files changed, 76 insertions(+), 58 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt
> create mode 100644 Documentation/devicetree/bindings/pwm/ti,am33xx-pwmss.yaml
>

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/pwm/ti,am33xx-pwmss.example.dtb: pwm@48300100 (ti,am3352-ecap): 'clocks' is a required property
from schema $id: http://devicetree.org/schemas/pwm/pwm-tiecap.yaml
Documentation/devicetree/bindings/pwm/ti,am33xx-pwmss.example.dtb: pwm@48300100 (ti,am3352-ecap): 'clock-names' is a required property
from schema $id: http://devicetree.org/schemas/pwm/pwm-tiecap.yaml
Documentation/devicetree/bindings/pwm/ti,am33xx-pwmss.example.dtb: counter@48300180 (ti,am3352-eqep): 'oneOf' conditional failed, one must be fixed:
'interrupts' is a required property
'interrupts-extended' is a required property
from schema $id: http://devicetree.org/schemas/counter/ti-eqep.yaml
Documentation/devicetree/bindings/pwm/ti,am33xx-pwmss.example.dtb: counter@48300180 (ti,am3352-eqep): 'clocks' is a required property
from schema $id: http://devicetree.org/schemas/counter/ti-eqep.yaml
Documentation/devicetree/bindings/pwm/ti,am33xx-pwmss.example.dtb: pwm@48300200 (ti,am3352-ehrpwm): 'clocks' is a required property
from schema $id: http://devicetree.org/schemas/pwm/pwm-tiehrpwm.yaml
Documentation/devicetree/bindings/pwm/ti,am33xx-pwmss.example.dtb: pwm@48300200 (ti,am3352-ehrpwm): 'clock-names' is a required property
from schema $id: http://devicetree.org/schemas/pwm/pwm-tiehrpwm.yaml

doc reference errors (make refcheckdocs):

See https://patchwork.kernel.org/project/devicetree/patch/20260812094420.1057067-1-egbostina@xxxxxxxxx

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.