Skip to content

Commit fad235e

Browse files
committed
Merge tag 'arm-late-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull more ARM SoC updates from Arnd Bergmann: "These updates came in after I had already tagged the branches, but they still seem appropriate for 6.0 and most of them were part of linux-next through other trees. - The reset controller tree adds one new driver for the TI TPS380x power management chip and a few minor changes in other drivers - Apple M1 now has a DT entry for the NVMe controller after the driver was merged, and has a new mailing list in the MAINTAINERS file. - Fixes for USB on the Socionext Uniphier platforms and the network controller on Intel Cyclone5" * tag 'arm-late-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: arm64: dts: uniphier: Fix USB interrupts for PXs3 SoC ARM: dts: uniphier: Fix USB interrupts for PXs2 SoC arm64: dts: apple: t8103: Add ANS2 NVMe nodes reset: tps380x: Fix spelling mistake "Voltags" -> "Voltage" reset: tps380x: Add TPS380x device driver supprt dt-bindings: reset: Add TPS380x documentation dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/G2UL USBPHY Control bindings ARM: dts: add EMAC AXI settings for Cyclone5 reset: reset-simple should depends on HAS_IOMEM Revert "reset: microchip-sparx5: allow building as a module" reset: a10sr: allow building under COMPILE_TEST reset: allow building of reset simple driver if expert config selected reset: microchip-sparx5: allow building as a module arm64: dts: apple: Re-parent ANS2 power domains MAINTAINERS: add ARM/APPLE MACHINE mailing list
2 parents 8db4a02 + 1630eee commit fad235e

File tree

11 files changed

+240
-16
lines changed

11 files changed

+240
-16
lines changed

Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ properties:
1717
compatible:
1818
items:
1919
- enum:
20+
- renesas,r9a07g043-usbphy-ctrl # RZ/G2UL
2021
- renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC}
2122
- renesas,r9a07g054-usbphy-ctrl # RZ/V2L
2223
- const: renesas,rzg2l-usbphy-ctrl
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/reset/ti,tps380x-reset.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: TI TPS380x reset controller node bindings
8+
9+
maintainers:
10+
- Marco Felsch <kernel@pengutronix.de>
11+
12+
description: |
13+
The TPS380x family [1] of supervisory circuits monitor supply voltages to
14+
provide circuit initialization and timing supervision. The devices assert a
15+
RESET signal if the voltage drops below a preset threshold or upon a manual
16+
reset input (MR). The RESET output remains asserted for the factory
17+
programmed delay after the voltage return above its threshold or after the
18+
manual reset input is released.
19+
20+
[1] https://www.ti.com/product/TPS3801
21+
22+
properties:
23+
compatible:
24+
enum:
25+
- ti,tps3801
26+
27+
reset-gpios:
28+
maxItems: 1
29+
description: Reference to the GPIO connected to the MR pin.
30+
31+
"#reset-cells":
32+
const: 0
33+
34+
required:
35+
- compatible
36+
- reset-gpios
37+
- "#reset-cells"
38+
39+
additionalProperties: false
40+
41+
examples:
42+
- |
43+
#include <dt-bindings/gpio/gpio.h>
44+
reset: reset-controller {
45+
compatible = "ti,tps3801";
46+
#reset-cells = <0>;
47+
reset-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
48+
};
49+
...

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1850,6 +1850,7 @@ ARM/APPLE MACHINE SUPPORT
18501850
M: Hector Martin <marcan@marcan.st>
18511851
M: Sven Peter <sven@svenpeter.dev>
18521852
R: Alyssa Rosenzweig <alyssa@rosenzweig.io>
1853+
L: asahi@lists.linux.dev
18531854
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
18541855
S: Maintained
18551856
W: https://asahilinux.org

arch/arm/boot/dts/socfpga.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,12 @@
561561
interrupts = <0 175 4>;
562562
};
563563

564+
socfpga_axi_setup: stmmac-axi-config {
565+
snps,wr_osr_lmt = <0xf>;
566+
snps,rd_osr_lmt = <0xf>;
567+
snps,blen = <0 0 0 0 16 0 0>;
568+
};
569+
564570
gmac0: ethernet@ff700000 {
565571
compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
566572
altr,sysmgr-syscon = <&sysmgr 0x60 0>;
@@ -576,6 +582,7 @@
576582
snps,perfect-filter-entries = <128>;
577583
tx-fifo-depth = <4096>;
578584
rx-fifo-depth = <4096>;
585+
snps,axi-config = <&socfpga_axi_setup>;
579586
status = "disabled";
580587
};
581588

@@ -594,6 +601,7 @@
594601
snps,perfect-filter-entries = <128>;
595602
tx-fifo-depth = <4096>;
596603
rx-fifo-depth = <4096>;
604+
snps,axi-config = <&socfpga_axi_setup>;
597605
status = "disabled";
598606
};
599607

arch/arm/boot/dts/uniphier-pxs2.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,8 @@
597597
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
598598
status = "disabled";
599599
reg = <0x65a00000 0xcd00>;
600-
interrupt-names = "host", "peripheral";
601-
interrupts = <0 134 4>, <0 135 4>;
600+
interrupt-names = "dwc_usb3";
601+
interrupts = <0 134 4>;
602602
pinctrl-names = "default";
603603
pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
604604
clock-names = "ref", "bus_early", "suspend";
@@ -693,8 +693,8 @@
693693
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
694694
status = "disabled";
695695
reg = <0x65c00000 0xcd00>;
696-
interrupt-names = "host", "peripheral";
697-
interrupts = <0 137 4>, <0 138 4>;
696+
interrupt-names = "dwc_usb3";
697+
interrupts = <0 137 4>;
698698
pinctrl-names = "default";
699699
pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
700700
clock-names = "ref", "bus_early", "suspend";

arch/arm64/boot/dts/apple/t8103-pmgr.dtsi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,6 @@
725725
#power-domain-cells = <0>;
726726
#reset-cells = <0>;
727727
label = "ans2";
728-
/*
729-
* The ADT makes ps_apcie_st depend on ps_ans2 instead, but this
730-
* doesn't make much sense since ANS2 uses APCIE_ST.
731-
*/
732-
power-domains = <&ps_apcie_st>;
733728
};
734729

735730
ps_gfx: power-controller@3f8 {
@@ -836,7 +831,7 @@
836831
#power-domain-cells = <0>;
837832
#reset-cells = <0>;
838833
label = "apcie_st";
839-
power-domains = <&ps_apcie>;
834+
power-domains = <&ps_apcie>, <&ps_ans2>;
840835
};
841836

842837
ps_ane_sys: power-controller@470 {

arch/arm64/boot/dts/apple/t8103.dtsi

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,40 @@
378378
<AIC_IRQ 274 IRQ_TYPE_LEVEL_HIGH>;
379379
};
380380

381+
ans_mbox: mbox@277408000 {
382+
compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
383+
reg = <0x2 0x77408000 0x0 0x4000>;
384+
interrupt-parent = <&aic>;
385+
interrupts = <AIC_IRQ 583 IRQ_TYPE_LEVEL_HIGH>,
386+
<AIC_IRQ 584 IRQ_TYPE_LEVEL_HIGH>,
387+
<AIC_IRQ 585 IRQ_TYPE_LEVEL_HIGH>,
388+
<AIC_IRQ 586 IRQ_TYPE_LEVEL_HIGH>;
389+
interrupt-names = "send-empty", "send-not-empty",
390+
"recv-empty", "recv-not-empty";
391+
#mbox-cells = <0>;
392+
power-domains = <&ps_ans2>;
393+
};
394+
395+
sart: iommu@27bc50000 {
396+
compatible = "apple,t8103-sart";
397+
reg = <0x2 0x7bc50000 0x0 0x10000>;
398+
power-domains = <&ps_ans2>;
399+
};
400+
401+
nvme@27bcc0000 {
402+
compatible = "apple,t8103-nvme-ans2", "apple,nvme-ans2";
403+
reg = <0x2 0x7bcc0000 0x0 0x40000>,
404+
<0x2 0x77400000 0x0 0x4000>;
405+
reg-names = "nvme", "ans";
406+
interrupt-parent = <&aic>;
407+
interrupts = <AIC_IRQ 590 IRQ_TYPE_LEVEL_HIGH>;
408+
mboxes = <&ans_mbox>;
409+
apple,sart = <&sart>;
410+
power-domains = <&ps_ans2>, <&ps_apcie_st>;
411+
power-domain-names = "ans", "apcie0";
412+
resets = <&ps_ans2>;
413+
};
414+
381415
pcie0_dart_0: dart@681008000 {
382416
compatible = "apple,t8103-dart";
383417
reg = <0x6 0x81008000 0x0 0x4000>;

arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,8 @@
599599
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
600600
status = "disabled";
601601
reg = <0x65a00000 0xcd00>;
602-
interrupt-names = "host", "peripheral";
603-
interrupts = <0 134 4>, <0 135 4>;
602+
interrupt-names = "dwc_usb3";
603+
interrupts = <0 134 4>;
604604
pinctrl-names = "default";
605605
pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
606606
clock-names = "ref", "bus_early", "suspend";
@@ -701,8 +701,8 @@
701701
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
702702
status = "disabled";
703703
reg = <0x65c00000 0xcd00>;
704-
interrupt-names = "host", "peripheral";
705-
interrupts = <0 137 4>, <0 138 4>;
704+
interrupt-names = "dwc_usb3";
705+
interrupts = <0 137 4>;
706706
pinctrl-names = "default";
707707
pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
708708
clock-names = "ref", "bus_early", "suspend";

drivers/reset/Kconfig

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if RESET_CONTROLLER
1717

1818
config RESET_A10SR
1919
tristate "Altera Arria10 System Resource Reset"
20-
depends on MFD_ALTERA_A10SR
20+
depends on MFD_ALTERA_A10SR || COMPILE_TEST
2121
help
2222
This option enables support for the external reset functions for
2323
peripheral PHYs on the Altera Arria10 System Resource Chip.
@@ -200,8 +200,9 @@ config RESET_SCMI
200200
firmware controlling all the reset signals.
201201

202202
config RESET_SIMPLE
203-
bool "Simple Reset Controller Driver" if COMPILE_TEST
203+
bool "Simple Reset Controller Driver" if COMPILE_TEST || EXPERT
204204
default ARCH_ASPEED || ARCH_BCM4908 || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC
205+
depends on HAS_IOMEM
205206
help
206207
This enables a simple reset controller driver for reset lines that
207208
that can be asserted and deasserted by toggling bits in a contiguous,
@@ -265,6 +266,14 @@ config RESET_TI_SYSCON
265266
you wish to use the reset framework for such memory-mapped devices,
266267
say Y here. Otherwise, say N.
267268

269+
config RESET_TI_TPS380X
270+
tristate "TI TPS380x Reset Driver"
271+
select GPIOLIB
272+
help
273+
This enables the reset driver support for TI TPS380x devices. If
274+
you wish to use the reset framework for such devices, say Y here.
275+
Otherwise, say N.
276+
268277
config RESET_TN48M_CPLD
269278
tristate "Delta Networks TN48M switch CPLD reset controller"
270279
depends on MFD_TN48M_CPLD || COMPILE_TEST

drivers/reset/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ obj-$(CONFIG_RESET_SUNPLUS) += reset-sunplus.o
3434
obj-$(CONFIG_RESET_SUNXI) += reset-sunxi.o
3535
obj-$(CONFIG_RESET_TI_SCI) += reset-ti-sci.o
3636
obj-$(CONFIG_RESET_TI_SYSCON) += reset-ti-syscon.o
37+
obj-$(CONFIG_RESET_TI_TPS380X) += reset-tps380x.o
3738
obj-$(CONFIG_RESET_TN48M_CPLD) += reset-tn48m.o
3839
obj-$(CONFIG_RESET_UNIPHIER) += reset-uniphier.o
3940
obj-$(CONFIG_RESET_UNIPHIER_GLUE) += reset-uniphier-glue.o

0 commit comments

Comments
 (0)