~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/usb-charger-uevent

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/usb-charger-uevent (Version linux-6.12-rc7) and /Documentation/ABI/testing/usb-charger-uevent (Version linux-5.7.19)


  1 What:           Raise a uevent when a USB char      1 What:           Raise a uevent when a USB charger is inserted or removed
  2 Date:           2020-01-14                          2 Date:           2020-01-14
  3 KernelVersion:  5.6                                 3 KernelVersion:  5.6
  4 Contact:        linux-usb@vger.kernel.org           4 Contact:        linux-usb@vger.kernel.org
  5 Description:    There are two USB charger stat      5 Description:    There are two USB charger states:
  6                                                !!   6                 USB_CHARGER_ABSENT
  7                 - USB_CHARGER_ABSENT           !!   7                 USB_CHARGER_PRESENT
  8                 - USB_CHARGER_PRESENT          << 
  9                                                << 
 10                 There are five USB charger typ      8                 There are five USB charger types:
 11                                                !!   9                 USB_CHARGER_UNKNOWN_TYPE: Charger type is unknown
 12                 ========================  ==== !!  10                 USB_CHARGER_SDP_TYPE: Standard Downstream Port
 13                 USB_CHARGER_UNKNOWN_TYPE  Char !!  11                 USB_CHARGER_CDP_TYPE: Charging Downstream Port
 14                 USB_CHARGER_SDP_TYPE      Stan !!  12                 USB_CHARGER_DCP_TYPE: Dedicated Charging Port
 15                 USB_CHARGER_CDP_TYPE      Char !!  13                 USB_CHARGER_ACA_TYPE: Accessory Charging Adapter
 16                 USB_CHARGER_DCP_TYPE      Dedi << 
 17                 USB_CHARGER_ACA_TYPE      Acce << 
 18                 ========================  ==== << 
 19                                                << 
 20                 https://www.usb.org/document-l     14                 https://www.usb.org/document-library/battery-charging-v12-spec-and-adopters-agreement
 21                                                    15 
 22                 Here are two examples taken us !!  16                 Here are two examples taken using udevadm monitor -p when
 23                 USB charger is online::        !!  17                 USB charger is online:
 24                                                !!  18                 UDEV  change   /devices/soc0/usbphynop1 (platform)
 25                     UDEV  change   /devices/so !!  19                 ACTION=change
 26                     ACTION=change              !!  20                 DEVPATH=/devices/soc0/usbphynop1
 27                     DEVPATH=/devices/soc0/usbp !!  21                 DRIVER=usb_phy_generic
 28                     DRIVER=usb_phy_generic     !!  22                 MODALIAS=of:Nusbphynop1T(null)Cusb-nop-xceiv
 29                     MODALIAS=of:Nusbphynop1T(n !!  23                 OF_COMPATIBLE_0=usb-nop-xceiv
 30                     OF_COMPATIBLE_0=usb-nop-xc !!  24                 OF_COMPATIBLE_N=1
 31                     OF_COMPATIBLE_N=1          !!  25                 OF_FULLNAME=/usbphynop1
 32                     OF_FULLNAME=/usbphynop1    !!  26                 OF_NAME=usbphynop1
 33                     OF_NAME=usbphynop1         !!  27                 SEQNUM=2493
 34                     SEQNUM=2493                !!  28                 SUBSYSTEM=platform
 35                     SUBSYSTEM=platform         !!  29                 USB_CHARGER_STATE=USB_CHARGER_PRESENT
 36                     USB_CHARGER_STATE=USB_CHAR !!  30                 USB_CHARGER_TYPE=USB_CHARGER_SDP_TYPE
 37                     USB_CHARGER_TYPE=USB_CHARG !!  31                 USEC_INITIALIZED=227422826
 38                     USEC_INITIALIZED=227422826 !!  32 
 39                                                !!  33                 USB charger is offline:
 40                 USB charger is offline::       !!  34                 KERNEL change   /devices/soc0/usbphynop1 (platform)
 41                                                !!  35                 ACTION=change
 42                     KERNEL change   /devices/s !!  36                 DEVPATH=/devices/soc0/usbphynop1
 43                     ACTION=change              !!  37                 DRIVER=usb_phy_generic
 44                     DEVPATH=/devices/soc0/usbp !!  38                 MODALIAS=of:Nusbphynop1T(null)Cusb-nop-xceiv
 45                     DRIVER=usb_phy_generic     !!  39                 OF_COMPATIBLE_0=usb-nop-xceiv
 46                     MODALIAS=of:Nusbphynop1T(n !!  40                 OF_COMPATIBLE_N=1
 47                     OF_COMPATIBLE_0=usb-nop-xc !!  41                 OF_FULLNAME=/usbphynop1
 48                     OF_COMPATIBLE_N=1          !!  42                 OF_NAME=usbphynop1
 49                     OF_FULLNAME=/usbphynop1    !!  43                 SEQNUM=2494
 50                     OF_NAME=usbphynop1         !!  44                 SUBSYSTEM=platform
 51                     SEQNUM=2494                !!  45                 USB_CHARGER_STATE=USB_CHARGER_ABSENT
 52                     SUBSYSTEM=platform         !!  46                 USB_CHARGER_TYPE=USB_CHARGER_UNKNOWN_TYPE
 53                     USB_CHARGER_STATE=USB_CHAR << 
 54                     USB_CHARGER_TYPE=USB_CHARG << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php