Re: [PATCH RFC 2/3] pinconf-generic: add pull up and pull down config with resistance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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".



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux