realtek: EnGenius EWS2910P: declare and hog the poe-enable GPIO
GPIO 1 on the RTL8231 is used to force the PoE MCU to disable power outputs. It is not used by any driver, but if accidentally set low, PoE outputs are disabled. This situation is hard to debug, and requires knowledge of the Broadcom PoE protocol used by the MCU. To prevent this situation, hog it as an output high. This is consistent with the ZyXel GS1900 series handles it. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
		 Alexandru Gagniuc
					Alexandru Gagniuc
				
			
				
					committed by
					
						 Sander Vanheule
						Sander Vanheule
					
				
			
			
				
	
			
			
			 Sander Vanheule
						Sander Vanheule
					
				
			
						parent
						
							04545c4325
						
					
				
				
					commit
					36acb3db03
				
			| @@ -43,6 +43,13 @@ | |||||||
| 		gpio-controller; | 		gpio-controller; | ||||||
| 		indirect-access-bus-id = <0>; | 		indirect-access-bus-id = <0>; | ||||||
|  |  | ||||||
|  | 		poe_enable { | ||||||
|  | 			gpio-hog; | ||||||
|  | 			gpios = <1 GPIO_ACTIVE_HIGH>; | ||||||
|  | 			output-high; | ||||||
|  | 			line-name = "poe-enable"; | ||||||
|  | 		}; | ||||||
|  |  | ||||||
| 		sff_p9_gpios { | 		sff_p9_gpios { | ||||||
| 			gpio-hog; | 			gpio-hog; | ||||||
| 			gpios = < 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>, | 			gpios = < 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user