mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
Merge tag 'char-misc-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc and other driver updates from Greg KH:
"Here is the large set of char/misc and other small driver subsystem
changes for 6.1-rc1. Loads of different things in here:
- IIO driver updates, additions, and changes. Probably the largest
part of the diffstat
- habanalabs driver update with support for new hardware and
features, the second largest part of the diff.
- fpga subsystem driver updates and additions
- mhi subsystem updates
- Coresight driver updates
- gnss subsystem updates
- extcon driver updates
- icc subsystem updates
- fsi subsystem updates
- nvmem subsystem and driver updates
- misc driver updates
- speakup driver additions for new features
- lots of tiny driver updates and cleanups
All of these have been in the linux-next tree for a while with no
reported issues"
* tag 'char-misc-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (411 commits)
w1: Split memcpy() of struct cn_msg flexible array
spmi: pmic-arb: increase SPMI transaction timeout delay
spmi: pmic-arb: block access for invalid PMIC arbiter v5 SPMI writes
spmi: pmic-arb: correct duplicate APID to PPID mapping logic
spmi: pmic-arb: add support to dispatch interrupt based on IRQ status
spmi: pmic-arb: check apid against limits before calling irq handler
spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq
spmi: pmic-arb: handle spurious interrupt
spmi: pmic-arb: add a print in cleanup_irq
drivers: spmi: Directly use ida_alloc()/free()
MAINTAINERS: add TI ECAP driver info
counter: ti-ecap-capture: capture driver support for ECAP
Documentation: ABI: sysfs-bus-counter: add frequency & num_overflows items
dt-bindings: counter: add ti,am62-ecap-capture.yaml
counter: Introduce the COUNTER_COMP_ARRAY component type
counter: Consolidate Counter extension sysfs attribute creation
counter: Introduce the Count capture component
counter: 104-quad-8: Add Signal polarity component
counter: Introduce the Signal polarity component
counter: interrupt-cnt: Implement watch_validate callback
...
This commit is contained in:
@@ -516,3 +516,11 @@ Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
|
||||
Description: (Read) Returns the number of special conditional P1 right-hand keys
|
||||
that the trace unit can use (0x194). The value is taken
|
||||
directly from the HW.
|
||||
|
||||
What: /sys/bus/coresight/devices/etm<N>/ts_source
|
||||
Date: October 2022
|
||||
KernelVersion: 6.1
|
||||
Contact: Mathieu Poirier <mathieu.poirier@linaro.org> or Suzuki K Poulose <suzuki.poulose@arm.com>
|
||||
Description: (Read) When FEAT_TRF is implemented, value of TRFCR_ELx.TS used for
|
||||
trace session. Otherwise -1 indicates an unknown time source. Check
|
||||
trcidr0.tssize to see if a global timestamp is available.
|
||||
|
||||
@@ -4,6 +4,12 @@ Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Count data of Count Y represented as a string.
|
||||
|
||||
What: /sys/bus/counter/devices/counterX/countY/capture
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Historical capture of the Count Y count data.
|
||||
|
||||
What: /sys/bus/counter/devices/counterX/countY/ceiling
|
||||
KernelVersion: 5.2
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
@@ -203,6 +209,13 @@ Description:
|
||||
both edges:
|
||||
Any state transition.
|
||||
|
||||
What: /sys/bus/counter/devices/counterX/countY/num_overflows
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
This attribute indicates the number of overflows of count Y.
|
||||
|
||||
What: /sys/bus/counter/devices/counterX/countY/capture_component_id
|
||||
What: /sys/bus/counter/devices/counterX/countY/ceiling_component_id
|
||||
What: /sys/bus/counter/devices/counterX/countY/floor_component_id
|
||||
What: /sys/bus/counter/devices/counterX/countY/count_mode_component_id
|
||||
@@ -213,11 +226,14 @@ What: /sys/bus/counter/devices/counterX/countY/prescaler_component_id
|
||||
What: /sys/bus/counter/devices/counterX/countY/preset_component_id
|
||||
What: /sys/bus/counter/devices/counterX/countY/preset_enable_component_id
|
||||
What: /sys/bus/counter/devices/counterX/countY/signalZ_action_component_id
|
||||
What: /sys/bus/counter/devices/counterX/countY/num_overflows_component_id
|
||||
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_component_id
|
||||
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable_component_id
|
||||
What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler_component_id
|
||||
What: /sys/bus/counter/devices/counterX/signalY/index_polarity_component_id
|
||||
What: /sys/bus/counter/devices/counterX/signalY/polarity_component_id
|
||||
What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_component_id
|
||||
What: /sys/bus/counter/devices/counterX/signalY/frequency_component_id
|
||||
KernelVersion: 5.16
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
@@ -303,6 +319,19 @@ Description:
|
||||
Discrete set of available values for the respective Signal Y
|
||||
configuration are listed in this file.
|
||||
|
||||
What: /sys/bus/counter/devices/counterX/signalY/polarity
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Active level of Signal Y. The following polarity values are
|
||||
available:
|
||||
|
||||
positive:
|
||||
Signal high state considered active level (rising edge).
|
||||
|
||||
negative:
|
||||
Signal low state considered active level (falling edge).
|
||||
|
||||
What: /sys/bus/counter/devices/counterX/signalY/name
|
||||
KernelVersion: 5.2
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
@@ -345,3 +374,9 @@ Description:
|
||||
via index_polarity. The index function (as enabled via
|
||||
preset_enable) is performed synchronously with the
|
||||
quadrature clock on the active level of the index input.
|
||||
|
||||
What: /sys/bus/counter/devices/counterX/signalY/frequency
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Read-only attribute that indicates the signal Y frequency, in Hz.
|
||||
|
||||
@@ -196,7 +196,7 @@ Description:
|
||||
Raw capacitance measurement from channel Y. Units after
|
||||
application of scale and offset are nanofarads.
|
||||
|
||||
What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
|
||||
What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw
|
||||
KernelVersion: 3.2
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
@@ -207,6 +207,25 @@ Description:
|
||||
is required is a consistent labeling. Units after application
|
||||
of scale and offset are nanofarads.
|
||||
|
||||
What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_zeropoint
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
For differential channels, this an offset that is applied
|
||||
equally to both inputs. As the reading is of the difference
|
||||
between the two inputs, this should not be applied to the _raw
|
||||
reading by userspace (unlike _offset) and unlike calibbias
|
||||
it does not affect the differential value measured because
|
||||
the effect of _zeropoint cancels out across the two inputs
|
||||
that make up the differential pair. It's purpose is to bring
|
||||
the individual signals, before the differential is measured,
|
||||
within the measurement range of the device. The naming is
|
||||
chosen because if the separate inputs that make the
|
||||
differential pair are drawn on a graph in their
|
||||
_raw units, this is the value that the zero point on the
|
||||
measurement axis represents. It is expressed with the
|
||||
same scaling as _raw.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
|
||||
@@ -241,6 +260,15 @@ Description:
|
||||
Has all of the equivalent parameters as per voltageY. Units
|
||||
after application of scale and offset are m/s^2.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_x_raw
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
As per in_accel_X_raw attributes, but minus the
|
||||
acceleration due to gravity.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
|
||||
@@ -2038,3 +2066,99 @@ Description:
|
||||
Available range for the forced calibration value, expressed as:
|
||||
|
||||
- a range specified as "[min step max]"
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageX_sampling_frequency
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_currentZ_sampling_frequency
|
||||
KernelVersion: 5.20
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Some devices have separate controls of sampling frequency for
|
||||
individual channels. If multiple channels are enabled in a scan,
|
||||
then the sampling_frequency of the scan may be computed from the
|
||||
per channel sampling frequencies.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_singletap_en
|
||||
What: /sys/.../events/in_accel_gesture_doubletap_en
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Device generates an event on a single or double tap.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_singletap_value
|
||||
What: /sys/.../events/in_accel_gesture_doubletap_value
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Specifies the threshold value that the device is comparing
|
||||
against to generate the tap gesture event. The lower
|
||||
threshold value increases the sensitivity of tap detection.
|
||||
Units and the exact meaning of value are device-specific.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_tap_value_available
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Lists all available threshold values which can be used to
|
||||
modify the sensitivity of the tap detection.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_singletap_reset_timeout
|
||||
What: /sys/.../events/in_accel_gesture_doubletap_reset_timeout
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Specifies the timeout value in seconds for the tap detector
|
||||
to not to look for another tap event after the event as
|
||||
occurred. Basically the minimum quiet time between the two
|
||||
single-tap's or two double-tap's.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_tap_reset_timeout_available
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Lists all available tap reset timeout values. Units in seconds.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Specifies the minimum quiet time in seconds between the two
|
||||
taps of a double tap.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay_available
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Lists all available delay values between two taps in the double
|
||||
tap. Units in seconds.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_tap_maxtomin_time
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Specifies the maximum time difference allowed between upper
|
||||
and lower peak of tap to consider it as the valid tap event.
|
||||
Units in seconds.
|
||||
|
||||
What: /sys/.../events/in_accel_gesture_tap_maxtomin_time_available
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Lists all available time values between upper peak to lower
|
||||
peak. Units in seconds.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Raw (unscaled) euler angles readings. Units after
|
||||
application of scale are deg.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/serialnumber
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
An example format is 16-bytes, 2-digits-per-byte, HEX-string
|
||||
representing the sensor unique ID number.
|
||||
|
||||
81
Documentation/ABI/testing/sysfs-bus-iio-bno055
Normal file
81
Documentation/ABI/testing/sysfs-bus-iio-bno055
Normal file
@@ -0,0 +1,81 @@
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_raw_range
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Raw (unscaled) range for acceleration readings. Unit after
|
||||
application of scale is m/s^2. Note that this doesn't affects
|
||||
the scale (which should be used when changing the maximum and
|
||||
minimum readable value affects also the reading scaling factor).
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_raw_range
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Range for angular velocity readings in radians per second. Note
|
||||
that this does not affects the scale (which should be used when
|
||||
changing the maximum and minimum readable value affects also the
|
||||
reading scaling factor).
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_raw_range_available
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
List of allowed values for in_accel_raw_range attribute
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_raw_range_available
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
List of allowed values for in_anglvel_raw_range attribute
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_magn_calibration_fast_enable
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Can be 1 or 0. Enables/disables the "Fast Magnetometer
|
||||
Calibration" HW function.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/fusion_enable
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Can be 1 or 0. Enables/disables the "sensor fusion" (a.k.a.
|
||||
NDOF) HW function.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/calibration_data
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Reports the binary calibration data blob for the IMU sensors.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_calibration_auto_status
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Reports the autocalibration status for the accelerometer sensor.
|
||||
Can be 0 (calibration non even enabled) or 1 to 5 where the greater
|
||||
the number, the better the calibration status.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_gyro_calibration_auto_status
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Reports the autocalibration status for the gyroscope sensor.
|
||||
Can be 0 (calibration non even enabled) or 1 to 5 where the greater
|
||||
the number, the better the calibration status.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/in_magn_calibration_auto_status
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Reports the autocalibration status for the magnetometer sensor.
|
||||
Can be 0 (calibration non even enabled) or 1 to 5 where the greater
|
||||
the number, the better the calibration status.
|
||||
|
||||
What: /sys/bus/iio/devices/iio:deviceX/sys_calibration_auto_status
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Reports the status for the IMU overall autocalibration.
|
||||
Can be 0 (calibration non even enabled) or 1 to 5 where the greater
|
||||
the number, the better the calibration status.
|
||||
11
Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746
Normal file
11
Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746
Normal file
@@ -0,0 +1,11 @@
|
||||
What: /sys/.../iio:deviceX/in_capacitableY_calibbias_calibration
|
||||
What: /sys/.../iio:deviceX/in_capacitableY_calibscale_calibration
|
||||
KernelVersion: 6.1
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
Write 1 to trigger a calibration of the calibbias or
|
||||
calibscale. For calibscale, a full scale capacitance should
|
||||
be connected to the capacitance input and a
|
||||
calibscale_calibration then started. For calibbias see
|
||||
the device datasheet section on "capacitive system offset
|
||||
calibration".
|
||||
61
Documentation/ABI/testing/sysfs-devices-hisi_ptt
Normal file
61
Documentation/ABI/testing/sysfs-devices-hisi_ptt
Normal file
@@ -0,0 +1,61 @@
|
||||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune
|
||||
Date: October 2022
|
||||
KernelVersion: 6.1
|
||||
Contact: Yicong Yang <yangyicong@hisilicon.com>
|
||||
Description: This directory contains files for tuning the PCIe link
|
||||
parameters(events). Each file is named after the event
|
||||
of the PCIe link.
|
||||
|
||||
See Documentation/trace/hisi-ptt.rst for more information.
|
||||
|
||||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl
|
||||
Date: October 2022
|
||||
KernelVersion: 6.1
|
||||
Contact: Yicong Yang <yangyicong@hisilicon.com>
|
||||
Description: (RW) Controls the weight of Tx completion TLPs, which influence
|
||||
the proportion of outbound completion TLPs on the PCIe link.
|
||||
The available tune data is [0, 1, 2]. Writing a negative value
|
||||
will return an error, and out of range values will be converted
|
||||
to 2. The value indicates a probable level of the event.
|
||||
|
||||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np
|
||||
Date: October 2022
|
||||
KernelVersion: 6.1
|
||||
Contact: Yicong Yang <yangyicong@hisilicon.com>
|
||||
Description: (RW) Controls the weight of Tx non-posted TLPs, which influence
|
||||
the proportion of outbound non-posted TLPs on the PCIe link.
|
||||
The available tune data is [0, 1, 2]. Writing a negative value
|
||||
will return an error, and out of range values will be converted
|
||||
to 2. The value indicates a probable level of the event.
|
||||
|
||||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p
|
||||
Date: October 2022
|
||||
KernelVersion: 6.1
|
||||
Contact: Yicong Yang <yangyicong@hisilicon.com>
|
||||
Description: (RW) Controls the weight of Tx posted TLPs, which influence the
|
||||
proportion of outbound posted TLPs on the PCIe link.
|
||||
The available tune data is [0, 1, 2]. Writing a negative value
|
||||
will return an error, and out of range values will be converted
|
||||
to 2. The value indicates a probable level of the event.
|
||||
|
||||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level
|
||||
Date: October 2022
|
||||
KernelVersion: 6.1
|
||||
Contact: Yicong Yang <yangyicong@hisilicon.com>
|
||||
Description: (RW) Control the allocated buffer watermark for inbound packets.
|
||||
The packets will be stored in the buffer first and then transmitted
|
||||
either when the watermark reached or when timed out.
|
||||
The available tune data is [0, 1, 2]. Writing a negative value
|
||||
will return an error, and out of range values will be converted
|
||||
to 2. The value indicates a probable level of the event.
|
||||
|
||||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level
|
||||
Date: October 2022
|
||||
KernelVersion: 6.1
|
||||
Contact: Yicong Yang <yangyicong@hisilicon.com>
|
||||
Description: (RW) Control the allocated buffer watermark of outbound packets.
|
||||
The packets will be stored in the buffer first and then transmitted
|
||||
either when the watermark reached or when timed out.
|
||||
The available tune data is [0, 1, 2]. Writing a negative value
|
||||
will return an error, and out of range values will be converted
|
||||
to 2. The value indicates a probable level of the event.
|
||||
@@ -16,7 +16,7 @@ Description: Version of the application running on the device's CPU
|
||||
|
||||
What: /sys/class/habanalabs/hl<n>/clk_max_freq_mhz
|
||||
Date: Jun 2019
|
||||
KernelVersion: not yet upstreamed
|
||||
KernelVersion: 5.7
|
||||
Contact: ogabbay@kernel.org
|
||||
Description: Allows the user to set the maximum clock frequency, in MHz.
|
||||
The device clock might be set to lower value than the maximum.
|
||||
@@ -26,7 +26,7 @@ Description: Allows the user to set the maximum clock frequency, in MHz.
|
||||
|
||||
What: /sys/class/habanalabs/hl<n>/clk_cur_freq_mhz
|
||||
Date: Jun 2019
|
||||
KernelVersion: not yet upstreamed
|
||||
KernelVersion: 5.7
|
||||
Contact: ogabbay@kernel.org
|
||||
Description: Displays the current frequency, in MHz, of the device clock.
|
||||
This property is valid only for the Gaudi ASIC family
|
||||
@@ -176,6 +176,12 @@ KernelVersion: 5.1
|
||||
Contact: ogabbay@kernel.org
|
||||
Description: Version of the device's preboot F/W code
|
||||
|
||||
What: /sys/class/habanalabs/hl<n>/security_enabled
|
||||
Date: Oct 2022
|
||||
KernelVersion: 6.1
|
||||
Contact: obitton@habana.ai
|
||||
Description: Displays the device's security status
|
||||
|
||||
What: /sys/class/habanalabs/hl<n>/soft_reset
|
||||
Date: Jan 2019
|
||||
KernelVersion: 5.1
|
||||
@@ -230,6 +236,6 @@ Description: Version of the u-boot running on the device's CPU
|
||||
|
||||
What: /sys/class/habanalabs/hl<n>/vrm_ver
|
||||
Date: Jan 2022
|
||||
KernelVersion: not yet upstreamed
|
||||
KernelVersion: 5.17
|
||||
Contact: ogabbay@kernel.org
|
||||
Description: Version of the Device's Voltage Regulator Monitor F/W code. N/A to GOYA and GAUDI
|
||||
|
||||
@@ -61,6 +61,9 @@ properties:
|
||||
maxItems: 1
|
||||
description: Address translation error interrupt
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
additionalProperties: false
|
||||
|
||||
@@ -98,6 +98,9 @@ properties:
|
||||
base cti node if compatible string arm,coresight-cti-v8-arch is used,
|
||||
or may appear in a trig-conns child node when appropriate.
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
arm,cti-ctm-id:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description:
|
||||
|
||||
@@ -54,6 +54,9 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
|
||||
|
||||
@@ -54,6 +54,9 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
qcom,replicator-loses-context:
|
||||
type: boolean
|
||||
description:
|
||||
|
||||
@@ -54,6 +54,9 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
additionalProperties: false
|
||||
|
||||
@@ -73,6 +73,9 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
arm,coresight-loses-context-with-cpu:
|
||||
type: boolean
|
||||
description:
|
||||
|
||||
@@ -27,6 +27,9 @@ properties:
|
||||
compatible:
|
||||
const: arm,coresight-static-funnel
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@ properties:
|
||||
compatible:
|
||||
const: arm,coresight-static-replicator
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
additionalProperties: false
|
||||
|
||||
@@ -61,6 +61,9 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
out-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
additionalProperties: false
|
||||
|
||||
@@ -55,6 +55,12 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
iommus:
|
||||
maxItems: 1
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
arm,buffer-size:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
deprecated: true
|
||||
|
||||
@@ -54,6 +54,9 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
additionalProperties: false
|
||||
|
||||
@@ -33,6 +33,9 @@ properties:
|
||||
Handle to the cpu this ETE is bound to.
|
||||
$ref: /schemas/types.yaml#/definitions/phandle
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
out-ports:
|
||||
description: |
|
||||
Output connections from the ETE to legacy CoreSight trace bus.
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/counter/ti,am62-ecap-capture.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Texas Instruments Enhanced Capture (eCAP) Module
|
||||
|
||||
maintainers:
|
||||
- Julien Panis <jpanis@baylibre.com>
|
||||
|
||||
description: |
|
||||
The eCAP module resources can be used to capture timestamps
|
||||
on input signal events (falling/rising edges).
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: ti,am62-ecap-capture
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
maxItems: 1
|
||||
|
||||
clock-names:
|
||||
const: fck
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- interrupts
|
||||
- clocks
|
||||
- clock-names
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/soc/ti,sci_pm_domain.h>
|
||||
|
||||
soc {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
||||
capture@23100000 { /* eCAP in capture mode on am62x */
|
||||
compatible = "ti,am62-ecap-capture";
|
||||
reg = <0x00 0x23100000 0x00 0x100>;
|
||||
interrupts = <GIC_SPI 113 IRQ_TYPE_EDGE_RISING>;
|
||||
power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
|
||||
clocks = <&k3_clks 51 0>;
|
||||
clock-names = "fck";
|
||||
};
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user