forked from mirrors/linux
		
	ARM: tegra: fix VBUS regulator GPIO polarity in DT
Commit 4c94c8b "ARM: tegra: update device trees for USB binding rework"
added regulator definitions for GPIO-controlled USB VBUS. However, none
of these contained the essential DT property enable-active-high. Add
this so that the regulator definitions are correct.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
			
			
This commit is contained in:
		
							parent
							
								
									d81f58753e
								
							
						
					
					
						commit
						9f310dedfe
					
				
					 3 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -828,6 +828,7 @@ vbus_reg: regulator@3 {
 | 
				
			||||||
			regulator-name = "vdd_vbus_wup1";
 | 
								regulator-name = "vdd_vbus_wup1";
 | 
				
			||||||
			regulator-min-microvolt = <5000000>;
 | 
								regulator-min-microvolt = <5000000>;
 | 
				
			||||||
			regulator-max-microvolt = <5000000>;
 | 
								regulator-max-microvolt = <5000000>;
 | 
				
			||||||
 | 
								enable-active-high;
 | 
				
			||||||
			gpio = <&gpio 24 0>; /* PD0 */
 | 
								gpio = <&gpio 24 0>; /* PD0 */
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -410,6 +410,7 @@ vbus_reg: regulator@2 {
 | 
				
			||||||
			regulator-name = "usb1_vbus";
 | 
								regulator-name = "usb1_vbus";
 | 
				
			||||||
			regulator-min-microvolt = <5000000>;
 | 
								regulator-min-microvolt = <5000000>;
 | 
				
			||||||
			regulator-max-microvolt = <5000000>;
 | 
								regulator-max-microvolt = <5000000>;
 | 
				
			||||||
 | 
								enable-active-high;
 | 
				
			||||||
			gpio = <&gpio 170 0>; /* PV2 */
 | 
								gpio = <&gpio 170 0>; /* PV2 */
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -586,6 +586,7 @@ vbus1_reg: regulator@2 {
 | 
				
			||||||
			regulator-name = "vbus1";
 | 
								regulator-name = "vbus1";
 | 
				
			||||||
			regulator-min-microvolt = <5000000>;
 | 
								regulator-min-microvolt = <5000000>;
 | 
				
			||||||
			regulator-max-microvolt = <5000000>;
 | 
								regulator-max-microvolt = <5000000>;
 | 
				
			||||||
 | 
								enable-active-high;
 | 
				
			||||||
			gpio = <&tca6416 0 0>; /* GPIO_PMU0 */
 | 
								gpio = <&tca6416 0 0>; /* GPIO_PMU0 */
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -595,6 +596,7 @@ vbus3_reg: regulator@3 {
 | 
				
			||||||
			regulator-name = "vbus3";
 | 
								regulator-name = "vbus3";
 | 
				
			||||||
			regulator-min-microvolt = <5000000>;
 | 
								regulator-min-microvolt = <5000000>;
 | 
				
			||||||
			regulator-max-microvolt = <5000000>;
 | 
								regulator-max-microvolt = <5000000>;
 | 
				
			||||||
 | 
								enable-active-high;
 | 
				
			||||||
			gpio = <&tca6416 1 0>; /* GPIO_PMU1 */
 | 
								gpio = <&tca6416 1 0>; /* GPIO_PMU1 */
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue