Home
last modified time | relevance | path

Searched refs:ab8500 (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v5.4/drivers/mfd/
Dab8500-core.c166 static int ab8500_prcmu_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_prcmu_write() argument
172 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write()
176 static int ab8500_prcmu_write_masked(struct ab8500 *ab8500, u16 addr, u8 mask, in ab8500_prcmu_write_masked() argument
184 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write_masked()
188 static int ab8500_prcmu_read(struct ab8500 *ab8500, u16 addr) in ab8500_prcmu_read() argument
195 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_read()
203 struct ab8500 *ab8500; in ab8500_get_chip_id() local
207 ab8500 = dev_get_drvdata(dev->parent); in ab8500_get_chip_id()
208 return ab8500 ? (int)ab8500->chip_id : -EINVAL; in ab8500_get_chip_id()
211 static int set_register_interruptible(struct ab8500 *ab8500, u8 bank, in set_register_interruptible() argument
[all …]
Dab8500-debugfs.c1594 struct ab8500 *ab8500; in ab8500_modem_show() local
1602 ab8500 = dev_get_drvdata(dev->parent); in ab8500_modem_show()
1620 if (is_ab9540(ab8500) || is_ab8505(ab8500)) in ab8500_modem_show()
2651 struct ab8500 *ab8500; in ab8500_debug_probe() local
2657 ab8500 = dev_get_drvdata(plf->dev.parent); in ab8500_debug_probe()
2658 num_irqs = ab8500->mask_size; in ab8500_debug_probe()
2708 if (is_ab8500(ab8500)) { in ab8500_debug_probe()
2711 } else if (is_ab8505(ab8500)) { in ab8500_debug_probe()
2714 } else if (is_ab9540(ab8500)) { in ab8500_debug_probe()
2717 } else if (is_ab8540(ab8500)) { in ab8500_debug_probe()
[all …]
Dab8500-gpadc.c161 struct ab8500 *parent;
645 struct ab8500 *ab8500; in ab8500_gpadc_read_calibration_data() local
647 ab8500 = gpadc->parent; in ab8500_gpadc_read_calibration_data()
726 if (is_ab8540(ab8500)) { in ab8500_gpadc_read_calibration_data()
DMakefile179 obj-$(CONFIG_AB8500_DEBUG) += ab8500-debugfs.o
180 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
183 obj-$(CONFIG_AB8500_CORE) += ab8500-core.o ab8500-sysctrl.o
/Linux-v5.4/include/linux/mfd/abx500/
Dab8500.h347 struct ab8500 { struct
357 int (*write)(struct ab8500 *ab8500, u16 addr, u8 data); argument
358 int (*write_masked)(struct ab8500 *ab8500, u16 addr, u8 mask, u8 data); argument
359 int (*read)(struct ab8500 *ab8500, u16 addr); argument
382 void (*init) (struct ab8500 *);
388 extern int ab8500_init(struct ab8500 *ab8500,
390 extern int ab8500_exit(struct ab8500 *ab8500);
392 extern int ab8500_suspend(struct ab8500 *ab8500);
394 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500()
399 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505()
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dste-ab8500.dtsi6 #include <dt-bindings/clock/ste-ab8500.h>
11 ab8500 {
12 compatible = "stericsson,ab8500";
19 compatible = "stericsson,ab8500-clk";
23 ab8500_gpio: ab8500-gpio {
24 compatible = "stericsson,ab8500-gpio";
29 ab8500-rtc {
30 compatible = "stericsson,ab8500-rtc";
36 ab8500-gpadc {
37 compatible = "stericsson,ab8500-gpadc";
[all …]
Dste-snowball.dts8 #include "ste-href-ab8500.dtsi"
384 ab8500 {
385 ab8500-gpio {
413 ext_regulators: ab8500-ext-regulators {
415 regulator-name = "ab8500-ext-supply1";
419 regulator-name = "ab8500-ext-supply2";
423 regulator-name = "ab8500-ext-supply3";
427 ab8500-regulators {
Dste-href.dtsi206 ab8500 {
207 ab8500-gpio {
216 ab8500-regulators {
Dste-href-ab8500.dtsi6 #include "ste-ab8500.dtsi"
11 ab8500 {
12 ab8500-gpio {
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Dab8500.txt4 - compatible : contains "stericsson,ab8500";
20 ab8500-bm : : : Battery Manager
21 ab8500-btemp : : : Battery Temperature
22 ab8500-charger : : : Battery Charger
23 ab8500-codec : : : Audio Codec
24 ab8500-fg : : vddadc : Fuel Gauge
30 ab8500-btemp : : vtvout : Battery Temperature
36 ab8500-charger : : vddadc : Charger interface
50 ab8500-gpadc : HW_CONV_END : vddadc : Analogue to Digital Converter
52 ab8500-gpio : : : GPIO Controller
[all …]
/Linux-v5.4/drivers/pwm/
Dpwm-ab8500.c91 struct ab8500_pwm_chip *ab8500; in ab8500_pwm_probe() local
98 ab8500 = devm_kzalloc(&pdev->dev, sizeof(*ab8500), GFP_KERNEL); in ab8500_pwm_probe()
99 if (ab8500 == NULL) in ab8500_pwm_probe()
102 ab8500->chip.dev = &pdev->dev; in ab8500_pwm_probe()
103 ab8500->chip.ops = &ab8500_pwm_ops; in ab8500_pwm_probe()
104 ab8500->chip.base = pdev->id; in ab8500_pwm_probe()
105 ab8500->chip.npwm = 1; in ab8500_pwm_probe()
107 err = pwmchip_add(&ab8500->chip); in ab8500_pwm_probe()
112 platform_set_drvdata(pdev, ab8500); in ab8500_pwm_probe()
119 struct ab8500_pwm_chip *ab8500 = platform_get_drvdata(pdev); in ab8500_pwm_remove() local
[all …]
/Linux-v5.4/drivers/input/misc/
Dab8500-ponkey.c29 struct ab8500 *ab8500; member
51 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ponkey_probe() local
75 ponkey->ab8500 = ab8500; in ab8500_ponkey_probe()
88 dev_err(ab8500->dev, "Failed to request dbf IRQ#%d: %d\n", in ab8500_ponkey_probe()
97 dev_err(ab8500->dev, "Failed to request dbr IRQ#%d: %d\n", in ab8500_ponkey_probe()
104 dev_err(ab8500->dev, "Can't register input device: %d\n", error); in ab8500_ponkey_probe()
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/ab8500/
Dcharger.txt4 - compatible = Shall be "stericsson,ab8500-charger"
8 compatible = "stericsson,ab8500-charger";
14 ab8500-charger {
20 ab8500-charger {
25 Documentation/devicetree/bindings/power/supply/ab8500/fg.txt
Dbtemp.txt6 - compatible = Shall be: "stericsson,ab8500-btemp"
11 compatible = "stericsson,ab8500-btemp";
16 Documentation/devicetree/bindings/power/supply/ab8500/fg.txt
Dchargalg.txt6 - compatible = Shall be: "stericsson,ab8500-chargalg"
11 compatible = "stericsson,ab8500-chargalg";
16 Documentation/devicetree/bindings/power/supply/ab8500/fg.txt
Dfg.txt15 - compatible = This shall be: "stericsson,ab8500-fg"
19 compatible = "stericsson,ab8500-fg";
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dstericsson,abx500.txt5 "stericsson,ab8500-clk"
9 device node, see mfd/ab8500.txt
12 dt-bindings/clock/ste-ab8500.h header and can be used in device
18 compatible = "stericsson,ab8500-clk";
/Linux-v5.4/drivers/usb/phy/
Dphy-ab8500-usb.c128 struct ab8500 *ab8500; member
242 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_wd_linkstatus()
511 if (is_ab8500(ab->ab8500)) { in abx500_usb_link_status_update()
520 } else if (is_ab8505(ab->ab8500)) { in abx500_usb_link_status_update()
569 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_disconnect_irq()
847 struct ab8500 *ab8500; in ab8500_usb_probe() local
852 ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_usb_probe()
855 if (is_ab8500_1p1_or_earlier(ab8500)) { in ab8500_usb_probe()
869 ab->ab8500 = ab8500; in ab8500_usb_probe()
880 if (is_ab8500(ab->ab8500)) { in ab8500_usb_probe()
[all …]
DMakefile10 obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o
/Linux-v5.4/Documentation/hwmon/
Dab8500.rst1 Kernel driver ab8500
8 Prefix: 'ab8500'
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Dux500-mop500.txt36 codec: ab8500-codec {
37 compatible = "stericsson,ab8500-codec";
Dux500-msp.txt39 codec: ab8500-codec {
40 compatible = "stericsson,ab8500-codec";
/Linux-v5.4/drivers/regulator/
Dab8500.c1574 static void abx500_get_regulator_info(struct ab8500 *ab8500) in abx500_get_regulator_info() argument
1576 if (is_ab8505(ab8500)) { in abx500_get_regulator_info()
1597 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_register() local
1612 if (is_ab8500_1p1_or_earlier(ab8500)) { in ab8500_regulator_register()
1634 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_probe() local
1639 if (!ab8500) { in ab8500_regulator_probe()
1644 abx500_get_regulator_info(ab8500); in ab8500_regulator_probe()
Dab8500-ext.c790 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ext_regulator_probe() local
796 if (!ab8500) { in ab8500_ext_regulator_probe()
808 if (is_ab8500_2p0_or_earlier(ab8500)) { in ab8500_ext_regulator_probe()
/Linux-v5.4/drivers/pinctrl/nomadik/
DMakefile4 obj-$(CONFIG_PINCTRL_AB8500) += pinctrl-ab8500.o

12