]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.14.21/arm-dts-s5pv210-add-interrupt-parent-for-ohci.patch
fixes for 4.19
[thirdparty/kernel/stable-queue.git] / releases / 4.14.21 / arm-dts-s5pv210-add-interrupt-parent-for-ohci.patch
CommitLineData
a9ca1521
GKH
1From 5c1037196b9ee75897c211972de370ed1336ec8f Mon Sep 17 00:00:00 2001
2From: Arnd Bergmann <arnd@arndb.de>
3Date: Wed, 10 Jan 2018 17:10:11 +0100
4Subject: ARM: dts: s5pv210: add interrupt-parent for ohci
5
6From: Arnd Bergmann <arnd@arndb.de>
7
8commit 5c1037196b9ee75897c211972de370ed1336ec8f upstream.
9
10The ohci-hcd node has an interrupt number but no interrupt-parent,
11leading to a warning with current dtc versions:
12
13arch/arm/boot/dts/s5pv210-aquila.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
14arch/arm/boot/dts/s5pv210-goni.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
15arch/arm/boot/dts/s5pv210-smdkc110.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
16arch/arm/boot/dts/s5pv210-smdkv210.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
17arch/arm/boot/dts/s5pv210-torbreck.dtb: Warning (interrupts_property): Missing interrupt-parent for /soc/ohci@ec300000
18
19As seen from the related exynos dts files, the ohci and ehci controllers
20always share one interrupt number, and the number is the same here as
21well, so setting the same interrupt-parent is the reasonable solution
22here.
23
24Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
25Signed-off-by: Arnd Bergmann <arnd@arndb.de>
26Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27
28---
29 arch/arm/boot/dts/s5pv210.dtsi | 1 +
30 1 file changed, 1 insertion(+)
31
32--- a/arch/arm/boot/dts/s5pv210.dtsi
33+++ b/arch/arm/boot/dts/s5pv210.dtsi
34@@ -463,6 +463,7 @@
35 compatible = "samsung,exynos4210-ohci";
36 reg = <0xec300000 0x100>;
37 interrupts = <23>;
38+ interrupt-parent = <&vic1>;
39 clocks = <&clocks CLK_USB_HOST>;
40 clock-names = "usbhost";
41 #address-cells = <1>;