Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[platform/questone2bd] Support CPU and RAM voltag monitor via ADC #197

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ start)
modprobe pmbus_core
modprobe i2c-imc allow_unsafe_access=1
modprobe baseboard_cpld
modprobe i2c-ocores-polling
modprobe switchboard_fpga allow_unsafe_i2c_access=1
modprobe mc24lc64t
modprobe i2c_dev_sysfs
Expand Down Expand Up @@ -51,6 +52,9 @@ start)
echo lm75b 0x48 > /sys/bus/i2c/devices/i2c-9/new_device
echo lm75b 0x4d > /sys/bus/i2c/devices/i2c-67/new_device

# Populate voltage sensors reading
echo max11617 0x35 > /sys/bus/i2c/devices/i2c-71/new_device

# Populate EEPROM
## FAN
echo 24lc64t 0x50 > /sys/bus/i2c/devices/i2c-2/new_device
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
obj-m := mc24lc64t.o baseboard_cpld.o switchboard_fpga.o i2c-imc.o
obj-m := mc24lc64t.o baseboard_cpld.o switchboard_fpga.o i2c-imc.o i2c-ocores-polling.o
obj-m += i2c_dev_sysfs.o syscpld.o fancpld.o dps1100.o
Loading