diff mbox

[3/4] add stih-cec driver into DT

Message ID 1473844924-13895-4-git-send-email-benjamin.gaignard@linaro.org
State New
Headers show

Commit Message

Benjamin Gaignard Sept. 14, 2016, 9:22 a.m. UTC
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>

---
 arch/arm/boot/dts/stih410.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Peter Griffin Sept. 14, 2016, 9:51 a.m. UTC | #1
Hi Benjamin,

On Wed, 14 Sep 2016, Benjamin Gaignard wrote:

> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>

> ---

>  arch/arm/boot/dts/stih410.dtsi | 12 ++++++++++++

>  1 file changed, 12 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi

> index 18ed1ad..440c4bd 100644

> --- a/arch/arm/boot/dts/stih410.dtsi

> +++ b/arch/arm/boot/dts/stih410.dtsi

> @@ -227,5 +227,17 @@

>  			clock-names = "bdisp";

>  			clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>;

>  		};

> +

> +		sti-cec@094a087c {

> +			compatible = "st,stih-cec";

> +			reg = <0x94a087c 0x64>;

> +			clocks = <&clk_sysin>;

> +			clock-names = "cec-clk";

> +			interrupts = <GIC_SPI 140 IRQ_TYPE_NONE>;

> +			interrupt-names = "cec-irq";

> +			pinctrl-names = "default";

> +			pinctrl-0 = <&pinctrl_cec0_default>;

> +			resets = <&softreset STIH407_LPM_SOFTRESET>;

> +		};


I think this should be put in stih407-family.dtsi.

regards,

Peter.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi
index 18ed1ad..440c4bd 100644
--- a/arch/arm/boot/dts/stih410.dtsi
+++ b/arch/arm/boot/dts/stih410.dtsi
@@ -227,5 +227,17 @@ 
 			clock-names = "bdisp";
 			clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>;
 		};
+
+		sti-cec@094a087c {
+			compatible = "st,stih-cec";
+			reg = <0x94a087c 0x64>;
+			clocks = <&clk_sysin>;
+			clock-names = "cec-clk";
+			interrupts = <GIC_SPI 140 IRQ_TYPE_NONE>;
+			interrupt-names = "cec-irq";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_cec0_default>;
+			resets = <&softreset STIH407_LPM_SOFTRESET>;
+		};
 	};
 };