Luo Chongjun 70d2e8b4db 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>
(cherry picked from commit b352124cd2115fec648a00956a848660df9477d3)
2023-04-02 22:07:28 +02:00
..
2023-01-28 20:08:14 +01:00
2023-03-27 18:58:34 +02:00
2022-08-28 07:24:59 +02:00
2023-03-27 18:59:50 +02:00
2023-03-27 18:57:41 +02:00
2023-01-28 20:08:14 +01:00
2023-01-28 20:07:11 +01:00
2023-03-27 09:03:24 +02:00
2023-03-27 18:58:34 +02:00
2023-04-02 22:07:27 +02:00
2022-03-11 00:04:05 +01:00
2023-03-27 18:59:53 +02:00
2023-03-27 18:59:50 +02:00
2023-03-27 18:59:50 +02:00
2023-01-28 20:07:11 +01:00
2023-03-27 18:58:34 +02:00
2022-11-01 13:56:10 +01:00
2023-03-27 18:58:34 +02:00
2022-11-11 16:25:29 +02:00
2023-02-05 20:43:19 +01:00
2022-12-15 01:26:25 +01:00
2022-07-30 17:21:47 +02:00
2023-01-03 01:24:21 +01:00