sorry, to lenghty posting without using code-tags for separating Code from Prosa.
still don't get what you want the device use for so allow me to Point you to an example.
viewtopic.php?t=380704#p2276740 has an overlay example which uses several of the Outputs of a PCA9658 as PWM, while the others were used as GPIO expansion (fragment100 Starts the devices, fragment101 configures it. 'reset-gpios = <&pca 1 GPIO_ACTIVE_HIGH>;‘ is an example for a DT definition for using OUT1 as RESET signal, required by another kernel driver).
still don't get what you want the device use for so allow me to Point you to an example.
viewtopic.php?t=380704#p2276740 has an overlay example which uses several of the Outputs of a PCA9658 as PWM, while the others were used as GPIO expansion (fragment100 Starts the devices, fragment101 configures it. 'reset-gpios = <&pca 1 GPIO_ACTIVE_HIGH>;‘ is an example for a DT definition for using OUT1 as RESET signal, required by another kernel driver).
Statistics: Posted by aBUGSworstnightmare — Mon Dec 08, 2025 4:55 am