diff options
| author | Olof Johansson <olof@lixom.net> | 2015-01-29 16:54:26 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2015-01-29 16:54:26 -0500 |
| commit | a35306d3ad45df81fedbe65a1cc8214b91d03aca (patch) | |
| tree | 1b77a28d37e2759d0a57b0f5fa0e9a335c271f77 | |
| parent | 1e4cd7e52bd0181ba057a5cda4116cb025b94635 (diff) | |
| parent | 6591a02e17e6d6587c3cf7588d523fa6f26b584a (diff) | |
Merge tag 'samsung-dt-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/dt
Merge "Samsung 2nd DT updates for v3.20" from Kukjin Kim:
- for all of Samsung SoCs
: use generic power domain bindings
: add 'dr_mode' property for hsotg/dwc2 devices
- exynos3250-rinato and exynos3250-monk
: add regulator-haptic
- exynos5422-odroidxu3
: reduce total RAM by 22 MiB because last 22 MiB
for secure monitor cannot be accessed by kernel
: add on-board INA231 sensors and LDO26 of PMIC
for the sensors
* tag 'samsung-dt-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: dts: reduce total RAM by 22 MiB for exynos5422-odroidxu3
ARM: dts: add on-board INA231 sensors for exynos5422-odroidxu3
ARM: dts: Add regulator-haptic node for exynos3250-monk
ARM: dts: Add regulator-haptic node for exynos3250-rinato
ARM: dts: add 'dr_mode' property to hsotg devices for exynos boards
ARM: dts: convert to generic power domain bindings for exynos DT
Signed-off-by: Olof Johansson <olof@lixom.net>
22 files changed, 123 insertions, 34 deletions
diff --git a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt index abde1ea8a119..f4445e5a2bbb 100644 --- a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt +++ b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt | |||
| @@ -23,7 +23,7 @@ Optional Properties: | |||
| 23 | devices in this power domain. Maximum of 4 pairs (N = 0 to 3) | 23 | devices in this power domain. Maximum of 4 pairs (N = 0 to 3) |
| 24 | are supported currently. | 24 | are supported currently. |
| 25 | 25 | ||
| 26 | Node of a device using power domains must have a samsung,power-domain property | 26 | Node of a device using power domains must have a power-domains property |
| 27 | defined with a phandle to respective power domain. | 27 | defined with a phandle to respective power domain. |
| 28 | 28 | ||
| 29 | Example: | 29 | Example: |
diff --git a/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt b/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt index 6fa4c737af23..729543c47046 100644 --- a/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt +++ b/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt | |||
| @@ -45,7 +45,7 @@ Required properties: | |||
| 45 | Exynos4 SoCs, there needs no "master" clock. | 45 | Exynos4 SoCs, there needs no "master" clock. |
| 46 | Exynos5 SoCs, some System MMUs must have "master" clocks. | 46 | Exynos5 SoCs, some System MMUs must have "master" clocks. |
| 47 | - clocks: Required if the System MMU is needed to gate its clock. | 47 | - clocks: Required if the System MMU is needed to gate its clock. |
| 48 | - samsung,power-domain: Required if the System MMU is needed to gate its power. | 48 | - power-domains: Required if the System MMU is needed to gate its power. |
| 49 | Please refer to the following document: | 49 | Please refer to the following document: |
| 50 | Documentation/devicetree/bindings/arm/exynos/power_domain.txt | 50 | Documentation/devicetree/bindings/arm/exynos/power_domain.txt |
| 51 | 51 | ||
| @@ -54,7 +54,7 @@ Examples: | |||
| 54 | compatible = "samsung,exynos5-gsc"; | 54 | compatible = "samsung,exynos5-gsc"; |
| 55 | reg = <0x13e00000 0x1000>; | 55 | reg = <0x13e00000 0x1000>; |
| 56 | interrupts = <0 85 0>; | 56 | interrupts = <0 85 0>; |
| 57 | samsung,power-domain = <&pd_gsc>; | 57 | power-domains = <&pd_gsc>; |
| 58 | clocks = <&clock CLK_GSCL0>; | 58 | clocks = <&clock CLK_GSCL0>; |
| 59 | clock-names = "gscl"; | 59 | clock-names = "gscl"; |
| 60 | }; | 60 | }; |
| @@ -66,5 +66,5 @@ Examples: | |||
| 66 | interrupts = <2 0>; | 66 | interrupts = <2 0>; |
| 67 | clock-names = "sysmmu", "master"; | 67 | clock-names = "sysmmu", "master"; |
| 68 | clocks = <&clock CLK_SMMU_GSCL0>, <&clock CLK_GSCL0>; | 68 | clocks = <&clock CLK_SMMU_GSCL0>, <&clock CLK_GSCL0>; |
| 69 | samsung,power-domain = <&pd_gsc>; | 69 | power-domains = <&pd_gsc>; |
| 70 | }; | 70 | }; |
diff --git a/Documentation/devicetree/bindings/media/s5p-mfc.txt b/Documentation/devicetree/bindings/media/s5p-mfc.txt index 3e3c5f349570..2d5787eac91a 100644 --- a/Documentation/devicetree/bindings/media/s5p-mfc.txt +++ b/Documentation/devicetree/bindings/media/s5p-mfc.txt | |||
| @@ -28,7 +28,7 @@ Required properties: | |||
| 28 | for DMA contiguous memory allocation and its size. | 28 | for DMA contiguous memory allocation and its size. |
| 29 | 29 | ||
| 30 | Optional properties: | 30 | Optional properties: |
| 31 | - samsung,power-domain : power-domain property defined with a phandle | 31 | - power-domains : power-domain property defined with a phandle |
| 32 | to respective power domain. | 32 | to respective power domain. |
| 33 | 33 | ||
| 34 | Example: | 34 | Example: |
| @@ -38,7 +38,7 @@ mfc: codec@13400000 { | |||
| 38 | compatible = "samsung,mfc-v5"; | 38 | compatible = "samsung,mfc-v5"; |
| 39 | reg = <0x13400000 0x10000>; | 39 | reg = <0x13400000 0x10000>; |
| 40 | interrupts = <0 94 0>; | 40 | interrupts = <0 94 0>; |
| 41 | samsung,power-domain = <&pd_mfc>; | 41 | power-domains = <&pd_mfc>; |
| 42 | clocks = <&clock 273>; | 42 | clocks = <&clock 273>; |
| 43 | clock-names = "mfc"; | 43 | clock-names = "mfc"; |
| 44 | }; | 44 | }; |
diff --git a/Documentation/devicetree/bindings/video/exynos_dsim.txt b/Documentation/devicetree/bindings/video/exynos_dsim.txt index ca2b4aacd9af..802aa7ef64e5 100644 --- a/Documentation/devicetree/bindings/video/exynos_dsim.txt +++ b/Documentation/devicetree/bindings/video/exynos_dsim.txt | |||
| @@ -21,7 +21,7 @@ Required properties: | |||
| 21 | according to DSI host bindings (see MIPI DSI bindings [1]) | 21 | according to DSI host bindings (see MIPI DSI bindings [1]) |
| 22 | 22 | ||
| 23 | Optional properties: | 23 | Optional properties: |
| 24 | - samsung,power-domain: a phandle to DSIM power domain node | 24 | - power-domains: a phandle to DSIM power domain node |
| 25 | 25 | ||
| 26 | Child nodes: | 26 | Child nodes: |
| 27 | Should contain DSI peripheral nodes (see MIPI DSI bindings [1]). | 27 | Should contain DSI peripheral nodes (see MIPI DSI bindings [1]). |
| @@ -53,7 +53,7 @@ Example: | |||
| 53 | phy-names = "dsim"; | 53 | phy-names = "dsim"; |
| 54 | vddcore-supply = <&vusb_reg>; | 54 | vddcore-supply = <&vusb_reg>; |
| 55 | vddio-supply = <&vmipi_reg>; | 55 | vddio-supply = <&vmipi_reg>; |
| 56 | samsung,power-domain = <&pd_lcd0>; | 56 | power-domains = <&pd_lcd0>; |
| 57 | #address-cells = <1>; | 57 | #address-cells = <1>; |
| 58 | #size-cells = <0>; | 58 | #size-cells = <0>; |
| 59 | samsung,pll-clock-frequency = <24000000>; | 59 | samsung,pll-clock-frequency = <24000000>; |
diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation/devicetree/bindings/video/samsung-fimd.txt index cf1af6371021..a8bbbde03e79 100644 --- a/Documentation/devicetree/bindings/video/samsung-fimd.txt +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt | |||
| @@ -38,7 +38,7 @@ Required properties: | |||
| 38 | property. Must contain "sclk_fimd" and "fimd". | 38 | property. Must contain "sclk_fimd" and "fimd". |
| 39 | 39 | ||
| 40 | Optional Properties: | 40 | Optional Properties: |
| 41 | - samsung,power-domain: a phandle to FIMD power domain node. | 41 | - power-domains: a phandle to FIMD power domain node. |
| 42 | - samsung,invert-vden: video enable signal is inverted | 42 | - samsung,invert-vden: video enable signal is inverted |
| 43 | - samsung,invert-vclk: video clock signal is inverted | 43 | - samsung,invert-vclk: video clock signal is inverted |
| 44 | - display-timings: timing settings for FIMD, as described in document [1]. | 44 | - display-timings: timing settings for FIMD, as described in document [1]. |
| @@ -97,7 +97,7 @@ SoC specific DT entry: | |||
| 97 | interrupts = <11 0>, <11 1>, <11 2>; | 97 | interrupts = <11 0>, <11 1>, <11 2>; |
| 98 | clocks = <&clock 140>, <&clock 283>; | 98 | clocks = <&clock 140>, <&clock 283>; |
| 99 | clock-names = "sclk_fimd", "fimd"; | 99 | clock-names = "sclk_fimd", "fimd"; |
| 100 | samsung,power-domain = <&pd_lcd0>; | 100 | power-domains = <&pd_lcd0>; |
| 101 | status = "disabled"; | 101 | status = "disabled"; |
| 102 | }; | 102 | }; |
| 103 | 103 | ||
diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts index 5e4a471faee1..d9a6dd525791 100644 --- a/arch/arm/boot/dts/exynos3250-monk.dts +++ b/arch/arm/boot/dts/exynos3250-monk.dts | |||
| @@ -108,6 +108,13 @@ | |||
| 108 | }; | 108 | }; |
| 109 | }; | 109 | }; |
| 110 | }; | 110 | }; |
| 111 | |||
| 112 | haptics { | ||
| 113 | compatible = "regulator-haptic"; | ||
| 114 | haptic-supply = <&motor_reg>; | ||
| 115 | min-microvolt = <1100000>; | ||
