]> git.ipfire.org Git - thirdparty/linux.git/commit
gpio: mpsse: support bryx radio interface kit
authorMary Strodl <mstrodl@csh.rit.edu>
Tue, 14 Oct 2025 13:35:30 +0000 (09:35 -0400)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 21 Oct 2025 12:10:46 +0000 (14:10 +0200)
commit03ac8183c9a5f0a635184d3f4eceb47480fcd4a7
tree5b7d100953840f5d79febc73114a29bdd4538f9f
parentf13b0f72af238d63bb9a2e417657da8b45d72544
gpio: mpsse: support bryx radio interface kit

This device is powered by an FT232H, which is very similar to the
FT2232H this driver was written for. The key difference is it has only
one MPSSE instead of two. As a result, it presents only one USB
interface to the system, which conveniently "just works" out of the box
with this driver.

The brik exposes only two GPIO lines which are hardware limited to only
be useful in one direction. As a result, I've restricted things on the
driver side to refuse to configure any other lines.

This device, unlike the sealevel device I wrote this driver for
originally, is hotpluggable, which makes for all sorts of weird
edgecases. I've tried my best to stress-test the parts that could go
wrong, but given the new usecase, more heads taking a critical look at
the teardown and synchronization bits on the driver as a whole would be
appreciated.

Signed-off-by: Mary Strodl <mstrodl@csh.rit.edu>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20251014133530.3592716-5-mstrodl@csh.rit.edu
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-mpsse.c