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 'soc-drivers-6.13' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/soc/soc Pull SoC driver updates from Arnd Bergmann: "Nothing particular important in the SoC driver updates, just the usual improvements to for drivers/soc and a couple of subsystems that don't fit anywhere else: - The largest set of updates is for Qualcomm SoC drivers, extending the set of supported features for additional SoCs in the QSEECOM, LLCC and socinfo drivers.a - The ti_sci firmware driver gains support for power managment - The drivers/reset subsystem sees a rework of the microchip sparx5 and amlogic reset drivers to support additional chips, plus a few minor updates on other platforms - The SCMI firmware interface driver gains support for two protocol extensions, allowing more flexible use of the shared memory area and new DT binding properties for configurability. - Mediatek SoC drivers gain support for power managment on the MT8188 SoC and a new driver for DVFS. - The AMD/Xilinx ZynqMP SoC drivers gain support for system reboot and a few bugfixes - The Hisilicon Kunpeng HCCS driver gains support for configuring lanes through sysfs Finally, there are cleanups and minor fixes for drivers/{soc, bus, memory}, including changing back the .remove_new callback to .remove, as well as a few other updates for freescale (powerpc) soc drivers, NXP i.MX soc drivers, cznic turris platform driver, memory controller drviers, TI OMAP SoC drivers, and Tegra firmware drivers" * tag 'soc-drivers-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (116 commits) soc: fsl: cpm1: qmc: Set the ret error code on platform_get_irq() failure soc: fsl: rcpm: fix missing of_node_put() in copy_ippdexpcr1_setting() soc: fsl: cpm1: tsa: switch to for_each_available_child_of_node_scoped() platform: cznic: turris-omnia-mcu: Rename variable holding GPIO line names platform: cznic: turris-omnia-mcu: Document the driver private data structure firmware: turris-mox-rwtm: Document the driver private data structure bus: Switch back to struct platform_driver::remove() soc: qcom: ice: Remove the device_link field in qcom_ice drm/msm/adreno: Setup SMMU aparture for per-process page table firmware: qcom: scm: Introduce CP_SMMU_APERTURE_ID firmware: arm_scpi: Check the DVFS OPP count returned by the firmware soc: qcom: socinfo: add IPQ5424/IPQ5404 SoC ID dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404 soc: qcom: llcc: Flip the manual slice configuration condition dt-bindings: firmware: qcom,scm: Document sm8750 SCM firmware: qcom: uefisecapp: Allow X1E Devkit devices misc: lan966x_pci: Fix dtc warn 'Missing interrupt-parent' misc: lan966x_pci: Fix dtc warns 'missing or empty reg/ranges property' soc: qcom: llcc: Add LLCC configuration for the QCS8300 platform dt-bindings: cache: qcom,llcc: Document the QCS8300 LLCC ...
- Loading branch information
Showing
136 changed files
with
7,200 additions
and
1,061 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 |
---|---|---|
|
@@ -79,3 +79,48 @@ Description: | |
indicates a lane. | ||
crc_err_cnt: (RO) CRC err count on this port. | ||
============= ==== ============================================= | ||
|
||
What: /sys/devices/platform/HISI04Bx:00/used_types | ||
Date: August 2024 | ||
KernelVersion: 6.12 | ||
Contact: Huisong Li <[email protected]> | ||
Description: | ||
This interface is used to show all HCCS types used on the | ||
platform, like, HCCS-v1, HCCS-v2 and so on. | ||
|
||
What: /sys/devices/platform/HISI04Bx:00/available_inc_dec_lane_types | ||
What: /sys/devices/platform/HISI04Bx:00/dec_lane_of_type | ||
What: /sys/devices/platform/HISI04Bx:00/inc_lane_of_type | ||
Date: August 2024 | ||
KernelVersion: 6.12 | ||
Contact: Huisong Li <[email protected]> | ||
Description: | ||
These interfaces under /sys/devices/platform/HISI04Bx/ are | ||
used to support the low power consumption feature of some | ||
HCCS types by changing the number of lanes used. The interfaces | ||
changing the number of lanes used are 'dec_lane_of_type' and | ||
'inc_lane_of_type' which require root privileges. These | ||
interfaces aren't exposed if no HCCS type on platform support | ||
this feature. Please note that decreasing lane number is only | ||
allowed if all the specified HCCS ports are not busy. | ||
|
||
The low power consumption interfaces are as follows: | ||
|
||
============================= ==== ================================ | ||
available_inc_dec_lane_types: (RO) available HCCS types (string) to | ||
increase and decrease the number | ||
of lane used, e.g. HCCS-v2. | ||
dec_lane_of_type: (WO) input HCCS type supported | ||
decreasing lane to decrease the | ||
used lane number of all specified | ||
HCCS type ports on platform to | ||
the minimum. | ||
You can query the 'cur_lane_num' | ||
to get the minimum lane number | ||
after executing successfully. | ||
inc_lane_of_type: (WO) input HCCS type supported | ||
increasing lane to increase the | ||
used lane number of all specified | ||
HCCS type ports on platform to | ||
the full lane state. | ||
============================= ==== ================================ |
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
83 changes: 83 additions & 0 deletions
83
Documentation/devicetree/bindings/soc/mediatek/mediatek,mt8183-dvfsrc.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,83 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/soc/mediatek/mediatek,mt8183-dvfsrc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: MediaTek Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC) | ||
|
||
description: | ||
The Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC) is a | ||
Hardware module used to collect all the requests from both software and the | ||
various remote processors embedded into the SoC and decide about a minimum | ||
operating voltage and a minimum DRAM frequency to fulfill those requests in | ||
an effort to provide the best achievable performance per watt. | ||
This hardware IP is capable of transparently performing direct register R/W | ||
on all of the DVFSRC-controlled regulators and SoC bandwidth knobs. | ||
|
||
maintainers: | ||
- AngeloGioacchino Del Regno <[email protected]> | ||
- Henry Chen <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- enum: | ||
- mediatek,mt8183-dvfsrc | ||
- mediatek,mt8195-dvfsrc | ||
- items: | ||
- const: mediatek,mt8192-dvfsrc | ||
- const: mediatek,mt8195-dvfsrc | ||
|
||
reg: | ||
maxItems: 1 | ||
description: DVFSRC common register address and length. | ||
|
||
regulators: | ||
type: object | ||
$ref: /schemas/regulator/mediatek,mt6873-dvfsrc-regulator.yaml# | ||
|
||
interconnect: | ||
type: object | ||
$ref: /schemas/interconnect/mediatek,mt8183-emi.yaml# | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
soc { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
system-controller@10012000 { | ||
compatible = "mediatek,mt8195-dvfsrc"; | ||
reg = <0 0x10012000 0 0x1000>; | ||
regulators { | ||
compatible = "mediatek,mt8195-dvfsrc-regulator"; | ||
dvfsrc_vcore: dvfsrc-vcore { | ||
regulator-name = "dvfsrc-vcore"; | ||
regulator-min-microvolt = <550000>; | ||
regulator-max-microvolt = <750000>; | ||
regulator-always-on; | ||
}; | ||
dvfsrc_vscp: dvfsrc-vscp { | ||
regulator-name = "dvfsrc-vscp"; | ||
regulator-min-microvolt = <550000>; | ||
regulator-max-microvolt = <750000>; | ||
regulator-always-on; | ||
}; | ||
}; | ||
emi_icc: interconnect { | ||
compatible = "mediatek,mt8195-emi"; | ||
#interconnect-cells = <1>; | ||
}; | ||
}; | ||
}; |
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 |
---|---|---|
|
@@ -2815,6 +2815,7 @@ F: arch/arm64/boot/dts/qcom/sdm845-cheza* | |
|
||
ARM/QUALCOMM MAILING LIST | ||
L: [email protected] | ||
C: irc://irc.oftc.net/linux-msm | ||
F: Documentation/devicetree/bindings/*/qcom* | ||
F: Documentation/devicetree/bindings/soc/qcom/ | ||
F: arch/arm/boot/dts/qcom/ | ||
|
@@ -2856,6 +2857,7 @@ M: Bjorn Andersson <[email protected]> | |
M: Konrad Dybcio <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
C: irc://irc.oftc.net/linux-msm | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git | ||
F: Documentation/devicetree/bindings/arm/qcom-soc.yaml | ||
F: Documentation/devicetree/bindings/arm/qcom.yaml | ||
|
@@ -15176,6 +15178,12 @@ S: Maintained | |
F: Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml | ||
F: drivers/irqchip/irq-lan966x-oic.c | ||
|
||
MICROCHIP LAN966X PCI DRIVER | ||
M: Herve Codina <[email protected]> | ||
S: Maintained | ||
F: drivers/misc/lan966x_pci.c | ||
F: drivers/misc/lan966x_pci.dtso | ||
|
||
MICROCHIP LCDFB DRIVER | ||
M: Nicolas Ferre <[email protected]> | ||
L: [email protected] | ||
|
@@ -18287,6 +18295,7 @@ PIN CONTROLLER - QUALCOMM | |
M: Bjorn Andersson <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
C: irc://irc.oftc.net/linux-msm | ||
F: Documentation/devicetree/bindings/pinctrl/qcom,* | ||
F: drivers/pinctrl/qcom/ | ||
|
||
|
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.