Skip to content

Commit 78c3925

Browse files
committed
Merge tag 'soc-late-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull more ARM SoC updates from Arnd Bergmann: "These are changes that for some reason ended up not making it into the first four branches but that should still make it into 6.9: - A rework of the omap clock support that touches both drivers and device tree files - The reset controller branch changes that had a dependency on late bugfixes. Merging them here avoids a backmerge of 6.8-rc5 into the drivers branch - The RISC-V/starfive, RISC-V/microchip and ARM/Broadcom devicetree changes that got delayed and needed some extra time in linux-next for wider testing" * tag 'soc-late-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (31 commits) soc: fsl: dpio: fix kcalloc() argument order bus: ts-nbus: Improve error reporting bus: ts-nbus: Convert to atomic pwm API riscv: dts: starfive: jh7110: Add camera subsystem nodes ARM: bcm: stop selecing CONFIG_TICK_ONESHOT ARM: dts: omap3: Update clksel clocks to use reg instead of ti,bit-shift ARM: dts: am3: Update clksel clocks to use reg instead of ti,bit-shift clk: ti: Improve clksel clock bit parsing for reg property clk: ti: Handle possible address in the node name dt-bindings: pwm: opencores: Add compatible for StarFive JH8100 dt-bindings: riscv: cpus: reg matches hart ID reset: Instantiate reset GPIO controller for shared reset-gpios reset: gpio: Add GPIO-based reset controller cpufreq: do not open-code of_phandle_args_equal() of: Add of_phandle_args_equal() helper reset: simple: add support for Sophgo SG2042 dt-bindings: reset: sophgo: support SG2042 riscv: dts: microchip: add specific compatible for mpfs pdma riscv: dts: microchip: add missing CAN bus clocks ARM: brcmstb: Add debug UART entry for 74165 ...
2 parents f9c0354 + 72ebb41 commit 78c3925

Some content is hidden

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

44 files changed

+1441
-486
lines changed

Documentation/devicetree/bindings/bus/brcm,gisb-arb.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ properties:
1818
- const: brcm,gisb-arb
1919
- items:
2020
- enum:
21+
- brcm,bcm74165-gisb-arb # for V7 new style 16nm chips
2122
- brcm,bcm7278-gisb-arb # for V7 28nm chips
2223
- brcm,bcm7435-gisb-arb # for newer 40nm chips
2324
- brcm,bcm7400-gisb-arb # for older 40nm chips and all 65nm chips
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pwm/opencores,pwm.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: OpenCores PWM controller
8+
9+
maintainers:
10+
- William Qiu <william.qiu@starfivetech.com>
11+
12+
description:
13+
The OpenCores PTC ip core contains a PWM controller. When operating in PWM
14+
mode, the PTC core generates binary signal with user-programmable low and
15+
high periods. All PTC counters and registers are 32-bit.
16+
17+
allOf:
18+
- $ref: pwm.yaml#
19+
20+
properties:
21+
compatible:
22+
items:
23+
- enum:
24+
- starfive,jh7100-pwm
25+
- starfive,jh7110-pwm
26+
- starfive,jh8100-pwm
27+
- const: opencores,pwm-v1
28+
29+
reg:
30+
maxItems: 1
31+
32+
clocks:
33+
maxItems: 1
34+
35+
resets:
36+
maxItems: 1
37+
38+
"#pwm-cells":
39+
const: 3
40+
41+
required:
42+
- compatible
43+
- reg
44+
- clocks
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
pwm@12490000 {
51+
compatible = "starfive,jh7110-pwm", "opencores,pwm-v1";
52+
reg = <0x12490000 0x10000>;
53+
clocks = <&clkgen 181>;
54+
resets = <&rstgen 109>;
55+
#pwm-cells = <3>;
56+
};
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Sophgo SG2042 SoC Reset Controller
8+
9+
maintainers:
10+
- Chen Wang <unicorn_wang@outlook.com>
11+
12+
properties:
13+
compatible:
14+
const: sophgo,sg2042-reset
15+
16+
reg:
17+
maxItems: 1
18+
19+
"#reset-cells":
20+
const: 1
21+
22+
required:
23+
- compatible
24+
- reg
25+
- "#reset-cells"
26+
27+
additionalProperties: false
28+
29+
examples:
30+
- |
31+
rstgen: reset-controller@c00 {
32+
compatible = "sophgo,sg2042-reset";
33+
reg = <0xc00 0xc>;
34+
#reset-cells = <1>;
35+
};

Documentation/devicetree/bindings/riscv/cpus.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ properties:
7575
- riscv,sv57
7676
- riscv,none
7777

78+
reg:
79+
description:
80+
The hart ID of this CPU node.
81+
7882
riscv,cbom-block-size:
7983
$ref: /schemas/types.yaml#/definitions/uint32
8084
description:

MAINTAINERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8987,6 +8987,11 @@ F: Documentation/i2c/muxes/i2c-mux-gpio.rst
89878987
F: drivers/i2c/muxes/i2c-mux-gpio.c
89888988
F: include/linux/platform_data/i2c-mux-gpio.h
89898989

8990+
GENERIC GPIO RESET DRIVER
8991+
M: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8992+
S: Maintained
8993+
F: drivers/reset/reset-gpio.c
8994+
89908995
GENERIC HDLC (WAN) DRIVERS
89918996
M: Krzysztof Halasa <khc@pm.waw.pl>
89928997
S: Maintained

arch/arm/boot/dts/ti/omap/am33xx-clocks.dtsi

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -108,30 +108,31 @@
108108
compatible = "ti,clksel";
109109
reg = <0x664>;
110110
#clock-cells = <2>;
111-
#address-cells = <0>;
111+
#address-cells = <1>;
112+
#size-cells = <0>;
112113

113-
ehrpwm0_tbclk: clock-ehrpwm0-tbclk {
114+
ehrpwm0_tbclk: clock-ehrpwm0-tbclk@0 {
115+
reg = <0>;
114116
#clock-cells = <0>;
115117
compatible = "ti,gate-clock";
116118
clock-output-names = "ehrpwm0_tbclk";
117119
clocks = <&l4ls_gclk>;
118-
ti,bit-shift = <0>;
119120
};
120121

121-
ehrpwm1_tbclk: clock-ehrpwm1-tbclk {
122+
ehrpwm1_tbclk: clock-ehrpwm1-tbclk@1 {
123+
reg = <1>;
122124
#clock-cells = <0>;
123125
compatible = "ti,gate-clock";
124126
clock-output-names = "ehrpwm1_tbclk";
125127
clocks = <&l4ls_gclk>;
126-
ti,bit-shift = <1>;
127128
};
128129

129-
ehrpwm2_tbclk: clock-ehrpwm2-tbclk {
130+
ehrpwm2_tbclk: clock-ehrpwm2-tbclk@2 {
131+
reg = <2>;
130132
#clock-cells = <0>;
131133
compatible = "ti,gate-clock";
132134
clock-output-names = "ehrpwm2_tbclk";
133135
clocks = <&l4ls_gclk>;
134-
ti,bit-shift = <2>;
135136
};
136137
};
137138
};
@@ -566,17 +567,19 @@
566567
compatible = "ti,clksel";
567568
reg = <0x52c>;
568569
#clock-cells = <2>;
569-
#address-cells = <0>;
570+
#address-cells = <1>;
571+
#size-cells = <0>;
570572

571-
gfx_fclk_clksel_ck: clock-gfx-fclk-clksel {
573+
gfx_fclk_clksel_ck: clock-gfx-fclk-clksel@1 {
574+
reg = <1>;
572575
#clock-cells = <0>;
573576
compatible = "ti,mux-clock";
574577
clock-output-names = "gfx_fclk_clksel_ck";
575578
clocks = <&dpll_core_m4_ck>, <&dpll_per_m2_ck>;
576-
ti,bit-shift = <1>;
577579
};
578580

579-
gfx_fck_div_ck: clock-gfx-fck-div {
581+
gfx_fck_div_ck: clock-gfx-fck-div@0 {
582+
reg = <0>;
580583
#clock-cells = <0>;
581584
compatible = "ti,divider-clock";
582585
clock-output-names = "gfx_fck_div_ck";
@@ -589,30 +592,32 @@
589592
compatible = "ti,clksel";
590593
reg = <0x700>;
591594
#clock-cells = <2>;
592-
#address-cells = <0>;
595+
#address-cells = <1>;
596+
#size-cells = <0>;
593597

594-
sysclkout_pre_ck: clock-sysclkout-pre {
598+
sysclkout_pre_ck: clock-sysclkout-pre@0 {
599+
reg = <0>;
595600
#clock-cells = <0>;
596601
compatible = "ti,mux-clock";
597602
clock-output-names = "sysclkout_pre_ck";
598603
clocks = <&clk_32768_ck>, <&l3_gclk>, <&dpll_ddr_m2_ck>, <&dpll_per_m2_ck>, <&lcd_gclk>;
599604
};
600605

601-
clkout2_div_ck: clock-clkout2-div {
606+
clkout2_div_ck: clock-clkout2-div@3 {
607+
reg = <3>;
602608
#clock-cells = <0>;
603609
compatible = "ti,divider-clock";
604610
clock-output-names = "clkout2_div_ck";
605611
clocks = <&sysclkout_pre_ck>;
606-
ti,bit-shift = <3>;
607612
ti,max-div = <8>;
608613
};
609614

610-
clkout2_ck: clock-clkout2 {
615+
clkout2_ck: clock-clkout2@7 {
616+
reg = <7>;
611617
#clock-cells = <0>;
612618
compatible = "ti,gate-clock";
613619
clock-output-names = "clkout2_ck";
614620
clocks = <&clkout2_div_ck>;
615-
ti,bit-shift = <7>;
616621
};
617622
};
618623
};

arch/arm/boot/dts/ti/omap/am35xx-clocks.dtsi

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,23 @@
6666
compatible = "ti,clksel";
6767
reg = <0xa10>;
6868
#clock-cells = <2>;
69-
#address-cells = <0>;
69+
#address-cells = <1>;
70+
#size-cells = <0>;
7071

71-
ipss_ick: clock-ipss-ick {
72+
ipss_ick: clock-ipss-ick@4 {
73+
reg = <4>;
7274
#clock-cells = <0>;
7375
compatible = "ti,am35xx-interface-clock";
7476
clock-output-names = "ipss_ick";
7577
clocks = <&core_l3_ick>;
76-
ti,bit-shift = <4>;
7778
};
7879

79-
uart4_ick_am35xx: clock-uart4-ick-am35xx {
80+
uart4_ick_am35xx: clock-uart4-ick-am35xx@23 {
81+
reg = <23>;
8082
#clock-cells = <0>;
8183
compatible = "ti,omap3-interface-clock";
8284
clock-output-names = "uart4_ick_am35xx";
8385
clocks = <&core_l4_ick>;
84-
ti,bit-shift = <23>;
8586
};
8687
};
8788

@@ -101,14 +102,15 @@
101102
compatible = "ti,clksel";
102103
reg = <0xa00>;
103104
#clock-cells = <2>;
104-
#address-cells = <0>;
105+
#address-cells = <1>;
106+
#size-cells = <0>;
105107

106-
uart4_fck_am35xx: clock-uart4-fck-am35xx {
108+
uart4_fck_am35xx: clock-uart4-fck-am35xx@23 {
109+
reg = <23>;
107110
#clock-cells = <0>;
108111
compatible = "ti,wait-gate-clock";
109112
clock-output-names = "uart4_fck_am35xx";
110113
clocks = <&core_48m_fck>;
111-
ti,bit-shift = <23>;
112114
};
113115
};
114116
};

0 commit comments

Comments
 (0)