Home
last modified time | relevance | path

Searched +full:ab8500 +full:- +full:sysctrl (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/mfd/
H A Dab8500-sysctrl.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * AB8500 system control driver
5 * Copyright (C) ST-Ericsson SA 2010
18 #include <linux/mfd/abx500/ab8500.h>
19 #include <linux/mfd/abx500/ab8500-sysctrl.h>
41 pr_err("%s: sysctrl not initialized\n", __func__); in ab8500_power_off()
47 * reboot into charge-only mode. in ab8500_power_off()
76 pr_info(" - Rebooting.\n"); in ab8500_power_off()
104 return -EPROBE_DEFER; in ab8500_sysctrl_read()
108 return -EINVAL; in ab8500_sysctrl_read()
[all …]
H A Dab8500-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
21 #include <linux/mfd/abx500/ab8500.h>
22 #include <linux/mfd/dbx500-prcmu.h>
129 * defined in linux/mfd/ab8500.h
134 /* AB8500 support */
146 0, 1, 2, 3, 4, -1, -1, -1, -1, 11, 18, 19, 20, 21, 12, 13, 24, 5, 22,
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()
[all …]
/linux/arch/arm/boot/dts/st/
H A Dste-ab8505.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/clock/ste-ab8500.h>
10 iio-hwmon {
11 compatible = "iio-hwmon";
12 io-channels = <&gpadc 0x02>, /* Battery temperature */
24 interrupt-parent = <&intc>;
26 interrupt-controller;
27 #interrupt-cells = <2>;
28 #address-cells = <1>;
29 #size-cells = <0>;
[all …]
H A Dste-ab8500.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/clock/ste-ab8500.h>
10 iio-hwmon {
11 compatible = "iio-hwmon";
12 io-channels = <&gpadc 0x02>, /* Battery temperature */
25 ab8500 {
26 compatible = "stericsson,ab8500";
27 interrupt-parent = <&intc>;
29 interrupt-controller;
30 #interrupt-cells = <2>;
[all …]
/linux/drivers/clk/ux500/
H A Dabx500-clk.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2012 ST-Ericsson SA
14 #include <linux/mfd/abx500/ab8500.h>
15 #include <linux/mfd/abx500/ab8500-sysctrl.h>
17 #include <linux/clk-provider.h>
18 #include <dt-bindings/clock/ste-ab8500.h>
26 /* Clock definitions for ab8500 */
31 struct device_node *np = dev->of_node; in ab8500_reg_clks()
92 struct ab8500 *parent = dev_get_drvdata(pdev->dev.parent); in abx500_clk_probe()
96 ret = ab8500_reg_clks(&pdev->dev); in abx500_clk_probe()
[all …]
H A Dclk-sysctrl.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Sysctrl clock implementation for ux500 platform.
5 * Copyright (C) 2013 ST-Ericsson SA
9 #include <linux/clk-provider.h>
10 #include <linux/mfd/abx500/ab8500-sysctrl.h>
33 /* Sysctrl clock operations. */
40 ret = ab8500_sysctrl_write(clk->reg_sel[0], clk->reg_mask[0], in clk_sysctrl_prepare()
41 clk->reg_bits[0]); in clk_sysctrl_prepare()
43 if (!ret && clk->enable_delay_us) in clk_sysctrl_prepare()
44 usleep_range(clk->enable_delay_us, clk->enable_delay_us + in clk_sysctrl_prepare()
[all …]
/linux/include/linux/mfd/abx500/
H A Dab8500.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) ST-Ericsson SA 2010
20 * non-supported multi-byte I2C access via PRCMU. Set to 0x00 to ease the
31 /* AB8500 CIDs*/
41 * AB8500 bank addresses
71 * drivers/mdf/ab8500-core.c
73 /* Definitions for AB8500, AB9540 and AB8540 */
74 /* ab8500_irq_regoffset[0] -> IT[Source|Latch|Mask]1 */
83 /* ab8500_irq_regoffset[1] -> IT[Source|Latch|Mask]2 */
89 /* ab8500_irq_regoffset[2] -> IT[Source|Latch|Mask]3 */
[all …]
/linux/sound/soc/codecs/
H A Dab8500-codec.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
8 * for ST-Ericsson.
14 * for ST-Ericsson.
27 #include <linux/mfd/abx500/ab8500.h>
29 #include <linux/mfd/abx500/ab8500-sysctrl.h>
30 #include <linux/mfd/abx500/ab8500-codec.h>
39 #include <sound/soc-dapm.h>
42 #include "ab8500-codec.h"
56 /* Nr of FIR/IIR-coeff banks in ANC-block */
[all …]