This issue is tracking refactoring of LEDC to use ESP-IDF API. Related issues: #5306 #5089 #5963 (already PR, please check)