linux/drivers/usb/phy
Grzegorz Jaszczyk a8534cb092 usb: phy: introduce usb_phy device type with its own uevent handler
The USB charger type and status was already propagated to userspace
through kobject_uevent_env during charger notify work. Nevertheless the
uevent could be lost e.g. because it could be fired at an early kernel
boot stage, way before udev daemon or any other user-space app was able
to catch it. Registering uevent hook for introduced usb_phy_dev_type
will allow to query sysfs 'uevent' file to restore that information at
any time.

Reviewed-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Link: https://lore.kernel.org/r/20210531122222.453628-1-grzegorz.jaszczyk@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-03 13:55:00 +02:00
..
Kconfig usb: phy: Fix spelling mistake in Kconfig help text 2020-12-09 15:23:47 +01:00
Makefile usb: phy: Add driver for the Ingenic JZ4770 USB transceiver 2020-03-12 09:53:08 +01:00
of.c USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-ab8500-usb.c usb: phy: phy-ab8500-usb: fix spello of "function" 2020-09-14 16:50:48 +02:00
phy-am335x-control.c usb: phy: am335x: convert to devm_platform_ioremap_resource_byname 2020-07-29 16:49:37 +02:00
phy-am335x-control.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy-am335x.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-fsl-usb.c usb: phy: Use fallthrough pseudo-keyword 2020-07-10 08:55:17 +02:00
phy-fsl-usb.h USB: phy: fsl-usb: remove character device usage 2020-07-03 10:18:41 +02:00
phy-generic.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-generic.h usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-gpio-vbus-usb.c usb: phy: phy-gpio-vbus-usb: Convert to GPIO descriptors 2020-01-23 19:20:57 +01:00
phy-isp1301-omap.c usb: phy: Use fallthrough pseudo-keyword 2021-05-10 11:16:11 +02:00
phy-isp1301.c usb: phy: isp1301: Deduplicate of_find_i2c_device_by_node() 2021-05-24 15:27:17 +02:00
phy-jz4770.c USB: PHY: JZ4770: Remove unnecessary function calls. 2020-12-05 13:39:30 +05:30
phy-keystone.c usb: phy: Replace HTTP links with HTTPS ones 2020-07-15 16:33:51 +02:00
phy-mv-usb.c usb: phy: phy-mv-usb: convert to readl_poll_timeout_atomic() 2020-09-25 16:30:06 +02:00
phy-mv-usb.h USB: phy: Use the correct style for SPDX License Identifier 2020-04-23 15:28:14 +02:00
phy-mxs-usb.c usb: phy: phy-mxs-usb: Use of_device_get_match_data() 2021-01-18 18:35:46 +01:00
phy-omap-otg.c USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-tahvo.c USB: phy: tahvo: convert platform driver to use dev_groups 2019-08-09 07:55:44 +02:00
phy-tegra-usb.c usb: phy: tegra: Support waking up from a low power mode 2021-01-13 11:26:34 +01:00
phy-twl6030-usb.c usb: phy: Replace HTTP links with HTTPS ones 2020-07-15 16:33:51 +02:00
phy-ulpi-viewport.c usb: phy-ulpi-viewport: convert to readl_poll_timeout_atomic() 2020-09-25 16:30:05 +02:00
phy-ulpi.c usb: ulpi: Add resource-managed variant of otg_ulpi_create() 2020-01-09 16:21:57 +01:00
phy.c usb: phy: introduce usb_phy device type with its own uevent handler 2021-06-03 13:55:00 +02:00