Searched +full:mapphone +full:- +full:cpcap +full:- +full:adc (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/Documentation/devicetree/bindings/iio/adc/ |
D | motorola,cpcap-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/motorola,cpcap-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Motorola CPCAP PMIC ADC 10 - Tony Lindgren <tony@atomide.com> 13 On Motorola phones like droid 4 there is a custom CPCAP PMIC. This PMIC 20 - motorola,cpcap-adc 21 - motorola,mapphone-cpcap-adc 26 interrupt-names: [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/phy/ |
D | phy-cpcap-usb.txt | 1 Motorola CPCAP PMIC USB PHY binding 4 compatible: Shall be either "motorola,cpcap-usb-phy" or 5 "motorola,mapphone-cpcap-usb-phy" 6 #phy-cells: Shall be 0 7 interrupts: CPCAP PMIC interrupts used by the USB PHY 8 interrupt-names: Interrupt names 9 io-channels: IIO ADC channels used by the USB PHY 10 io-channel-names: IIO ADC channel names 11 vusb-supply: Regulator for the PHY 15 pinctrl-names: Names for optional pin modes [all …]
|
/Linux-v6.6/arch/arm/boot/dts/ti/omap/ |
D | motorola-cpcap-mapphone.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Common CPCAP configuration used on Motorola phones 7 cpcap: pmic@0 { label 8 compatible = "motorola,cpcap", "st,6556002"; 10 interrupt-parent = <&gpio1>; 12 interrupt-controller; 13 #interrupt-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 spi-max-frequency = <9600000>; [all …]
|
/Linux-v6.6/drivers/mfd/ |
D | motorola-cpcap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Motorola CPCAP PMIC core driver 19 #include <linux/mfd/motorola-cpcap.h> 43 return -EINVAL; in cpcap_sense_irq() 57 return cpcap_sense_irq(regmap, virq - irq_base); in cpcap_sense_virq() 61 static int cpcap_check_revision(struct cpcap_ddata *cpcap) in cpcap_check_revision() argument 66 ret = cpcap_get_vendor(&cpcap->spi->dev, cpcap->regmap, &vendor); in cpcap_check_revision() 70 ret = cpcap_get_revision(&cpcap->spi->dev, cpcap->regmap, &rev); in cpcap_check_revision() 74 dev_info(&cpcap->spi->dev, "CPCAP vendor: %s rev: %i.%i (%x)\n", in cpcap_check_revision() 80 dev_info(&cpcap->spi->dev, in cpcap_check_revision() [all …]
|
/Linux-v6.6/drivers/iio/adc/ |
D | cpcap-adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2009-2010 Motorola, Inc. 27 #include <linux/mfd/motorola-cpcap.h> 86 * struct cpcap_adc_ato - timing settings for cpcap adc 88 * Unfortunately no cpcap documentation available, please document when 103 * struct cpcap_adc - cpcap adc device driver data 104 * @reg: cpcap regmap 106 * @vendor: cpcap vendor 118 struct mutex lock; /* ADC register access lock */ 125 * enum cpcap_adc_channel - cpcap adc channels [all …]
|
/Linux-v6.6/drivers/power/supply/ |
D | cpcap-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Motorola CPCAP PMIC battery charger driver 10 * Copyright (C) 2009-2010 Motorola, Inc. 31 #include <linux/mfd/motorola-cpcap.h> 37 * and values for CPCAP are different, but some of the internal components seem 38 * similar. Also see the Motorola Linux kernel cpcap-regbits.h. CPCAP_REG_CHRGR_1 66 * CPCAP_REG_CRM charge voltages based on the ADC channel 1 values. 90 * values in "Table 8-3. Charge Path Regulator Current Limit 181 channel = ddata->channels[CPCAP_CHARGER_IIO_VOLTAGE]; in cpcap_charger_get_charge_voltage() 184 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_charger_get_charge_voltage() [all …]
|