summaryrefslogtreecommitdiff
path: root/meta-bytedance
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2023-01-03 04:31:22 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-01-06 06:03:03 +0300
commit291d13822edea069c057adcf5133bb98ca0d70ca (patch)
tree410124e048312cd5e4f8366fe07c04ddf7274c4b /meta-bytedance
parent0622e1ddcae776c09c836e4b52ed365001740047 (diff)
downloadopenbmc-291d13822edea069c057adcf5133bb98ca0d70ca.tar.xz
meta-bletchley: add usbmux utility
There is a issue caused by switching USBMUX GPIO pin slowly. For example, when user set USBMUX GPIO pin to sled1, the USBMUX will first switch to sled3 and then switch to sled1 if there is a long interval between each gpioset command. 1. USBMUX is set to off initially USB2_SEL0_A = 1 USB2_SEL1_A = 1 USB2_SEL0_B = 1 USB2_SEL1_B = 1 2. Set USBMUX to sled1 USB2_SEL0_A = 0 USB2_SEL1_A = 0 USB2_SEL0_B = 1 USB2_SEL1_B = 1 ``` root@bletchley:~# gpioset $(gpiofind USB2_SEL0_A)=0 --> USBMUX set to sled3 first. root@bletchley:~# gpioset $(gpiofind USB2_SEL1_A)=0 --> then USBMUX set to sled1. ``` Add bletchley-usbmux-util to set USBMUX GPIO pins to selected sled, and avoid USB issues with slow mux switching. Change-Id: Id2a40b5908c1286929648cc433cb426a9c493e3a Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Diffstat (limited to 'meta-bytedance')
0 files changed, 0 insertions, 0 deletions