Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
5b50c522
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5b50c522
编写于
12月 24, 2015
作者:
M
Michael Turquette
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'clk-lpc32xx' into clk-next
上级
cf87a88f
f7c82a60
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
1690 addition
and
1 deletion
+1690
-1
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt
+30
-0
Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
...ntation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
+22
-0
drivers/clk/Kconfig
drivers/clk/Kconfig
+11
-0
drivers/clk/Makefile
drivers/clk/Makefile
+1
-1
drivers/clk/nxp/Makefile
drivers/clk/nxp/Makefile
+1
-0
drivers/clk/nxp/clk-lpc32xx.c
drivers/clk/nxp/clk-lpc32xx.c
+1569
-0
include/dt-bindings/clock/lpc32xx-clock.h
include/dt-bindings/clock/lpc32xx-clock.h
+56
-0
未找到文件。
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt
0 → 100644
浏览文件 @
5b50c522
NXP LPC32xx Clock Controller
Required properties:
- compatible: should be "nxp,lpc3220-clk"
- reg: should contain clock controller registers location and length
- #clock-cells: must be 1, the cell holds id of a clock provided by the
clock controller
- clocks: phandles of external oscillators, the list must contain one
32768 Hz oscillator and may have one optional high frequency oscillator
- clock-names: list of external oscillator clock names, must contain
"xtal_32k" and may have optional "xtal"
Examples:
/* System Control Block */
scb {
compatible = "simple-bus";
ranges = <0x0 0x040004000 0x00001000>;
#address-cells = <1>;
#size-cells = <1>;
clk: clock-controller@0 {
compatible = "nxp,lpc3220-clk";
reg = <0x00 0x114>;
#clock-cells = <1>;
clocks = <&xtal_32k>, <&xtal>;
clock-names = "xtal_32k", "xtal";
};
};
Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
0 → 100644
浏览文件 @
5b50c522
NXP LPC32xx USB Clock Controller
Required properties:
- compatible: should be "nxp,lpc3220-usb-clk"
- reg: should contain clock controller registers location and length
- #clock-cells: must be 1, the cell holds id of a clock provided by the
USB clock controller
Examples:
usb {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
ranges = <0x0 0x31020000 0x00001000>;
usbclk: clock-controller@f00 {
compatible = "nxp,lpc3220-usb-clk";
reg = <0xf00 0x100>;
#clock-cells = <1>;
};
};
drivers/clk/Kconfig
浏览文件 @
5b50c522
...
@@ -167,6 +167,12 @@ config COMMON_CLK_KEYSTONE
...
@@ -167,6 +167,12 @@ config COMMON_CLK_KEYSTONE
Supports clock drivers for Keystone based SOCs. These SOCs have local
Supports clock drivers for Keystone based SOCs. These SOCs have local
a power sleep control module that gate the clock to the IPs and PLLs.
a power sleep control module that gate the clock to the IPs and PLLs.
config COMMON_CLK_NXP
def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
select REGMAP_MMIO if ARCH_LPC32XX
---help---
Support for clock providers on NXP platforms.
config COMMON_CLK_PALMAS
config COMMON_CLK_PALMAS
tristate "Clock driver for TI Palmas devices"
tristate "Clock driver for TI Palmas devices"
depends on MFD_PALMAS
depends on MFD_PALMAS
...
@@ -181,6 +187,11 @@ config COMMON_CLK_PWM
...
@@ -181,6 +187,11 @@ config COMMON_CLK_PWM
Adapter driver so that any PWM output can be (mis)used as clock signal
Adapter driver so that any PWM output can be (mis)used as clock signal
at 50% duty cycle.
at 50% duty cycle.
config COMMON_CLK_NXP
def_bool COMMON_CLK && ARCH_LPC18XX
---help---
Support for clock providers on NXP platforms.
config COMMON_CLK_PXA
config COMMON_CLK_PXA
def_bool COMMON_CLK && ARCH_PXA
def_bool COMMON_CLK && ARCH_PXA
---help---
---help---
...
...
drivers/clk/Makefile
浏览文件 @
5b50c522
...
@@ -64,8 +64,8 @@ endif
...
@@ -64,8 +64,8 @@ endif
obj-$(CONFIG_PLAT_ORION)
+=
mvebu/
obj-$(CONFIG_PLAT_ORION)
+=
mvebu/
obj-$(CONFIG_ARCH_MESON)
+=
meson/
obj-$(CONFIG_ARCH_MESON)
+=
meson/
obj-$(CONFIG_ARCH_MXS)
+=
mxs/
obj-$(CONFIG_ARCH_MXS)
+=
mxs/
obj-$(CONFIG_ARCH_LPC18XX)
+=
nxp/
obj-$(CONFIG_MACH_PISTACHIO)
+=
pistachio/
obj-$(CONFIG_MACH_PISTACHIO)
+=
pistachio/
obj-$(CONFIG_COMMON_CLK_NXP)
+=
nxp/
obj-$(CONFIG_COMMON_CLK_PXA)
+=
pxa/
obj-$(CONFIG_COMMON_CLK_PXA)
+=
pxa/
obj-$(CONFIG_COMMON_CLK_QCOM)
+=
qcom/
obj-$(CONFIG_COMMON_CLK_QCOM)
+=
qcom/
obj-$(CONFIG_ARCH_ROCKCHIP)
+=
rockchip/
obj-$(CONFIG_ARCH_ROCKCHIP)
+=
rockchip/
...
...
drivers/clk/nxp/Makefile
浏览文件 @
5b50c522
obj-$(CONFIG_ARCH_LPC18XX)
+=
clk-lpc18xx-cgu.o
obj-$(CONFIG_ARCH_LPC18XX)
+=
clk-lpc18xx-cgu.o
obj-$(CONFIG_ARCH_LPC18XX)
+=
clk-lpc18xx-ccu.o
obj-$(CONFIG_ARCH_LPC18XX)
+=
clk-lpc18xx-ccu.o
obj-$(CONFIG_ARCH_LPC32XX)
+=
clk-lpc32xx.o
drivers/clk/nxp/clk-lpc32xx.c
0 → 100644
浏览文件 @
5b50c522
此差异已折叠。
点击以展开。
include/dt-bindings/clock/lpc32xx-clock.h
0 → 100644
浏览文件 @
5b50c522
/*
* Copyright (c) 2015 Vladimir Zapolskiy <vz@mleia.com>
*
* This code is released using a dual license strategy: BSD/GPL
* You can choose the licence that better fits your requirements.
*
* Released under the terms of 3-clause BSD License
* Released under the terms of GNU General Public License Version 2.0
*
*/
#ifndef __DT_BINDINGS_LPC32XX_CLOCK_H
#define __DT_BINDINGS_LPC32XX_CLOCK_H
/* LPC32XX System Control Block clocks */
#define LPC32XX_CLK_RTC 1
#define LPC32XX_CLK_DMA 2
#define LPC32XX_CLK_MLC 3
#define LPC32XX_CLK_SLC 4
#define LPC32XX_CLK_LCD 5
#define LPC32XX_CLK_MAC 6
#define LPC32XX_CLK_SD 7
#define LPC32XX_CLK_DDRAM 8
#define LPC32XX_CLK_SSP0 9
#define LPC32XX_CLK_SSP1 10
#define LPC32XX_CLK_UART3 11
#define LPC32XX_CLK_UART4 12
#define LPC32XX_CLK_UART5 13
#define LPC32XX_CLK_UART6 14
#define LPC32XX_CLK_IRDA 15
#define LPC32XX_CLK_I2C1 16
#define LPC32XX_CLK_I2C2 17
#define LPC32XX_CLK_TIMER0 18
#define LPC32XX_CLK_TIMER1 19
#define LPC32XX_CLK_TIMER2 20
#define LPC32XX_CLK_TIMER3 21
#define LPC32XX_CLK_TIMER4 22
#define LPC32XX_CLK_TIMER5 23
#define LPC32XX_CLK_WDOG 24
#define LPC32XX_CLK_I2S0 25
#define LPC32XX_CLK_I2S1 26
#define LPC32XX_CLK_SPI1 27
#define LPC32XX_CLK_SPI2 28
#define LPC32XX_CLK_MCPWM 29
#define LPC32XX_CLK_HSTIMER 30
#define LPC32XX_CLK_KEY 31
#define LPC32XX_CLK_PWM1 32
#define LPC32XX_CLK_PWM2 33
#define LPC32XX_CLK_ADC 34
/* LPC32XX USB clocks */
#define LPC32XX_USB_CLK_I2C 1
#define LPC32XX_USB_CLK_DEVICE 2
#define LPC32XX_USB_CLK_HOST 3
#endif
/* __DT_BINDINGS_LPC32XX_CLOCK_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录