/linux-6.1.9/drivers/mfd/ |
D | ab8500-core.c | 158 static int ab8500_prcmu_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_prcmu_write() argument 164 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write() 168 static int ab8500_prcmu_write_masked(struct ab8500 *ab8500, u16 addr, u8 mask, in ab8500_prcmu_write_masked() argument 176 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write_masked() 180 static int ab8500_prcmu_read(struct ab8500 *ab8500, u16 addr) in ab8500_prcmu_read() argument 187 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_read() 195 struct ab8500 *ab8500; in ab8500_get_chip_id() local 199 ab8500 = dev_get_drvdata(dev->parent); in ab8500_get_chip_id() 200 return ab8500 ? (int)ab8500->chip_id : -EINVAL; in ab8500_get_chip_id() 203 static int set_register_interruptible(struct ab8500 *ab8500, u8 bank, in set_register_interruptible() argument [all …]
|
/linux-6.1.9/include/linux/mfd/abx500/ |
D | ab8500.h | 347 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 380 void (*init) (struct ab8500 *); 385 extern int ab8500_init(struct ab8500 *ab8500, 387 extern int ab8500_exit(struct ab8500 *ab8500); 389 extern int ab8500_suspend(struct ab8500 *ab8500); 391 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500() 396 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505() [all …]
|
/linux-6.1.9/drivers/pwm/ |
D | pwm-ab8500.c | 39 struct ab8500_pwm_chip *ab8500 = ab8500_pwm_from_chip(chip); in ab8500_pwm_apply() local 47 1 << ab8500->hwid, 0); in ab8500_pwm_apply() 66 reg = AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2); in ab8500_pwm_apply() 80 1 << ab8500->hwid, 1 << ab8500->hwid); in ab8500_pwm_apply() 95 struct ab8500_pwm_chip *ab8500; in ab8500_pwm_probe() local 105 ab8500 = devm_kzalloc(&pdev->dev, sizeof(*ab8500), GFP_KERNEL); in ab8500_pwm_probe() 106 if (ab8500 == NULL) in ab8500_pwm_probe() 109 ab8500->chip.dev = &pdev->dev; in ab8500_pwm_probe() 110 ab8500->chip.ops = &ab8500_pwm_ops; in ab8500_pwm_probe() 111 ab8500->chip.npwm = 1; in ab8500_pwm_probe() [all …]
|
D | Makefile | 4 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | ste-ab8500.dtsi | 6 #include <dt-bindings/clock/ste-ab8500.h> 25 ab8500 { 26 compatible = "stericsson,ab8500"; 35 compatible = "stericsson,ab8500-clk"; 40 compatible = "stericsson,ab8500-gpio"; 46 compatible = "stericsson,ab8500-rtc"; 53 compatible = "stericsson,ab8500-gpadc"; 132 compatible = "stericsson,ab8500-fg"; 149 compatible = "stericsson,ab8500-btemp"; 168 compatible = "stericsson,ab8500-charger"; [all …]
|
D | ste-ab8505.dtsi | 6 #include <dt-bindings/clock/ste-ab8500.h> 32 compatible = "stericsson,ab8500-clk"; 43 compatible = "stericsson,ab8500-rtc"; 50 compatible = "stericsson,ab8500-gpadc"; 104 compatible = "stericsson,ab8500-fg"; 121 compatible = "stericsson,ab8500-btemp"; 140 compatible = "stericsson,ab8500-charger"; 178 compatible = "stericsson,ab8500-chargalg"; 183 compatible = "stericsson,ab8500-usb"; 207 compatible = "stericsson,ab8500-poweron-key"; [all …]
|
D | ste-snowball.dts | 8 #include "ste-href-ab8500.dtsi" 411 ab8500 { 442 regulator-name = "ab8500-ext-supply1"; 446 regulator-name = "ab8500-ext-supply2"; 450 regulator-name = "ab8500-ext-supply3";
|
D | ste-href-ab8500.dtsi | 6 #include "ste-ab8500.dtsi" 11 ab8500 {
|
D | ste-hrefprev60.dtsi | 8 #include "ste-href-ab8500.dtsi"
|
/linux-6.1.9/drivers/input/misc/ |
D | ab8500-ponkey.c | 29 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-6.1.9/Documentation/devicetree/bindings/clock/ |
D | stericsson,abx500.txt | 5 "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-6.1.9/Documentation/devicetree/bindings/mfd/ |
D | stericsson,ab8500.yaml | 4 $id: http://devicetree.org/schemas/mfd/stericsson,ab8500.yaml# 31 - stericsson,ab8500 58 const: stericsson,ab8500-clk 72 - stericsson,ab8500-gpio 87 const: stericsson,ab8500-rtc 106 const: stericsson,ab8500-gpadc 183 $ref: ../power/supply/stericsson,ab8500-fg.yaml 188 $ref: ../power/supply/stericsson,ab8500-btemp.yaml 193 $ref: ../power/supply/stericsson,ab8500-charger.yaml 198 $ref: ../power/supply/stericsson,ab8500-chargalg.yaml [all …]
|
/linux-6.1.9/drivers/usb/phy/ |
D | phy-ab8500-usb.c | 129 struct ab8500 *ab8500; member 243 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_wd_linkstatus() 530 if (is_ab8500(ab->ab8500)) { in abx500_usb_link_status_update() 539 } else if (is_ab8505(ab->ab8500)) { in abx500_usb_link_status_update() 593 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_disconnect_irq() 871 struct ab8500 *ab8500; in ab8500_usb_probe() local 876 ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_usb_probe() 879 if (is_ab8500_1p1_or_earlier(ab8500)) { in ab8500_usb_probe() 893 ab->ab8500 = ab8500; in ab8500_usb_probe() 904 if (is_ab8500(ab->ab8500)) { in ab8500_usb_probe() [all …]
|
D | Makefile | 10 obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o
|
/linux-6.1.9/Documentation/devicetree/bindings/power/supply/ |
D | stericsson,ab8500-chargalg.yaml | 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml# 18 const: stericsson,ab8500-chargalg 38 compatible = "stericsson,ab8500-chargalg";
|
D | stericsson,ab8500-btemp.yaml | 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-btemp.yaml# 18 const: stericsson,ab8500-btemp 62 compatible = "stericsson,ab8500-btemp";
|
D | stericsson,ab8500-fg.yaml | 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-fg.yaml# 18 const: stericsson,ab8500-fg 66 compatible = "stericsson,ab8500-fg";
|
D | stericsson,ab8500-charger.yaml | 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-charger.yaml# 18 const: stericsson,ab8500-charger 87 compatible = "stericsson,ab8500-charger";
|
/linux-6.1.9/Documentation/devicetree/bindings/sound/ |
D | ux500-mop500.txt | 36 codec: ab8500-codec { 37 compatible = "stericsson,ab8500-codec";
|
D | ux500-msp.txt | 39 codec: ab8500-codec { 40 compatible = "stericsson,ab8500-codec";
|
/linux-6.1.9/drivers/regulator/ |
D | ab8500-ext.c | 395 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ext_regulator_probe() local 400 if (!ab8500) { in ab8500_ext_regulator_probe() 406 if (is_ab8500_2p0_or_earlier(ab8500)) { in ab8500_ext_regulator_probe()
|
D | ab8500.c | 1644 static void abx500_get_regulator_info(struct ab8500 *ab8500) in abx500_get_regulator_info() argument 1646 if (is_ab8505(ab8500)) { in abx500_get_regulator_info() 1667 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_register() local 1682 if (is_ab8500_1p1_or_earlier(ab8500)) { in ab8500_regulator_register() 1704 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_probe() local 1709 if (!ab8500) { in ab8500_regulator_probe() 1714 abx500_get_regulator_info(ab8500); in ab8500_regulator_probe()
|
/linux-6.1.9/drivers/pinctrl/nomadik/ |
D | Makefile | 4 obj-$(CONFIG_PINCTRL_AB8500) += pinctrl-ab8500.o
|
/linux-6.1.9/drivers/iio/adc/ |
D | ab8500-gpadc.c | 244 struct ab8500 *ab8500; member 476 if (!is_ab8500_2p0_or_earlier(gpadc->ab8500)) { in ab8500_gpadc_read() 761 if (is_ab8540(gpadc->ab8500)) { in ab8500_gpadc_read_calibration_data() 1094 gpadc->ab8500 = dev_get_drvdata(dev->parent); in ab8500_gpadc_probe() 1105 if (is_ab8500(gpadc->ab8500)) { in ab8500_gpadc_probe()
|
/linux-6.1.9/drivers/clk/ux500/ |
D | abx500-clk.c | 92 struct ab8500 *parent = dev_get_drvdata(pdev->dev.parent); in abx500_clk_probe()
|