linux/drivers/phy/ti
Hans de Goede 364ea7ccae power: supply: Change usb_types from an array into a bitmask
The bit_types array just hold a list of valid enum power_supply_usb_type
values which map to 0 - 9. This can easily be represented as a bitmap.

This reduces the size of struct power_supply_desc and further reduces
the data section size by drivers no longer needing to store the array.

This also unifies how usb_types are handled with charge_behaviours,
which allows power_supply_show_usb_type() to be removed.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240831142039.28830-7-hdegoede@redhat.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2024-09-03 23:20:28 +02:00
..
Kconfig phy: ti: fix Kconfig warning and operator precedence 2023-01-11 13:24:33 +05:30
Makefile phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC 2020-01-14 10:50:19 +05:30
phy-am654-serdes.c phy: ti: am654-serdes: Remove duplicate define 2024-06-12 16:52:44 +05:30
phy-da8xx-usb.c phy: ti: phy-da8xx-usb: Add runtime PM support 2024-06-04 15:44:11 +02:00
phy-dm816x-usb.c phy: Drop unnecessary of_match_device() calls 2023-10-13 15:47:53 +05:30
phy-gmii-sel.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-j721e-wiz.c phy: ti: phy-j721e-wiz: add resume support 2024-06-03 19:17:01 +05:30
phy-omap-control.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-omap-usb2.c phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP 2024-01-30 22:41:11 +05:30
phy-ti-pipe3.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-tusb1210.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
phy-twl4030-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30