sonic-buildimage/platform/broadcom/sonic-platform-modules-accton/as9716-32d/modules
brandonchuang 2116f62978
[AS9716-32D] Support i2c mux reset (#10492)
Why I did it
    Prevent from i2c bus to get locked.

How I did it
    Add sysfs driver to access ioport.
    Command to reset i2c mux:
    echo 1 > /sys/devices/platform/as9716_32d_ioport/i2c_mux_rst
    Command to bring i2c mux out of reset:
    echo 0 > /sys/devices/platform/as9716_32d_ioport/i2c_mux_rst

Signed-off-by: Brandon Chuang <brandon_chuang@edge-core.com>
2022-04-09 10:51:49 -07:00
..
accton_as9716_32d_cpld.c [accton/as9716-32d] add support get_transceiver_change_event (#4105) 2020-04-22 22:54:48 -07:00
accton_as9716_32d_fan.c [Accton platform] Fix kernel 5.10 build failed in fan drv (#9744) 2022-01-22 10:37:51 -08:00
accton_as9716_32d_ioport.c [AS9716-32D] Support i2c mux reset (#10492) 2022-04-09 10:51:49 -07:00
accton_as9716_32d_leds.c [devices]: Add support as9716 platform (#2993) 2019-06-28 21:53:06 -07:00
accton_as9716_32d_psu.c [devices]: Add support as9716 platform (#2993) 2019-06-28 21:53:06 -07:00
accton_i2c_psu.c [devices]: Add support as9716 platform (#2993) 2019-06-28 21:53:06 -07:00
Makefile [AS9716-32D] Support i2c mux reset (#10492) 2022-04-09 10:51:49 -07:00
pddf_custom_psu.c [AS9716-32d] Modify check eeprom via pre_pddf sh (#7827) 2022-03-01 13:08:03 -08:00