
Pull x86 platform driver updates from Andy Shevchenko: "Gathered a bunch of x86 platform driver changes. It's rather big, since includes two big refactors and completely new driver: - ASUS WMI driver got a big refactoring in order to support the TUF Gaming laptops. Besides that, the regression with backlight being permanently off on various EeePC laptops has been fixed. - Accelerometer on HP ProBook 450 G0 shows wrong measurements due to X axis being inverted. This has been fixed. - Intel PMC core driver has been extended to be ACPI enumerated if the DSDT provides device with _HID "INT33A1". This allows to convert the driver to be pure platform and support new hardware purely based on ACPI DSDT. - From now on the Intel Speed Select Technology is supported thru a corresponding driver. This driver provides an access to the features of the ISST, such as Performance Profile, Core Power, Base frequency and Turbo Frequency. - Mellanox platform drivers has been refactored and now extended to support more systems, including new coming ones. - The OLPC XO-1.75 platform is now supported. - CB4063 Beckhoff Automation board is using PMC clocks, provided via pmc_atom driver, for ethernet controllers in a way that they can't be managed by the clock driver. The quirk has been extended to cover this case. - Touchscreen on Chuwi Hi10 Plus tablet has been enabled. Meanwhile the information of Chuwi Hi10 Air has been fixed to cover more models based on the same platform. - Xiaomi notebooks have WMI interface enabled. Thus, the driver to support it has been provided. It required some extension of the generic WMI library, which allows to propagate opaque context to the ->probe() of the individual drivers. This release includes debugfs clean up from Greg KH for several drivers that drop return code check and make debugfs absence or failure non-fatal. Also miscellaneous fixes here and there, mostly for Acer WMI and various Intel drivers" * tag 'platform-drivers-x86-v5.3-1' of git://git.infradead.org/linux-platform-drivers-x86: (74 commits) platform/x86: Fix PCENGINES_APU2 Kconfig warning tools/power/x86/intel-speed-select: Add .gitignore file platform/x86: mlx-platform: Fix error handling in mlxplat_init() platform/x86: intel_pmc_core: Attach using APCI HID "INT33A1" platform/x86: intel_pmc_core: transform Pkg C-state residency from TSC ticks into microseconds platform/x86: asus-wmi: Use dev_get_drvdata() Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces platform/x86: mlx-platform: Add more reset cause attributes platform/x86: mlx-platform: Modify DMI matching order platform/x86: mlx-platform: Add regmap structure for the next generation systems platform/x86: mlx-platform: Change API for i2c-mlxcpld driver activation platform/x86: mlx-platform: Move regmap initialization before all drivers activation MAINTAINERS: Update for Intel Speed Select Technology tools/power/x86: A tool to validate Intel Speed Select commands platform/x86: ISST: Restore state on resume platform/x86: ISST: Add Intel Speed Select PUNIT MSR interface platform/x86: ISST: Add Intel Speed Select mailbox interface via MSRs platform/x86: ISST: Add Intel Speed Select mailbox interface via PCI platform/x86: ISST: Add Intel Speed Select mmio interface platform/x86: ISST: Add IOCTL to Translate Linux logical CPU to PUNIT CPU number ...
143 lines
5.7 KiB
Plaintext
143 lines
5.7 KiB
Plaintext
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
|
|
|
|
Date: June 2018
|
|
KernelVersion: 4.19
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: This file shows ASIC health status. The possible values are:
|
|
0 - health failed, 2 - health OK, 3 - ASIC in booting state.
|
|
|
|
The files are read only.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
|
|
Date: June 2018
|
|
KernelVersion: 4.19
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: These files show with which CPLD versions have been burned
|
|
on carrier and switch boards.
|
|
|
|
The files are read only.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
|
|
|
|
Date: December 2018
|
|
KernelVersion: 5.0
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: This file shows the system fans direction:
|
|
forward direction - relevant bit is set 0;
|
|
reversed direction - relevant bit is set 1.
|
|
|
|
The files are read only.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
|
|
|
|
Date: November 2018
|
|
KernelVersion: 5.0
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: These files show with which CPLD versions have been burned
|
|
on LED board.
|
|
|
|
The files are read only.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
|
|
|
|
Date: November 2018
|
|
KernelVersion: 5.0
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: These files enable and disable the access to the JTAG domain.
|
|
By default access to the JTAG domain is disabled.
|
|
|
|
The file is read/write.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
|
|
Date: June 2018
|
|
KernelVersion: 4.19
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: This file allows iio devices selection.
|
|
|
|
Attribute select_iio can be written with 0 or with 1. It
|
|
selects which one of iio devices can be accessed.
|
|
|
|
The file is read/write.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on
|
|
/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on
|
|
/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle
|
|
/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
|
|
Date: June 2018
|
|
KernelVersion: 4.19
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: These files allow asserting system power cycling, switching
|
|
power supply units on and off and system's main power domain
|
|
shutdown.
|
|
Expected behavior:
|
|
When pwr_cycle is written 1: auxiliary power domain will go
|
|
down and after short period (about 1 second) up.
|
|
When psu1_on or psu2_on is written 1, related unit will be
|
|
disconnected from the power source, when written 0 - connected.
|
|
If both are written 1 - power supplies main power domain will
|
|
go down.
|
|
When pwr_down is written 1, system's main power domain will go
|
|
down.
|
|
|
|
The files are write only.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
|
|
Date: June 2018
|
|
KernelVersion: 4.19
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: These files show the system reset cause, as following: power
|
|
auxiliary outage or power refresh, ASIC thermal shutdown, halt,
|
|
hotswap, watchdog, firmware reset, long press power button,
|
|
short press power button, software reset. Value 1 in file means
|
|
this is reset cause, 0 - otherwise. Only one of the above
|
|
causes could be 1 at the same time, representing only last
|
|
reset cause.
|
|
|
|
The files are read only.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail
|
|
|
|
Date: November 2018
|
|
KernelVersion: 5.0
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: These files show the system reset cause, as following: ComEx
|
|
power fail, reset from ComEx, system platform reset, reset
|
|
due to voltage monitor devices upgrade failure,
|
|
Value 1 in file means this is reset cause, 0 - otherwise.
|
|
Only one bit could be 1 at the same time, representing only
|
|
the last reset cause.
|
|
|
|
The files are read only.
|
|
|
|
Date: June 2019
|
|
KernelVersion: 5.3
|
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
|
Description: These files show the system reset cause, as following:
|
|
COMEX thermal shutdown; wathchdog power off or reset was derived
|
|
by one of the next components: COMEX, switch board or by Small Form
|
|
Factor mezzanine, reset requested from ASIC, reset cuased by BIOS
|
|
reload. Value 1 in file means this is reset cause, 0 - otherwise.
|
|
Only one of the above causes could be 1 at the same time, representing
|
|
only last reset cause.
|
|
|
|
The files are read only.
|
|
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_thermal
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_wd
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_asic
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_reload_bios
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sff_wd
|
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_wd
|