/Linux-v6.6/drivers/mfd/ |
D | motorola-cpcap.c | 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() 122 static void cpcap_init_one_regmap_irq(struct cpcap_ddata *cpcap, in cpcap_init_one_regmap_irq() argument 130 reg_offset /= cpcap->regmap_conf->val_bits; in cpcap_init_one_regmap_irq() 131 reg_offset *= cpcap->regmap_conf->reg_stride; in cpcap_init_one_regmap_irq() 133 bit = irq % cpcap->regmap_conf->val_bits; in cpcap_init_one_regmap_irq() 140 static int cpcap_init_irq_chip(struct cpcap_ddata *cpcap, int irq_chip, in cpcap_init_irq_chip() argument [all …]
|
D | Makefile | 124 obj-$(CONFIG_MFD_CPCAP) += motorola-cpcap.o
|
/Linux-v6.6/arch/arm/boot/dts/ti/omap/ |
D | motorola-cpcap-mapphone.dtsi | 7 cpcap: pmic@0 { label 8 compatible = "motorola,cpcap", "st,6556002"; 22 compatible = "motorola,mapphone-cpcap-adc"; 23 interrupts-extended = <&cpcap 8 0>; 29 compatible = "motorola,cpcap-battery"; 31 <&cpcap 6 0>, <&cpcap 5 0>, <&cpcap 3 0>, 32 <&cpcap 20 0>, <&cpcap 54 0>, <&cpcap 57 0>; 44 compatible = "motorola,mapphone-cpcap-charger"; 46 <&cpcap 13 0>, <&cpcap 12 0>, <&cpcap 29 0>, 47 <&cpcap 28 0>, <&cpcap 22 0>, <&cpcap 21 0>, [all …]
|
D | motorola-mapphone-common.dtsi | 6 #include "motorola-cpcap-mapphone.dtsi"
|
/Linux-v6.6/sound/soc/codecs/ |
D | cpcap.c | 269 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); in cpcap_st_workaround() local 273 if (cpcap->vendor != CPCAP_VENDOR_ST) in cpcap_st_workaround() 278 err = regmap_write(cpcap->regmap, CPCAP_REG_TEST, in cpcap_st_workaround() 282 err = regmap_write(cpcap->regmap, CPCAP_REG_ST_TEST1, in cpcap_st_workaround() 288 err = regmap_write(cpcap->regmap, CPCAP_REG_ST_TEST1, in cpcap_st_workaround() 292 err = regmap_write(cpcap->regmap, CPCAP_REG_TEST, in cpcap_st_workaround() 370 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); in cpcap_output_mux_get_enum() local 376 err = regmap_read(cpcap->regmap, CPCAP_REG_RXCOA, ®_voice); in cpcap_output_mux_get_enum() 379 err = regmap_read(cpcap->regmap, CPCAP_REG_RXSDOA, ®_hifi); in cpcap_output_mux_get_enum() 382 err = regmap_read(cpcap->regmap, CPCAP_REG_RXEPOA, ®_ext); in cpcap_output_mux_get_enum() [all …]
|
D | Makefile | 57 snd-soc-cpcap-objs := cpcap.o 444 obj-$(CONFIG_SND_SOC_CPCAP) += snd-soc-cpcap.o
|
/Linux-v6.6/Documentation/devicetree/bindings/leds/ |
D | leds-cpcap.txt | 5 chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. 9 * "motorola,cpcap-led-mdl" (Main Display Lighting) 10 * "motorola,cpcap-led-kl" (Keyboard Lighting) 11 * "motorola,cpcap-led-adl" (Aux Display Lighting) 12 * "motorola,cpcap-led-red" (Red Triode) 13 * "motorola,cpcap-led-green" (Green Triode) 14 * "motorola,cpcap-led-blue" (Blue Triode) 15 * "motorola,cpcap-led-cf" (Camera Flash) 16 * "motorola,cpcap-led-bt" (Bluetooth) 17 * "motorola,cpcap-led-cp" (Camera Privacy LED) [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/phy/ |
D | phy-cpcap-usb.txt | 4 compatible: Shall be either "motorola,cpcap-usb-phy" or 5 "motorola,mapphone-cpcap-usb-phy" 20 compatible = "motorola,mapphone-cpcap-usb-phy"; 28 &cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0 29 &cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0 30 &cpcap 48 1
|
/Linux-v6.6/Documentation/devicetree/bindings/mfd/ |
D | motorola-cpcap.txt | 4 - compatible : One or both of "motorola,cpcap" or "ste,6556002" 19 - Documentation/devicetree/bindings/power/supply/cpcap-battery.yaml 20 - Documentation/devicetree/bindings/power/supply/cpcap-charger.yaml 21 - Documentation/devicetree/bindings/regulator/cpcap-regulator.txt 22 - Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt 23 - Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt 24 - Documentation/devicetree/bindings/rtc/cpcap-rtc.txt 25 - Documentation/devicetree/bindings/leds/leds-cpcap.txt 26 - Documentation/devicetree/bindings/iio/adc/motorola,cpcap-adc.yaml 41 cpcap: pmic@0 { [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/rtc/ |
D | cpcap-rtc.txt | 5 chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. 8 - compatible: should contain "motorola,cpcap-rtc" 13 &cpcap { 15 compatible = "motorola,cpcap-rtc";
|
/Linux-v6.6/Documentation/devicetree/bindings/input/ |
D | cpcap-pwrbutton.txt | 4 chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. 10 - "motorola,cpcap-pwrbutton" 15 &cpcap { 17 compatible = "motorola,cpcap-pwrbutton";
|
/Linux-v6.6/Documentation/devicetree/bindings/regulator/ |
D | cpcap-regulator.txt | 6 "motorola,cpcap-regulator" 7 "motorola,mapphone-cpcap-regulator" 8 "motorola,xoom-cpcap-regulator" 25 compatible = "motorola,cpcap-regulator";
|
/Linux-v6.6/drivers/rtc/ |
D | rtc-cpcap.c | 51 static void cpcap2rtc_time(struct rtc_time *rtc, struct cpcap_time *cpcap) in cpcap2rtc_time() argument 56 tod = (cpcap->tod1 & TOD1_MASK) | ((cpcap->tod2 & TOD2_MASK) << 8); in cpcap2rtc_time() 57 time = tod + ((cpcap->day & DAY_MASK) * SECS_PER_DAY); in cpcap2rtc_time() 62 static void rtc2cpcap_time(struct cpcap_time *cpcap, struct rtc_time *rtc) in rtc2cpcap_time() argument 68 cpcap->day = time / SECS_PER_DAY; in rtc2cpcap_time() 70 cpcap->tod2 = (time >> 8) & TOD2_MASK; in rtc2cpcap_time() 71 cpcap->tod1 = time & TOD1_MASK; in rtc2cpcap_time()
|
D | Makefile | 43 obj-$(CONFIG_RTC_DRV_CPCAP) += rtc-cpcap.o
|
/Linux-v6.6/drivers/phy/motorola/ |
D | Makefile | 6 obj-$(CONFIG_PHY_CPCAP_USB) += phy-cpcap-usb.o
|
/Linux-v6.6/drivers/power/supply/ |
D | Makefile | 26 obj-$(CONFIG_BATTERY_CPCAP) += cpcap-battery.o 66 obj-$(CONFIG_CHARGER_CPCAP) += cpcap-charger.o
|
/Linux-v6.6/drivers/input/misc/ |
D | Makefile | 30 obj-$(CONFIG_INPUT_CPCAP_PWRBUTTON) += cpcap-pwrbutton.o
|
D | Kconfig | 340 be called cpcap-pwrbutton.
|
/Linux-v6.6/drivers/leds/ |
D | Makefile | 28 obj-$(CONFIG_LEDS_CPCAP) += leds-cpcap.o
|
/Linux-v6.6/drivers/iio/adc/ |
D | Makefile | 41 obj-$(CONFIG_CPCAP_ADC) += cpcap-adc.o
|
D | Kconfig | 408 called cpcap-adc.
|
/Linux-v6.6/arch/arm/mach-omap2/ |
D | Makefile | 33 obj-y += pmic-cpcap.o
|
/Linux-v6.6/drivers/regulator/ |
D | Makefile | 17 obj-$(CONFIG_REGULATOR_CPCAP) += cpcap-regulator.o
|