-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'v4.19-rc5' of https://git.kernel.org/pub/scm/linux/kernel/…
…git/torvalds/linux into fbdev-for-next Sync with upstream (which now contains fbdev-v4.19 changes) to prepare a base for fbdev-v4.20 changes.
- Loading branch information
Showing
11,932 changed files
with
549,534 additions
and
238,625 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
These files are deprecated and will be removed. The same files are available | ||
under /sys/bus/typec (see Documentation/ABI/testing/sysfs-bus-typec). | ||
|
||
What: /sys/class/typec/<port|partner|cable>/<dev>/svid | ||
Date: April 2017 | ||
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com> | ||
Description: | ||
The SVID (Standard or Vendor ID) assigned by USB-IF for this | ||
alternate mode. | ||
|
||
What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/ | ||
Date: April 2017 | ||
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com> | ||
Description: | ||
Every supported mode will have its own directory. The name of | ||
a mode will be "mode<index>" (for example mode1), where <index> | ||
is the actual index to the mode VDO returned by Discover Modes | ||
USB power delivery command. | ||
|
||
What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/description | ||
Date: April 2017 | ||
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com> | ||
Description: | ||
Shows description of the mode. The description is optional for | ||
the drivers, just like with the Billboard Devices. | ||
|
||
What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo | ||
Date: April 2017 | ||
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com> | ||
Description: | ||
Shows the VDO in hexadecimal returned by Discover Modes command | ||
for this mode. | ||
|
||
What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/active | ||
Date: April 2017 | ||
Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com> | ||
Description: | ||
Shows if the mode is active or not. The attribute can be used | ||
for entering/exiting the mode with partners and cable plugs, and | ||
with the port alternate modes it can be used for disabling | ||
support for specific alternate modes. Entering/exiting modes is | ||
supported as synchronous operation so write(2) to the attribute | ||
does not return until the enter/exit mode operation has | ||
finished. The attribute is notified when the mode is | ||
entered/exited so poll(2) on the attribute wakes up. | ||
Entering/exiting a mode will also generate uevent KOBJ_CHANGE. | ||
|
||
Valid values: yes, no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
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 | ||
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*/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 | ||
reset_asic_thermal | ||
reset_hotswap_or_halt | ||
reset_hotswap_or_wd | ||
reset_fw_reset | ||
reset_long_pb | ||
reset_main_pwr_fail | ||
reset_short_pb | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_agc_gain | ||
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_agc_gain_bias | ||
KernelVersion: 4.18 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
This sensor has an automatic gain control (agc) loop | ||
which sets the analog signal levels at an optimum | ||
level by controlling programmable gain amplifiers. The | ||
criteria for optimal gain is determined by the sensor. | ||
|
||
Return the actual gain value as an integer in [0; 65536] | ||
range when read from. | ||
|
||
The agc gain read when measuring crosstalk shall be | ||
written into in_proximity0_agc_gain_bias. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_temp_a | ||
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_temp_b | ||
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_light_a | ||
What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_light_b | ||
KernelVersion: 4.18 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
The sensor is able to perform correction of distance | ||
measurements due to changing temperature and ambient | ||
light conditions. It can be programmed to correct for | ||
a second order error polynomial. | ||
|
||
Phase data has to be collected when temperature and | ||
ambient light are modulated independently. | ||
|
||
Then a least squares curve fit to a second order | ||
polynomial has to be generated from the data. The | ||
resultant curves have the form ax^2 + bx + c. | ||
|
||
From those two curves, a and b coefficients shall be | ||
stored in in_proximity0_calib_phase_temp_a and | ||
in_proximity0_calib_phase_temp_b for temperature and | ||
in in_proximity0_calib_phase_light_a and | ||
in_proximity0_calib_phase_light_b for ambient light. | ||
|
||
Those values must be integer in [0; 8355840] range. | ||
|
||
Finally, the c constant is set by the sensor | ||
internally. | ||
|
||
The value stored in sensor is displayed when read from. |
Oops, something went wrong.