Luo Chongjun b352124cd2 ath79: Fix glinet ar300m usb not working
glinet forum users reported the problem at
https://forum.gl-inet.com/t/gl-ar300m16-openwrt-22-03-0-rc5-usb-port-power-off-by-default/23199

The current code uses the regulator framework to control the USB power
supply. Although usb0 described in DTS refers to the regulator by
vbus-supply, but there is no code related to regulator implemented
in the USB driver of QCA953X, so the USB of the device cannot work.

Under the regulator framework, adding the regulator-always-on attribute
fixes this problem, but it means that USB power will not be able to be
turned off. Since we need to control the USB power supply in user space,
I didn't find any other better way under the regulator framework of Linux,
so I directly export gpio.

Signed-off-by: Luo Chongjun <luochongjun@gl-inet.com>
2023-01-14 19:13:42 +01:00
..
2022-11-27 13:18:29 +01:00
2022-12-24 15:24:18 +01:00
2022-12-23 19:44:14 +01:00
2023-01-13 22:04:22 +01:00
2023-01-03 23:55:45 +01:00
2022-12-23 19:44:20 +01:00
2023-01-13 22:04:22 +01:00
2023-01-13 22:04:22 +01:00
2023-01-13 22:04:22 +01:00
2022-12-23 19:44:20 +01:00
2022-12-23 19:44:20 +01:00
2022-12-23 19:44:22 +01:00
2023-01-03 23:55:45 +01:00
2023-01-09 21:39:45 +02:00
2023-01-07 01:30:31 +01:00
2023-01-09 21:39:46 +02:00
2022-12-23 19:44:21 +01:00
2022-12-12 09:06:17 +01:00
2023-01-03 20:56:01 +01:00