Home
last modified time | relevance | path

Searched refs:cpcap (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/drivers/mfd/
H A Dmotorola-cpcap.c61 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 …]
H A DMakefile124 obj-$(CONFIG_MFD_CPCAP) += motorola-cpcap.o
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dmotorola-cpcap-mapphone.dtsi7 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 …]
H A Dmotorola-mapphone-common.dtsi6 #include "motorola-cpcap-mapphone.dtsi"
/openbmc/linux/sound/soc/codecs/
H A Dcpcap.c269 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, &reg_voice); in cpcap_output_mux_get_enum()
379 err = regmap_read(cpcap->regmap, CPCAP_REG_RXSDOA, &reg_hifi); in cpcap_output_mux_get_enum()
382 err = regmap_read(cpcap->regmap, CPCAP_REG_RXEPOA, &reg_ext); in cpcap_output_mux_get_enum()
[all …]
H A DMakefile57 snd-soc-cpcap-objs := cpcap.o
444 obj-$(CONFIG_SND_SOC_CPCAP) += snd-soc-cpcap.o
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-cpcap.txt5 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 …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dphy-cpcap-usb.txt4 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
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dmotorola-cpcap.txt4 - 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 …]
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Dcpcap-rtc.txt5 chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt.
8 - compatible: should contain "motorola,cpcap-rtc"
13 &cpcap {
15 compatible = "motorola,cpcap-rtc";
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dcpcap-pwrbutton.txt4 chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt.
10 - "motorola,cpcap-pwrbutton"
15 &cpcap {
17 compatible = "motorola,cpcap-pwrbutton";
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dcpcap-regulator.txt6 "motorola,cpcap-regulator"
7 "motorola,mapphone-cpcap-regulator"
8 "motorola,xoom-cpcap-regulator"
25 compatible = "motorola,cpcap-regulator";
/openbmc/linux/drivers/rtc/
H A Drtc-cpcap.c51 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()
H A DMakefile43 obj-$(CONFIG_RTC_DRV_CPCAP) += rtc-cpcap.o
/openbmc/linux/drivers/phy/motorola/
H A DMakefile6 obj-$(CONFIG_PHY_CPCAP_USB) += phy-cpcap-usb.o
/openbmc/linux/drivers/power/supply/
H A DMakefile26 obj-$(CONFIG_BATTERY_CPCAP) += cpcap-battery.o
66 obj-$(CONFIG_CHARGER_CPCAP) += cpcap-charger.o
/openbmc/linux/drivers/input/misc/
H A DMakefile30 obj-$(CONFIG_INPUT_CPCAP_PWRBUTTON) += cpcap-pwrbutton.o
H A DKconfig340 be called cpcap-pwrbutton.
/openbmc/linux/drivers/leds/
H A DMakefile28 obj-$(CONFIG_LEDS_CPCAP) += leds-cpcap.o
/openbmc/linux/drivers/iio/adc/
H A DMakefile41 obj-$(CONFIG_CPCAP_ADC) += cpcap-adc.o
H A DKconfig408 called cpcap-adc.
/openbmc/linux/arch/arm/mach-omap2/
H A DMakefile33 obj-y += pmic-cpcap.o
/openbmc/linux/drivers/regulator/
H A DMakefile17 obj-$(CONFIG_REGULATOR_CPCAP) += cpcap-regulator.o
/openbmc/linux/
H A Dopengrok0.0.log3809 2024-12-28 20:09:06.650-0600 FINEST t1138 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/Documentation/devicetree/bindings/power/supply/cpcap-charger.yaml.gz'
4815 2024-12-28 20:09:06.846-0600 FINEST t1089 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/sound/soc/codecs/cpcap.c.gz'
[all...]
H A Dopengrok2.0.log[all...]

12