Skip to content

Commit 9dfc3b2

Browse files
committed
Merge remote-tracking branch 'rk/rockchip' into test
2 parents 738b958 + 7379533 commit 9dfc3b2

File tree

1,602 files changed

+140385
-63140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,602 files changed

+140385
-63140
lines changed

Documentation/ABI/testing/sysfs-devices-system-cpu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ What: /sys/devices/system/cpu/vulnerabilities
277277
/sys/devices/system/cpu/vulnerabilities/spectre_v1
278278
/sys/devices/system/cpu/vulnerabilities/spectre_v2
279279
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass
280+
/sys/devices/system/cpu/vulnerabilities/l1tf
281+
/sys/devices/system/cpu/vulnerabilities/mds
280282
Date: January 2018
281283
Contact: Linux kernel mailing list <[email protected]>
282284
Description: Information about CPU vulnerabilities

Documentation/ABI/testing/sysfs-fs-f2fs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,28 @@ Description:
8686
The unit size is one block, now only support configuring in range
8787
of [1, 512].
8888

89+
What: /sys/fs/f2fs/<disk>/umount_discard_timeout
90+
Date: January 2019
91+
Contact: "Jaegeuk Kim" <[email protected]>
92+
Description:
93+
Set timeout to issue discard commands during umount.
94+
Default: 5 secs
95+
8996
What: /sys/fs/f2fs/<disk>/max_victim_search
9097
Date: January 2014
9198
Contact: "Jaegeuk Kim" <[email protected]>
9299
Description:
93100
Controls the number of trials to find a victim segment.
94101

102+
What: /sys/fs/f2fs/<disk>/migration_granularity
103+
Date: October 2018
104+
Contact: "Chao Yu" <[email protected]>
105+
Description:
106+
Controls migration granularity of garbage collection on large
107+
section, it can let GC move partial segment{s} of one section
108+
in one GC cycle, so that dispersing heavy overhead GC to
109+
multiple lightweight one.
110+
95111
What: /sys/fs/f2fs/<disk>/dir_level
96112
Date: March 2014
97113
Contact: "Jaegeuk Kim" <[email protected]>
@@ -227,3 +243,11 @@ Description:
227243
- Del: echo '[h/c]!extension' > /sys/fs/f2fs/<disk>/extension_list
228244
- [h] means add/del hot file extension
229245
- [c] means add/del cold file extension
246+
247+
What: /sys/fs/f2fs/<disk>/unusable
248+
Date April 2019
249+
Contact: "Daniel Rosenberg" <[email protected]>
250+
Description:
251+
If checkpoint=disable, it displays the number of blocks that are unusable.
252+
If checkpoint=enable it displays the enumber of blocks that would be unusable
253+
if checkpoint=disable were to be set.

Documentation/arm64/silicon-errata.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@ stable kernels.
5656
| | | | |
5757
| Cavium | ThunderX ITS | #22375, #24313 | CAVIUM_ERRATUM_22375 |
5858
| Cavium | ThunderX GICv3 | #23154 | CAVIUM_ERRATUM_23154 |
59+
| Cavium | ThunderX Core | #27456 | CAVIUM_ERRATUM_27456 |

Documentation/devicetree/bindings/arm/rockchip.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ Rockchip platforms device tree bindings
133133
- compatible = "rockchip,rk3399pro-evb-v10", "rockchip,rk3399pro";
134134
- compatible = "rockchip,rk3399pro-evb-v10-linux", "rockchip,rk3399pro";
135135
- compatible = "rockchip,rk3399pro-evb-v11-linux", "rockchip,rk3399pro";
136+
- compatible = "rockchip,rk3399pro-evb-v13-linux", "rockchip,rk3399pro";
137+
- compatible = "rockchip,rk3399pro-evb-v13-multi-cam", "rockchip,rk3399pro";
138+
139+
- Rockchip RK3399pro evb avb:
140+
Required root node properties:
141+
- compatible = "rockchip,rk3399pro-evb-v10-avb", "rockchip,rk3399pro";
142+
- compatible = "rockchip,rk3399pro-evb-v11-avb", "rockchip,rk3399pro";
143+
- compatible = "rockchip,rk3399pro-evb-lp4-v11-avb", "rockchip,rk3399pro";
144+
- compatible = "rockchip,rk3399pro-evb-v13-multi-cam-avb", "rockchip,rk3399pro";
136145

137146
- Rockchip RK3399pro evb avb:
138147
Required root node properties:

Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Optional properties
3131
- phys: phandle to Non-SNPS PHY node
3232
- phy-names: the string "mipi_dphy" when is found in a node, along with "phys"
3333
attribute, provides phandle to MIPI PHY node
34-
- rockchip,dual-channel: for dual-channel panel, if not, don't configure
3534
- rockchip,lane-rate: manually configure lane-rate, not necessary.
3635

3736
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
@@ -52,7 +51,6 @@ For Rockchip RK3288:
5251
#address-cells = <1>;
5352
#size-cells = <0>;
5453

55-
rockchip,dual-channel = <&dsi1>;
5654
rockchip,lane-rate = <900>;
5755

5856
status = "okay";

Documentation/devicetree/bindings/dram/rk3368_dram_timing.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Required properties:
5050

5151
- phy_odt : define the phy odt in ohm, default value isPHY_RTT_279ohm
5252

53+
- ddr_2t : define the uptcl CMD/CLK 2T mode, default value is ENABLE_DDR_2T.
54+
5355
the driver strength and odt value are defined at include/dt-bindings/dram/rockchip,rk3368.h
5456

5557
Example:
@@ -73,5 +75,6 @@ Example:
7375
phy_cmd_drv = <PHY_RON_34ohm>;
7476
phy_dqs_drv = <PHY_RON_34ohm>;
7577
phy_odt = <PHY_RTT_279ohm>;
78+
ddr_2t = <ENABLE_DDR_2T>;
7679
};
7780
};
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
* Aptina AR0144 MIPI sensor
2+
3+
Required Properties:
4+
- compatible: should be "aptina,ar0144"
5+
- clocks: reference to the 24M xvclk input clock.
6+
- clock-names: should be "xvclk".
7+
- dovdd-supply: Digital I/O voltage supply, 1.8/2.8 volts
8+
- avdd-supply: Analog voltage supply, 2.8 volts
9+
- dvdd-supply: Digital core voltage supply, 1.2 volts
10+
- reset-gpios: Low active reset gpio
11+
12+
The device node must contain one 'port' child node for its digital output
13+
video port, in accordance with the video interface bindings defined in
14+
Documentation/devicetree/bindings/media/video-interfaces.txt.
15+
16+
Example:
17+
ar0144: ar0144@10 {
18+
compatible = "aptina,ar0144";
19+
status = "okay";
20+
reg = <0x10>;
21+
clocks = <&cru SCLK_CIF_OUT>;
22+
clock-names = "xvclk";
23+
24+
//conflict with csi-ctl-gpios
25+
reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
26+
pwdn-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
27+
pinctrl-names = "rockchip,camera_default";
28+
pinctrl-0 = <&cif_clkout>;
29+
rockchip,camera-module-index = <0>;
30+
rockchip,camera-module-facing = "back";
31+
rockchip,camera-module-name = "default";
32+
rockchip,camera-module-lens-name = "default";
33+
port {
34+
ucam_out3: endpoint {
35+
remote-endpoint = <&mipi_in_ucam3>;
36+
data-lanes = <1>;
37+
};
38+
};
39+
};
40+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
* BF20A2 1/10-Inch 0.3Mp SOC Camera
2+
3+
The BYD BF20A2 is a 1/10-inch SOC camera, with an active array size of
4+
640H x 480V. It is programmable through a SCCB. The BF20A2 sensor supports
5+
SVGA. It also can support YUV422 or raw RGB output formats.
6+
7+
Required Properties:
8+
- compatible: Must be "byd,bf20a2"
9+
- reg: I2C slave address
10+
- clocks: reference to the xvclk input clock.
11+
- clock-names: should be "xvclk".
12+
- dovdd-supply: Digital I/O voltage supply, 1.7~3.1 volts
13+
- avdd-supply: Analog voltage supply, 2.8 volts
14+
- powerdown-gpios: High active powerdown gpio
15+
16+
The device node must contain one 'port' child node for its digital output
17+
video port, in accordance with the video interface bindings defined in
18+
Documentation/devicetree/bindings/media/video-interfaces.txt.
19+
20+
Example:
21+
&i2c2 {
22+
status = "okay";
23+
24+
bf20a2: bf20a2@6e {
25+
status = "okay";
26+
compatible = "byd,bf20a2";
27+
reg = <0x6e>;
28+
clocks = <&cru SCLK_CIF_OUT>;
29+
clock-names = "xvclk";
30+
31+
avdd-supply = <&vcc2v8_dvp>;
32+
dovdd-supply = <&vcc2v8_dvp>;
33+
pinctrl-names = "default";
34+
pinctrl-0 = <&cif_clkout_m0>;
35+
pwdn-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
36+
rockchip,camera-module-index = <0>;
37+
rockchip,camera-module-facing = "back";
38+
rockchip,camera-module-name = "default";
39+
rockchip,camera-module-lens-name = "default";
40+
41+
port {
42+
bf20a2_out: endpoint {
43+
remote-endpoint = <&dvp_in_bcam>;
44+
};
45+
};
46+
};
47+
};
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
* GalaxyCore GC5035 MIPI sensor
2+
3+
Required Properties:
4+
- compatible: should be "galaxycore,gc5035"
5+
- clocks: reference to the 24M xvclk input clock.
6+
- clock-names: should be "xvclk".
7+
- dovdd-supply: Digital I/O voltage supply, 1.7~3.0 volts
8+
- avdd-supply: Analog voltage supply, 2.8 volts
9+
- dvdd-supply: Digital core voltage supply, 1.2 volts
10+
- reset-gpios: Low active reset gpio
11+
- powerdown-gpios: Low active powerdown gpio
12+
13+
Attention:
14+
GC5035 device address 0x6e(8bit) or 0x7e(8bit) is decided by IDSEL pin;
15+
16+
The device node must contain one 'port' child node for its digital output
17+
video port, in accordance with the video interface bindings defined in
18+
Documentation/devicetree/bindings/media/video-interfaces.txt.
19+
20+
Example:
21+
22+
&i2c1 {
23+
status = "okay";
24+
gc5035: gc5035@37 { // or gc5035: gc5035@3f
25+
status = "okay";
26+
compatible = "galaxycore,gc5035";
27+
reg = <0x37>; //or reg = <0x3f>;
28+
clocks = <&cru SCLK_CIF_OUT>;
29+
clock-names = "xvclk";
30+
31+
avdd-supply = <&vcc2v8_dvp>;
32+
dovdd-supply = <&vcc1v8_dvp>;
33+
dvdd-supply = <&vdd1v2_dvp>;
34+
pwdn-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
35+
pinctrl-names = "rockchip,camera_default";
36+
pinctrl-0 = <&cif_clkout>;
37+
38+
rockchip,camera-module-index = <1>;
39+
rockchip,camera-module-facing = "front";
40+
rockchip,camera-module-name = "CQ95-HL106F-5035_V1";
41+
rockchip,camera-module-lens-name = "HTT-M503B-70";
42+
lens-focus = <&dw9714f>;
43+
port {
44+
ucam_out1: endpoint {
45+
//remote-endpoint = <&mipi_in_ucam0>;
46+
remote-endpoint = <&mipi_in_ucam1>;
47+
data-lanes = <1 2>;
48+
};
49+
};
50+
};
51+
};
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
* Sony IMX214 MIPI sensor
2+
3+
Required Properties:
4+
- compatible: should be "sony,imx214"
5+
- clocks: reference to the 24M xvclk input clock.
6+
- clock-names: should be "xvclk".
7+
- dovdd-supply: Digital I/O voltage supply, 1.8 volts
8+
- avdd-supply: Analog voltage supply, 2.8 volts
9+
- dvdd-supply: Digital core voltage supply, 1.0 volts
10+
- reset-gpios: Low active reset gpio
11+
12+
The device node must contain one 'port' child node for its digital output
13+
video port, in accordance with the video interface bindings defined in
14+
Documentation/devicetree/bindings/media/video-interfaces.txt.
15+
16+
Example:
17+
//rk3399 evb board
18+
&i2c1 {
19+
status = "okay";
20+
imx214_eeprom: imx214_eeprom@0x50 {
21+
compatible = "sony,imx214_eeprom";
22+
status = "okay";
23+
reg = <0x50>;
24+
};
25+
imx214: imx214@10 {
26+
eeprom-ctrl = <&imx214_eeprom>;
27+
compatible = "sony,imx214";
28+
status = "okay";
29+
reg = <0x10>;
30+
clocks = <&cru SCLK_CIF_OUT>;
31+
clock-names = "xvclk";
32+
/* avdd-supply = <>; */
33+
/* dvdd-supply = <>; */
34+
/* dovdd-supply = <>; */
35+
/* pwdn-gpios = <>; */
36+
reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
37+
pinctrl-names = "rockchip,camera_default";
38+
pinctrl-0 = <&cif_clkout>;
39+
rockchip,camera-module-index = <0>;
40+
rockchip,camera-module-facing = "back";
41+
rockchip,camera-module-name = "YG9626-S600Y7-C";
42+
rockchip,camera-module-lens-name = "LG-50013A7";
43+
port {
44+
ucam_out1: endpoint {
45+
remote-endpoint = <&mipi_in_ucam0>;
46+
data-lanes = <1 2>;
47+
};
48+
};
49+
};
50+
};

0 commit comments

Comments
 (0)