Device Tree improvements for Exynos based boards (updated pull request):

1. Enable DMA on Exynos4 serial ports. This old patch uncovered
    a number of other issues in dmaengine and samsung serial driver.
    All of known issues are resolved so finally enable the DMA for UART.
 2. Fix incorrect location of display-timings node (FIMD->DP node)
    on Arndale, SMDK5250 and SMDK5240 boards.
 3. Minor cleanups.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJWEyjZAAoJEME3ZuaGi4PXJe4QAI72zIVsSOI6tzm5m8uUDMhn
 LM9+0Yxv7LcD9vxNQyEgtz8l/+DYnZNGqcr1hqG1ch44Ep4NTCxIXA9XltH/dRuj
 hdM+kmqlo72rGE3tye1OXLzLi7Wn2277Bz6x17gFID0/f9hrpJm7F8ZFxe83rKTl
 zTBLoCwYVbDfCM98uZWlQfpvAGSE4SRjonDMD3RnkyS1PzD59mHVfdr0Eq//Io+o
 dEGCB5ysHO20R6p/qYe6Dqd9ytE8xzhabATjIYX3RuMKlgUH/xnWHVz2DSHCiyMv
 4fcIIa1mwRjDyrtC3dH9jSk/pePjYKsdyrXcMju8Si6O4hi1c9YMzplW4xIVuGjd
 wR3sQqY9NG8xbudEf35NN9R669dYH0uaxRmsHvC9E9E16fVYe+ufcBewdZGHFniJ
 jLt2cesMaABACI0jC2vGw8BD0JAoidJku/0xKdBR2ymoThuZo0qDGHR8YVhAuea5
 T41O2jgmuqQBltfLX6WMX2O19/8BeibI45cwRcOZRfACwkd1qZkUqXInle/tx2cD
 7ZBSnTxSF8wV4uun5CLiP1IbYslycMZuVho+WQT3Mhphw4y6+DZfLqOIeWA+LO8T
 dT55snexZd8Cp2vmST9ybcn9ExE7vdG6xpeaN00A9isNGcFm1KkNFX/0INsMlfBO
 XDFr50iIdTidTRW0g/Uf
 =OWHD
 -----END PGP SIGNATURE-----

Merge tag 'samsung-dt-4.4-2' of http://github.com/krzk/linux into v4.4-next/dt-samsung

Device Tree improvements for Exynos based boards (updated pull request):
1. Enable DMA on Exynos4 serial ports. This old patch uncovered
   a number of other issues in dmaengine and samsung serial driver.
   All of known issues are resolved so finally enable the DMA for UART.
2. Fix incorrect location of display-timings node (FIMD->DP node)
   on Arndale, SMDK5250 and SMDK5240 boards.
3. Minor cleanups.
This commit is contained in:
Kukjin Kim 2015-10-08 07:16:31 +09:00
Родитель 6c6000c2cc c21dbcfefc
Коммит 6252eb0a17
7 изменённых файлов: 62 добавлений и 96 удалений

Просмотреть файл

@ -431,6 +431,8 @@
interrupts = <0 52 0>; interrupts = <0 52 0>;
clocks = <&clock CLK_UART0>, <&clock CLK_SCLK_UART0>; clocks = <&clock CLK_UART0>, <&clock CLK_SCLK_UART0>;
clock-names = "uart", "clk_uart_baud0"; clock-names = "uart", "clk_uart_baud0";
dmas = <&pdma0 15>, <&pdma0 16>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
@ -440,6 +442,8 @@
interrupts = <0 53 0>; interrupts = <0 53 0>;
clocks = <&clock CLK_UART1>, <&clock CLK_SCLK_UART1>; clocks = <&clock CLK_UART1>, <&clock CLK_SCLK_UART1>;
clock-names = "uart", "clk_uart_baud0"; clock-names = "uart", "clk_uart_baud0";
dmas = <&pdma1 15>, <&pdma1 16>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
@ -449,6 +453,8 @@
interrupts = <0 54 0>; interrupts = <0 54 0>;
clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>; clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>;
clock-names = "uart", "clk_uart_baud0"; clock-names = "uart", "clk_uart_baud0";
dmas = <&pdma0 17>, <&pdma0 18>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
@ -458,6 +464,8 @@
interrupts = <0 55 0>; interrupts = <0 55 0>;
clocks = <&clock CLK_UART3>, <&clock CLK_SCLK_UART3>; clocks = <&clock CLK_UART3>, <&clock CLK_SCLK_UART3>;
clock-names = "uart", "clk_uart_baud0"; clock-names = "uart", "clk_uart_baud0";
dmas = <&pdma1 17>, <&pdma1 18>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };

Просмотреть файл

@ -199,8 +199,6 @@
}; };
&i2c_0 { &i2c_0 {
pinctrl-0 = <&i2c0_bus>;
pinctrl-names = "default";
samsung,i2c-sda-delay = <100>; samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <400000>; samsung,i2c-max-bus-freq = <400000>;
status = "okay"; status = "okay";
@ -276,15 +274,13 @@
regulator-always-on; regulator-always-on;
}; };
ldo8_reg: ldo@8 { ldo8_reg: LDO8 {
regulator-compatible = "LDO8";
regulator-name = "VDD10_HDMI_1.0V"; regulator-name = "VDD10_HDMI_1.0V";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
}; };
ldo10_reg: ldo@10 { ldo10_reg: LDO10 {
regulator-compatible = "LDO10";
regulator-name = "VDDQ_MIPIHSI_1.8V"; regulator-name = "VDDQ_MIPIHSI_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
@ -424,8 +420,6 @@
}; };
&i2c_1 { &i2c_1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_bus>;
status = "okay"; status = "okay";
max98090: max98090@10 { max98090: max98090@10 {
compatible = "maxim,max98090"; compatible = "maxim,max98090";
@ -440,8 +434,6 @@
&i2c_2 { &i2c_2 {
status = "okay"; status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c2_bus>;
}; };
&i2c_8 { &i2c_8 {

Просмотреть файл

@ -564,16 +564,14 @@
#clock-cells = <1>; #clock-cells = <1>;
voltage-regulators { voltage-regulators {
ldo1_reg: ldo1 { ldo1_reg: LDO1 {
regulator-compatible = "LDO1";
regulator-name = "VALIVE_1.0V_AP"; regulator-name = "VALIVE_1.0V_AP";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
regulator-always-on; regulator-always-on;
}; };
ldo2_reg: ldo2 { ldo2_reg: LDO2 {
regulator-compatible = "LDO2";
regulator-name = "VM1M2_1.2V_AP"; regulator-name = "VM1M2_1.2V_AP";
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
@ -583,32 +581,28 @@
}; };
}; };
ldo3_reg: ldo3 { ldo3_reg: LDO3 {
regulator-compatible = "LDO3";
regulator-name = "VCC_1.8V_AP"; regulator-name = "VCC_1.8V_AP";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-always-on; regulator-always-on;
}; };
ldo4_reg: ldo4 { ldo4_reg: LDO4 {
regulator-compatible = "LDO4";
regulator-name = "VCC_2.8V_AP"; regulator-name = "VCC_2.8V_AP";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
regulator-always-on; regulator-always-on;
}; };
ldo5_reg: ldo5 { ldo5_reg: LDO5 {
regulator-compatible = "LDO5";
regulator-name = "VCC_1.8V_IO"; regulator-name = "VCC_1.8V_IO";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-always-on; regulator-always-on;
}; };
ldo6_reg: ldo6 { ldo6_reg: LDO6 {
regulator-compatible = "LDO6";
regulator-name = "VMPLL_1.0V_AP"; regulator-name = "VMPLL_1.0V_AP";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
@ -618,8 +612,7 @@
}; };
}; };
ldo7_reg: ldo7 { ldo7_reg: LDO7 {
regulator-compatible = "LDO7";
regulator-name = "VPLL_1.0V_AP"; regulator-name = "VPLL_1.0V_AP";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
@ -629,8 +622,7 @@
}; };
}; };
ldo8_reg: ldo8 { ldo8_reg: LDO8 {
regulator-compatible = "LDO8";
regulator-name = "VMIPI_1.0V"; regulator-name = "VMIPI_1.0V";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
@ -639,15 +631,13 @@
}; };
}; };
ldo9_reg: ldo9 { ldo9_reg: LDO9 {
regulator-compatible = "LDO9";
regulator-name = "CAM_ISP_MIPI_1.2V"; regulator-name = "CAM_ISP_MIPI_1.2V";
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
}; };
ldo10_reg: ldo10 { ldo10_reg: LDO10 {
regulator-compatible = "LDO10";
regulator-name = "VMIPI_1.8V"; regulator-name = "VMIPI_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
@ -656,8 +646,7 @@
}; };
}; };
ldo11_reg: ldo11 { ldo11_reg: LDO11 {
regulator-compatible = "LDO11";
regulator-name = "VABB1_1.95V"; regulator-name = "VABB1_1.95V";
regulator-min-microvolt = <1950000>; regulator-min-microvolt = <1950000>;
regulator-max-microvolt = <1950000>; regulator-max-microvolt = <1950000>;
@ -667,8 +656,7 @@
}; };
}; };
ldo12_reg: ldo12 { ldo12_reg: LDO12 {
regulator-compatible = "LDO12";
regulator-name = "VUOTG_3.0V"; regulator-name = "VUOTG_3.0V";
regulator-min-microvolt = <3000000>; regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
@ -677,15 +665,13 @@
}; };
}; };
ldo13_reg: ldo13 { ldo13_reg: LDO13 {
regulator-compatible = "LDO13";
regulator-name = "NFC_AVDD_1.8V"; regulator-name = "NFC_AVDD_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
}; };
ldo14_reg: ldo14 { ldo14_reg: LDO14 {
regulator-compatible = "LDO14";
regulator-name = "VABB2_1.95V"; regulator-name = "VABB2_1.95V";
regulator-min-microvolt = <1950000>; regulator-min-microvolt = <1950000>;
regulator-max-microvolt = <1950000>; regulator-max-microvolt = <1950000>;
@ -695,8 +681,7 @@
}; };
}; };
ldo15_reg: ldo15 { ldo15_reg: LDO15 {
regulator-compatible = "LDO15";
regulator-name = "VHSIC_1.0V"; regulator-name = "VHSIC_1.0V";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1000000>;
@ -705,8 +690,7 @@
}; };
}; };
ldo16_reg: ldo16 { ldo16_reg: LDO16 {
regulator-compatible = "LDO16";
regulator-name = "VHSIC_1.8V"; regulator-name = "VHSIC_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
@ -715,80 +699,69 @@
}; };
}; };
ldo17_reg: ldo17 { ldo17_reg: LDO17 {
regulator-compatible = "LDO17";
regulator-name = "CAM_SENSOR_CORE_1.2V"; regulator-name = "CAM_SENSOR_CORE_1.2V";
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
}; };
ldo18_reg: ldo18 { ldo18_reg: LDO18 {
regulator-compatible = "LDO18";
regulator-name = "CAM_ISP_SEN_IO_1.8V"; regulator-name = "CAM_ISP_SEN_IO_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
}; };
ldo19_reg: ldo19 { ldo19_reg: LDO19 {
regulator-compatible = "LDO19";
regulator-name = "VT_CAM_1.8V"; regulator-name = "VT_CAM_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
}; };
ldo20_reg: ldo20 { ldo20_reg: LDO20 {
regulator-compatible = "LDO20";
regulator-name = "VDDQ_PRE_1.8V"; regulator-name = "VDDQ_PRE_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
}; };
ldo21_reg: ldo21 { ldo21_reg: LDO21 {
regulator-compatible = "LDO21";
regulator-name = "VTF_2.8V"; regulator-name = "VTF_2.8V";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>; maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
}; };
ldo22_reg: ldo22 { ldo22_reg: LDO22 {
regulator-compatible = "LDO22";
regulator-name = "VMEM_VDD_2.8V"; regulator-name = "VMEM_VDD_2.8V";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
}; };
ldo23_reg: ldo23 { ldo23_reg: LDO23 {
regulator-compatible = "LDO23";
regulator-name = "TSP_AVDD_3.3V"; regulator-name = "TSP_AVDD_3.3V";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
}; };
ldo24_reg: ldo24 { ldo24_reg: LDO24 {
regulator-compatible = "LDO24";
regulator-name = "TSP_VDD_1.8V"; regulator-name = "TSP_VDD_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
}; };
ldo25_reg: ldo25 { ldo25_reg: LDO25 {
regulator-compatible = "LDO25";
regulator-name = "LCD_VCC_3.3V"; regulator-name = "LCD_VCC_3.3V";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
}; };
ldo26_reg: ldo26 { ldo26_reg: LDO26 {
regulator-compatible = "LDO26";
regulator-name = "MOTOR_VCC_3.0V"; regulator-name = "MOTOR_VCC_3.0V";
regulator-min-microvolt = <3000000>; regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
}; };
buck1_reg: buck1 { buck1_reg: BUCK1 {
regulator-compatible = "BUCK1";
regulator-name = "vdd_mif"; regulator-name = "vdd_mif";
regulator-min-microvolt = <850000>; regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1100000>; regulator-max-microvolt = <1100000>;
@ -799,8 +772,7 @@
}; };
}; };
buck2_reg: buck2 { buck2_reg: BUCK2 {
regulator-compatible = "BUCK2";
regulator-name = "vdd_arm"; regulator-name = "vdd_arm";
regulator-min-microvolt = <850000>; regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1500000>; regulator-max-microvolt = <1500000>;
@ -811,8 +783,7 @@
}; };
}; };
buck3_reg: buck3 { buck3_reg: BUCK3 {
regulator-compatible = "BUCK3";
regulator-name = "vdd_int"; regulator-name = "vdd_int";
regulator-min-microvolt = <850000>; regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1150000>; regulator-max-microvolt = <1150000>;
@ -823,8 +794,7 @@
}; };
}; };
buck4_reg: buck4 { buck4_reg: BUCK4 {
regulator-compatible = "BUCK4";
regulator-name = "vdd_g3d"; regulator-name = "vdd_g3d";
regulator-min-microvolt = <850000>; regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1150000>; regulator-max-microvolt = <1150000>;
@ -834,40 +804,35 @@
}; };
}; };
buck5_reg: buck5 { buck5_reg: BUCK5 {
regulator-compatible = "BUCK5";
regulator-name = "VMEM_1.2V_AP"; regulator-name = "VMEM_1.2V_AP";
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
regulator-always-on; regulator-always-on;
}; };
buck6_reg: buck6 { buck6_reg: BUCK6 {
regulator-compatible = "BUCK6";
regulator-name = "VCC_SUB_1.35V"; regulator-name = "VCC_SUB_1.35V";
regulator-min-microvolt = <1350000>; regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>; regulator-max-microvolt = <1350000>;
regulator-always-on; regulator-always-on;
}; };
buck7_reg: buck7 { buck7_reg: BUCK7 {
regulator-compatible = "BUCK7";
regulator-name = "VCC_SUB_2.0V"; regulator-name = "VCC_SUB_2.0V";
regulator-min-microvolt = <2000000>; regulator-min-microvolt = <2000000>;
regulator-max-microvolt = <2000000>; regulator-max-microvolt = <2000000>;
regulator-always-on; regulator-always-on;
}; };
buck8_reg: buck8 { buck8_reg: BUCK8 {
regulator-compatible = "BUCK8";
regulator-name = "VMEM_VDDF_3.0V"; regulator-name = "VMEM_VDDF_3.0V";
regulator-min-microvolt = <2850000>; regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>; regulator-max-microvolt = <2850000>;
maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
}; };
buck9_reg: buck9 { buck9_reg: BUCK9 {
regulator-compatible = "BUCK9";
regulator-name = "CAM_ISP_CORE_1.2V"; regulator-name = "CAM_ISP_CORE_1.2V";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;

Просмотреть файл

@ -129,10 +129,6 @@
samsung,color-depth = <1>; samsung,color-depth = <1>;
samsung,link-rate = <0x0a>; samsung,link-rate = <0x0a>;
samsung,lane-count = <4>; samsung,lane-count = <4>;
};
&fimd {
status = "okay";
display-timings { display-timings {
native-mode = <&timing0>; native-mode = <&timing0>;
@ -152,6 +148,10 @@
}; };
}; };
&fimd {
status = "okay";
};
&hdmi { &hdmi {
hpd-gpio = <&gpx3 7 GPIO_ACTIVE_LOW>; hpd-gpio = <&gpx3 7 GPIO_ACTIVE_LOW>;
vdd_osc-supply = <&ldo10_reg>; vdd_osc-supply = <&ldo10_reg>;

Просмотреть файл

@ -89,14 +89,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&dp_hpd>; pinctrl-0 = <&dp_hpd>;
status = "okay"; status = "okay";
};
&ehci {
samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
};
&fimd {
status = "okay";
display-timings { display-timings {
native-mode = <&timing0>; native-mode = <&timing0>;
@ -116,6 +108,14 @@
}; };
}; };
&ehci {
samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
};
&fimd {
status = "okay";
};
&hdmi { &hdmi {
hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>; hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
}; };

Просмотреть файл

@ -98,10 +98,7 @@
samsung,link-rate = <0x0a>; samsung,link-rate = <0x0a>;
samsung,lane-count = <4>; samsung,lane-count = <4>;
status = "okay"; status = "okay";
};
&fimd {
status = "okay";
display-timings { display-timings {
native-mode = <&timing0>; native-mode = <&timing0>;
timing0: timing@0 { timing0: timing@0 {
@ -118,6 +115,10 @@
}; };
}; };
&fimd {
status = "okay";
};
&hdmi { &hdmi {
status = "okay"; status = "okay";
hpd-gpio = <&gpx3 7 0>; hpd-gpio = <&gpx3 7 0>;

Просмотреть файл

@ -25,7 +25,7 @@
#size-cells = <0>; #size-cells = <0>;
cpu { cpu {
compatible = "arm,arm926ejs"; compatible = "arm,arm926ej-s";
}; };
}; };