Deleted Added
full compact
ti_prcm.c (256281) ti_prcm.c (259329)
1/*
2 * Copyright (c) 2010
3 * Ben Gray <ben.r.gray@gmail.com>.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 25 unchanged lines hidden (view full) ---

34 * Power, Reset and Clock Managment Module
35 *
36 * This is a very simple driver wrapper around the PRCM set of registers in
37 * the OMAP3 chip. It allows you to turn on and off things like the functional
38 * and interface clocks to the various on-chip modules.
39 *
40 */
41#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2010
3 * Ben Gray <ben.r.gray@gmail.com>.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 25 unchanged lines hidden (view full) ---

34 * Power, Reset and Clock Managment Module
35 *
36 * This is a very simple driver wrapper around the PRCM set of registers in
37 * the OMAP3 chip. It allows you to turn on and off things like the functional
38 * and interface clocks to the various on-chip modules.
39 *
40 */
41#include <sys/cdefs.h>
42__FBSDID("$FreeBSD: stable/10/sys/arm/ti/ti_prcm.c 239281 2012-08-15 06:31:32Z gonzo $");
42__FBSDID("$FreeBSD: stable/10/sys/arm/ti/ti_prcm.c 259329 2013-12-13 20:43:11Z ian $");
43
44#include <sys/param.h>
45#include <sys/systm.h>
46#include <sys/kernel.h>
47#include <sys/module.h>
48#include <sys/bus.h>
49#include <sys/resource.h>
50#include <sys/rman.h>
51#include <sys/lock.h>
52#include <sys/mutex.h>
53
54#include <machine/bus.h>
55#include <machine/cpu.h>
56#include <machine/cpufunc.h>
43
44#include <sys/param.h>
45#include <sys/systm.h>
46#include <sys/kernel.h>
47#include <sys/module.h>
48#include <sys/bus.h>
49#include <sys/resource.h>
50#include <sys/rman.h>
51#include <sys/lock.h>
52#include <sys/mutex.h>
53
54#include <machine/bus.h>
55#include <machine/cpu.h>
56#include <machine/cpufunc.h>
57#include <machine/frame.h>
58#include <machine/resource.h>
59#include <machine/intr.h>
60
61#include <arm/ti/ti_prcm.h>
62
63/**
64 * ti_clk_devmap - Array of clock devices, should be defined one per SoC
65 *

--- 244 unchanged lines hidden ---
57#include <machine/resource.h>
58#include <machine/intr.h>
59
60#include <arm/ti/ti_prcm.h>
61
62/**
63 * ti_clk_devmap - Array of clock devices, should be defined one per SoC
64 *

--- 244 unchanged lines hidden ---