Home
last modified time | relevance | path

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

123

/linux/drivers/mfd/
H A 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 …]
H A Dab8500-sysctrl.c3 * AB8500 system control driver
18 #include <linux/mfd/abx500/ab8500.h>
19 #include <linux/mfd/abx500/ab8500-sysctrl.h>
152 { .compatible = "stericsson,ab8500-sysctrl", },
158 .name = "ab8500-sysctrl",
/linux/drivers/input/misc/
H A 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 …]
/linux/include/linux/mfd/abx500/
H A 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 …]
/linux/arch/arm/boot/dts/st/
H A 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 …]
H A 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 …]
H A Dste-snowball.dts8 #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 …]
H A Dste-hrefprev60.dtsi8 #include "ste-href-ab8500.dtsi"
56 * to the AB8500.
/linux/drivers/pwm/
H A Dpwm-ab8500.c13 #include <linux/mfd/abx500/ab8500.h>
42 struct ab8500_pwm_chip *ab8500 = ab8500_pwm_from_chip(chip); in ab8500_pwm_apply() local
96 1 << ab8500->hwid, 0); in ab8500_pwm_apply()
115 reg = AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2); in ab8500_pwm_apply()
130 1 << ab8500->hwid, 1 << ab8500->hwid); in ab8500_pwm_apply()
143 struct ab8500_pwm_chip *ab8500 = ab8500_pwm_from_chip(chip); in ab8500_pwm_get_state() local
154 if (!(ctrl7 & 1 << ab8500->hwid)) { in ab8500_pwm_get_state()
160 AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2), in ab8500_pwm_get_state()
166 AB8500_PWM_OUT_CTRL2_REG + (ab8500->hwid * 2), in ab8500_pwm_get_state()
188 struct ab8500_pwm_chip *ab8500; in ab8500_pwm_probe() local
[all …]
/linux/drivers/regulator/
H A 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 …]
H A Dab8500.c9 * 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/Documentation/devicetree/bindings/power/supply/
H A Dstericsson,ab8500-fg.yaml5 $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";
H A Dstericsson,ab8500-chargalg.yaml5 $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";
H A Dstericsson,ab8500-btemp.yaml5 $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";
H A Dstericsson,ab8500-charger.yaml5 $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/drivers/clk/ux500/
H A Dabx500-clk.c14 #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/drivers/rtc/
H A Drtc-ab8500.c7 * 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/Documentation/ABI/testing/
H A Dsysfs-class-rtc-rtc0-device-rtc_calibration5 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/sound/soc/ux500/
H A Dmop500.c27 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")),
H A DKconfig25 tristate "Machine - MOP500 (Ux500 + AB8500)"
33 This will enable codec-drivers for: AB8500
/linux/Documentation/devicetree/bindings/sound/
H A Dux500-mop500.txt36 codec: ab8500-codec {
37 compatible = "stericsson,ab8500-codec";
H A Dux500-msp.txt39 codec: ab8500-codec {
40 compatible = "stericsson,ab8500-codec";
/linux/drivers/power/supply/
H A Dab8500-bm.h113 /* GPADC constants from AB8500 spec, UM0836 */
182 * voltage on ab8500/ab8505/ab9540.
331 * struct ab8500_bm_capacity_levels - ab8500 capacity level data
361 * struct ab8500_bm_data - ab8500 battery management data
/linux/drivers/usb/phy/
H A DKconfig15 tristate "AB8500 USB Transceiver Driver"
19 Enable this to support the USB OTG transceiver in AB8500 chip.
/linux/sound/soc/codecs/
H A Dab8500-codec.c27 #include <linux/mfd/abx500/ab8500.h>
29 #include <linux/mfd/abx500/ab8500-sysctrl.h>
30 #include <linux/mfd/abx500/ab8500-codec.h>
42 #include "ab8500-codec.h"
114 /* Private data for AB8500 device-driver */
157 /* Read a register from the audio-bank of AB8500 */
172 /* Write to a register in the audio-bank of AB8500 */
744 /* Power AB8500 audio-block when AD/DA is active */
2108 "%s: IF0 Master-mode: AB8500 provider.\n", __func__); in ab8500_codec_set_dai_fmt()
2113 "%s: IF0 Master-mode: AB8500 consumer.\n", __func__); in ab8500_codec_set_dai_fmt()
[all …]

123