diff options
| -rw-r--r-- | arch/arm/boot/dts/exynos3250-artik5.dtsi | 2 | ||||
| -rw-r--r-- | arch/arm/boot/dts/exynos4210-universal_c210.dts | 4 | ||||
| -rw-r--r-- | arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 9 | ||||
| -rw-r--r-- | arch/arm/boot/dts/exynos5250-arndale.dts | 10 | ||||
| -rw-r--r-- | arch/arm/boot/dts/exynos5420-arndale-octa.dts | 2 | ||||
| -rw-r--r-- | arch/arm/boot/dts/exynos5422-cpus.dtsi | 8 | ||||
| -rw-r--r-- | arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 1 | ||||
| -rw-r--r-- | arch/arm/boot/dts/exynos5422-odroidhc1.dts | 30 | ||||
| -rw-r--r-- | arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 59 | 
9 files changed, 118 insertions, 7 deletions
| diff --git a/arch/arm/boot/dts/exynos3250-artik5.dtsi b/arch/arm/boot/dts/exynos3250-artik5.dtsi index dee35e3a5c4b..b27a82072365 100644 --- a/arch/arm/boot/dts/exynos3250-artik5.dtsi +++ b/arch/arm/boot/dts/exynos3250-artik5.dtsi @@ -23,7 +23,7 @@  	memory@40000000 {  		device_type = "memory"; -		reg = <0x40000000 0x1ff00000>; +		reg = <0x40000000 0x1f800000>;  	};  	firmware@205f000 { diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index a1bdf7830a87..9dda6bdb9253 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -115,7 +115,7 @@  		gpio-sck = <&gpy3 1 GPIO_ACTIVE_HIGH>;  		gpio-mosi = <&gpy3 3 GPIO_ACTIVE_HIGH>;  		num-chipselects = <1>; -		cs-gpios = <&gpy4 3 GPIO_ACTIVE_HIGH>; +		cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>;  		lcd@0 {  			compatible = "samsung,ld9040"; @@ -124,8 +124,6 @@  			vci-supply = <&ldo17_reg>;  			reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;  			spi-max-frequency = <1200000>; -			spi-cpol; -			spi-cpha;  			power-on-delay = <10>;  			reset-delay = <10>;  			panel-width-mm = <90>; diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 9c39e82e4ecb..73d6a71da88d 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -165,6 +165,15 @@  	cpu0-supply = <&buck2_reg>;  }; +&cpu0_opp_table { +	opp-1000000000 { +		opp-suspend; +	}; +	opp-800000000 { +		/delete-property/opp-suspend; +	}; +}; +  &pinctrl_1 {  	gpio_power_key: power_key {  		samsung,pins = "gpx1-3"; diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index f8ebc620f42d..6904091d4837 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -93,22 +93,23 @@  			compatible = "regulator-fixed";  			reg = <0>;  			regulator-name = "MAIN_DC"; +			regulator-always-on;  		};  		mmc_reg: regulator@1 {  			compatible = "regulator-fixed";  			reg = <1>; -			regulator-name = "VDD_33ON_2.8V"; +			regulator-name = "VDD_MMC";  			regulator-min-microvolt = <2800000>;  			regulator-max-microvolt = <2800000>; -			gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>; -			enable-active-high; +			regulator-always-on;  		};  		reg_hdmi_en: regulator@2 {  			compatible = "regulator-fixed";  			reg = <2>;  			regulator-name = "hdmi-en"; +			regulator-always-on;  		};  		vcc_1v2_reg: regulator@3 { @@ -117,6 +118,7 @@  			regulator-name = "VCC_1V2";  			regulator-min-microvolt = <1200000>;  			regulator-max-microvolt = <1200000>; +			regulator-always-on;  		};  		vcc_1v8_reg: regulator@4 { @@ -125,6 +127,7 @@  			regulator-name = "VCC_1V8";  			regulator-min-microvolt = <1800000>;  			regulator-max-microvolt = <1800000>; +			regulator-always-on;  		};  		vcc_3v3_reg: regulator@5 { @@ -133,6 +136,7 @@  			regulator-name = "VCC_3V3";  			regulator-min-microvolt = <3300000>;  			regulator-max-microvolt = <3300000>; +			regulator-always-on;  		};  	}; diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index ee28d30f5476..e9a09dd0a49b 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -584,6 +584,7 @@  				regulator-name = "PVDD_G3DS_1V0";  				regulator-min-microvolt = <800000>;  				regulator-max-microvolt = <1100000>; +				regulator-always-on;  				regulator-state-mem {  					regulator-on-in-suspend; @@ -697,6 +698,7 @@  				regulator-name = "PVDD_G3D_1V0";  				regulator-min-microvolt = <800000>;  				regulator-max-microvolt = <1400000>; +				regulator-always-on;  				regulator-state-mem {  					regulator-off-in-suspend; diff --git a/arch/arm/boot/dts/exynos5422-cpus.dtsi b/arch/arm/boot/dts/exynos5422-cpus.dtsi index 1b8605cf2407..4b641b9b8179 100644 --- a/arch/arm/boot/dts/exynos5422-cpus.dtsi +++ b/arch/arm/boot/dts/exynos5422-cpus.dtsi @@ -31,6 +31,7 @@  			operating-points-v2 = <&cluster_a7_opp_table>;  			#cooling-cells = <2>; /* min followed by max */  			capacity-dmips-mhz = <539>; +			dynamic-power-coefficient = <90>;  		};  		cpu1: cpu@101 { @@ -43,6 +44,7 @@  			operating-points-v2 = <&cluster_a7_opp_table>;  			#cooling-cells = <2>; /* min followed by max */  			capacity-dmips-mhz = <539>; +			dynamic-power-coefficient = <90>;  		};  		cpu2: cpu@102 { @@ -55,6 +57,7 @@  			operating-points-v2 = <&cluster_a7_opp_table>;  			#cooling-cells = <2>; /* min followed by max */  			capacity-dmips-mhz = <539>; +			dynamic-power-coefficient = <90>;  		};  		cpu3: cpu@103 { @@ -67,6 +70,7 @@  			operating-points-v2 = <&cluster_a7_opp_table>;  			#cooling-cells = <2>; /* min followed by max */  			capacity-dmips-mhz = <539>; +			dynamic-power-coefficient = <90>;  		};  		cpu4: cpu@0 { @@ -79,6 +83,7 @@  			operating-points-v2 = <&cluster_a15_opp_table>;  			#cooling-cells = <2>; /* min followed by max */  			capacity-dmips-mhz = <1024>; +			dynamic-power-coefficient = <310>;  		};  		cpu5: cpu@1 { @@ -91,6 +96,7 @@  			operating-points-v2 = <&cluster_a15_opp_table>;  			#cooling-cells = <2>; /* min followed by max */  			capacity-dmips-mhz = <1024>; +			dynamic-power-coefficient = <310>;  		};  		cpu6: cpu@2 { @@ -103,6 +109,7 @@  			operating-points-v2 = <&cluster_a15_opp_table>;  			#cooling-cells = <2>; /* min followed by max */  			capacity-dmips-mhz = <1024>; +			dynamic-power-coefficient = <310>;  		};  		cpu7: cpu@3 { @@ -115,6 +122,7 @@  			operating-points-v2 = <&cluster_a15_opp_table>;  			#cooling-cells = <2>; /* min followed by max */  			capacity-dmips-mhz = <1024>; +			dynamic-power-coefficient = <310>;  		};  	};  }; diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index 5cf1aed20490..ab27ff8bc3dc 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -901,6 +901,7 @@  				regulator-min-microvolt = <800000>;  				regulator-max-microvolt = <1400000>;  				regulator-boot-on; +				regulator-always-on;  				regulator-state-mem {  					regulator-off-in-suspend; diff --git a/arch/arm/boot/dts/exynos5422-odroidhc1.dts b/arch/arm/boot/dts/exynos5422-odroidhc1.dts index f163206265bb..812659260278 100644 --- a/arch/arm/boot/dts/exynos5422-odroidhc1.dts +++ b/arch/arm/boot/dts/exynos5422-odroidhc1.dts @@ -215,6 +215,36 @@  				};  			};  		}; +		gpu_thermal: gpu-thermal { +			thermal-sensors = <&tmu_gpu 0>; +			trips { +				gpu_alert0: gpu-alert-0 { +					temperature = <70000>; +					hysteresis = <10000>; +					type = "active"; +				}; +				gpu_alert1: gpu-alert-1 { +					temperature = <85000>; +					hysteresis = <10000>; +					type = "active"; +				}; +				gpu_crit0: gpu-crit-0 { +					temperature = <120000>; +					hysteresis = <0>; +					type = "critical"; +				}; +			}; +			cooling-maps { +				map0 { +					trip = <&gpu_alert0>; +					cooling-device = <&gpu 0 2>; +				}; +				map1 { +					trip = <&gpu_alert1>; +					cooling-device = <&gpu 3 6>; +				}; +			}; +		};  	};  }; diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 1865a708b49f..5da2d81e3be2 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -357,6 +357,65 @@  				};  			};  		}; +		gpu_thermal: gpu-thermal { +			thermal-sensors = <&tmu_gpu 0>; +			polling-delay-passive = <250>; +			polling-delay = <0>; +			trips { +				gpu_alert0: gpu-alert-0 { +					temperature = <50000>; +					hysteresis = <5000>; +					type = "active"; +				}; +				gpu_alert1: gpu-alert-1 { +					temperature = <60000>; +					hysteresis = <5000>; +					type = "active"; +				}; +				gpu_alert2: gpu-alert-2 { +					temperature = <70000>; +					hysteresis = <5000>; +					type = "active"; +				}; +				gpu_crit0: gpu-crit-0 { +					temperature = <120000>; +					hysteresis = <0>; +					type = "critical"; +				}; +				gpu_alert3: gpu-alert-3 { +					temperature = <70000>; +					hysteresis = <10000>; +					type = "passive"; +				}; +				gpu_alert4: gpu-alert-4 { +					temperature = <85000>; +					hysteresis = <10000>; +					type = "passive"; +				}; +			}; +			cooling-maps { +				map0 { +					trip = <&gpu_alert0>; +					cooling-device = <&fan0 0 1>; +				}; +				map1 { +					trip = <&gpu_alert1>; +					cooling-device = <&fan0 1 2>; +				}; +				map2 { +					trip = <&gpu_alert2>; +					cooling-device = <&fan0 2 3>; +				}; +				map3 { +					trip = <&gpu_alert3>; +					cooling-device = <&gpu 0 2>; +				}; +				map4 { +					trip = <&gpu_alert4>; +					cooling-device = <&gpu 3 6>; +				}; +			}; +		};  	};  }; | 
