Home
last modified time | relevance | path

Searched full:ab8500 (Results 1 – 25 of 141) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/mfd/
Dab8500-core.c21 #include <linux/mfd/abx500/ab8500.h>
22 #include <linux/mfd/abx500/ab8500-bm.h>
24 #include <linux/regulator/ab8500.h>
138 * defined in linux/mfd/ab8500.h
143 /* AB8500 support */
160 [AB8500_VERSION_AB8500] = "AB8500",
166 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()
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dab8500-core.c21 #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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dab8500.txt1 * AB8500 Multi-Functional Device (MFD)
4 - compatible : contains "stericsson,ab8500" or "stericsson,ab8505";
5 - interrupts : contains the IRQ line for the AB8500
6 - interrupt-controller : describes the AB8500 as an Interrupt Controller (has its own domain)
8 - The first cell is the AB8500 local IRQ number
16 The AB8500 consists of a large and varied group of sub-devices:
20 ab8500-bm : : : Battery Manager
21 ab8500-btemp : : : Battery Temperature
22 ab8500-charger : : : Battery Charger
23 ab8500-codec : : : Audio Codec
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dstericsson,ab8500.yaml4 $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 …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dab8500-ponkey.c7 * 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 …]
/kernel/linux/linux-6.6/drivers/input/misc/
Dab8500-ponkey.c7 * 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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dste-ab8500.dtsi6 #include <dt-bindings/clock/ste-ab8500.h>
25 ab8500 {
26 compatible = "stericsson,ab8500";
33 compatible = "stericsson,ab8500-clk";
37 ab8500_gpio: ab8500-gpiocontroller {
38 compatible = "stericsson,ab8500-gpio";
43 ab8500-rtc {
44 compatible = "stericsson,ab8500-rtc";
50 gpadc: ab8500-gpadc {
51 compatible = "stericsson,ab8500-gpadc";
[all …]
Dste-ab8505.dtsi6 #include <dt-bindings/clock/ste-ab8500.h>
29 compatible = "stericsson,ab8500-clk";
39 ab8500-rtc {
40 compatible = "stericsson,ab8500-rtc";
46 gpadc: ab8500-gpadc {
47 compatible = "stericsson,ab8500-gpadc";
99 compatible = "stericsson,ab8500-fg";
107 compatible = "stericsson,ab8500-btemp";
117 compatible = "stericsson,ab8500-charger";
128 compatible = "stericsson,ab8500-chargalg";
[all …]
Dste-snowball.dts8 #include "ste-href-ab8500.dtsi"
25 /* AB8500 GPIOs start from 1 - offset 25 is GPIO26. */
378 ab8500 {
379 ab8500-gpiocontroller {
381 * AB8500 GPIOs are numbered starting from 1, so the first
387 gpio-line-names = "", /* AB8500 GPIO1 */
388 "PM_GPIO1", /* AB8500 GPIO2 */
389 "WLAN_CLK_REQ", /* AB8500 GPIO3 */
390 "PM_GPIO4", /* AB8500 GPIO4 */
392 "EN_3V6", /* AB8500 GPIO16 */
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/abx500/
Dab8500.h31 /* 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 …]
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-ab8500.c12 #include <linux/mfd/abx500/ab8500.h>
91 struct ab8500_pwm_chip *ab8500; in ab8500_pwm_probe() local
96 * device which is required for ab8500 read and write in ab8500_pwm_probe()
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()
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/abx500/
Dab8500.h31 /* 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 …]
/kernel/linux/linux-6.6/drivers/pwm/
Dpwm-ab8500.c13 #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 …]
/kernel/linux/linux-5.10/drivers/regulator/
Dab8500-ext.c7 * 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>
25 #include <linux/regulator/ab8500.h>
64 /* AB8500 audio codec */
65 REGULATOR_SUPPLY("vcc-N2158", "ab8500-codec.0"),
66 /* AB8500 accessory detect 1 */
67 REGULATOR_SUPPLY("vcc-N2158", "ab8500-acc-det.0"),
68 /* AB8500 Tv-out device */
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dste-ab8500.dtsi6 #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 …]
Dste-ab8505.dtsi6 #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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ab8500/
Dcharger.txt1 === AB8500 Charger Driver ===
4 - 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
Dchargalg.txt1 === AB8500 Charging Algorithm Driver ===
6 - compatible = Shall be: "stericsson,ab8500-chargalg"
11 compatible = "stericsson,ab8500-chargalg";
16 Documentation/devicetree/bindings/power/supply/ab8500/fg.txt
Dbtemp.txt1 === AB8500 Battery Temperature Monitor Driver ===
6 - compatible = Shall be: "stericsson,ab8500-btemp"
11 compatible = "stericsson,ab8500-btemp";
16 Documentation/devicetree/bindings/power/supply/ab8500/fg.txt
/kernel/linux/linux-6.6/drivers/regulator/
Dab8500-ext.c7 * 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Dstericsson,abx500.txt5 "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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dstericsson,abx500.txt5 "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";
/kernel/linux/linux-5.10/Documentation/hwmon/
Dab8500.rst1 Kernel driver ab8500
6 * ST-Ericsson AB8500
8 Prefix: 'ab8500'
21 See also Documentation/hwmon/abx500.rst. This is the ST-Ericsson AB8500 specific
24 Currently only the AB8500 internal sensor and one external sensor for battery
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-ab8500-usb.c3 * 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 …]
/kernel/linux/linux-6.6/drivers/usb/phy/
Dphy-ab8500-usb.c3 * 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 …]

123456