Skip to content

Commit 14d0e1a

Browse files
committed
Merge tag 'soc-drivers-6.13' of git://git.kernel.org/pub/scm/linux/kernel/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 ...
2 parents 9c39d5a + b77587a commit 14d0e1a

File tree

136 files changed

+7200
-1061
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+7200
-1061
lines changed

Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,48 @@ Description:
7979
indicates a lane.
8080
crc_err_cnt: (RO) CRC err count on this port.
8181
============= ==== =============================================
82+
83+
What: /sys/devices/platform/HISI04Bx:00/used_types
84+
Date: August 2024
85+
KernelVersion: 6.12
86+
Contact: Huisong Li <[email protected]>
87+
Description:
88+
This interface is used to show all HCCS types used on the
89+
platform, like, HCCS-v1, HCCS-v2 and so on.
90+
91+
What: /sys/devices/platform/HISI04Bx:00/available_inc_dec_lane_types
92+
What: /sys/devices/platform/HISI04Bx:00/dec_lane_of_type
93+
What: /sys/devices/platform/HISI04Bx:00/inc_lane_of_type
94+
Date: August 2024
95+
KernelVersion: 6.12
96+
Contact: Huisong Li <[email protected]>
97+
Description:
98+
These interfaces under /sys/devices/platform/HISI04Bx/ are
99+
used to support the low power consumption feature of some
100+
HCCS types by changing the number of lanes used. The interfaces
101+
changing the number of lanes used are 'dec_lane_of_type' and
102+
'inc_lane_of_type' which require root privileges. These
103+
interfaces aren't exposed if no HCCS type on platform support
104+
this feature. Please note that decreasing lane number is only
105+
allowed if all the specified HCCS ports are not busy.
106+
107+
The low power consumption interfaces are as follows:
108+
109+
============================= ==== ================================
110+
available_inc_dec_lane_types: (RO) available HCCS types (string) to
111+
increase and decrease the number
112+
of lane used, e.g. HCCS-v2.
113+
dec_lane_of_type: (WO) input HCCS type supported
114+
decreasing lane to decrease the
115+
used lane number of all specified
116+
HCCS type ports on platform to
117+
the minimum.
118+
You can query the 'cur_lane_num'
119+
to get the minimum lane number
120+
after executing successfully.
121+
inc_lane_of_type: (WO) input HCCS type supported
122+
increasing lane to increase the
123+
used lane number of all specified
124+
HCCS type ports on platform to
125+
the full lane state.
126+
============================= ==== ================================

Documentation/devicetree/bindings/cache/qcom,llcc.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ description: |
2020
properties:
2121
compatible:
2222
enum:
23+
- qcom,qcs615-llcc
24+
- qcom,qcs8300-llcc
2325
- qcom,qdu1000-llcc
2426
- qcom,sa8775p-llcc
27+
- qcom,sar1130p-llcc
28+
- qcom,sar2130p-llcc
2529
- qcom,sc7180-llcc
2630
- qcom,sc7280-llcc
2731
- qcom,sc8180x-llcc
@@ -67,6 +71,33 @@ allOf:
6771
compatible:
6872
contains:
6973
enum:
74+
- qcom,sar1130p-llcc
75+
- qcom,sar2130p-llcc
76+
then:
77+
properties:
78+
reg:
79+
items:
80+
- description: LLCC0 base register region
81+
- description: LLCC1 base register region
82+
- description: LLCC broadcast OR register region
83+
- description: LLCC broadcast AND register region
84+
- description: LLCC scratchpad broadcast OR register region
85+
- description: LLCC scratchpad broadcast AND register region
86+
reg-names:
87+
items:
88+
- const: llcc0_base
89+
- const: llcc1_base
90+
- const: llcc_broadcast_base
91+
- const: llcc_broadcast_and_base
92+
- const: llcc_scratchpad_broadcast_base
93+
- const: llcc_scratchpad_broadcast_and_base
94+
95+
- if:
96+
properties:
97+
compatible:
98+
contains:
99+
enum:
100+
- qcom,qcs615-llcc
70101
- qcom,sc7180-llcc
71102
- qcom,sm6350-llcc
72103
then:
@@ -197,6 +228,7 @@ allOf:
197228
compatible:
198229
contains:
199230
enum:
231+
- qcom,qcs8300-llcc
200232
- qcom,sdm845-llcc
201233
- qcom,sm8150-llcc
202234
- qcom,sm8250-llcc

Documentation/devicetree/bindings/firmware/arm,scmi.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,21 @@ properties:
131131
be a non-zero value if set.
132132
minimum: 1
133133

134+
arm,max-msg-size:
135+
$ref: /schemas/types.yaml#/definitions/uint32
136+
description:
137+
An optional value, expressed in bytes, representing the maximum size
138+
allowed for the payload of messages transmitted on this transport.
139+
140+
arm,max-msg:
141+
$ref: /schemas/types.yaml#/definitions/uint32
142+
description:
143+
An optional value representing the maximum number of concurrent in-flight
144+
messages allowed by this transport; this number represents the maximum
145+
number of concurrently outstanding messages that the server can handle on
146+
this platform. If set, the value should be non-zero.
147+
minimum: 1
148+
134149
arm,smc-id:
135150
$ref: /schemas/types.yaml#/definitions/uint32
136151
description:

Documentation/devicetree/bindings/firmware/qcom,scm.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ properties:
4242
- qcom,scm-msm8996
4343
- qcom,scm-msm8998
4444
- qcom,scm-qcm2290
45+
- qcom,scm-qcs8300
4546
- qcom,scm-qdu1000
47+
- qcom,scm-sa8255p
4648
- qcom,scm-sa8775p
49+
- qcom,scm-sar2130p
4750
- qcom,scm-sc7180
4851
- qcom,scm-sc7280
4952
- qcom,scm-sc8180x
@@ -64,6 +67,7 @@ properties:
6467
- qcom,scm-sm8450
6568
- qcom,scm-sm8550
6669
- qcom,scm-sm8650
70+
- qcom,scm-sm8750
6771
- qcom,scm-qcs404
6872
- qcom,scm-x1e80100
6973
- const: qcom,scm
@@ -195,6 +199,7 @@ allOf:
195199
- qcom,scm-sm8450
196200
- qcom,scm-sm8550
197201
- qcom,scm-sm8650
202+
- qcom,scm-sm8750
198203
then:
199204
properties:
200205
interrupts: false
@@ -204,6 +209,7 @@ allOf:
204209
compatible:
205210
contains:
206211
enum:
212+
- qcom,scm-sa8255p
207213
- qcom,scm-sa8775p
208214
then:
209215
properties:

Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,39 @@ properties:
5858
access window as configured.
5959
6060
patternProperties:
61-
"^.*@[a-f0-9]+(,[a-f0-9]+)+$":
61+
"^nand@[a-f0-9]+(,[a-f0-9]+)+$":
6262
type: object
63-
description: |
64-
Child device nodes describe the devices connected to IFC such as NOR (e.g.
65-
cfi-flash) and NAND (fsl,ifc-nand). There might be board specific devices
66-
like FPGAs, CPLDs, etc.
63+
properties:
64+
compatible:
65+
const: fsl,ifc-nand
66+
67+
reg:
68+
maxItems: 1
69+
70+
"#address-cells":
71+
const: 1
72+
73+
"#size-cells":
74+
const: 1
75+
76+
patternProperties:
77+
"^partition@[0-9a-f]+":
78+
$ref: /schemas/mtd/partitions/partition.yaml#
79+
deprecated: true
6780

6881
required:
6982
- compatible
7083
- reg
7184

85+
additionalProperties: false
86+
87+
"(flash|fpga|board-control|cpld)@[a-f0-9]+(,[a-f0-9]+)+$":
88+
type: object
89+
oneOf:
90+
- $ref: /schemas/board/fsl,fpga-qixis.yaml#
91+
- $ref: /schemas/mtd/mtd-physmap.yaml#
92+
unevaluatedProperties: false
93+
7294
required:
7395
- compatible
7496
- reg
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/soc/mediatek/mediatek,mt8183-dvfsrc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MediaTek Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC)
8+
9+
description:
10+
The Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC) is a
11+
Hardware module used to collect all the requests from both software and the
12+
various remote processors embedded into the SoC and decide about a minimum
13+
operating voltage and a minimum DRAM frequency to fulfill those requests in
14+
an effort to provide the best achievable performance per watt.
15+
This hardware IP is capable of transparently performing direct register R/W
16+
on all of the DVFSRC-controlled regulators and SoC bandwidth knobs.
17+
18+
maintainers:
19+
- AngeloGioacchino Del Regno <[email protected]>
20+
- Henry Chen <[email protected]>
21+
22+
properties:
23+
compatible:
24+
oneOf:
25+
- enum:
26+
- mediatek,mt8183-dvfsrc
27+
- mediatek,mt8195-dvfsrc
28+
- items:
29+
- const: mediatek,mt8192-dvfsrc
30+
- const: mediatek,mt8195-dvfsrc
31+
32+
reg:
33+
maxItems: 1
34+
description: DVFSRC common register address and length.
35+
36+
regulators:
37+
type: object
38+
$ref: /schemas/regulator/mediatek,mt6873-dvfsrc-regulator.yaml#
39+
40+
interconnect:
41+
type: object
42+
$ref: /schemas/interconnect/mediatek,mt8183-emi.yaml#
43+
44+
required:
45+
- compatible
46+
- reg
47+
48+
additionalProperties: false
49+
50+
examples:
51+
- |
52+
soc {
53+
#address-cells = <2>;
54+
#size-cells = <2>;
55+
56+
system-controller@10012000 {
57+
compatible = "mediatek,mt8195-dvfsrc";
58+
reg = <0 0x10012000 0 0x1000>;
59+
60+
regulators {
61+
compatible = "mediatek,mt8195-dvfsrc-regulator";
62+
63+
dvfsrc_vcore: dvfsrc-vcore {
64+
regulator-name = "dvfsrc-vcore";
65+
regulator-min-microvolt = <550000>;
66+
regulator-max-microvolt = <750000>;
67+
regulator-always-on;
68+
};
69+
70+
dvfsrc_vscp: dvfsrc-vscp {
71+
regulator-name = "dvfsrc-vscp";
72+
regulator-min-microvolt = <550000>;
73+
regulator-max-microvolt = <750000>;
74+
regulator-always-on;
75+
};
76+
};
77+
78+
emi_icc: interconnect {
79+
compatible = "mediatek,mt8195-emi";
80+
#interconnect-cells = <1>;
81+
};
82+
};
83+
};

Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ properties:
2525
compatible:
2626
items:
2727
- enum:
28+
- qcom,qcs8300-aoss-qmp
2829
- qcom,qdu1000-aoss-qmp
30+
- qcom,sa8255p-aoss-qmp
2931
- qcom,sa8775p-aoss-qmp
32+
- qcom,sar2130p-aoss-qmp
3033
- qcom,sc7180-aoss-qmp
3134
- qcom,sc7280-aoss-qmp
3235
- qcom,sc8180x-aoss-qmp
@@ -40,6 +43,7 @@ properties:
4043
- qcom,sm8450-aoss-qmp
4144
- qcom,sm8550-aoss-qmp
4245
- qcom,sm8650-aoss-qmp
46+
- qcom,sm8750-aoss-qmp
4347
- qcom,x1e80100-aoss-qmp
4448
- const: qcom,aoss-qmp
4549

Documentation/devicetree/bindings/sram/qcom,imem.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ properties:
2121
- qcom,msm8226-imem
2222
- qcom,msm8974-imem
2323
- qcom,qcs404-imem
24+
- qcom,qcs8300-imem
2425
- qcom,qdu1000-imem
2526
- qcom,sa8775p-imem
2627
- qcom,sc7180-imem

Documentation/devicetree/bindings/sram/sram.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ patternProperties:
101101
IO mem address range, relative to the SRAM range.
102102
maxItems: 1
103103

104+
reg-io-width:
105+
description:
106+
The size (in bytes) of the IO accesses that should be performed on the
107+
SRAM.
108+
enum: [1, 2, 4, 8]
109+
104110
pool:
105111
description:
106112
Indicates that the particular reserved SRAM area is addressable

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2815,6 +2815,7 @@ F: arch/arm64/boot/dts/qcom/sdm845-cheza*
28152815

28162816
ARM/QUALCOMM MAILING LIST
28172817
2818+
C: irc://irc.oftc.net/linux-msm
28182819
F: Documentation/devicetree/bindings/*/qcom*
28192820
F: Documentation/devicetree/bindings/soc/qcom/
28202821
F: arch/arm/boot/dts/qcom/
@@ -2856,6 +2857,7 @@ M: Bjorn Andersson <[email protected]>
28562857
M: Konrad Dybcio <[email protected]>
28572858
28582859
S: Maintained
2860+
C: irc://irc.oftc.net/linux-msm
28592861
T: git git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git
28602862
F: Documentation/devicetree/bindings/arm/qcom-soc.yaml
28612863
F: Documentation/devicetree/bindings/arm/qcom.yaml
@@ -15176,6 +15178,12 @@ S: Maintained
1517615178
F: Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml
1517715179
F: drivers/irqchip/irq-lan966x-oic.c
1517815180

15181+
MICROCHIP LAN966X PCI DRIVER
15182+
M: Herve Codina <[email protected]>
15183+
S: Maintained
15184+
F: drivers/misc/lan966x_pci.c
15185+
F: drivers/misc/lan966x_pci.dtso
15186+
1517915187
MICROCHIP LCDFB DRIVER
1518015188
M: Nicolas Ferre <[email protected]>
1518115189
@@ -18287,6 +18295,7 @@ PIN CONTROLLER - QUALCOMM
1828718295
M: Bjorn Andersson <[email protected]>
1828818296
1828918297
S: Maintained
18298+
C: irc://irc.oftc.net/linux-msm
1829018299
F: Documentation/devicetree/bindings/pinctrl/qcom,*
1829118300
F: drivers/pinctrl/qcom/
1829218301

0 commit comments

Comments
 (0)