Re: [PATCH 1/2] dt-bindings: pwm: add atcpit100-pwm

From: Krzysztof Kozlowski
Date: Mon Oct 28 2024 - 10:42:23 EST


On 28/10/2024 11:27, Ben Zong-You Xie wrote:
> +---
> +$id: http://devicetree.org/schemas/pwm/andestech,atcpit100-pwm.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: PWM driver for Andes atcpit100

Driver as Linux driver?
> +
> +maintainers:
> + - Ben Zong-You Xie <ben717@xxxxxxxxxxxxx>
> +
> +allOf:
> + - $ref: pwm.yaml#
> +
> +properties:
> + compatible:
> + const: andestech,atcpit100-pwm
> +
> + reg:
> + maxItems: 1
> +
> + "#pwm-cells":
> + const: 2
> +
> + andestech,clock-source:
> + description:
> + Clock Source for each PIT channel.
> + 0 - external clock
> + 1 - APB clock.

You don't take APB clock here... neither external. Where is the clocks
property?

Why assigned-clocks cannot work here?


> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + minItems: 4
> + maxItems: 4
> + items:
> + minimum: 0
> + maximum: 1

Best regards,
Krzysztof