[PATCH v4 1/3] dt-bindings: pwm: sophgo: add PWM controller for SG2042

Chen Wang unicorn_wang at outlook.com
Fri Oct 25 00:05:41 PDT 2024


On 2024/10/25 11:28, Inochi Amaoto wrote:
> On Wed, Oct 16, 2024 at 08:19:22AM +0800, Chen Wang wrote:
[......]
> Does this ip need a reset? I see a RST_PWM in the reset bindings.
> If so, please add reset support for the whole patch.

Yes, we need it, I will provide a fix patch quickly.

Thanks,

Chen

>> +required:
>> +  - compatible
>> +  - reg
>> +  - clocks
>> +  - clock-names
>> +
>> +unevaluatedProperties: false
>> +
>> +examples:
>> +  - |
>> +    pwm at 7f006000 {
>> +        compatible = "sophgo,sg2042-pwm";
>> +        reg = <0x7f006000 0x1000>;
>> +        #pwm-cells = <2>;
>> +        clocks = <&clock 67>;
>> +        clock-names = "apb";
>> +    };
>> -- 
>> 2.34.1
>>



More information about the linux-riscv mailing list