/linux/drivers/mfd/ |
H A D | motorola-cpcap.c | 19 #include <linux/mfd/motorola-cpcap.h> 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() 94 .name = "cpcap-m2", 103 .name = "cpcap 122 cpcap_init_one_regmap_irq(struct cpcap_ddata * cpcap,struct regmap_irq * rirq,int irq_base,int irq) cpcap_init_one_regmap_irq() argument 140 cpcap_init_irq_chip(struct cpcap_ddata * cpcap,int irq_chip,int irq_start,int nr_irqs) cpcap_init_irq_chip() argument 169 cpcap_init_irq(struct cpcap_ddata * cpcap) cpcap_init_irq() argument 293 struct cpcap_ddata *cpcap; cpcap_probe() local [all...] |
/linux/arch/arm/boot/dts/ti/omap/ |
H A 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 5 [all...] |
H A D | motorola-mapphone-common.dtsi | 6 #include "motorola-cpcap-mapphone.dtsi"
|
/linux/sound/soc/codecs/ |
H A D | cpcap.c | 15 #include <linux/mfd/motorola-cpcap.h> 283 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); in cpcap_st_workaround() local 287 if (cpcap->vendor != CPCAP_VENDOR_ST) in cpcap_st_workaround() 292 err = regmap_write(cpcap->regmap, CPCAP_REG_TEST, in cpcap_st_workaround() 296 err = regmap_write(cpcap->regmap, CPCAP_REG_ST_TEST1, in cpcap_st_workaround() 302 err = regmap_write(cpcap->regmap, CPCAP_REG_ST_TEST1, in cpcap_st_workaround() 306 err = regmap_write(cpcap->regmap, CPCAP_REG_TEST, in cpcap_st_workaround() 384 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); in cpcap_output_mux_get_enum() local 390 err = regmap_read(cpcap->regmap, CPCAP_REG_RXCOA, ®_voice); in cpcap_output_mux_get_enum() 393 err = regmap_read(cpcap in cpcap_output_mux_get_enum() 427 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_output_mux_put_enum() local 472 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_input_right_mux_get_enum() local 511 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_input_right_mux_put_enum() local 556 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_input_left_mux_get_enum() local 587 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_input_left_mux_put_enum() local 972 cpcap_set_sysclk(struct cpcap_audio * cpcap,enum cpcap_dai dai,int clk_id,int freq) cpcap_set_sysclk() argument 1058 cpcap_set_samprate(struct cpcap_audio * cpcap,enum cpcap_dai dai,int samplerate) cpcap_set_samprate() argument 1142 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_hifi_hw_params() local 1153 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_hifi_set_dai_sysclk() local 1164 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_hifi_set_dai_fmt() local 1245 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_hifi_set_mute() local 1273 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_voice_hw_params() local 1311 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_voice_set_dai_sysclk() local 1322 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_voice_set_dai_fmt() local 1405 cpcap_voice_call(struct cpcap_audio * cpcap,struct snd_soc_dai * dai,bool voice_call) cpcap_voice_call() argument 1476 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_voice_set_tdm_slot() local 1514 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_voice_set_mute() local 1571 cpcap_dai_mux(struct cpcap_audio * cpcap,bool swap_dai_configuration) cpcap_dai_mux() argument 1606 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_audio_reset() local 1646 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_hs_irq_thread() local 1700 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_mb2_irq_thread() local 1735 struct cpcap_audio *cpcap; cpcap_soc_probe() local 1817 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_soc_remove() local 1826 struct cpcap_audio *cpcap = snd_soc_component_get_drvdata(component); cpcap_set_bias_level() local [all...] |
H A D | Makefile | 62 snd-soc-cpcap-y := cpcap.o 488 obj-$(CONFIG_SND_SOC_CPCAP) += snd-soc-cpcap.o
|
/linux/Documentation/devicetree/bindings/leds/ |
H A 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 [all...] |
/linux/Documentation/devicetree/bindings/mfd/ |
H A 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/motorola,cpcap-usb-phy.yaml 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 45 cpcap [all...] |
/linux/Documentation/devicetree/bindings/rtc/ |
H A 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/Documentation/devicetree/bindings/input/ |
H A 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/Documentation/devicetree/bindings/regulator/ |
H A D | cpcap-regulator.txt | 6 "motorola,cpcap-regulator" 7 "motorola,mapphone-cpcap-regulator" 8 "motorola,xoom-cpcap-regulator" 25 compatible = "motorola,cpcap-regulator";
|
/linux/drivers/rtc/ |
H A D | rtc-cpcap.c | 5 * Based on cpcap-regulator.c from Motorola Linux kernel tree 26 #include <linux/mfd/motorola-cpcap.h> 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 in rtc2cpcap_time() [all...] |
H A D | Makefile | 45 obj-$(CONFIG_RTC_DRV_CPCAP) += rtc-cpcap.o
|
/linux/drivers/phy/motorola/ |
H A D | Makefile | 6 obj-$(CONFIG_PHY_CPCAP_USB) += phy-cpcap-usb.o
|
/linux/drivers/leds/ |
H A D | Makefile | 29 obj-$(CONFIG_LEDS_CPCAP) += leds-cpcap.o
|
/linux/drivers/iio/adc/ |
H A D | Makefile | 58 obj-$(CONFIG_CPCAP_ADC) += cpcap-adc.o
|
/linux/arch/arm/mach-omap2/ |
H A D | Makefile | 33 obj-y += pmic-cpcap.o
|
/linux/drivers/regulator/ |
H A D | Makefile | 19 obj-$(CONFIG_REGULATOR_CPCAP) += cpcap-regulator.o
|
/linux/drivers/input/misc/ |
H A D | Kconfig | 357 be called cpcap-pwrbutton.
|