[PATCH v2 1/3] dt-bindings: pwm: sophgo: add pwm controller for SG2044

Chen Wang unicorn_wang at outlook.com
Fri Apr 18 18:13:11 PDT 2025


On 2025/4/18 10:29, Longbin Li wrote:
> Add compatible string for PWM controller on SG2044.
>
> Signed-off-by: Longbin Li <looong.bin at gmail.com>
> ---
>   Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml b/Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml
> index bbb6326d47d7..e0e91aa237ec 100644
> --- a/Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml
> +++ b/Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml
> @@ -17,7 +17,9 @@ allOf:
>
>   properties:
>     compatible:
> -    const: sophgo,sg2042-pwm
> +    enum:
> +      - sophgo,sg2042-pwm
> +      - sophgo,sg2044-pwm
>
>     reg:
>       maxItems: 1
> --
> 2.49.0

Reviewed-by: Chen Wang <unicorn_wang at outlook.com>

Thanks,

Chen





More information about the linux-riscv mailing list