// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012-2013 Xilinx * * CPU idle support for Xilinx Zynq * * based on arch/arm/mach-at91/cpuidle.c * * The cpu idle uses wait-for-interrupt and RAM self refresh in order * to implement two idle states - * #1 wait-for-interrupt * #2 wait-for-interrupt and RAM self refresh * * Maintainer: Michal Simek <michal.simek@xilinx.com>
*/
/* Actual code that puts the SoC in different idle states */ staticint zynq_enter_idle(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index)
{ /* Add code for DDR self refresh start */
cpu_do_idle();
/* Initialize CPU idle by registering the idle states */ staticint zynq_cpuidle_probe(struct platform_device *pdev)
{
pr_info("Xilinx Zynq CpuIdle Driver started\n");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.