diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2025-08-26 07:45:09 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-06 15:23:29 +0200 |
commit | 2cf8ecd0ae650c1f0e551326bb7f060abf1560d3 (patch) | |
tree | 3876778258df9d83bd18cd5af93ec77daabce97c /scripts/gdb/linux/pgtable.py | |
parent | 22fbedf9d9c2d219339620a95a0611c9ddfc397b (diff) |
usb: usb251xb: support usage case without I2C control
Currently, the usb251xb assumes i2c control. But from HW point of
view, the hub supports usage case without any i2c, we only want the
gpio controls.
Refactor the code so that register writes for configuration are only
performed if the device has a i2c_client provided and also register as
a platform driver. This allows the driver to be used to manage GPIO
based control of the device.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20250825234509.1041-4-jszhang@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions