Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/mfd/
A Dmotorola-cpcap.c66 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()
80 dev_info(&cpcap->spi->dev, in cpcap_check_revision()
153 chip->irq_drv_data = cpcap; in cpcap_init_irq_chip()
155 ret = devm_regmap_add_irq_chip(&cpcap->spi->dev, cpcap->regmap, in cpcap_init_irq_chip()
156 cpcap->spi->irq, in cpcap_init_irq_chip()
173 cpcap->irqs = devm_kzalloc(&cpcap->spi->dev, in cpcap_init_irq()
178 if (!cpcap->irqs) in cpcap_init_irq()
301 cpcap = devm_kzalloc(&spi->dev, sizeof(*cpcap), GFP_KERNEL); in cpcap_probe()
302 if (!cpcap) in cpcap_probe()
[all …]
A DMakefile118 obj-$(CONFIG_MFD_CPCAP) += motorola-cpcap.o
/linux-6.3-rc2/arch/arm/boot/dts/
A Dmotorola-cpcap-mapphone.dtsi7 cpcap: pmic@0 { label
23 interrupts-extended = <&cpcap 8 0>;
31 <&cpcap 6 0>, <&cpcap 5 0>, <&cpcap 3 0>,
32 <&cpcap 20 0>, <&cpcap 54 0>, <&cpcap 57 0>;
46 <&cpcap 13 0>, <&cpcap 12 0>, <&cpcap 29 0>,
47 <&cpcap 28 0>, <&cpcap 22 0>, <&cpcap 21 0>,
48 <&cpcap 20 0>, <&cpcap 19 0>, <&cpcap 54 0>;
86 interrupt-parent = <&cpcap>;
105 <&cpcap 15 0>, <&cpcap 14 0>, <&cpcap 28 0>,
106 <&cpcap 19 0>, <&cpcap 18 0>, <&cpcap 17 0>,
[all …]
A Dmotorola-mapphone-common.dtsi6 #include "motorola-cpcap-mapphone.dtsi"
/linux-6.3-rc2/Documentation/devicetree/bindings/leds/
A Dleds-cpcap.txt9 * "motorola,cpcap-led-mdl" (Main Display Lighting)
10 * "motorola,cpcap-led-kl" (Keyboard 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)
23 &cpcap {
25 compatible = "motorola,cpcap-led-red";
[all …]
/linux-6.3-rc2/sound/soc/codecs/
A Dcpcap.c273 if (cpcap->vendor != CPCAP_VENDOR_ST) in cpcap_st_workaround()
1037 cpcap->codec_clk_id = clk_id; in cpcap_set_sysclk()
1038 cpcap->codec_freq = freq; in cpcap_set_sysclk()
1379 cpcap->codec_format = val; in cpcap_voice_set_dai_fmt()
1598 err = regmap_update_bits(cpcap->regmap, in cpcap_audio_reset()
1631 struct cpcap_audio *cpcap; in cpcap_soc_probe() local
1634 cpcap = devm_kzalloc(component->dev, sizeof(*cpcap), GFP_KERNEL); in cpcap_soc_probe()
1635 if (!cpcap) in cpcap_soc_probe()
1638 cpcap->component = component; in cpcap_soc_probe()
1641 if (!cpcap->regmap) in cpcap_soc_probe()
[all …]
A DMakefile54 snd-soc-cpcap-objs := cpcap.o
422 obj-$(CONFIG_SND_SOC_CPCAP) += snd-soc-cpcap.o
/linux-6.3-rc2/Documentation/devicetree/bindings/phy/
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
/linux-6.3-rc2/Documentation/devicetree/bindings/power/supply/
A Dcpcap-charger.yaml5 $id: http://devicetree.org/schemas/power/supply/cpcap-charger.yaml#
24 const: motorola,mapphone-cpcap-charger
86 cpcap {
88 compatible = "motorola,mapphone-cpcap-charger";
90 <&cpcap 13 0>, <&cpcap 12 0>, <&cpcap 29 0>, <&cpcap 28 0>,
91 <&cpcap 22 0>, <&cpcap 21 0>, <&cpcap 20 0>, <&cpcap 19 0>,
92 <&cpcap 54 0>;
A Dcpcap-battery.yaml5 $id: http://devicetree.org/schemas/power/supply/cpcap-battery.yaml#
24 const: motorola,cpcap-battery
72 cpcap {
74 compatible = "motorola,cpcap-battery";
76 <&cpcap 6 0>, <&cpcap 5 0>, <&cpcap 3 0>,
77 <&cpcap 20 0>, <&cpcap 54 0>, <&cpcap 57 0>;
/linux-6.3-rc2/Documentation/devicetree/bindings/mfd/
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 …]
/linux-6.3-rc2/Documentation/devicetree/bindings/iio/adc/
A Dmotorola,cpcap-adc.yaml4 $id: http://devicetree.org/schemas/iio/adc/motorola,cpcap-adc.yaml#
20 - motorola,cpcap-adc
21 - motorola,mapphone-cpcap-adc
46 compatible = "motorola,mapphone-cpcap-adc";
47 interrupt-parent = <&cpcap>;
/linux-6.3-rc2/Documentation/devicetree/bindings/rtc/
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";
/linux-6.3-rc2/Documentation/devicetree/bindings/input/
A Dcpcap-pwrbutton.txt4 chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt.
10 - "motorola,cpcap-pwrbutton"
15 &cpcap {
17 compatible = "motorola,cpcap-pwrbutton";
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/
A Dcpcap-regulator.txt6 "motorola,cpcap-regulator"
7 "motorola,mapphone-cpcap-regulator"
8 "motorola,xoom-cpcap-regulator"
25 compatible = "motorola,cpcap-regulator";
/linux-6.3-rc2/drivers/rtc/
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()
A DMakefile43 obj-$(CONFIG_RTC_DRV_CPCAP) += rtc-cpcap.o
/linux-6.3-rc2/drivers/phy/motorola/
A DMakefile6 obj-$(CONFIG_PHY_CPCAP_USB) += phy-cpcap-usb.o
/linux-6.3-rc2/drivers/power/supply/
A DMakefile26 obj-$(CONFIG_BATTERY_CPCAP) += cpcap-battery.o
65 obj-$(CONFIG_CHARGER_CPCAP) += cpcap-charger.o
/linux-6.3-rc2/drivers/input/misc/
A DMakefile29 obj-$(CONFIG_INPUT_CPCAP_PWRBUTTON) += cpcap-pwrbutton.o
A DKconfig329 be called cpcap-pwrbutton.
/linux-6.3-rc2/drivers/leds/
A DMakefile25 obj-$(CONFIG_LEDS_CPCAP) += leds-cpcap.o
/linux-6.3-rc2/drivers/iio/adc/
A DMakefile41 obj-$(CONFIG_CPCAP_ADC) += cpcap-adc.o
/linux-6.3-rc2/arch/arm/mach-omap2/
A DMakefile33 obj-y += pmic-cpcap.o
/linux-6.3-rc2/drivers/regulator/
A DMakefile17 obj-$(CONFIG_REGULATOR_CPCAP) += cpcap-regulator.o

Completed in 35 milliseconds

12