cederom commented on code in PR #19937: URL: https://github.com/apache/nuttx/pull/19937#discussion_r3838853828
########## Documentation/components/drivers/special/ioexpander.rst: ########## @@ -120,6 +124,16 @@ Notes on individual drivers: - ``IOEXPANDER_TCA64XX`` and ``IOEXPANDER_PCF8574`` additionally depend on ``CONFIG_EXPERIMENTAL``. +- ``IOEXPANDER_CH422G`` presents the eight bi-directional pins, IO0-IO7, as + pins 0-7 and the four open-drain outputs, OC0-OC3, as pins 8-11, so + ``CONFIG_IOEXPANDER_NPINS`` must be at least 12. The device selects a Review Comment: I can see that CH422G_NPINS is hardcoded to 12 so why this one? :-) https://github.com/apache/nuttx/pull/19937/changes/9efa52cf2a25d4162e1354a13aa16a2320df28fb#diff-19ac58b3112f2d7c58fdabf0c00a6d54d8b802c8fd038eda56bcf9278f0cba40R60 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
