drivers: mcp23xxx: add support for open-drain chip variants
Pin definitions should correctly reflect the actual drive mode of the GPIO controller, either push-pull or open drain. Signed-off-by: Armin Brauns <armin.brauns@embedded-solutions.at>
This commit is contained in:
parent
054cc09c88
commit
ede19a4337
5 changed files with 20 additions and 13 deletions
|
@ -49,7 +49,9 @@ Device Drivers and Devicetree
|
|||
``microchip,mcp230xx`` and ``microchip,mcp23sxx`` should change their devicetree ``compatible``
|
||||
values to the specific chip variant, e.g. :dtcompatible:`microchip,mcp23017`.
|
||||
The ``ngpios`` devicetree property has been removed, since it is implied by the model name.
|
||||
(:github:`65797`)
|
||||
Chip variants with open-drain outputs (``mcp23x09``, ``mcp23x18``) now correctly reflect this in
|
||||
their driver API, users of these devices should ensure they pass appropriate values to
|
||||
:c:func:`gpio_pin_set`. (:github:`65797`)
|
||||
|
||||
Controller Area Network (CAN)
|
||||
=============================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue