That's good to know. I wasn't sure and didn't want to break any existing
interface. I will drop the new types and add the comment to clarify the use.
On 11/11/2022 09:17, Linus Walleij wrote:
When I designed this, I definitely intended for the argument to
PIN_CONFIG_BIAS_PULL_DOWN to be used for this, so I would just:
- Use PIN_CONFIG_BIAS_PULL_DOWN
- Augment the comment to say:
"If the argument is != 0 pull-down is enabled, the value is interpreted by
the driver and can be custom or an SI unit such as ohms".