[PATCHv5 11/11] arm: sti: update sti-cec for CEC notifier support
Benjamin Gaignard
benjamin.gaignard at linaro.org
Thu Mar 30 07:41:30 UTC 2017
+ Patrice for sti DT
2017-03-29 16:15 GMT+02:00 Hans Verkuil <hverkuil at xs4all.nl>:
> From: Benjamin Gaignard <benjamin.gaignard at linaro.org>
>
> To use CEC notifier sti CEC driver needs to get phandle
> of the hdmi device.
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>
> Signed-off-by: Hans Verkuil <hans.verkuil at cisco.com>
> CC: devicetree at vger.kernel.org
> ---
> arch/arm/boot/dts/stih407-family.dtsi | 12 ------------
> arch/arm/boot/dts/stih410.dtsi | 13 +++++++++++++
> 2 files changed, 13 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
> index d753ac36788f..044184580326 100644
> --- a/arch/arm/boot/dts/stih407-family.dtsi
> +++ b/arch/arm/boot/dts/stih407-family.dtsi
> @@ -742,18 +742,6 @@
> <&clk_s_c0_flexgen CLK_ETH_PHY>;
> };
>
> - cec: sti-cec at 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>;
> - };
> -
> rng10: rng at 08a89000 {
> compatible = "st,rng";
> reg = <0x08a89000 0x1000>;
> diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi
> index 3c9672c5b09f..21fe72b183d8 100644
> --- a/arch/arm/boot/dts/stih410.dtsi
> +++ b/arch/arm/boot/dts/stih410.dtsi
> @@ -281,5 +281,18 @@
> <&clk_s_c0_flexgen CLK_ST231_DMU>,
> <&clk_s_c0_flexgen CLK_FLASH_PROMIP>;
> };
> +
> + sti-cec at 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>;
> + hdmi-phandle = <&sti_hdmi>;
> + };
> };
> };
> --
> 2.11.0
>
--
Benjamin Gaignard
Graphic Study Group
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the dri-devel
mailing list