Skip to content

Commit 21397ae

Browse files
committed
Merge tag 'sunxi-fixes-for-5.4-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/fixes
A number of fixes for this release, but mostly: - A fixup for the A10 CSI DT binding merged during the 5.4-rc1 window - A fix for a dt-binding error - Addition of phy regulator delays - The PMU on the A64 was found to be non-functional, so we've dropped it for now * tag 'sunxi-fixes-for-5.4-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: ARM: dts: sun7i: Drop the module clock from the device tree dt-bindings: media: sun4i-csi: Drop the module clock media: dt-bindings: Fix building error for dt_binding_check arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay arm64: dts: allwinner: a64: Drop PMU node arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay Link: https://lore.kernel.org/r/80085a57-c40f-4bed-a9c3-19858d87564e.lettre@localhost Signed-off-by: Olof Johansson <[email protected]>
2 parents cc3fafd + cf03c69 commit 21397ae

File tree

5 files changed

+20
-18
lines changed

5 files changed

+20
-18
lines changed

Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/arm/allwinner,sun4i-a10-csi.yaml#
4+
$id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-csi.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: Allwinner A10 CMOS Sensor Interface (CSI) Device Tree Bindings
@@ -27,14 +27,12 @@ properties:
2727
clocks:
2828
items:
2929
- description: The CSI interface clock
30-
- description: The CSI module clock
3130
- description: The CSI ISP clock
3231
- description: The CSI DRAM clock
3332

3433
clock-names:
3534
items:
3635
- const: bus
37-
- const: mod
3836
- const: isp
3937
- const: ram
4038

@@ -89,9 +87,8 @@ examples:
8987
compatible = "allwinner,sun7i-a20-csi0";
9088
reg = <0x01c09000 0x1000>;
9189
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
92-
clocks = <&ccu CLK_AHB_CSI0>, <&ccu CLK_CSI0>,
93-
<&ccu CLK_CSI_SCLK>, <&ccu CLK_DRAM_CSI0>;
94-
clock-names = "bus", "mod", "isp", "ram";
90+
clocks = <&ccu CLK_AHB_CSI0>, <&ccu CLK_CSI_SCLK>, <&ccu CLK_DRAM_CSI0>;
91+
clock-names = "bus", "isp", "ram";
9592
resets = <&ccu RST_CSI0>;
9693
9794
port {

arch/arm/boot/dts/sun7i-a20.dtsi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,8 @@
380380
compatible = "allwinner,sun7i-a20-csi0";
381381
reg = <0x01c09000 0x1000>;
382382
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
383-
clocks = <&ccu CLK_AHB_CSI0>, <&ccu CLK_CSI0>,
384-
<&ccu CLK_CSI_SCLK>, <&ccu CLK_DRAM_CSI0>;
385-
clock-names = "bus", "mod", "isp", "ram";
383+
clocks = <&ccu CLK_AHB_CSI0>, <&ccu CLK_CSI_SCLK>, <&ccu CLK_DRAM_CSI0>;
384+
clock-names = "bus", "isp", "ram";
386385
resets = <&ccu RST_CSI0>;
387386
status = "disabled";
388387
};

arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,12 @@
6363
reg = <1>;
6464
};
6565
};
66+
67+
&reg_dc1sw {
68+
/*
69+
* Ethernet PHY needs 30ms to properly power up and some more
70+
* to initialize. 100ms should be plenty of time to finish
71+
* whole process.
72+
*/
73+
regulator-enable-ramp-delay = <100000>;
74+
};

arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@
159159
};
160160

161161
&reg_dc1sw {
162+
/*
163+
* Ethernet PHY needs 30ms to properly power up and some more
164+
* to initialize. 100ms should be plenty of time to finish
165+
* whole process.
166+
*/
167+
regulator-enable-ramp-delay = <100000>;
162168
regulator-name = "vcc-phy";
163169
};
164170

arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,6 @@
142142
clock-output-names = "ext-osc32k";
143143
};
144144

145-
pmu {
146-
compatible = "arm,cortex-a53-pmu";
147-
interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
148-
<GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
149-
<GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
150-
<GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
151-
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
152-
};
153-
154145
psci {
155146
compatible = "arm,psci-0.2";
156147
method = "smc";

0 commit comments

Comments
 (0)