linux-xiaomi-chiron/drivers/staging
Hans de Goede 382099d6bc staging: typec: fusb302: Add support for USB2 charger detection through extcon
The fusb302 port-controller relies on an external device doing USB2
charger-type detection.

The Intel Whiskey Cove PMIC with which the fusb302 is combined on some
X86/ACPI platforms already has a charger-type detection driver which
uses extcon to communicate the detected charger-type.

Rather then inventing a new API for USB2 charger-type detection
specifically for use with the tcpm code, this commit simply re-uses the
existing extcon API and uses that do USB2 charger detection.

Note that the "fcs,extcon-name" property name is only for kernel internal
use by X86/ACPI platform code and as such is NOT documented in
the fusb302 devicetree bindings.

Cc: "Yueyao (Nathan) Zhu" <yueyao@google.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-31 18:23:12 +02:00
..
android
board
ccree staging: ccree: save ciphertext for CTS IV 2017-08-23 16:22:35 -07:00
clocking-wizard
comedi staging: comedi: coding style fixes found by checkpatch.pl 2017-08-29 08:25:41 +02:00
dgnc
emxx_udc
fbtft
fsl-dpaa2 Staging: fsl-dpaa2: ethernet: dpni.c: Fixed alignment to match open parenthesis. 2017-08-22 18:33:25 -07:00
fsl-mc Merge 4.13-rc7 into staging-next 2017-08-28 15:26:48 +02:00
fwserial
gdm724x
goldfish staging: goldfish: (Coding Style) Fixed parenthesis alignment. 2017-08-31 18:21:37 +02:00
greybus staging: greybus: audio: constify snd_soc_dai_ops structures 2017-08-22 18:33:19 -07:00
gs_fpgaboot
iio Second set of IIO new device support, features and cleanup for the 4.14 cycle. 2017-08-20 10:42:42 -07:00
ks7010 staging: ks7010: Fix coding style and remove checkpatch.pl warnings. 2017-08-31 18:13:25 +02:00
lustre staging: lustre: coding style fixes found by checkpatch.pl 2017-08-31 18:21:37 +02:00
media Revert "staging: imx: fix non-static declarations" 2017-08-18 15:57:16 -07:00
most staging: most: hdm_usb: Driver registration with module_driver macro 2017-08-27 19:59:10 +02:00
mt29f_spinand
netlogic
nvec
octeon staging: octeon: fix line over 80 characters 2017-08-18 15:57:17 -07:00
octeon-usb
olpc_dcon staging: olpc_dcon: remove pointless debug printk in dcon_freeze_store() 2017-08-28 10:27:29 +02:00
pi433 staging: pi433: fix interrupt handler signatures 2017-08-28 10:27:29 +02:00
rtl8188eu staging:rtl8188eu Use __func__ instead of function name 2017-08-31 18:21:37 +02:00
rtl8192e
rtl8192u
rtl8712 staging: rtl8712: constify usb_device_id 2017-08-18 15:57:16 -07:00
rtl8723bs staging: rtl8723bs: hal: remove cast to void pointer 2017-08-29 08:24:04 +02:00
rtlwifi staging: rtlwifi: remove memset before memcpy 2017-08-29 08:24:03 +02:00
rts5208 staging/rts5208: fix incorrect shift to extract upper nybble 2017-08-20 11:08:41 -07:00
skein
sm750fb
speakup staging: speakup: use tty_kopen and tty_kclose 2017-08-28 16:15:42 +02:00
typec staging: typec: fusb302: Add support for USB2 charger detection through extcon 2017-08-31 18:23:12 +02:00
unisys staging: unisys: change pr_err to dev_err in visor_check_channel 2017-08-31 18:17:40 +02:00
vboxvideo staging: vboxvideo: Use fbdev helpers where possible 2017-08-28 10:40:39 +02:00
vc04_services staging: bcm2835-camera: make video_device const 2017-08-28 10:40:39 +02:00
vme
vt6655
vt6656
wilc1000 staging: wilc1000: fix spelling mistake: "Iinitialization" -> "initialization" 2017-07-30 08:28:21 -07:00
wlan-ng staging: wlan-ng: hfa384x_usb: Fix multiple line dereference 2017-08-20 11:10:23 -07:00
xgifb
Kconfig staging: r8822be: Add Makefiles and Kconfig for new driver 2017-08-20 11:13:12 -07:00
Makefile staging: r8822be: Add Makefiles and Kconfig for new driver 2017-08-20 11:13:12 -07:00