Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1355120 > unrolled thread

[PATCH] ARM: at91/dt: sama5d2: add LCD controller

Started byNicolas Ferre <nicolas.ferre@atmel.com>
First post2016-03-10 14:30 +0100
Last post2016-03-10 14:40 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: at91/dt: sama5d2: add LCD controller Nicolas Ferre <nicolas.ferre@atmel.com> - 2016-03-10 14:30 +0100
    Re: [PATCH] ARM: at91/dt: sama5d2: add LCD controller Nicolas Ferre <nicolas.ferre@atmel.com> - 2016-03-10 14:40 +0100

#1355120 — [PATCH] ARM: at91/dt: sama5d2: add LCD controller

FromNicolas Ferre <nicolas.ferre@atmel.com>
Date2016-03-10 14:30 +0100
Subject[PATCH] ARM: at91/dt: sama5d2: add LCD controller
Message-ID<rb8P8-7z5-29@gated-at.bofh.it>
Add LCD controller node that binds to the atmel_hlcdc DRM driver.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/boot/dts/sama5d2.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 78996bdbd3df..ce6df4d48bf9 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -319,6 +319,32 @@
 			#size-cells = <1>;
 			ranges;
 
+			hlcdc: hlcdc@f0000000 {
+				compatible = "atmel,sama5d2-hlcdc";
+				reg = <0xf0000000 0x2000>;
+				interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
+				clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
+				clock-names = "periph_clk","sys_clk", "slow_clk";
+				status = "disabled";
+
+				hlcdc-display-controller {
+					compatible = "atmel,hlcdc-display-controller";
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					port@0 {
+						#address-cells = <1>;
+						#size-cells = <0>;
+						reg = <0>;
+					};
+				};
+
+				hlcdc_pwm: hlcdc-pwm {
+					compatible = "atmel,hlcdc-pwm";
+					#pwm-cells = <3>;
+				};
+			};
+
 			ramc0: ramc@f000c000 {
 				compatible = "atmel,sama5d3-ddramc";
 				reg = <0xf000c000 0x200>;
-- 
2.1.3

[toc] | [next] | [standalone]


#1355122

FromNicolas Ferre <nicolas.ferre@atmel.com>
Date2016-03-10 14:40 +0100
Message-ID<rb8YN-7CH-3@gated-at.bofh.it>
In reply to#1355120
Note to myself: change the $subject line to:
ARM: dts: at91: sama5d2: add LCD controller

:-)

Le 10/03/2016 14:25, Nicolas Ferre a écrit :
> Add LCD controller node that binds to the atmel_hlcdc DRM driver.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
>  arch/arm/boot/dts/sama5d2.dtsi | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 78996bdbd3df..ce6df4d48bf9 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -319,6 +319,32 @@
>  			#size-cells = <1>;
>  			ranges;
>  
> +			hlcdc: hlcdc@f0000000 {
> +				compatible = "atmel,sama5d2-hlcdc";
> +				reg = <0xf0000000 0x2000>;
> +				interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
> +				clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
> +				clock-names = "periph_clk","sys_clk", "slow_clk";
> +				status = "disabled";
> +
> +				hlcdc-display-controller {
> +					compatible = "atmel,hlcdc-display-controller";
> +					#address-cells = <1>;
> +					#size-cells = <0>;
> +
> +					port@0 {
> +						#address-cells = <1>;
> +						#size-cells = <0>;
> +						reg = <0>;
> +					};
> +				};
> +
> +				hlcdc_pwm: hlcdc-pwm {
> +					compatible = "atmel,hlcdc-pwm";
> +					#pwm-cells = <3>;
> +				};
> +			};
> +
>  			ramc0: ramc@f000c000 {
>  				compatible = "atmel,sama5d3-ddramc";
>  				reg = <0xf000c000 0x200>;
> 


-- 
Nicolas Ferre

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web