/openbmc/u-boot/arch/arm/dts/ |
H A D | am335x-brxre1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = " "; 17 order-no = " "; 18 cpu-order-no = " "; 19 hw-revision = " "; 20 serial-no = <0>; 21 device-id = <0xE681>; [all …]
|
H A D | am335x-brppt1-mmc.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (MMC)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
H A D | am335x-brppt1-spi.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (SPI)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-beagle-ab4.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "omap3-beagle.dts" 8 compatible = "ti,omap3-beagle-ab4", "ti,omap3-beagle", "ti,omap3430", "ti,omap3"; 21 /* Unusable as clockevent because of unreliable oscillator, allow to idle */ 23 /delete-property/ti,no-reset-on-init; 24 /delete-property/ti,no-idle; 26 /delete-property/ti,timer-alwon; 30 /* Preferred always-on timer for clocksource */ 32 ti,no-reset-on-init; [all …]
|
H A D | am3517.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 11 /delete-node/ &aes1_target; 12 /delete-node/ &aes2_target; 22 /* Based on OMAP3630 variants OPP50 and OPP100 */ 23 operating-points-v2 = <&cpu0_opp_table>; 25 clock-latency = <300000>; /* From legacy driver */ 29 cpu0_opp_table: opp-table { 30 compatible = "operating-points-v2-ti-cpu"; 37 opp-50-300000000 { [all …]
|
H A D | omap3-devkit8000-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/input/input.h> 16 compatible = "gpio-leds"; 18 led-heartbeat { 20 gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* 186 -> LED1 */ 21 default-state = "on"; 22 linux,default-trigger = "heartbeat"; 25 led-mmc { 27 gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */ 28 default-state = "on"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/omap/ |
H A D | omap.txt | 5 On top of that an omap_device is created to extend the platform_device 11 to move data from hwmod to device-tree representation. 15 - compatible: Every devices present in OMAP SoC should be in the 17 - ti,hwmods: list of hwmod names (ascii strings), that comes from the OMAP 22 - ti,no_idle_on_suspend: When present, it prevents the PM to idle the module 24 - ti,no-reset-on-init: When present, the module should not be reset at init 25 - ti,no-idle-on-init: When present, the module should not be idled at init 26 - ti,no-idle: When present, the module is never allowed to idle. 31 compatible = "ti,omap4-spinlock"; 37 - General Purpose devices [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/bus/ |
H A D | ti-sysc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/ti-sysc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 22 module clocks, idle modes and interconnect level resets. 31 pattern: "^target-module(@[0-9a-f]+)?$" 35 - items: 36 - enum: 37 - ti,sysc-omap2 [all …]
|
/openbmc/openbmc/poky/meta/recipes-graphics/wayland/ |
H A D | weston-init.bb | 7 SRC_URI = "file://init \ 12 file://weston-socket.sh \ 13 file://weston-autologin \ 14 file://weston-start" 20 PACKAGECONFIG:append:qemuriscv64 = " use-pixman" 21 PACKAGECONFIG:append:qemuppc64 = " use-pixman" 24 PACKAGECONFIG[no-idle-timeout] = ",," 25 PACKAGECONFIG[use-pixman] = ",," 31 # Install weston-start script 32 if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then [all …]
|
/openbmc/linux/kernel/time/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 # Architecture has extra clocksource init called from registration 21 # cycle update - x86/TSC misfeature 33 # Architecture can handle broadcast in a driver-agnostic way 40 depends on GENERIC_CLOCKEVENTS 69 depends on KUNIT 83 Tracks idle state on behalf of RCU. 103 bool "Periodic timer ticks (constant rate, no dynticks)" 109 bool "Idle dynticks system (tickless idle)" 112 This option enables a tickless idle system: timer interrupts [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-arm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ARM/ARM64 generic CPU idle driver. 25 * arm_enter_idle_state - Programs CPU to enter the specified state 38 * Pass idle state index to arm_cpuidle_suspend which in turn in arm_enter_idle_state() 39 * will call the CPU ops suspend protocol with idle index as a in arm_enter_idle_state() 50 * on all ARM platforms. If in some platforms simple wfi 53 * handler for idle state index 0. 66 { .compatible = "arm,idle-state", 75 * framework. It relies on core code to parse the idle states 85 return -ENOMEM; in arm_idle_init_cpu() [all …]
|
H A D | cpuidle-riscv-sbi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * RISC-V SBI CPU idle driver. 9 #define pr_fmt(fmt) "cpuidle-riscv-sbi: " fmt 52 data->available = true; in sbi_set_domain_state() 53 data->state = state; in sbi_set_domain_state() 60 return data->state; in sbi_get_domain_state() 67 data->available = false; in sbi_clear_domain_state() 74 return data->available; in sbi_is_domain_state_available() 115 u32 *states = data->states; in __sbi_enter_domain_idle_state() 116 struct device *pd_dev = data->dev; in __sbi_enter_domain_idle_state() [all …]
|
H A D | coupled.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * coupled.c - helper functions to enter the same idle state on multiple cpus 23 * On some ARM SMP SoCs (OMAP4460, Tegra 2, and probably more), the 25 * sequencing restrictions (on Tegra 2, cpu 0 must be the last to 26 * power down), or due to HW bugs (on OMAP4460, a cpu powering up 33 * be tightly controlled on both cpus. 37 * which point the coupled state function will be called on all 40 * Once all cpus are ready to enter idle, they are woken by an smp 42 * cpus will find work to do, and choose not to enter idle. A 47 * cpu exits idle, the other cpus will decrement their counter and [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | cpuidle.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 * arm_cpuidle_simple_enter() - a wrapper to cpu_do_idle() 37 * arm_cpuidle_suspend() - function to enter low power idle states 41 * registered at the init time. 53 * arm_cpuidle_get_ops() - find a registered cpuidle_ops by name 65 for (; m->method; m++) in arm_cpuidle_get_ops() 66 if (!strcmp(m->method, method)) in arm_cpuidle_get_ops() 67 return m->ops; in arm_cpuidle_get_ops() 73 * arm_cpuidle_read_ops() - Initialize the cpuidle ops with the device tree 77 * Get the method name defined in the 'enable-method' property, retrieve the [all …]
|
/openbmc/linux/kernel/ |
H A D | context_tracking.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Context tracking: Probe on high level context boundaries such as kernel, 4 * userspace, guest or idle. 6 * This is used by RCU to remove its dependency on the timer tick while a CPU 7 * runs in idle, userspace or guest mode. 13 * Many thanks to Gilad Ben-Yossef, Paul McKenney, Ingo Molnar, Andrew Morton, 41 /* Record the current task on dyntick-idle entry. */ 45 WRITE_ONCE(current->rcu_tasks_idle_cpu, smp_processor_id()); in rcu_dynticks_task_enter() 49 /* Record no current task on dyntick-idle exit. */ 53 WRITE_ONCE(current->rcu_tasks_idle_cpu, -1); in rcu_dynticks_task_exit() [all …]
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | clock_data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/clock_data.c 5 * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation 7 * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc 10 * - Clocks that are only available on some chips should be marked with the 11 * chips that they are present on. 18 #include <linux/clk-provider.h> 21 #include <linux/soc/ti/omap1-io.h> 23 #include <asm/mach-types.h> /* for machine_is_* */ 32 /* Some ARM_IDLECT1 bit shifts - used in struct arm_idlect1_clk */ [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | via-macii.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device driver for the via ADB on (many) Mac II-class machines 5 * Based on the original ADB keyboard handler Copyright (c) 1997 Alan Cox 13 * 1999-08-02 (jmt) - Initial rewrite for Unified ADB. 14 * 2000-03-29 Tony Mantler <tonym@mac.linux-m68k.org> 15 * - Big overhaul, should actually work now. 16 * 2006-12-31 Finn Thain - Another overhaul. 24 * ftp://ftp.apple.com/developer/Tool_Chest/Devices_-_Hardware/Apple_Desktop_Bus/ 32 #include <linux/init.h> 39 /* VIA registers - spaced 0x200 bytes apart */ [all …]
|
/openbmc/linux/drivers/powercap/ |
H A D | idle_inject.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * The idle injection framework provides a way to force CPUs to enter idle 10 * It relies on the smpboot kthreads feature providing common code for CPU 13 * All of the kthreads used for idle injection are created at init time. 15 * Next, the users of the idle injection framework provide a cpumask via 19 * The idle + run duration is specified via separate helpers and that allows 20 * idle injection to be started. 22 * The idle injection kthreads will call play_idle_precise() with the idle 25 * After all of them have been woken up, a timer is set to start the next idle 28 * The timer interrupt handler will wake up the idle injection kthreads for [all …]
|
/openbmc/linux/drivers/base/ |
H A D | pinctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2012 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 7 * Based on bits of regulator core, gpio core and clk core 18 * pinctrl_bind_pins() - called by the device core before probe 25 if (dev->of_node_reused) in pinctrl_bind_pins() 28 dev->pins = devm_kzalloc(dev, sizeof(*(dev->pins)), GFP_KERNEL); in pinctrl_bind_pins() 29 if (!dev->pins) in pinctrl_bind_pins() 30 return -ENOMEM; in pinctrl_bind_pins() 32 dev->pins->p = devm_pinctrl_get(dev); in pinctrl_bind_pins() [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | omap_hwmod.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 13 * These headers and macros are used to define OMAP on-chip module 16 * omap_hwmod code, in arch/arm/mach-omap2/omap_hwmod.c (as of this 20 * - add interconnect error log structures 21 * - init_conn_id_bit (CONNID_BIT_VECTOR) 22 * - implement default hwmod SMS/SDRC flags? 23 * - move Linux-specific data ("non-ROM data") out 29 #include <linux/init.h> [all …]
|
H A D | cm_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/init.h> 25 * cm_ll_data: function pointers to SoC-specific implementations of 41 * cm_split_idlest_reg - split CM_IDLEST reg addr into its components 48 * via the @prcm_inst and @idlest_reg_id. Returns -EINVAL upon error, 56 if (!cm_ll_data->split_idlest_reg) { in cm_split_idlest_reg() 57 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in cm_split_idlest_reg() 59 return -EINVAL; in cm_split_idlest_reg() 62 ret = cm_ll_data->split_idlest_reg(idlest_reg, prcm_inst, in cm_split_idlest_reg() 64 *prcm_inst -= cm_base.offset; in cm_split_idlest_reg() [all …]
|
H A D | omap_hwmod.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 15 * ------------ 21 * TI's documentation, on-chip devices are referred to as "OMAP 26 * Most of the address and data flow between modules is via OCP-based 28 * interconnects that distribute the hardware clock tree, handle idle 30 * various pads or balls on the OMAP package. 32 * OMAP hwmod provides a consistent way to describe the on-chip 36 * to reset, enable, idle, and disable these hardware blocks. And [all …]
|
/openbmc/linux/arch/arc/kernel/ |
H A D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 6 * -- Added support for Inter Processor Interrupts 9 * -- Initial Write (Borrowed heavily from ARM) 54 return -EINVAL; in arc_get_cpu_map() 57 return -EINVAL; in arc_get_cpu_map() 63 * Read from DeviceTree and setup cpu possible mask. If there is no 64 * "possible-cpus" property in DeviceTree pretend all [0..NR_CPUS-1] exist. 70 if (arc_get_cpu_map("possible-cpus", &cpumask)) { in arc_init_cpu_possible() 71 pr_warn("Failed to get possible-cpus from dtb, pretending all %u cpus exist\n", in arc_init_cpu_possible() [all …]
|
/openbmc/linux/arch/arm/mach-tegra/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-tegra/platsmp.c 16 #include <linux/init.h> 26 #include <asm/mach-types.h> 42 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument 50 * power-gated via the flow controller). This will have no in tegra20_boot_secondary() 51 * effect on first boot of the CPU since it should already be in tegra20_boot_secondary() 58 * power-gate the CPU this will cause the flow controller to in tegra20_boot_secondary() 70 static int tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra30_boot_secondary() argument 84 * power will be resumed automatically after un-halting the in tegra30_boot_secondary() [all …]
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | parsing.py | 67 # Rendering system charts depends on start and end 74 self.duration = self.end_time - self.start_time 85 # Crop the chart to the end of the first idle period after the given 88 idle = self.crop (writer, options.crop_after) 90 idle = None 93 self.times = [ idle ] 107 options.prune, idle, self.taskstats, 139 # that we have no samples, or process info for them 142 # print "Pid '%d' short lived with no process" % ppid 162 # re-parent any stray orphans if we can [all …]
|