Home
last modified time | relevance | path

Searched full:accessory (Results 1 – 25 of 69) sorted by relevance

123

/linux/drivers/extcon/
H A Dextcon-max14577.c106 /* Define supported accessory type */
362 /* Check accessory state which is either detached or attached */ in max14577_muic_adc_handler()
409 * This accessory isn't used in general case if it is specially in max14577_muic_adc_handler()
410 * needed to detect additional accessory, should implement in max14577_muic_adc_handler()
411 * proper operation when this accessory is attached/detached. in max14577_muic_adc_handler()
414 "accessory is %s but it isn't used (adc:0x%x)\n", in max14577_muic_adc_handler()
419 "failed to detect %s accessory (adc:0x%x)\n", in max14577_muic_adc_handler()
473 "failed to detect %s accessory (chg_type:0x%x)\n", in max14577_muic_chg_handler()
526 * Handle all of accessory except for in max14577_parse_irq()
527 * type of charger accessory. in max14577_parse_irq()
[all …]
H A Dextcon-usbc-tusb320.c92 [TUSB320_ATTACHED_STATE_ACC] = "accessory",
287 u8 state, mode, accessory; in tusb320_typec_irq_handler() local
302 accessory = FIELD_GET(TUSB320_REG8_ACCESSORY_CONNECTED, reg8); in tusb320_typec_irq_handler()
319 * Accessory detected. For debug accessories, just make some in tusb320_typec_irq_handler()
322 if (accessory == TUSB320_REG8_ACCESSORY_CONNECTED_AUDIO || in tusb320_typec_irq_handler()
323 accessory == TUSB320_REG8_ACCESSORY_CONNECTED_ACHRG) { in tusb320_typec_irq_handler()
329 } else if (accessory == in tusb320_typec_irq_handler()
336 } else if (accessory == in tusb320_typec_irq_handler()
346 accessory); in tusb320_typec_irq_handler()
370 else /* Charge through accessory */ in tusb320_typec_irq_handler()
[all …]
H A Dextcon-max77843.c60 /* Define accessory cable type */
284 /* Check GROUND accessory with charger cable */ in max77843_muic_get_cable_type()
289 * disconnected but the GROUND accessory still in max77843_muic_get_cable_type()
299 * connected on the GROUND accessory. in max77843_muic_get_cable_type()
401 dev_err(info->dev, "failed to detect %s accessory(gnd:0x%x)\n", in max77843_muic_adc_gnd_handler()
518 "accessory is %s but it isn't used (adc:0x%x)\n", in max77843_muic_adc_handler()
523 "failed to detect %s accessory (adc:0x%x)\n", in max77843_muic_adc_handler()
600 /* Charger cable on MHL accessory is attach or detach */ in max77843_muic_chg_handler()
615 "failed to detect %s accessory (chg_type:0x%x)\n", in max77843_muic_chg_handler()
725 dev_err(info->dev, "Cannot detect accessory\n"); in max77843_muic_detect_cable_wq()
[all …]
H A Dextcon-max77693.c147 /* Define supported accessory type */
184 * ADC1K bit is used to separate specific accessory.
661 /* Check accessory state which is either detached or attached */ in max77693_muic_adc_handler()
744 * This accessory isn't used in general case if it is specially in max77693_muic_adc_handler()
745 * needed to detect additional accessory, should implement in max77693_muic_adc_handler()
746 * proper operation when this accessory is attached/detached. in max77693_muic_adc_handler()
749 "accessory is %s but it isn't used (adc:0x%x)\n", in max77693_muic_adc_handler()
754 "failed to detect %s accessory (adc:0x%x)\n", in max77693_muic_adc_handler()
928 "failed to detect %s accessory (chg_type:0x%x)\n", in max77693_muic_chg_handler()
966 * Handle all of accessory except for in max77693_muic_irq_work()
[all …]
H A Dextcon-rt8973a.c106 /* Define supported accessory type */
143 * So, Device type1 is used to separate specific accessory.
359 "Unknown accessory type (adc:0x%x)\n", cable_type); in rt8973a_muic_cable_handler()
397 /* Change the state of external accessory */ in rt8973a_muic_cable_handler()
631 * Detect accessory after completing the initialization of platform in rt8973a_muic_i2c_probe()
H A Dextcon-sm5502.c137 /* Define supported accessory type */
174 * So, Device type1 is used to separate specific accessory.
514 /* Change the state of external accessory */ in sm5502_muic_cable_handler()
759 * Detect accessory after completing the initialization of platform in sm5022_muic_i2c_probe()
/linux/include/linux/usb/
H A Dtypec_altmode.h120 * For the muxes there is no difference between Accessory Modes and Alternate
121 * Modes, so the Accessory Modes are supplied with specific modal state values
123 * alternate mode device, the mux for Accessory Modes will be linked with the
127 * value for typec_set_mode() when accessory modes are supported.
136 * state values, just like the Accessory Modes.
142 TYPEC_MODE_AUDIO, /* Audio Accessory */
143 TYPEC_MODE_DEBUG, /* Debug Accessory */
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-bd9571mwv-regulator17 the accessory power switch from a power switch to a
19 2. Switch accessory power switch off, to prepare for
23 4. Switch accessory power switch on, to resume the
H A Dusb-charger-uevent17 USB_CHARGER_ACA_TYPE Accessory Charging Adapter
H A Dsysfs-class-extcon13 accessory cables have such capability. For example,
/linux/Documentation/devicetree/bindings/extcon/
H A Dsiliconmitus,sm5502-muic.yaml14 which can detect the state of external accessory when external accessory is
H A Dfcs,fsa880.yaml13 The FSA880 and FSA9480 are USB port accessory detectors and switches.
H A Dwlf,arizona.yaml104 The first cell defines the accessory detection pin, zero
/linux/Documentation/devicetree/bindings/usb/
H A Dqcom,wcd939x-usbss.yaml19 Accessory Mode.
54 purpose of handling USB-C Audio Accessory Mode muxing and orientation switching.
/linux/drivers/usb/typec/
H A Dwusb3801.c265 desc.accessory = TYPEC_ACCESSORY_AUDIO; in wusb3801_hw_update()
268 desc.accessory = TYPEC_ACCESSORY_DEBUG; in wusb3801_hw_update()
370 wusb3801->cap.accessory[0] = TYPEC_ACCESSORY_AUDIO; in wusb3801_probe()
371 wusb3801->cap.accessory[1] = TYPEC_ACCESSORY_DEBUG; in wusb3801_probe()
H A Dclass.h33 enum typec_accessory accessory; member
/linux/Documentation/devicetree/bindings/sound/
H A Ddialog,da7219.yaml14 in-built advanced accessory detection (AAD) for mobile
15 computing and accessory applications, which supports
94 Configuration of advanced accessory detection.
H A Dqcom,wcd939x.yaml19 to handle USB-C altmode & orientation switching for Audio Accessory Mode.
46 enable Audio Accessory Mode.
H A Dti,ts3a227e.yaml8 Autonomous Audio Accessory Detection and Configuration Switch
H A Dmediatek,mt8188-mt6359.yaml46 The phandle to the MT6359 accessory detection block, which detects audio
/linux/sound/soc/codecs/
H A Dts3a227e.h3 * TS3A227E Autonous Audio Accessory Detection and Configureation Switch
/linux/include/uapi/linux/usb/
H A Dcharger.h14 * ACA (Accessory Charger Adapters)
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dmediatek,mt6359-auxadc.yaml16 accessory detection resistance (usually, for a 3.5mm audio jack)
/linux/Documentation/devicetree/bindings/input/
H A Dpine64,pinephone-keyboard.yaml13 A keyboard accessory is available for the Pine64 PinePhone and PinePhone Pro.
/linux/Documentation/devicetree/bindings/power/supply/
H A Dtwl4030-charger.yaml42 - description: Accessory Charger Voltage Channel

123