/openbmc/linux/arch/arm/mach-rockchip/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 static struct regmap *pmu; variable 43 ret = regmap_read(pmu, PMU_PWRDN_ST, &val); in pmu_power_domain_is_on() 57 np = dev->of_node; in rockchip_get_core_reset() 85 ret = regmap_update_bits(pmu, PMU_PWRDN_CON, BIT(pd), val); in pmu_set_power_domain() 92 ret = -1; in pmu_set_power_domain() 120 if (!sram_base_addr || (has_pmu && !pmu)) { in rockchip_boot_secondary() 121 pr_err("%s: sram or pmu missing for cpu boot\n", __func__); in rockchip_boot_secondary() 122 return -ENXIO; in rockchip_boot_secondary() 128 return -ENXIO; in rockchip_boot_secondary() [all …]
|
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Tony Xie <tony.xie@rock-chips.com> 55 rkpm_bootdata_cpusp = rk3288_bootram_phy + (SZ_4K - 8); in rk3288_config_bootdata() 99 * SGRF_FAST_BOOT_EN - system to boot from FAST_BOOT_ADDR in rk3288_slp_mode_set() 100 * PCLK_WDT_GATE - disable WDT during suspend. in rk3288_slp_mode_set() 232 pr_err("%s: could not find pmu regmap\n", __func__); in rk3288_suspend_init() 237 "rockchip,rk3288-sgrf"); in rk3288_suspend_init() 244 "rockchip,rk3288-grf"); in rk3288_suspend_init() 251 "rockchip,rk3288-pmu-sram"); in rk3288_suspend_init() 254 return -ENODEV; in rk3288_suspend_init() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sram/ |
H A D | sram.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sram/sram.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic on-chip SRAM 10 - Rob Herring <robh@kernel.org> 15 Each child of the sram node specifies a region of reserved memory. Each 19 Following the generic-names recommended practice, node names should 25 pattern: "^sram(@.*)?" 30 - mmio-sram [all …]
|
/openbmc/linux/arch/arm/mach-meson/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 #define MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(c) (0x04 + ((c - 1) << 2)) 31 #define MESON_CPU_PWR_A9_MEM_PD0_M(c) (0x0f << (32 - (c * 4))) 36 static struct regmap *pmu; variable 66 /* SMP SRAM */ in meson_smp_prepare_cpus() 69 pr_err("Missing SRAM node\n"); in meson_smp_prepare_cpus() 76 pr_err("Couldn't map SRAM registers\n"); in meson_smp_prepare_cpus() 80 /* PMU */ in meson_smp_prepare_cpus() 81 pmu = syscon_regmap_lookup_by_compatible(pmu_compatible); in meson_smp_prepare_cpus() 82 if (IS_ERR(pmu)) { in meson_smp_prepare_cpus() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h5.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <arm/allwinner/sunxi-h3-h5.dtsi> 6 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <1>; 11 #size-cells = <0>; 14 compatible = "arm,cortex-a53"; 17 enable-method = "psci"; 19 clock-latency-ns = <244144>; /* 8 32k periods */ 20 #cooling-cells = <2>; 24 compatible = "arm,cortex-a53"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos54xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 28 arm_a7_pmu: arm-a7-pmu { 29 compatible = "arm,cortex-a7-pmu"; 30 interrupt-parent = <&gic>; 38 arm_a15_pmu: arm-a15-pmu { 39 compatible = "arm,cortex-a15-pmu"; 40 interrupt-parent = <&combiner>; 49 compatible = "arm,armv7-timer"; 54 clock-frequency = <24000000>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-h3.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 43 #include "sunxi-h3-h5.dtsi" 44 #include <dt-bindings/thermal/thermal.h> 47 cpu0_opp_table: opp-table-cpu { 48 compatible = "operating-points-v2"; 49 opp-shared; 51 opp-648000000 { 52 opp-hz = /bits/ 64 <648000000>; 53 opp-microvolt = <1040000 1040000 1300000>; 54 clock-latency-ns = <244144>; /* 8 32k periods */ [all …]
|
H A D | sun4i-a10.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 44 #include <dt-bindings/thermal/thermal.h> 45 #include <dt-bindings/dma/sun4i-a10.h> 46 #include <dt-bindings/clock/sun4i-a10-ccu.h> 47 #include <dt-bindings/reset/sun4i-a10-ccu.h> 50 #address-cells = <1>; 51 #size-cells = <1>; 52 interrupt-parent = <&intc>; 59 #address-cells = <1>; 60 #size-cells = <1>; [all …]
|
/openbmc/linux/arch/mips/boot/dts/lantiq/ |
H A D | danube.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <1>; 16 compatible = "lantiq,biu", "simple-bus"; 21 #interrupt-cells = <1>; 22 interrupt-controller; 33 sram@1f000000 { 34 #address-cells = <1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 #include <dt-bindings/clock/meson8-ddr-clkc.h> 7 #include <dt-bindings/clock/meson8b-clkc.h> 8 #include <dt-bindings/gpio/meson8-gpio.h> 9 #include <dt-bindings/power/meson8-power.h> 10 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> 11 #include <dt-bindings/reset/amlogic,meson8b-reset.h> 12 #include <dt-bindings/thermal/thermal.h> 20 #address-cells = <1>; 21 #size-cells = <0>; [all …]
|
H A D | meson8b.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 #include <dt-bindings/clock/meson8-ddr-clkc.h> 8 #include <dt-bindings/clock/meson8b-clkc.h> 9 #include <dt-bindings/gpio/meson8b-gpio.h> 10 #include <dt-bindings/power/meson8-power.h> 11 #include <dt-bindings/reset/amlogic,meson8b-reset.h> 12 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> 13 #include <dt-bindings/thermal/thermal.h> 18 #address-cells = <1>; 19 #size-cells = <0>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/sigmastar/ |
H A D | mstar-v7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/mstar-msc313-mpll.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 14 interrupt-parent = <&gic>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 compatible = "arm,cortex-a7"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am65.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
H A D | k3-am64.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
H A D | k3-j721s2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/soc/ti,sci_pm_domain.h> 15 #include "k3-pinctrl.h" 21 interrupt-parent = <&gic500>; 22 #address-cells = <2>; 23 #size-cells = <2>; 28 #address-cells = <1>; [all …]
|
H A D | k3-j7200.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/soc/ti,sci_pm_domain.h> 12 #include "k3-pinctrl.h" 17 interrupt-parent = <&gic500>; 18 #address-cells = <2>; 19 #size-cells = <2>; 24 #address-cells = <1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | dove.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/gpio/gpio.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 12 interrupt-parent = <&intc>; 21 #address-cells = <1>; 22 #size-cells = <0>; 25 compatible = "marvell,pj4a", "marvell,sheeva-v7"; 27 next-level-cache = <&l2>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3188.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/clock/rk3188-cru.h> 16 #address-cells = <1>; 17 #size-cells = <0>; 18 enable-method = "rockchip,rk3066-smp"; 22 compatible = "arm,cortex-a9"; 23 next-level-cache = <&L2>; 25 operating-points = < [all …]
|
H A D | rk3288.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3288-cru.h> 8 #include <dt-bindings/power-domain/rk3288.h> 9 #include <dt-bindings/thermal/thermal.h> 10 #include <dt-bindings/video/rk3288.h> 16 interrupt-parent = <&gic>; [all …]
|
H A D | sun8i-h3.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 43 #include "sunxi-h3-h5.dtsi" 47 compatible = "operating-points-v2"; 48 opp-shared; 51 opp-hz = /bits/ 64 <648000000>; 52 opp-microvolt = <1040000 1040000 1300000>; 53 clock-latency-ns = <244144>; /* 8 32k periods */ 57 opp-hz = /bits/ 64 <816000000>; 58 opp-microvolt = <1100000 1100000 1300000>; 59 clock-latency-ns = <244144>; /* 8 32k periods */ [all …]
|
H A D | rk3128.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/clock/rk3128-cru.h> 15 rockchip,sram = <&sram>; 16 interrupt-parent = <&gic>; 17 #address-cells = <1>; 18 #size-cells = <1>; [all …]
|
H A D | rk3036.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3036-cru.h> 13 interrupt-parent = <&gic>; 32 arm-pmu { 33 compatible = "arm,cortex-a7-pmu"; 36 interrupt-affinity = <&cpu0>, <&cpu1>; [all …]
|
H A D | sun7i-a20.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 48 #include <dt-bindings/thermal/thermal.h> 49 #include <dt-bindings/dma/sun4i-a10.h> 50 #include <dt-bindings/clock/sun7i-a20-ccu.h> 51 #include <dt-bindings/reset/sun4i-a10-ccu.h> 54 interrupt-parent = <&gic>; 61 #address-cells = <1>; 62 #size-cells = <1>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/ |
H A D | rockchip-io-domain.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/rockchip-io-domain.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SRAM for IO Voltage Domains 10 - Heiko Stuebner <heiko@sntech.de> 42 to report their voltage. The IO Voltage Domain for any non-specified 48 - rockchip,px30-io-voltage-domain 49 - rockchip,px30-pmu-io-voltage-domain 50 - rockchip,rk3188-io-voltage-domain [all …]
|
/openbmc/linux/arch/csky/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 39 select ARCH_WANT_FRAME_POINTERS if !CPU_CK610 && $(cc-option,-mbacktrace) 151 In kernel we parse the *regs->pc to determine whether to send SIGTRAP or not. 186 # VA_BITS - PAGE_SHIFT - 3 236 prompt "C-SKY PMU type" 266 bool "Tightly-Coupled/Sram Memory" 269 The implementation are not only used by TCM (Tightly-Coupled Memory) 270 but also used by sram on SOC bus. It follow existed linux tcm 272 re-used directly. 316 bool "Symmetric Multi-Processing (SMP) support for C-SKY" [all …]
|