/Linux-v6.6/drivers/mfd/ |
D | ab8500-core.c | 21 #include <linux/mfd/abx500/ab8500.h> 129 * defined in linux/mfd/ab8500.h 134 /* AB8500 support */ 151 [AB8500_VERSION_AB8500] = "AB8500", 157 static int ab8500_prcmu_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_prcmu_write() argument 163 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write() 167 static int ab8500_prcmu_write_masked(struct ab8500 *ab8500, u16 addr, u8 mask, in ab8500_prcmu_write_masked() argument 175 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write_masked() 179 static int ab8500_prcmu_read(struct ab8500 *ab8500, u16 addr) in ab8500_prcmu_read() argument 186 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_read() [all …]
|
D | ab8500-sysctrl.c | 3 * AB8500 system control driver 18 #include <linux/mfd/abx500/ab8500.h> 19 #include <linux/mfd/abx500/ab8500-sysctrl.h> 154 { .compatible = "stericsson,ab8500-sysctrl", }, 160 .name = "ab8500-sysctrl",
|
/Linux-v6.6/Documentation/devicetree/bindings/mfd/ |
D | stericsson,ab8500.yaml | 4 $id: http://devicetree.org/schemas/mfd/stericsson,ab8500.yaml# 7 title: ST-Ericsson Analog Baseband AB8500 and AB8505 13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit 18 communicates directly and autonomously with the AB8500 and thus it 23 AB8500 embedded interrupt controller. 31 - stericsson,ab8500 50 description: Node describing the AB8500 clock controller. This 58 const: stericsson,ab8500-clk 64 description: Node describing the AB8500 GPIO controller. A few 72 - stericsson,ab8500-gpio [all …]
|
/Linux-v6.6/drivers/input/misc/ |
D | ab8500-ponkey.c | 7 * AB8500 Power-On Key handler 16 #include <linux/mfd/abx500/ab8500.h> 21 * struct ab8500_ponkey - ab8500 ponkey information 23 * @ab8500: ab8500 parent 29 struct ab8500 *ab8500; member 34 /* AB8500 gives us an interrupt when ONKEY is held */ 51 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ponkey_probe() local 75 ponkey->ab8500 = ab8500; in ab8500_ponkey_probe() 79 input->name = "AB8500 POn(PowerOn) Key"; in ab8500_ponkey_probe() 86 "ab8500-ponkey-dbf", ponkey); in ab8500_ponkey_probe() [all …]
|
/Linux-v6.6/include/linux/mfd/abx500/ |
D | ab8500.h | 31 /* AB8500 CIDs*/ 41 * AB8500 bank addresses 71 * drivers/mdf/ab8500-core.c 73 /* Definitions for AB8500, AB9540 and AB8540 */ 303 * Of the currently supported AB devices, AB8500 and AB9540, it is the AB9540 310 /* This is set to the roof of any AB8500 chip variant IRQ counts */ 327 * struct ab8500 - ab8500 internal structure 334 * @version: chip version id (e.g. ab8500 or ab9540) 347 struct ab8500 { struct 357 int (*write)(struct ab8500 *ab8500, u16 addr, u8 data); argument [all …]
|
/Linux-v6.6/drivers/pwm/ |
D | pwm-ab8500.c | 13 #include <linux/mfd/abx500/ab8500.h> 43 struct ab8500_pwm_chip *ab8500 = ab8500_pwm_from_chip(chip); in ab8500_pwm_apply() local 97 1 << ab8500->hwid, 0); in ab8500_pwm_apply() 116 reg = AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2); in ab8500_pwm_apply() 131 1 << ab8500->hwid, 1 << ab8500->hwid); in ab8500_pwm_apply() 144 struct ab8500_pwm_chip *ab8500 = ab8500_pwm_from_chip(chip); in ab8500_pwm_get_state() local 155 if (!(ctrl7 & 1 << ab8500->hwid)) { in ab8500_pwm_get_state() 161 AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2), in ab8500_pwm_get_state() 167 AB8500_PWM_OUT_CTRL2_REG + (ab8500->hwid * 2), in ab8500_pwm_get_state() 189 struct ab8500_pwm_chip *ab8500; in ab8500_pwm_probe() local [all …]
|
/Linux-v6.6/arch/arm/boot/dts/st/ |
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" 56 /* AB8500 GPIOs start from 1 - offset 25 is GPIO26. */ 411 ab8500 { 414 * AB8500 GPIOs are numbered starting from 1, so the first 420 gpio-line-names = "", /* AB8500 GPIO1 */ 421 "PM_GPIO1", /* AB8500 GPIO2 */ 422 "WLAN_CLK_REQ", /* AB8500 GPIO3 */ 423 "PM_GPIO4", /* AB8500 GPIO4 */ 425 "EN_3V6", /* AB8500 GPIO16 */ 427 "EN_3V3", /* AB8500 GPIO26 */ [all …]
|
/Linux-v6.6/drivers/regulator/ |
D | ab8500-ext.c | 7 * This file is based on drivers/regulator/ab8500.c 9 * AB8500 external regulators 11 * ab8500-ext supports the following regulators: 24 #include <linux/mfd/abx500/ab8500.h> 26 /* AB8500 external regulators */ 45 * AB8500 external regulators 51 .name = "ab8500-ext-supply1", 62 .name = "ab8500-ext-supply2", 70 .name = "ab8500-ext-supply3", 83 * struct ab8500_ext_regulator_info - ab8500 regulator information [all …]
|
D | ab8500.c | 9 * AB8500 peripheral regulators 11 * AB8500 supports the following regulators: 23 #include <linux/mfd/abx500/ab8500.h> 30 /* AB8500 regulators */ 63 /* AB8500 registers */ 157 * struct ab8500_regulator_info - ab8500 regulator information 644 /* AB8500 regulator information */ 1165 /* AB8500 register init */ 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() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/clock/ |
D | stericsson,abx500.txt | 5 "stericsson,ab8500-clk" 8 The ABx500 clocks need to be placed as a subnode of an AB8500 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-v6.6/drivers/usb/phy/ |
D | phy-ab8500-usb.c | 3 * USB transceiver driver for AB8500 family chips 21 #include <linux/mfd/abx500/ab8500.h> 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() 646 * Do not update ab8500 registers directly till this in ab8500_usb_set_peripheral() 670 * Do not update ab8500 registers directly till this in ab8500_usb_set_host() 871 struct ab8500 *ab8500; in ab8500_usb_probe() local [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/power/supply/ |
D | stericsson,ab8500-fg.yaml | 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-fg.yaml# 8 title: AB8500 Fuel Gauge 18 const: stericsson,ab8500-fg 30 AB8500 inputs, to compensate for this when determining internal 66 compatible = "stericsson,ab8500-fg";
|
D | stericsson,ab8500-chargalg.yaml | 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml# 8 title: AB8500 Charging Algorithm 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# 8 title: AB8500 Battery Temperature Monitor 18 const: stericsson,ab8500-btemp 62 compatible = "stericsson,ab8500-btemp";
|
D | stericsson,ab8500-charger.yaml | 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-charger.yaml# 8 title: AB8500 Charger 18 const: stericsson,ab8500-charger 87 compatible = "stericsson,ab8500-charger";
|
/Linux-v6.6/drivers/clk/ux500/ |
D | abx500-clk.c | 14 #include <linux/mfd/abx500/ab8500.h> 15 #include <linux/mfd/abx500/ab8500-sysctrl.h> 18 #include <dt-bindings/clock/ste-ab8500.h> 26 /* Clock definitions for ab8500 */ 92 struct ab8500 *parent = dev_get_drvdata(pdev->dev.parent); in abx500_clk_probe() 106 { .compatible = "stericsson,ab8500-clk", },
|
/Linux-v6.6/drivers/rtc/ |
D | rtc-ab8500.c | 7 * RTC clock driver for the RTC part of the AB8500 Power management chip. 18 #include <linux/mfd/abx500/ab8500.h> 75 /* Wait for some cycles after enabling the rtc read in ab8500 */ in ab8500_rtc_read_time() 213 * parts-per-million) is in the AB8500's range for RtcCalibration in ab8500_rtc_set_calibration() 214 * register. -128 (0x80) is not permitted because the AB8500 uses in ab8500_rtc_set_calibration() 224 * The AB8500 uses sign (in bit7) and magnitude (in bits0-7) in ab8500_rtc_set_calibration() 248 * The AB8500 uses sign (in bit7) and magnitude (in bits0-7) in ab8500_rtc_get_calibration() 327 { "ab8500-rtc", (kernel_ulong_t)&ab8500_rtc_ops, }, 374 "ab8500-rtc", rtc); in ab8500_rtc_probe() 403 .name = "ab8500-rtc", [all …]
|
/Linux-v6.6/Documentation/ABI/testing/ |
D | sysfs-class-rtc-rtc0-device-rtc_calibration | 5 Description: Attribute for calibrating ST-Ericsson AB8500 Real Time Clock 7 calibrate the AB8500.s 32KHz Real Time Clock. 8 Every 60 seconds the AB8500 will correct the RTC's value
|
/Linux-v6.6/drivers/power/supply/ |
D | ab8500_btemp.c | 5 * Battery temperature driver for AB8500 28 #include <linux/mfd/abx500/ab8500.h> 33 #include "ab8500-bm.h" 51 * struct ab8500_btemp_interrupts - ab8500 interrupts 77 * struct ab8500_btemp - ab8500 BTEMP device information 79 * @node: List of AB8500 BTEMPs, hence prepared for reentrance 83 * @parent: Pointer to the struct ab8500 101 struct ab8500 *parent; 474 * The BTEMP events are not reliabe on AB8500 cut3.3 in ab8500_btemp_get_temp() 624 /* ab8500 btemp driver interrupts and their respective isr */ [all …]
|
D | ab8500_charger.c | 5 * Charger driver for AB8500 30 #include <linux/mfd/abx500/ab8500.h> 36 #include "ab8500-bm.h" 37 #include "ab8500-chargalg.h" 148 /* VBUS input current limits supported in AB8500 in uA */ 174 * struct ab8500_charger_interrupts - ab8500 interrupts 218 * struct ab8500_charger - ab8500 Charger device information 237 * @parent: Pointer to the struct ab8500 290 struct ab8500 *parent; 516 dev_err(di->dev, "%s ab8500 read failed\n", __func__); in ab8500_charger_ac_cv() [all …]
|
/Linux-v6.6/drivers/iio/adc/ |
D | ab8500-gpadc.c | 11 * AB8500 General Purpose ADC driver. The AB8500 uses reference voltages: 41 #include <linux/mfd/abx500/ab8500.h> 94 /* FIXME: Doesn't seem to work with pure AB8500 */ 145 /* GPADC constants from AB8500 spec, UM0836 */ 209 * @id: the internal AB8500 ID number for the channel 230 * struct ab8500_gpadc - AB8500 GPADC device information 232 * @ab8500: pointer to the parent AB8500 device 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() [all …]
|
/Linux-v6.6/sound/soc/ux500/ |
D | mop500.c | 27 DAILINK_COMP_ARRAY(COMP_CODEC("ab8500-codec.0", "ab8500-codec-dai.0")), 32 DAILINK_COMP_ARRAY(COMP_CODEC("ab8500-codec.0", "ab8500-codec-dai.1")),
|
D | Kconfig | 25 tristate "Machine - MOP500 (Ux500 + AB8500)" 33 This will enable codec-drivers for: AB8500
|