Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
b9974fa2
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
b9974fa2
编写于
6月 03, 2015
作者:
K
Kukjin Kim
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'v4.2-next/dt-samsung-3rd' into v4.2-next/dt-samsung-4th
上级
c65b99f0
5ec1d441
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
211 addition
and
28 deletion
+211
-28
Documentation/devicetree/bindings/rtc/s3c-rtc.txt
Documentation/devicetree/bindings/rtc/s3c-rtc.txt
+2
-1
arch/arm/boot/dts/exynos3250-monk.dts
arch/arm/boot/dts/exynos3250-monk.dts
+2
-1
arch/arm/boot/dts/exynos3250-rinato.dts
arch/arm/boot/dts/exynos3250-rinato.dts
+6
-1
arch/arm/boot/dts/exynos3250.dtsi
arch/arm/boot/dts/exynos3250.dtsi
+14
-1
arch/arm/boot/dts/exynos4.dtsi
arch/arm/boot/dts/exynos4.dtsi
+10
-2
arch/arm/boot/dts/exynos4412-trats2.dts
arch/arm/boot/dts/exynos4412-trats2.dts
+8
-1
arch/arm/boot/dts/exynos4415.dtsi
arch/arm/boot/dts/exynos4415.dtsi
+2
-2
arch/arm/boot/dts/exynos4x12.dtsi
arch/arm/boot/dts/exynos4x12.dtsi
+4
-0
arch/arm/boot/dts/exynos5250-smdk5250.dts
arch/arm/boot/dts/exynos5250-smdk5250.dts
+12
-0
arch/arm/boot/dts/exynos5420-arndale-octa.dts
arch/arm/boot/dts/exynos5420-arndale-octa.dts
+19
-5
arch/arm/boot/dts/exynos5420.dtsi
arch/arm/boot/dts/exynos5420.dtsi
+14
-10
arch/arm/boot/dts/exynos5422-odroidxu3.dts
arch/arm/boot/dts/exynos5422-odroidxu3.dts
+95
-4
include/dt-bindings/clock/samsung,s2mps11.h
include/dt-bindings/clock/samsung,s2mps11.h
+23
-0
未找到文件。
Documentation/devicetree/bindings/rtc/s3c-rtc.txt
浏览文件 @
b9974fa2
...
...
@@ -6,7 +6,8 @@ Required properties:
* "samsung,s3c2416-rtc" - for controllers compatible with s3c2416 rtc.
* "samsung,s3c2443-rtc" - for controllers compatible with s3c2443 rtc.
* "samsung,s3c6410-rtc" - for controllers compatible with s3c6410 rtc.
* "samsung,exynos3250-rtc" - for controllers compatible with exynos3250 rtc.
* "samsung,exynos3250-rtc" - (deprecated) for controllers compatible with
exynos3250 rtc (use "samsung,s3c6410-rtc").
- reg: physical base address of the controller and length of memory mapped
region.
- interrupts: Two interrupt numbers to the cpu should be specified. First
...
...
arch/arm/boot/dts/exynos3250-monk.dts
浏览文件 @
b9974fa2
...
...
@@ -16,6 +16,7 @@
#
include
"exynos3250.dtsi"
#
include
<
dt
-
bindings
/
input
/
input
.
h
>
#
include
<
dt
-
bindings
/
gpio
/
gpio
.
h
>
#
include
<
dt
-
bindings
/
clock
/
samsung
,
s2mps11
.
h
>
/
{
model
=
"Samsung Monk board"
;
...
...
@@ -432,7 +433,7 @@
};
&
rtc
{
clocks
=
<&
cmu
CLK_RTC
>,
<&
s2mps14_osc
0
>;
clocks
=
<&
cmu
CLK_RTC
>,
<&
s2mps14_osc
S2MPS11_CLK_AP
>;
clock
-
names
=
"rtc"
,
"rtc_src"
;
status
=
"okay"
;
};
...
...
arch/arm/boot/dts/exynos3250-rinato.dts
浏览文件 @
b9974fa2
...
...
@@ -16,6 +16,7 @@
#
include
"exynos3250.dtsi"
#
include
<
dt
-
bindings
/
input
/
input
.
h
>
#
include
<
dt
-
bindings
/
gpio
/
gpio
.
h
>
#
include
<
dt
-
bindings
/
clock
/
samsung
,
s2mps11
.
h
>
/
{
model
=
"Samsung Rinato board"
;
...
...
@@ -567,6 +568,10 @@
status
=
"okay"
;
};
&
jpeg
{
status
=
"okay"
;
};
&
mshc_0
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
...
...
@@ -605,7 +610,7 @@
};
&
rtc
{
clocks
=
<&
cmu
CLK_RTC
>,
<&
s2mps14_osc
0
>;
clocks
=
<&
cmu
CLK_RTC
>,
<&
s2mps14_osc
S2MPS11_CLK_AP
>;
clock
-
names
=
"rtc"
,
"rtc_src"
;
status
=
"okay"
;
};
...
...
arch/arm/boot/dts/exynos3250.dtsi
浏览文件 @
b9974fa2
...
...
@@ -189,7 +189,7 @@
};
rtc: rtc@10070000 {
compatible = "samsung,
exynos325
0-rtc";
compatible = "samsung,
s3c641
0-rtc";
reg = <0x10070000 0x100>;
interrupts = <0 73 0>, <0 74 0>;
interrupt-parent = <&pmu_system_controller>;
...
...
@@ -243,6 +243,19 @@
interrupts = <0 240 0>;
};
jpeg: codec@11830000 {
compatible = "samsung,exynos3250-jpeg";
reg = <0x11830000 0x1000>;
interrupts = <0 171 0>;
clocks = <&cmu CLK_JPEG>, <&cmu CLK_SCLK_JPEG>;
clock-names = "jpeg", "sclk";
power-domains = <&pd_cam>;
assigned-clocks = <&cmu CLK_MOUT_CAM_BLK>, <&cmu CLK_SCLK_JPEG>;
assigned-clock-rates = <0>, <150000000>;
assigned-clock-parents = <&cmu CLK_DIV_MPLL_PRE>;
status = "disabled";
};
fimd: fimd@11c00000 {
compatible = "samsung,exynos3250-fimd";
reg = <0x11c00000 0x30000>;
...
...
arch/arm/boot/dts/exynos4.dtsi
浏览文件 @
b9974fa2
...
...
@@ -78,7 +78,6 @@
mipi_phy: video-phy@10020710 {
compatible = "samsung,s5pv210-mipi-video-phy";
reg = <0x10020710 8>;
#phy-cells = <1>;
syscon = <&pmu_system_controller>;
};
...
...
@@ -266,7 +265,7 @@
status = "disabled";
};
rtc@10070000 {
rtc
: rtc
@10070000 {
compatible = "samsung,s3c6410-rtc";
reg = <0x10070000 0x100>;
interrupt-parent = <&pmu_system_controller>;
...
...
@@ -689,6 +688,15 @@
#include "exynos4412-tmu-sensor-conf.dtsi"
};
jpeg-codec@11840000 {
compatible = "samsung,exynos4210-jpeg";
reg = <0x11840000 0x1000>;
interrupts = <0 88 0>;
clocks = <&clock CLK_JPEG>;
clock-names = "jpeg";
power-domains = <&pd_cam>;
};
hdmi: hdmi@12D00000 {
compatible = "samsung,exynos4210-hdmi";
reg = <0x12D00000 0x70000>;
...
...
arch/arm/boot/dts/exynos4412-trats2.dts
浏览文件 @
b9974fa2
...
...
@@ -16,6 +16,7 @@
#include "exynos4412.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/maxim,max77686.h>
/ {
model = "Samsung Trats 2 based on Exynos4412";
...
...
@@ -214,7 +215,7 @@
pinctrl-names = "default";
status = "okay";
max77686_pmic@09 {
max77686
: max77686
_pmic@09 {
compatible = "maxim,max77686";
interrupt-parent = <&gpx0>;
interrupts = <7 0>;
...
...
@@ -1304,3 +1305,9 @@
PIN_SLP(gpv4-0, INPUT, DOWN);
};
};
&rtc {
status = "okay";
clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
clock-names = "rtc", "rtc_src";
};
arch/arm/boot/dts/exynos4415.dtsi
浏览文件 @
b9974fa2
...
...
@@ -124,8 +124,8 @@
mipi_phy: video-phy@10020710 {
compatible = "samsung,s5pv210-mipi-video-phy";
reg = <0x10020710 8>;
#phy-cells = <1>;
syscon = <&pmu_system_controller>;
};
pd_cam: cam-power-domain@10024000 {
...
...
@@ -177,7 +177,7 @@
};
rtc: rtc@10070000 {
compatible = "samsung,
exynos325
0-rtc";
compatible = "samsung,
s3c641
0-rtc";
reg = <0x10070000 0x100>;
interrupts = <0 73 0>, <0 74 0>;
status = "disabled";
...
...
arch/arm/boot/dts/exynos4x12.dtsi
浏览文件 @
b9974fa2
...
...
@@ -299,6 +299,10 @@
status = "disabled";
};
jpeg-codec@11840000 {
compatible = "samsung,exynos4212-jpeg";
};
hdmi: hdmi@12D00000 {
compatible = "samsung,exynos4212-hdmi";
};
...
...
arch/arm/boot/dts/exynos5250-smdk5250.dts
浏览文件 @
b9974fa2
...
...
@@ -131,6 +131,9 @@
reg
=
<
0x09
>;
interrupt
-
parent
=
<&
gpx3
>;
interrupts
=
<
2
IRQ_TYPE_NONE
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
max77686_irq
>;
wakeup
-
source
;
voltage
-
regulators
{
ldo1_reg
:
LDO1
{
...
...
@@ -410,3 +413,12 @@
};
};
};
&
pinctrl_0
{
max77686_irq
:
max77686
-
irq
{
samsung
,
pins
=
"gpx3-2"
;
samsung
,
pin
-
function
=
<
0xf
>;
samsung
,
pin
-
pud
=
<
0
>;
samsung
,
pin
-
drv
=
<
0
>;
};
};
arch/arm/boot/dts/exynos5420-arndale-octa.dts
浏览文件 @
b9974fa2
...
...
@@ -13,6 +13,7 @@
#include "exynos5420.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/clock/samsung,s2mps11.h>
/ {
model = "Insignal Arndale Octa evaluation board based on EXYNOS5420";
...
...
@@ -38,10 +39,6 @@
};
};
rtc@101E0000 {
status = "okay";
};
codec@11000000 {
samsung,mfc-r = <0x43000000 0x800000>;
samsung,mfc-l = <0x51000000 0x800000>;
...
...
@@ -90,7 +87,9 @@
s2mps11,buck4-ramp-enable = <1>;
interrupt-parent = <&gpx3>;
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default";
pinctrl-0 = <&s2mps11_irq>;
s2mps11_osc: clocks {
#clock-cells = <1>;
...
...
@@ -376,3 +375,18 @@
&cci {
status = "disabled";
};
&pinctrl_0 {
s2mps11_irq: s2mps11-irq {
samsung,pins = "gpx3-2";
samsung,pin-function = <0xf>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
&rtc {
status = "okay";
clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
clock-names = "rtc", "rtc_src";
};
arch/arm/boot/dts/exynos5420.dtsi
浏览文件 @
b9974fa2
...
...
@@ -264,9 +264,8 @@
mfc_pd: power-domain@10044060 {
compatible = "samsung,exynos4210-pd";
reg = <0x10044060 0x20>;
clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MOUT_SW_ACLK333>,
<&clock CLK_MOUT_USER_ACLK333>;
clock-names = "oscclk", "pclk0", "clk0";
clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MOUT_USER_ACLK333>;
clock-names = "oscclk", "clk0";
#power-domain-cells = <0>;
};
...
...
@@ -280,16 +279,12 @@
compatible = "samsung,exynos4210-pd";
reg = <0x100440C0 0x20>;
#power-domain-cells = <0>;
clocks = <&clock CLK_FIN_PLL>,
<&clock CLK_MOUT_SW_ACLK200>,
clocks = <&clock CLK_FIN_PLL>,
<&clock CLK_MOUT_USER_ACLK200_DISP1>,
<&clock CLK_MOUT_SW_ACLK300>,
<&clock CLK_MOUT_USER_ACLK300_DISP1>,
<&clock CLK_MOUT_SW_ACLK400>,
<&clock CLK_MOUT_USER_ACLK400_DISP1>,
<&clock CLK_FIMD1>, <&clock CLK_MIXER>;
clock-names = "oscclk", "pclk0", "clk0",
"pclk1", "clk1", "pclk2", "clk2",
"asb0", "asb1";
clock-names = "oscclk", "clk0", "clk1", "clk2", "asb0", "asb1";
};
pinctrl_0: pinctrl@13400000 {
...
...
@@ -416,6 +411,9 @@
<&clock_audss EXYNOS_I2S_BUS>,
<&clock_audss EXYNOS_SCLK_I2S>;
clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
#clock-cells = <1>;
clock-output-names = "i2s_cdclk0";
#sound-dai-cells = <1>;
samsung,idma-addr = <0x03000000>;
pinctrl-names = "default";
pinctrl-0 = <&i2s0_bus>;
...
...
@@ -430,6 +428,9 @@
dma-names = "tx", "rx";
clocks = <&clock CLK_I2S1>, <&clock CLK_SCLK_I2S1>;
clock-names = "iis", "i2s_opclk0";
#clock-cells = <1>;
clock-output-names = "i2s_cdclk1";
#sound-dai-cells = <1>;
pinctrl-names = "default";
pinctrl-0 = <&i2s1_bus>;
status = "disabled";
...
...
@@ -443,6 +444,9 @@
dma-names = "tx", "rx";
clocks = <&clock CLK_I2S2>, <&clock CLK_SCLK_I2S2>;
clock-names = "iis", "i2s_opclk0";
#clock-cells = <1>;
clock-output-names = "i2s_cdclk2";
#sound-dai-cells = <1>;
pinctrl-names = "default";
pinctrl-0 = <&i2s2_bus>;
status = "disabled";
...
...
@@ -541,7 +545,7 @@
mipi_phy: video-phy@10040714 {
compatible = "samsung,s5pv210-mipi-video-phy";
reg = <0x10040714 12
>;
syscon = <&pmu_system_controller
>;
#phy-cells = <1>;
};
...
...
arch/arm/boot/dts/exynos5422-odroidxu3.dts
浏览文件 @
b9974fa2
...
...
@@ -11,6 +11,9 @@
*/
/
dts
-
v1
/;
#
include
<
dt
-
bindings
/
clock
/
samsung
,
s2mps11
.
h
>
#
include
<
dt
-
bindings
/
gpio
/
gpio
.
h
>
#
include
<
dt
-
bindings
/
sound
/
samsung
-
i2s
.
h
>
#
include
"exynos5800.dtsi"
/
{
...
...
@@ -282,11 +285,89 @@
};
};
rtc
@
101E0000
{
status
=
"okay"
;
leds
{
compatible
=
"gpio-leds"
;
heartbeat
{
label
=
"blue:heartbeart"
;
gpios
=
<&
gpb2
2
0
>;
default
-
state
=
"off"
;
linux
,
default
-
trigger
=
"heartbeat"
;
};
eMMC
{
label
=
"green:eMMC"
;
gpios
=
<&
gpb2
1
0
>;
default
-
state
=
"off"
;
linux
,
default
-
trigger
=
"mmc0"
;
};
microSD
{
label
=
"red:microSD"
;
gpios
=
<&
gpx2
3
0
>;
default
-
state
=
"off"
;
linux
,
default
-
trigger
=
"mmc1"
;
};
};
sound
:
sound
{
compatible
=
"simple-audio-card"
;
simple
-
audio
-
card
,
name
=
"Odroid-XU3"
;
simple
-
audio
-
card
,
widgets
=
"Headphone"
,
"Headphone Jack"
,
"Speakers"
,
"Speakers"
;
simple
-
audio
-
card
,
routing
=
"Headphone Jack"
,
"HPL"
,
"Headphone Jack"
,
"HPR"
,
"Headphone Jack"
,
"MICBIAS"
,
"IN1"
,
"Headphone Jack"
,
"Speakers"
,
"SPKL"
,
"Speakers"
,
"SPKR"
;
simple
-
audio
-
card
,
format
=
"i2s"
;
simple
-
audio
-
card
,
bitclock
-
master
=
<&
link0_codec
>;
simple
-
audio
-
card
,
frame
-
master
=
<&
link0_codec
>;
simple
-
audio
-
card
,
cpu
{
sound
-
dai
=
<&
i2s0
0
>;
system
-
clock
-
frequency
=
<
19200000
>;
};
link0_codec
:
simple
-
audio
-
card
,
codec
{
sound
-
dai
=
<&
max98090
>;
clocks
=
<&
i2s0
CLK_I2S_CDCLK
>;
};
};
};
&
clock_audss
{
assigned
-
clocks
=
<&
clock_audss
EXYNOS_MOUT_AUDSS
>,
<&
clock_audss
EXYNOS_MOUT_I2S
>,
<&
clock_audss
EXYNOS_DOUT_AUD_BUS
>;
assigned
-
clock
-
parents
=
<&
clock
CLK_FIN_PLL
>,
<&
clock_audss
EXYNOS_MOUT_AUDSS
>;
assigned
-
clock
-
rates
=
<
0
>,
<
0
>,
<
19200000
>;
};
&
hsi2c_5
{
status
=
"okay"
;
max98090
:
max98090
@
10
{
compatible
=
"maxim,max98090"
;
reg
=
<
0x10
>;
interrupt
-
parent
=
<&
gpx3
>;
interrupts
=
<
2
0
>;
clocks
=
<&
i2s0
CLK_I2S_CDCLK
>;
clock
-
names
=
"mclk"
;
#
sound
-
dai
-
cells
=
<
0
>;
};
};
&
i2s0
{
status
=
"okay"
;
};
&
hdmi
{
status
=
"okay"
;
hpd
-
gpio
=
<&
gpx3
7
0
>;
...
...
@@ -306,15 +387,19 @@
&
mmc_0
{
status
=
"okay"
;
mmc
-
pwrseq
=
<&
emmc_pwrseq
>;
broken
-
cd
;
cd
-
gpios
=
<&
gpc0
2
GPIO_ACTIVE_LOW
>
;
card
-
detect
-
delay
=
<
200
>;
samsung
,
dw
-
mshc
-
ciu
-
div
=
<
3
>;
samsung
,
dw
-
mshc
-
sdr
-
timing
=
<
0
4
>;
samsung
,
dw
-
mshc
-
ddr
-
timing
=
<
0
2
>;
samsung
,
dw
-
mshc
-
hs400
-
timing
=
<
0
2
>;
samsung
,
read
-
strobe
-
delay
=
<
90
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
sd0_clk
&
sd0_cmd
&
sd0_bus1
&
sd0_bus4
&
sd0_bus8
>;
pinctrl
-
0
=
<&
sd0_clk
&
sd0_cmd
&
sd0_bus1
&
sd0_bus4
&
sd0_bus8
&
sd0_cd
&
sd0_rclk
>;
bus
-
width
=
<
8
>;
cap
-
mmc
-
highspeed
;
mmc
-
hs200
-
1
_8v
;
mmc
-
hs400
-
1
_8v
;
};
&
mmc_2
{
...
...
@@ -386,3 +471,9 @@
shunt
-
resistor
=
<
10000
>;
};
};
&
rtc
{
status
=
"okay"
;
clocks
=
<&
clock
CLK_RTC
>,
<&
s2mps11_osc
S2MPS11_CLK_AP
>;
clock
-
names
=
"rtc"
,
"rtc_src"
;
};
include/dt-bindings/clock/samsung,s2mps11.h
0 → 100644
浏览文件 @
b9974fa2
/*
* Copyright (C) 2015 Markus Reichl
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Device Tree binding constants clocks for the Samsung S2MPS11 PMIC.
*/
#ifndef _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H
#define _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H
/* Fixed rate clocks. */
#define S2MPS11_CLK_AP 0
#define S2MPS11_CLK_CP 1
#define S2MPS11_CLK_BT 2
/* Total number of clocks. */
#define S2MPS11_CLKS_NUM (S2MPS11_CLK_BT + 1)
#endif
/* _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录