cregit-Linux how code gets into the kernel

Release 4.17 arch/arm/mach-keystone/pm_domain.c

/*
 * PM domain driver for Keystone2 devices
 *
 * Copyright 2013 Texas Instruments, Inc.
 *      Santosh Shilimkar <santosh.shillimkar@ti.com>
 *
 * Based on Kevins work on DAVINCI SOCs
 *      Kevin Hilman <khilman@linaro.org>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 */

#include <linux/init.h>
#include <linux/pm_runtime.h>
#include <linux/pm_clock.h>
#include <linux/platform_device.h>
#include <linux/of.h>

#include "keystone.h"


static struct dev_pm_domain keystone_pm_domain = {
	.ops = {
		USE_PM_CLK_RUNTIME_OPS
		USE_PLATFORM_PM_SLEEP_OPS
	},
};


static struct pm_clk_notifier_block platform_domain_notifier = {
	.pm_domain = &keystone_pm_domain,
	.con_ids = { NULL },
};


static const struct of_device_id of_keystone_table[] = {
	{.compatible = "ti,k2hk"},
	{.compatible = "ti,k2e"},
	{.compatible = "ti,k2l"},
	{ /* end of list */ },
};


int __init keystone_pm_runtime_init(void) { struct device_node *np; np = of_find_matching_node(NULL, of_keystone_table); if (!np) return 0; pm_clk_add_notifier(&platform_bus_type, &platform_domain_notifier); return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Kevin Hilman2252.38%150.00%
Santosh Shilimkar2047.62%150.00%
Total42100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Santosh Shilimkar6247.69%114.29%
Kevin Hilman4131.54%114.29%
Dave Gerlach1511.54%114.29%
Russell King75.38%114.29%
Ben Dooks32.31%114.29%
Rajendra Nayak10.77%114.29%
Uwe Kleine-König10.77%114.29%
Total130100.00%7100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.