Merge tag 'dt-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-platform-dptf
1 What:           /sys/bus/platform/devices/INT3407:00/dptf_power/charger_type
2 Date:           Jul, 2016
3 KernelVersion:  v4.10
4 Contact:        linux-acpi@vger.kernel.org
5 Description:
6                 (RO) The charger type - Traditional, Hybrid or NVDC.
7
8 What:           /sys/bus/platform/devices/INT3407:00/dptf_power/adapter_rating_mw
9 Date:           Jul, 2016
10 KernelVersion:  v4.10
11 Contact:        linux-acpi@vger.kernel.org
12 Description:
13                 (RO) Adapter rating in milliwatts (the maximum Adapter power).
14                 Must be 0 if no AC Adaptor is plugged in.
15
16 What:           /sys/bus/platform/devices/INT3407:00/dptf_power/max_platform_power_mw
17 Date:           Jul, 2016
18 KernelVersion:  v4.10
19 Contact:        linux-acpi@vger.kernel.org
20 Description:
21                 (RO) Maximum platform power that can be supported by the battery
22                 in milliwatts.
23
24 What:           /sys/bus/platform/devices/INT3407:00/dptf_power/platform_power_source
25 Date:           Jul, 2016
26 KernelVersion:  v4.10
27 Contact:        linux-acpi@vger.kernel.org
28 Description:
29                 (RO) Display the platform power source
30
31                 ========= ============================
32                 bits[3:0] Current power source
33                           - 0x00 = DC
34                           - 0x01 = AC
35                           - 0x02 = USB
36                           - 0x03 = Wireless Charger
37                 bits[7:4] Power source sequence number
38                 ========= ============================
39
40 What:           /sys/bus/platform/devices/INT3407:00/dptf_power/battery_steady_power
41 Date:           Jul, 2016
42 KernelVersion:  v4.10
43 Contact:        linux-acpi@vger.kernel.org
44 Description:
45                 (RO) The maximum sustained power for battery in milliwatts.
46
47 What:           /sys/bus/platform/devices/INT3407:00/dptf_power/rest_of_platform_power_mw
48 Date:           June, 2020
49 KernelVersion:  v5.8
50 Contact:        linux-acpi@vger.kernel.org
51 Description:
52                 (RO) Shows the rest (outside of SoC) of worst-case platform power.
53
54 What:           /sys/bus/platform/devices/INT3407:00/dptf_power/prochot_confirm
55 Date:           June, 2020
56 KernelVersion:  v5.8
57 Contact:        linux-acpi@vger.kernel.org
58 Description:
59                 (WO) Confirm embedded controller about a prochot notification.
60
61 What:           /sys/bus/platform/devices/INT3532:00/dptf_battery/max_platform_power_mw
62 Date:           June, 2020
63 KernelVersion:  v5.8
64 Contact:        linux-acpi@vger.kernel.org
65 Description:
66                 (RO) The maximum platform power that can be supported by the battery in milli watts.
67
68 What:           /sys/bus/platform/devices/INT3532:00/dptf_battery/max_steady_state_power_mw
69 Date:           June, 2020
70 KernelVersion:  v5.8
71 Contact:        linux-acpi@vger.kernel.org
72 Description:
73                 (RO) The maximum sustained power for battery in milli watts.
74
75 What:           /sys/bus/platform/devices/INT3532:00/dptf_battery/high_freq_impedance_mohm
76 Date:           June, 2020
77 KernelVersion:  v5.8
78 Contact:        linux-acpi@vger.kernel.org
79 Description:
80                 (RO) The high frequency impedance value that can be obtained from battery
81                 fuel gauge in milli Ohms.
82
83 What:           /sys/bus/platform/devices/INT3532:00/dptf_battery/no_load_voltage_mv
84 Date:           June, 2020
85 KernelVersion:  v5.8
86 Contact:        linux-acpi@vger.kernel.org
87 Description:
88                 (RO) The no-load voltage that can be obtained from battery fuel gauge in
89                 milli volts.
90
91 What:           /sys/bus/platform/devices/INT3532:00/dptf_battery/current_discharge_capbility_ma
92 Date:           June, 2020
93 KernelVersion:  v5.8
94 Contact:        linux-acpi@vger.kernel.org
95 Description:
96                 (RO) The battery discharge current capability obtained from battery fuel gauge in
97                 milli Amps.
98
99 What:           /sys/bus/platform/devices/INTC1045:00/pch_fivr_switch_frequency/freq_mhz_low_clock
100 Date:           November, 2020
101 KernelVersion:  v5.10
102 Contact:        linux-acpi@vger.kernel.org
103 Description:
104                 (RW) The PCH FIVR (Fully Integrated Voltage Regulator) switching frequency in MHz,
105                 when FIVR clock is 19.2MHz or 24MHz.
106
107 What:           /sys/bus/platform/devices/INTC1045:00/pch_fivr_switch_frequency/freq_mhz_high_clock
108 Date:           November, 2020
109 KernelVersion:  v5.10
110 Contact:        linux-acpi@vger.kernel.org
111 Description:
112                 (RW) The PCH FIVR (Fully Integrated Voltage Regulator) switching frequency in MHz,
113                 when FIVR clock is 38.4MHz.
114
115 What:           /sys/bus/platform/devices/INTC1045:00/pch_fivr_switch_frequency/fivr_switching_freq_mhz
116 Date:           September, 2021
117 KernelVersion:  v5.15
118 Contact:        linux-acpi@vger.kernel.org
119 Description:
120                 (RO) Get the FIVR switching control frequency in MHz.
121
122 What:           /sys/bus/platform/devices/INTC1045:00/pch_fivr_switch_frequency/fivr_switching_fault_status
123 Date:           September, 2021
124 KernelVersion:  v5.15
125 Contact:        linux-acpi@vger.kernel.org
126 Description:
127                 (RO) Read the FIVR switching frequency control fault status.
128
129 What:           /sys/bus/platform/devices/INTC1045:00/pch_fivr_switch_frequency/ssc_clock_info
130 Date:           September, 2021
131 KernelVersion:  v5.15
132 Contact:        linux-acpi@vger.kernel.org
133 Description:
134                 (RO) Presents SSC (spread spectrum clock) information for EMI
135                 (Electro magnetic interference) control. This is a bit mask.
136                 Bits    Description
137                 [7:0]   Sets clock spectrum spread percentage:
138                         0x00=0.2% , 0x3F=10%
139                         1 LSB = 0.1% increase in spread (for
140                         settings 0x01 thru 0x1C)
141                         1 LSB = 0.2% increase in spread (for
142                         settings 0x1E thru 0x3F)
143                 [8]     When set to 1, enables spread
144                         spectrum clock
145                 [9]     0: Triangle mode. FFC frequency
146                         walks around the Fcenter in a linear
147                         fashion
148                         1: Random walk mode. FFC frequency
149                         changes randomly within the SSC
150                         (Spread spectrum clock) range
151                 [10]    0: No white noise. 1: Add white noise
152                         to spread waveform
153                 [11]    When 1, future writes are ignored.