-
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/20240321134831.GA2762840@dev-arch.thelio-3990X/ * 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
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,9 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistorY | ||
KernelVersion: 6.7 | ||
Contact: linux-iio@vger.kernel.org | ||
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 <marius.cristea@microchip.com> | ||
|
||
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.