find_pwmchip
- find_pwmchip(target_device='1f00098000.pwm') str[source]
Finds the PWM chip path for a given target device.
- Parameters:
target_device (str) – The target device name to look for.
"1f00098000.pwm". (Defaults to)
- Returns:
The path to the PWM chip or raises RuntimeError if not found.
- Return type:
str
- Raises:
RuntimeError – If no valid PWM chip is found.