forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'char-misc-6.9-rc1' of git://git.kernel.org/pub/scm/linux/k…
…ernel/git/gregkh/char-misc Pull char/misc and other driver subsystem updates from Greg KH: "Here is the big set of char/misc and a number of other driver subsystem updates for 6.9-rc1. Included in here are: - IIO driver updates, loads of new ones and evolution of existing ones - coresight driver updates - const cleanups for many driver subsystems - speakup driver additions - platform remove callback void cleanups - mei driver updates - mhi driver updates - cdx driver updates for MSI interrupt handling - nvmem driver updates - other smaller driver updates and cleanups, full details in the shortlog All of these have been in linux-next for a long time with no reported issue, other than a build warning for the speakup driver" The build warning hits clang and is a gcc (and C23) extension, and is fixed up in the merge. Link: https://lore.kernel.org/all/[email protected]/ * tag 'char-misc-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (279 commits) binder: remove redundant variable page_addr uio_dmem_genirq: UIO_MEM_DMA_COHERENT conversion uio_pruss: UIO_MEM_DMA_COHERENT conversion cnic,bnx2,bnx2x: use UIO_MEM_DMA_COHERENT uio: introduce UIO_MEM_DMA_COHERENT type cdx: add MSI support for CDX bus pps: use cflags-y instead of EXTRA_CFLAGS speakup: Add /dev/synthu device speakup: Fix 8bit characters from direct synth parport: sunbpp: Convert to platform remove callback returning void parport: amiga: Convert to platform remove callback returning void char: xillybus: Convert to platform remove callback returning void vmw_balloon: change maintainership MAINTAINERS: change the maintainer for hpilo driver char: xilinx_hwicap: Fix NULL vs IS_ERR() bug hpet: remove hpets::hp_clocksource platform: goldfish: move the separate 'default' propery for CONFIG_GOLDFISH char: xilinx_hwicap: drop casting to void in dev_set_drvdata greybus: move is_gb_* functions out of greybus.h greybus: Remove usage of the deprecated ida_simple_xx() API ...
- Loading branch information
Showing
305 changed files
with
15,165 additions
and
4,492 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -439,6 +439,8 @@ Mukesh Ojha <[email protected]> <[email protected]> | |
Muna Sinada <[email protected]> <[email protected]> | ||
Murali Nalajala <[email protected]> <[email protected]> | ||
Mythri P K <[email protected]> | ||
Nadav Amit <[email protected]> <[email protected]> | ||
Nadav Amit <[email protected]> <[email protected]> | ||
Nadia Yvette Chambers <[email protected]> William Lee Irwin III <[email protected]> | ||
Naoya Horiguchi <[email protected]> <[email protected]> | ||
Nathan Chancellor <[email protected]> <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -170,3 +170,90 @@ Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <quic_t | |
Description: | ||
(RW) Set/Get the MSR(mux select register) for the DSB subunit | ||
TPDM. | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_mode | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: (Write) Set the data collection mode of CMB tpdm. Continuous | ||
change creates CMB data set elements on every CMBCLK edge. | ||
Trace-on-change creates CMB data set elements only when a new | ||
data set element differs in value from the previous element | ||
in a CMB data set. | ||
|
||
Accepts only one of the 2 values - 0 or 1. | ||
0 : Continuous CMB collection mode. | ||
1 : Trace-on-change CMB collection mode. | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_patt/xpr[0:1] | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(RW) Set/Get the value of the trigger pattern for the CMB | ||
subunit TPDM. | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_patt/xpmr[0:1] | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(RW) Set/Get the mask of the trigger pattern for the CMB | ||
subunit TPDM. | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpr[0:1] | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(RW) Set/Get the value of the pattern for the CMB subunit TPDM. | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/dsb_patt/tpmr[0:1] | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(RW) Set/Get the mask of the pattern for the CMB subunit TPDM. | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_patt/enable_ts | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(Write) Set the pattern timestamp of CMB tpdm. Read | ||
the pattern timestamp of CMB tpdm. | ||
|
||
Accepts only one of the 2 values - 0 or 1. | ||
0 : Disable CMB pattern timestamp. | ||
1 : Enable CMB pattern timestamp. | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_trig_ts | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(RW) Set/Get the trigger timestamp of the CMB for tpdm. | ||
|
||
Accepts only one of the 2 values - 0 or 1. | ||
0 : Set the CMB trigger type to false | ||
1 : Set the CMB trigger type to true | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_ts_all | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(RW) Read or write the status of timestamp upon all interface. | ||
Only value 0 and 1 can be written to this node. Set this node to 1 to requeset | ||
timestamp to all trace packet. | ||
Accepts only one of the 2 values - 0 or 1. | ||
0 : Disable the timestamp of all trace packets. | ||
1 : Enable the timestamp of all trace packets. | ||
|
||
What: /sys/bus/coresight/devices/<tpdm-name>/cmb_msr/msr[0:31] | ||
Date: January 2024 | ||
KernelVersion 6.9 | ||
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(RW) Set/Get the MSR(mux select register) for the CMB subunit | ||
TPDM. |
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,9 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistorY | ||
KernelVersion: 6.7 | ||
Contact: [email protected] | ||
Description: | ||
The value of the shunt resistor may be known only at runtime | ||
and set by a client application. This attribute allows to | ||
set its value in micro-ohms. X is the IIO index of the device. | ||
Y is the channel number. The value is used to calculate | ||
current, power and accumulated energy. |
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
120 changes: 120 additions & 0 deletions
120
Documentation/devicetree/bindings/iio/adc/microchip,pac1934.yaml
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,120 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/iio/adc/microchip,pac1934.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Microchip PAC1934 Power Monitors with Accumulator | ||
|
||
maintainers: | ||
- Marius Cristea <[email protected]> | ||
|
||
description: | | ||
This device is part of the Microchip family of Power Monitors with | ||
Accumulator. | ||
The datasheet for PAC1931, PAC1932, PAC1933 and PAC1934 can be found here: | ||
https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/PAC1931-Family-Data-Sheet-DS20005850E.pdf | ||
properties: | ||
compatible: | ||
enum: | ||
- microchip,pac1931 | ||
- microchip,pac1932 | ||
- microchip,pac1933 | ||
- microchip,pac1934 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
"#address-cells": | ||
const: 1 | ||
|
||
"#size-cells": | ||
const: 0 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
slow-io-gpios: | ||
description: | ||
A GPIO used to trigger a change is sampling rate (lowering the chip power | ||
consumption). If configured in SLOW mode, if this pin is forced high, | ||
sampling rate is forced to eight samples/second. When it is forced low, | ||
the sampling rate is 1024 samples/second unless a different sample rate | ||
has been programmed. | ||
|
||
patternProperties: | ||
"^channel@[1-4]+$": | ||
type: object | ||
$ref: adc.yaml | ||
description: | ||
Represents the external channels which are connected to the ADC. | ||
|
||
properties: | ||
reg: | ||
items: | ||
minimum: 1 | ||
maximum: 4 | ||
|
||
shunt-resistor-micro-ohms: | ||
description: | ||
Value in micro Ohms of the shunt resistor connected between | ||
the SENSE+ and SENSE- inputs, across which the current is measured. | ||
Value is needed to compute the scaling of the measured current. | ||
|
||
required: | ||
- reg | ||
- shunt-resistor-micro-ohms | ||
|
||
unevaluatedProperties: false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- "#address-cells" | ||
- "#size-cells" | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
power-monitor@10 { | ||
compatible = "microchip,pac1934"; | ||
reg = <0x10>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
channel@1 { | ||
reg = <0x1>; | ||
shunt-resistor-micro-ohms = <24900000>; | ||
label = "CPU"; | ||
}; | ||
channel@2 { | ||
reg = <0x2>; | ||
shunt-resistor-micro-ohms = <49900000>; | ||
label = "GPU"; | ||
}; | ||
channel@3 { | ||
reg = <0x3>; | ||
shunt-resistor-micro-ohms = <75000000>; | ||
label = "MEM"; | ||
bipolar; | ||
}; | ||
channel@4 { | ||
reg = <0x4>; | ||
shunt-resistor-micro-ohms = <100000000>; | ||
label = "NET"; | ||
bipolar; | ||
}; | ||
}; | ||
}; | ||
... |
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
Oops, something went wrong.