| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | stericsson,db8500-prcmu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/stericsson,db8500-prcmu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DB8500 PRCMU - Power Reset and Control Management Unit 10 - Linus Walleij <linus.walleij@linaro.org> 13 The DB8500 Power Reset and Control Management Unit is an XP70 8-bit 14 microprocessor that is embedded in the always-on power domain of the 15 DB8500 SoCs to manage the low power states, powering up and down parts 20 pattern: '^prcmu@[0-9a-f]+$' [all …]
|
| D | stericsson,ab8500.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson Analog Baseband AB8500 and AB8505 10 - Linus Walleij <linus.walleij@linaro.org> 13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit 14 handling power management (regulators), analog-to-digital conversion 15 (ADC), battery charging, fuel gauging of the battery, battery-backed 16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms 17 in connection with the DB8500 digital baseband. The DB8500 PRCMU [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | db8500-prcmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Authors: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson 6 * Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson 8 * Power domain regulators on DB8500 16 #include <linux/mfd/dbx500-prcmu.h> 19 #include <linux/regulator/db8500-prcmu.h> 23 #include "dbx500-prcmu.h" 30 return -EINVAL; in db8500_regulator_enable() 32 dev_vdbg(rdev_get_dev(rdev), "regulator-%s-enable\n", in db8500_regulator_enable() [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | db8500-prcmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Authors: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson 6 * Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson 8 * Power domain regulators on DB8500 16 #include <linux/mfd/dbx500-prcmu.h> 19 #include <linux/regulator/db8500-prcmu.h> 23 #include "dbx500-prcmu.h" 30 return -EINVAL; in db8500_regulator_enable() 32 dev_vdbg(rdev_get_dev(rdev), "regulator-%s-enable\n", in db8500_regulator_enable() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | stericsson,u8500-clks.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/stericsson,u8500-clks.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DB8500 (U8500) clocks 10 - Ulf Hansson <ulf.hansson@linaro.org> 11 - Linus Walleij <linus.walleij@linaro.org> 14 DB8500 digital baseband system-on-chip and its siblings such as 16 itself, not off-chip clocks. There are four different on-chip 17 clocks - RTC (32 kHz), CPU clock (SMP TWD), PRCMU (power reset and [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | ste-dbx5x0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/mfd/dbx500-prcmu.h> 9 #include <dt-bindings/arm/ux500_pm_domains.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/thermal/thermal.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 37 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/ |
| D | db8500_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * db8500_thermal.c - DB8500 Thermal Management Implementation 5 * Copyright (C) 2012 ST-Ericsson 6 * Copyright (C) 2012-2019 Linaro Ltd. 13 #include <linux/mfd/dbx500-prcmu.h> 24 * db8500_thermal_points - the interpolation points that trigger 67 * TODO: There is no PRCMU interface to get temperature data currently, in db8500_thermal_get_temp() 69 * and this will be fixed when the PRCMU interface is available. in db8500_thermal_get_temp() 71 *temp = th->interpolated_temp; in db8500_thermal_get_temp() 87 th->cur_index = idx; in db8500_thermal_update_config() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | ste-dbx5x0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/clock/ste-db8500-clkout.h> 9 #include <dt-bindings/reset/stericsson,db8500-prcc-reset.h> 10 #include <dt-bindings/mfd/dbx500-prcmu.h> 11 #include <dt-bindings/arm/ux500_pm_domains.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/thermal/thermal.h> 16 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/drivers/clocksource/ |
| D | clksrc-dbx500-prcmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2011 5 * Author: Mattias Wallin <mattias.wallin@stericsson.com> for ST-Ericsson 6 * Author: Sundar Iyer for ST-Ericsson 8 * plat-nomadik/timer.c Linus Walleij <linus.walleij@stericsson.com> 10 * DBx500-PRCMU Timer 11 * The PRCMU has 5 timers which are available in a always-on 12 * power domain. We use the Timer 4 for our always-on clock 13 * source on DB8500. 45 .name = "dbx500-prcmu-timer", [all …]
|
| /kernel/linux/linux-6.6/drivers/clocksource/ |
| D | clksrc-dbx500-prcmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2011 5 * Author: Mattias Wallin <mattias.wallin@stericsson.com> for ST-Ericsson 6 * Author: Sundar Iyer for ST-Ericsson 8 * plat-nomadik/timer.c Linus Walleij <linus.walleij@stericsson.com> 10 * DBx500-PRCMU Timer 11 * The PRCMU has 5 timers which are available in a always-on 12 * power domain. We use the Timer 4 for our always-on clock 13 * source on DB8500. 45 .name = "dbx500-prcmu-timer", [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | db8500_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * db8500_thermal.c - DB8500 Thermal Management Implementation 5 * Copyright (C) 2012 ST-Ericsson 6 * Copyright (C) 2012-2019 Linaro Ltd. 13 #include <linux/mfd/dbx500-prcmu.h> 24 * db8500_thermal_points - the interpolation points that trigger 67 * TODO: There is no PRCMU interface to get temperature data currently, in db8500_thermal_get_temp() 69 * and this will be fixed when the PRCMU interface is available. in db8500_thermal_get_temp() 71 *temp = th->interpolated_temp; in db8500_thermal_get_temp() 81 *trend = th->trend; in db8500_thermal_get_trend() [all …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | db8500-prcmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * DB8500 PRCM Unit driver 6 * Copyright (C) ST-Ericsson SA 2010 35 #include <linux/mfd/dbx500-prcmu.h> 37 #include <linux/regulator/db8500-prcmu.h> 39 #include "db8500-prcmu-regs.h" 227 #define ALL_MBOX_BITS (MBOX_BIT(NUM_MB) - 1) 272 * communication with the PRCMU firmware. 332 #define VALID_WAKEUPS (BIT(NUM_PRCMU_WAKEUP_INDICES) - 1) 347 * mb0_transfer - state needed for mailbox 0 communication. [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | db8500-prcmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * DB8500 PRCM Unit driver 6 * Copyright (C) ST-Ericsson SA 2010 35 #include <linux/mfd/dbx500-prcmu.h> 37 #include <linux/regulator/db8500-prcmu.h> 40 #include "dbx500-prcmu-regs.h" 228 #define ALL_MBOX_BITS (MBOX_BIT(NUM_MB) - 1) 273 * communication with the PRCMU firmware. 333 #define VALID_WAKEUPS (BIT(NUM_PRCMU_WAKEUP_INDICES) - 1) 348 * mb0_transfer - state needed for mailbox 0 communication. [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-ux500/ |
| D | cpu-db8500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2009 ST-Ericsson SA 14 #include <linux/irqchip/arm-gic.h> 15 #include <linux/mfd/dbx500-prcmu.h> 16 #include <linux/platform_data/arm-ux500-pm.h> 25 #include <asm/hardware/cache-l2x0.h> 29 #include "db8500-regs.h" 38 np = of_find_compatible_node(NULL, NULL, "arm,pl310-cache"); in ux500_l2x0_unlock() 42 return -ENODEV; in ux500_l2x0_unlock() 45 * Unlock Data and Instruction Lock if locked. Ux500 U-Boot versions in ux500_l2x0_unlock() [all …]
|
| D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010-2013 5 * ST-Ericsson. 11 #include <linux/irqchip/arm-gic.h> 15 #include <linux/platform_data/arm-ux500-pm.h> 19 #include "db8500-regs.h" 46 /* This function decouple the gic from the prcmu */ 64 /* This function recouple the gic with the prcmu */ 108 * prcmu which has been delegated to monitor the irqs with the 116 for (i = 0; i < PRCMU_GIC_NUMBER_REGS - 1; i++) { in prcmu_pending_irq() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-ux500/ |
| D | cpu-db8500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2009 ST-Ericsson SA 14 #include <linux/irqchip/arm-gic.h> 15 #include <linux/mfd/dbx500-prcmu.h> 16 #include <linux/platform_data/arm-ux500-pm.h> 25 #include <asm/hardware/cache-l2x0.h> 35 np = of_find_compatible_node(NULL, NULL, "arm,pl310-cache"); in ux500_l2x0_unlock() 39 return -ENODEV; in ux500_l2x0_unlock() 42 * Unlock Data and Instruction Lock if locked. Ux500 U-Boot versions in ux500_l2x0_unlock() 61 * We can't write to secure registers as we are in non-secure in ux500_l2c310_write_sec() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | db8500-thermal.txt | 1 * ST-Ericsson DB8500 Thermal 5 - compatible : "stericsson,db8500-thermal"; 6 - reg : address range of the thermal sensor registers; 7 - interrupts : interrupts generated from PRCMU; 8 - interrupt-names : "IRQ_HOTMON_LOW" and "IRQ_HOTMON_HIGH"; 9 - num-trips : number of total trip points, this is required, set it 0 if none, 11 - tripN-temp : temperature of trip point N, should be in ascending order; 12 - tripN-type : type of trip point N, should be one of "active" "passive" "hot" 14 - tripN-cdev-num : number of the cooling devices which can be bound to trip 17 - tripN-cdev-nameM : name of the No. M cooling device of trip point N; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | db8500-thermal.txt | 1 * ST-Ericsson DB8500 Thermal 5 - compatible : "stericsson,db8500-thermal"; 6 - reg : address range of the thermal sensor registers; 7 - interrupts : interrupts generated from PRCMU; 8 - interrupt-names : "IRQ_HOTMON_LOW" and "IRQ_HOTMON_HIGH"; 9 - num-trips : number of total trip points, this is required, set it 0 if none, 11 - tripN-temp : temperature of trip point N, should be in ascending order; 12 - tripN-type : type of trip point N, should be one of "active" "passive" "hot" 14 - tripN-cdev-num : number of the cooling devices which can be bound to trip 17 - tripN-cdev-nameM : name of the No. M cooling device of trip point N; [all …]
|
| /kernel/linux/linux-6.6/drivers/cpuidle/ |
| D | cpuidle-ux500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/mfd/dbx500-prcmu.h> 15 #include <linux/platform_data/arm-ux500-pm.h> 52 /* The prcmu will be in charge of watching the interrupts in ux500_enter_idle() 62 /* ... and the prcmu */ in ux500_enter_idle() 66 /* Go to the retention state, the prcmu will wait for the in ux500_enter_idle() 72 /* When we switch to retention, the prcmu is in charge in ux500_enter_idle() 120 .name = "db8500-cpuidle",
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | ste,nomadik.txt | 4 - compatible: "stericsson,db8500-pinctrl", "stericsson,db8540-pinctrl", 5 "stericsson,stn8815-pinctrl" 6 - nomadik-gpio-chips: array of phandles to the corresponding GPIO chips 8 - prcm: phandle to the PRCMU managing the back end of this pin controller 10 Please refer to pinctrl-bindings.txt in this directory for details of the 23 (see pinctrl-bindings.txt): 26 - function: A string containing the name of the function to mux to the 28 - groups : An array of strings. Each string contains the name of a pin 30 set-up. 33 - pins: A string array describing the pins affected by the configuration [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | ste,nomadik.txt | 4 - compatible: "stericsson,db8500-pinctrl", "stericsson,db8540-pinctrl", 5 "stericsson,stn8815-pinctrl" 6 - nomadik-gpio-chips: array of phandles to the corresponding GPIO chips 8 - prcm: phandle to the PRCMU managing the back end of this pin controller 10 Please refer to pinctrl-bindings.txt in this directory for details of the 23 (see pinctrl-bindings.txt): 26 - function: A string containing the name of the function to mux to the 28 - groups : An array of strings. Each string contains the name of a pin 30 set-up. 33 - pins: A string array describing the pins affected by the configuration [all …]
|
| /kernel/linux/linux-6.6/include/linux/mfd/ |
| D | dbx500-prcmu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * STE Ux500 PRCMU API 14 #include <dt-bindings/mfd/dbx500-prcmu.h> /* For clock identifiers */ 20 /* PRCMU Wakeup defines */ 39 * DB8500 EPODs 40 * - EPOD_ID_SVAMMDSP: power domain for SVA MMDSP 41 * - EPOD_ID_SVAPIPE: power domain for SVA pipe 42 * - EPOD_ID_SIAMMDSP: power domain for SIA MMDSP 43 * - EPOD_ID_SIAPIPE: power domain for SIA pipe 44 * - EPOD_ID_SGA: power domain for SGA [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/ |
| D | stericsson,dma40.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DMA40 DMA Engine 10 - Linus Walleij <linus.walleij@linaro.org> 13 - $ref: dma-controller.yaml# 16 "#dma-cells": 20 table for DB8500 which is the only ASIC known to use DMA40: 32 10: Multi-Channel Display Engine MCDE RX 52 30: MSP port 1 on DB8500 v1, MSP port 3 on DB8500 v2 [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | dbx500-prcmu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * STE Ux500 PRCMU API 14 #include <dt-bindings/mfd/dbx500-prcmu.h> /* For clock identifiers */ 20 /* PRCMU Wakeup defines */ 39 * DB8500 EPODs 40 * - EPOD_ID_SVAMMDSP: power domain for SVA MMDSP 41 * - EPOD_ID_SVAPIPE: power domain for SVA pipe 42 * - EPOD_ID_SIAMMDSP: power domain for SIA MMDSP 43 * - EPOD_ID_SIAPIPE: power domain for SIA pipe 44 * - EPOD_ID_SGA: power domain for SGA [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/ |
| D | st,nomadik-mtu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/timer/st,nomadik-mtu.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: ST Microelectronics Nomadik Multi-Timer Unit MTU Timer 11 - Linus Walleij <linus.walleij@linaro.org> 14 SoCs STn8800, STn8810 and STn8815 as well as in ST-Ericsson DB8500. 19 - const: st,nomadik-mtu 32 clock-names: 34 - const: timclk [all …]
|