hello_world.c Posted November 15, 2018 Share Posted November 15, 2018 There's this: Anybody knows about the status of PWM on the H5 (OPi PC 2 in my case) with mainline kernel? BTW am I off-topic asking about H5 in this forum? Thanks. Link to comment Share on other sites More sharing options...
0 hello_world.c Posted November 25, 2018 Author Share Posted November 25, 2018 Bump. Anybody? Link to comment Share on other sites More sharing options...
0 Igor Posted November 28, 2018 Share Posted November 28, 2018 On 11/15/2018 at 11:13 AM, hello_world.c said: Anybody knows about the status of PWM on the H5 (OPi PC 2 in my case) with mainline kernel? It works on A64/Pinebook (LCD brightness). It should work on H5 but I haven't done any tests. DEV branch (4.19.y). Link to comment Share on other sites More sharing options...
0 martinayotte Posted November 28, 2018 Share Posted November 28, 2018 On 11/15/2018 at 5:13 AM, hello_world.c said: Anybody knows about the status of PWM on the H5 (OPi PC 2 in my case) with mainline kernel? Looking at my OPiPC2 with 4.19.2, it is present in DT, but with disabled status by default : pwm@1c21400 { compatible = "allwinner,sun8i-h3-pwm"; reg = <0x1c21400 0x8>; clocks = <0x10>; #pwm-cells = <0x3>; status = "disabled"; phandle = <0x57>; }; So, you need to add the PWM overlay in /boot/armbianEnv.txt : overlays=pwm BTW, this overlay is connecting PWM to PA5 ... Link to comment Share on other sites More sharing options...
0 hello_world.c Posted March 15, 2020 Author Share Posted March 15, 2020 martinayotte: Have been picking this up after a long time, and just wanted to tell you that it worked perfectly, thank you! BTW following this for initial testing: https://forum.armbian.com/topic/3886-pwm-on-h3-and-h2-with-mainline-kernel/ Link to comment Share on other sites More sharing options...
Question
hello_world.c
There's this:
Anybody knows about the status of PWM on the H5 (OPi PC 2 in my case) with mainline kernel?
BTW am I off-topic asking about H5 in this forum?
Thanks.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts