[PATCHv4 8/9] stih-cec: add HPD notifier support

Rob Herring robh at kernel.org
Wed Feb 8 23:17:08 UTC 2017


On Mon, Feb 06, 2017 at 11:29:50AM +0100, Hans Verkuil wrote:
> From: Benjamin Gaignard <benjamin.gaignard at linaro.org>
> 
> By using the HPD notifier framework there is no longer any reason
> to manually set the physical address. This was the one blocking
> issue that prevented this driver from going out of staging, so do
> this move as well.
> 
> Update the bindings documentation the new hdmi phandle.
> 
> 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
> ---
>  .../devicetree/bindings/media/stih-cec.txt         |  2 ++
>  drivers/media/platform/Kconfig                     | 10 +++++++
>  drivers/media/platform/Makefile                    |  1 +
>  .../st-cec => media/platform/sti/cec}/Makefile     |  0
>  .../st-cec => media/platform/sti/cec}/stih-cec.c   | 31 +++++++++++++++++++---
>  drivers/staging/media/Kconfig                      |  2 --
>  drivers/staging/media/Makefile                     |  1 -
>  drivers/staging/media/st-cec/Kconfig               |  8 ------
>  drivers/staging/media/st-cec/TODO                  |  7 -----
>  9 files changed, 41 insertions(+), 21 deletions(-)
>  rename drivers/{staging/media/st-cec => media/platform/sti/cec}/Makefile (100%)
>  rename drivers/{staging/media/st-cec => media/platform/sti/cec}/stih-cec.c (93%)
>  delete mode 100644 drivers/staging/media/st-cec/Kconfig
>  delete mode 100644 drivers/staging/media/st-cec/TODO
> 
> diff --git a/Documentation/devicetree/bindings/media/stih-cec.txt b/Documentation/devicetree/bindings/media/stih-cec.txt
> index 71c4b2f4bcef..7d82121d148a 100644
> --- a/Documentation/devicetree/bindings/media/stih-cec.txt
> +++ b/Documentation/devicetree/bindings/media/stih-cec.txt
> @@ -9,6 +9,7 @@ Required properties:
>   - pinctrl-names: Contains only one value - "default"
>   - pinctrl-0: Specifies the pin control groups used for CEC hardware.
>   - resets: Reference to a reset controller
> + - st,hdmi-handle: Phandle to the HMDI controller

2 cases in this series. Just drop the vendor prefix on both.

s/HMDI/HDMI/

>  
>  Example for STIH407:
>  
> @@ -22,4 +23,5 @@ sti-cec at 094a087c {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_cec0_default>;
>  	resets = <&softreset STIH407_LPM_SOFTRESET>;
> +	st,hdmi-handle = <&hdmi>;
>  };


More information about the dri-devel mailing list