summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/pcf8574.c
AgeCommit message (Collapse)Author
2021-06-21fix proplib deprecationchristos
2021-01-27Use DEVICE_COMPAT_EOL.thorpej
2021-01-25Since we're using designated initialisers for compat data, we shouldthorpej
use a completely empty initializer for the sentinel.
2021-01-17Use designated initializers and a consistent termination style inthorpej
compat_data[].
2020-12-23Handle pins that represent alerts.jdc
split out common code for alert and indicator pins change the previously debug-only callout to work for alerts too split out common code for alerts in refresh and in callout While here, remove redundant variable used for checking sysmon setup.
2020-12-06Don't read from the chip when matching, fail the attach instead (requestedjdc
by jmcneill). Reverts previous.
2020-12-05Return "match_result", not "1". Pointed out by jmcneill.jdc
2020-12-05When matching, try a read in case this is an optional device and isn'tjdc
actually present. Make sure that we set sc->sc_sme to NULL in failure cases and when we detach in order to avoid calling sysmon_envsys_unregister() with an invalid struct.
2020-10-31Detach led's and sysmon in our detach routine.jdc
2020-10-29Add a driver for the PCF8574 I/O expander, used as a GPIO in some sparc64jdc
hardware. The driver currently handles pins configured as LED or INDICATOR and adds them to the LED and sysmon_envsys subsystems, respectively.