[v3,2/9] ARM: dts: r9a06g032: Add dependency to sysctrl in the PCI bridge

Message ID 20221207162435.1001782-3-herve.codina@bootlin.com
State New
Headers
Series Add the Renesas USBF controller support |

Commit Message

Herve Codina Dec. 7, 2022, 4:24 p.m. UTC
  In r9a06g032 (RZ/N1 SoC family), the USB hosts are impacted by
the h2mode setting. This setting will be done at sysctrl level
and must not be done while USB hosts are running.

Express this dependency using 'depends-on' property.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
---
 arch/arm/boot/dts/r9a06g032.dtsi | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi
index 563024c9a4ae..401c88bcdd51 100644
--- a/arch/arm/boot/dts/r9a06g032.dtsi
+++ b/arch/arm/boot/dts/r9a06g032.dtsi
@@ -125,6 +125,7 @@  pci_usb: pci@40030000 {
 				 <&sysctrl R9A06G032_CLK_PCI_USB>;
 			clock-names = "hclkh", "hclkpm", "pciclk";
 			power-domains = <&sysctrl>;
+			depends-on = <&sysctrl>;
 			reg = <0x40030000 0xc00>,
 			      <0x40020000 0x1100>;
 			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;