]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ramips: mt7621: use regulators for USB GPIO 16967/head
authorRosen Penev <rosenp@gmail.com>
Fri, 15 Nov 2024 23:22:42 +0000 (15:22 -0800)
committerRobert Marko <robimarko@gmail.com>
Tue, 3 Jun 2025 09:04:50 +0000 (11:04 +0200)
commit079db0ab810e2bc70eeedf091f41a25760d5264f
treee3d58e904a2c8560cd8fa0067e11db4ba446968d
parent9ccabb3f42230ddb01a23afdea51eb09106cfa46
ramips: mt7621: use regulators for USB GPIO

Regulators as implemented by the XHCI driver only accept one GPIO.
However, we can abuse the fact that the XHCI driver accepts two
regulators, one for 5V and the other for 3.3V, for USB 2 and 3 GPIOs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16967
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
target/linux/ramips/dts/mt7621_dual-q_h721.dts
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts