Skip to content

Commit 1544df9

Browse files
committed
Merge tag 'soc-drivers-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC driver updates from Arnd Bergmann: "The main change this time was the introduction of the drivers/genpd subsystem that gets split out from drivers/soc to keep common functionality together. The SCMI driver subsystem gets an update to version 3.2 of the specification. There are also updates to memory, reset and other firmware drivers. On the soc driver side, the updates are mostly cleanups across a number of Arm platforms. On driver for loongarch adds power management for DT based systems, another driver is for HiSilicon's Arm server chips with their HCCS system health interface. The remaining updates for the most part add support for additional hardware in existing drivers or contain minor cleanups. Most of these are for the Qualcomm Snapdragon platform" * tag 'soc-drivers-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (136 commits) bus: fsl-mc: Use common ranges functions soc: kunpeng_hccs: fix some sparse warnings about incorrect type soc: loongson2_pm: add power management support soc: dt-bindings: add loongson-2 pm soc: rockchip: grf: Fix SDMMC not working on RK3588 with bus-width > 1 genpd: rockchip: Add PD_VO entry for rv1126 bus: ti-sysc: Fix cast to enum warning soc: kunpeng_hccs: add MAILBOX dependency MAINTAINERS: remove OXNAS entry dt-bindings: interrupt-controller: arm,versatile-fpga-irq: mark oxnas compatible as deprecated irqchip: irq-versatile-fpga: remove obsolete oxnas compatible soc: qcom: aoss: Tidy up qmp_send() callers soc: qcom: aoss: Format string in qmp_send() soc: qcom: aoss: Move length requirements from caller soc: kunpeng_hccs: fix size_t format string soc: ti: k3-socinfo.c: Add JTAG ID for AM62PX dt-bindings: firmware: qcom: scm: Updating VMID list firmware: imx: scu-irq: support identifying SCU wakeup source from sysfs firmware: imx: scu-irq: enlarge the IMX_SC_IRQ_NUM_GROUP firmware: imx: scu-irq: add imx_scu_irq_get_status ...
2 parents c66403f + 0995952 commit 1544df9

File tree

166 files changed

+3821
-1107
lines changed

Some content is hidden

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

166 files changed

+3821
-1107
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
What: /sys/devices/platform/HISI04Bx:00/chipX/all_linked
2+
What: /sys/devices/platform/HISI04Bx:00/chipX/linked_full_lane
3+
What: /sys/devices/platform/HISI04Bx:00/chipX/crc_err_cnt
4+
Date: November 2023
5+
KernelVersion: 6.6
6+
Contact: Huisong Li <lihuisong@huawei.org>
7+
Description:
8+
The /sys/devices/platform/HISI04Bx:00/chipX/ directory
9+
contains read-only attributes exposing some summarization
10+
information of all HCCS ports under a specified chip.
11+
The X in 'chipX' indicates the Xth chip on platform.
12+
13+
There are following attributes in this directory:
14+
15+
================= ==== =========================================
16+
all_linked: (RO) if all enabled ports on this chip are
17+
linked (bool).
18+
linked_full_lane: (RO) if all linked ports on this chip are full
19+
lane (bool).
20+
crc_err_cnt: (RO) total CRC err count for all ports on this
21+
chip.
22+
================= ==== =========================================
23+
24+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/all_linked
25+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/linked_full_lane
26+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/crc_err_cnt
27+
Date: November 2023
28+
KernelVersion: 6.6
29+
Contact: Huisong Li <lihuisong@huawei.org>
30+
Description:
31+
The /sys/devices/platform/HISI04Bx:00/chipX/dieY/ directory
32+
contains read-only attributes exposing some summarization
33+
information of all HCCS ports under a specified die.
34+
The Y in 'dieY' indicates the hardware id of the die on chip who
35+
has chip id X.
36+
37+
There are following attributes in this directory:
38+
39+
================= ==== =========================================
40+
all_linked: (RO) if all enabled ports on this die are
41+
linked (bool).
42+
linked_full_lane: (RO) if all linked ports on this die are full
43+
lane (bool).
44+
crc_err_cnt: (RO) total CRC err count for all ports on this
45+
die.
46+
================= ==== =========================================
47+
48+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/type
49+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/lane_mode
50+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/enable
51+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/cur_lane_num
52+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/link_fsm
53+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/lane_mask
54+
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/crc_err_cnt
55+
Date: November 2023
56+
KernelVersion: 6.6
57+
Contact: Huisong Li <lihuisong@huawei.org>
58+
Description:
59+
The /sys/devices/platform/HISI04Bx/chipX/dieX/hccsN/ directory
60+
contains read-only attributes exposing information about
61+
a HCCS port. The N value in 'hccsN' indicates this port id.
62+
The X in 'chipX' indicates the ID of the chip to which the
63+
HCCS port belongs. For example, X ranges from to 'n - 1' if the
64+
chip number on platform is n.
65+
The Y in 'dieY' indicates the hardware id of the die to which
66+
the hccs port belongs.
67+
Note: type, lane_mode and enable are fixed attributes on running
68+
platform.
69+
70+
The HCCS port have the following attributes:
71+
72+
============= ==== =============================================
73+
type: (RO) port type (string), e.g. HCCS-v1 -> H32
74+
lane_mode: (RO) the lane mode of this port (string), e.g. x8
75+
enable: (RO) indicate if this port is enabled (bool).
76+
cur_lane_num: (RO) current lane number of this port.
77+
link_fsm: (RO) link finite state machine of this port.
78+
lane_mask: (RO) current lane mask of this port, every bit
79+
indicates a lane.
80+
crc_err_cnt: (RO) CRC err count on this port.
81+
============= ==== =============================================

Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ additionalProperties: false
8282
examples:
8383
- |
8484
#include <dt-bindings/clock/qcom,rpmh.h>
85-
#include <dt-bindings/power/qcom-rpmpd.h>
85+
#include <dt-bindings/power/qcom,rpmhpd.h>
8686
clock-controller@af00000 {
8787
compatible = "qcom,sm8250-dispcc";
8888
reg = <0x0af00000 0x10000>;
@@ -103,7 +103,7 @@ examples:
103103
#clock-cells = <1>;
104104
#reset-cells = <1>;
105105
#power-domain-cells = <1>;
106-
power-domains = <&rpmhpd SM8250_MMCX>;
106+
power-domains = <&rpmhpd RPMHPD_MMCX>;
107107
required-opps = <&rpmhpd_opp_low_svs>;
108108
};
109109
...

Documentation/devicetree/bindings/clock/qcom,sm8350-videocc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ unevaluatedProperties: false
5151
examples:
5252
- |
5353
#include <dt-bindings/clock/qcom,rpmh.h>
54-
#include <dt-bindings/power/qcom-rpmpd.h>
54+
#include <dt-bindings/power/qcom,rpmhpd.h>
5555
5656
clock-controller@abf0000 {
5757
compatible = "qcom,sm8350-videocc";
5858
reg = <0x0abf0000 0x10000>;
5959
clocks = <&rpmhcc RPMH_CXO_CLK>,
6060
<&rpmhcc RPMH_CXO_CLK_A>,
6161
<&sleep_clk>;
62-
power-domains = <&rpmhpd SM8350_MMCX>;
62+
power-domains = <&rpmhpd RPMHPD_MMCX>;
6363
required-opps = <&rpmhpd_opp_low_svs>;
6464
#clock-cells = <1>;
6565
#reset-cells = <1>;

Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ examples:
6464
- |
6565
#include <dt-bindings/clock/qcom,gcc-sm8450.h>
6666
#include <dt-bindings/clock/qcom,rpmh.h>
67-
#include <dt-bindings/power/qcom-rpmpd.h>
67+
#include <dt-bindings/power/qcom,rpmhpd.h>
6868
clock-controller@ade0000 {
6969
compatible = "qcom,sm8450-camcc";
7070
reg = <0xade0000 0x20000>;
7171
clocks = <&gcc GCC_CAMERA_AHB_CLK>,
7272
<&rpmhcc RPMH_CXO_CLK>,
7373
<&rpmhcc RPMH_CXO_CLK_A>,
7474
<&sleep_clk>;
75-
power-domains = <&rpmhpd SM8450_MMCX>;
75+
power-domains = <&rpmhpd RPMHPD_MMCX>;
7676
required-opps = <&rpmhpd_opp_low_svs>;
7777
#clock-cells = <1>;
7878
#reset-cells = <1>;

Documentation/devicetree/bindings/clock/qcom,sm8450-dispcc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ examples:
7676
- |
7777
#include <dt-bindings/clock/qcom,gcc-sm8450.h>
7878
#include <dt-bindings/clock/qcom,rpmh.h>
79-
#include <dt-bindings/power/qcom-rpmpd.h>
79+
#include <dt-bindings/power/qcom,rpmhpd.h>
8080
clock-controller@af00000 {
8181
compatible = "qcom,sm8450-dispcc";
8282
reg = <0x0af00000 0x10000>;
@@ -91,7 +91,7 @@ examples:
9191
#clock-cells = <1>;
9292
#reset-cells = <1>;
9393
#power-domain-cells = <1>;
94-
power-domains = <&rpmhpd SM8450_MMCX>;
94+
power-domains = <&rpmhpd RPMHPD_MMCX>;
9595
required-opps = <&rpmhpd_opp_low_svs>;
9696
};
9797
...

Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ examples:
6464
- |
6565
#include <dt-bindings/clock/qcom,gcc-sm8450.h>
6666
#include <dt-bindings/clock/qcom,rpmh.h>
67-
#include <dt-bindings/power/qcom-rpmpd.h>
67+
#include <dt-bindings/power/qcom,rpmhpd.h>
6868
videocc: clock-controller@aaf0000 {
6969
compatible = "qcom,sm8450-videocc";
7070
reg = <0x0aaf0000 0x10000>;
7171
clocks = <&rpmhcc RPMH_CXO_CLK>,
7272
<&gcc GCC_VIDEO_AHB_CLK>;
73-
power-domains = <&rpmhpd SM8450_MMCX>;
73+
power-domains = <&rpmhpd RPMHPD_MMCX>;
7474
required-opps = <&rpmhpd_opp_low_svs>;
7575
#clock-cells = <1>;
7676
#reset-cells = <1>;

Documentation/devicetree/bindings/clock/qcom,sm8550-dispcc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ examples:
7676
- |
7777
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
7878
#include <dt-bindings/clock/qcom,rpmh.h>
79-
#include <dt-bindings/power/qcom-rpmpd.h>
79+
#include <dt-bindings/power/qcom,rpmhpd.h>
8080
clock-controller@af00000 {
8181
compatible = "qcom,sm8550-dispcc";
8282
reg = <0x0af00000 0x10000>;
@@ -99,7 +99,7 @@ examples:
9999
#clock-cells = <1>;
100100
#reset-cells = <1>;
101101
#power-domain-cells = <1>;
102-
power-domains = <&rpmhpd SM8550_MMCX>;
102+
power-domains = <&rpmhpd RPMHPD_MMCX>;
103103
required-opps = <&rpmhpd_opp_low_svs>;
104104
};
105105
...

Documentation/devicetree/bindings/clock/qcom,videocc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ additionalProperties: false
124124
examples:
125125
- |
126126
#include <dt-bindings/clock/qcom,rpmh.h>
127-
#include <dt-bindings/power/qcom-rpmpd.h>
127+
#include <dt-bindings/power/qcom,rpmhpd.h>
128128
clock-controller@ab00000 {
129129
compatible = "qcom,sdm845-videocc";
130130
reg = <0x0ab00000 0x10000>;
@@ -133,7 +133,7 @@ examples:
133133
#clock-cells = <1>;
134134
#reset-cells = <1>;
135135
#power-domain-cells = <1>;
136-
power-domains = <&rpmhpd SM8250_MMCX>;
136+
power-domains = <&rpmhpd RPMHPD_MMCX>;
137137
required-opps = <&rpmhpd_opp_low_svs>;
138138
};
139139
...

Documentation/devicetree/bindings/display/msm/qcom,sm8250-dpu.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ examples:
5454
#include <dt-bindings/clock/qcom,gcc-sm8250.h>
5555
#include <dt-bindings/interrupt-controller/arm-gic.h>
5656
#include <dt-bindings/interconnect/qcom,sm8250.h>
57-
#include <dt-bindings/power/qcom-rpmpd.h>
57+
#include <dt-bindings/power/qcom,rpmhpd.h>
5858
5959
display-controller@ae01000 {
6060
compatible = "qcom,sm8250-dpu";
@@ -72,7 +72,7 @@ examples:
7272
assigned-clock-rates = <19200000>;
7373
7474
operating-points-v2 = <&mdp_opp_table>;
75-
power-domains = <&rpmhpd SM8250_MMCX>;
75+
power-domains = <&rpmhpd RPMHPD_MMCX>;
7676
7777
interrupt-parent = <&mdss>;
7878
interrupts = <0>;

Documentation/devicetree/bindings/display/msm/qcom,sm8250-mdss.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ examples:
7676
#include <dt-bindings/clock/qcom,rpmh.h>
7777
#include <dt-bindings/interrupt-controller/arm-gic.h>
7878
#include <dt-bindings/interconnect/qcom,sm8250.h>
79-
#include <dt-bindings/power/qcom-rpmpd.h>
79+
#include <dt-bindings/power/qcom,rpmhpd.h>
8080
8181
display-subsystem@ae00000 {
8282
compatible = "qcom,sm8250-mdss";
@@ -121,7 +121,7 @@ examples:
121121
assigned-clock-rates = <19200000>;
122122
123123
operating-points-v2 = <&mdp_opp_table>;
124-
power-domains = <&rpmhpd SM8250_MMCX>;
124+
power-domains = <&rpmhpd RPMHPD_MMCX>;
125125
126126
interrupt-parent = <&mdss>;
127127
interrupts = <0>;
@@ -196,7 +196,7 @@ examples:
196196
assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;
197197
198198
operating-points-v2 = <&dsi_opp_table>;
199-
power-domains = <&rpmhpd SM8250_MMCX>;
199+
power-domains = <&rpmhpd RPMHPD_MMCX>;
200200
201201
phys = <&dsi0_phy>;
202202
phy-names = "dsi";
@@ -286,7 +286,7 @@ examples:
286286
assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;
287287
288288
operating-points-v2 = <&dsi_opp_table>;
289-
power-domains = <&rpmhpd SM8250_MMCX>;
289+
power-domains = <&rpmhpd RPMHPD_MMCX>;
290290
291291
phys = <&dsi1_phy>;
292292
phy-names = "dsi";

0 commit comments

Comments
 (0)