* [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property [not found] <20170607144616.15247-1-hverkuil@xs4all.nl> @ 2017-06-07 14:46 ` Hans Verkuil 2017-06-09 14:07 ` Rob Herring 2017-06-07 14:46 ` [PATCH 8/9] s5p_cec: set the CEC_CAP_NEEDS_HPD flag if needed Hans Verkuil 2017-06-07 14:46 ` [PATCH 9/9] ARM: dts: exynos: add needs-hpd to &hdmicec for Odroid-U3 Hans Verkuil 2 siblings, 1 reply; 11+ messages in thread From: Hans Verkuil @ 2017-06-07 14:46 UTC (permalink / raw) To: linux-media; +Cc: Hans Verkuil, Krzysztof Kozlowski, dri-devel, devicetree From: Hans Verkuil <hans.verkuil@cisco.com> Needed for boards that wire the CEC pin in such a way that it is unavailable when the HPD is low. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Andrzej Hajda <a.hajda@samsung.com> Cc: devicetree@vger.kernel.org --- Documentation/devicetree/bindings/media/s5p-cec.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/media/s5p-cec.txt b/Documentation/devicetree/bindings/media/s5p-cec.txt index 4bb08d9d940b..261af4d1a791 100644 --- a/Documentation/devicetree/bindings/media/s5p-cec.txt +++ b/Documentation/devicetree/bindings/media/s5p-cec.txt @@ -17,6 +17,12 @@ Required properties: - samsung,syscon-phandle - phandle to the PMU system controller - hdmi-phandle - phandle to the HDMI controller +Optional: + - needs-hpd : if present the CEC support is only available when the HPD + is high. Some boards only let the CEC pin through if the HPD is high, for + example if there is a level converter that uses the HPD to power up + or down. + Example: hdmicec: cec@100B0000 { -- 2.11.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property 2017-06-07 14:46 ` [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property Hans Verkuil @ 2017-06-09 14:07 ` Rob Herring 2017-06-09 14:11 ` Hans Verkuil 0 siblings, 1 reply; 11+ messages in thread From: Rob Herring @ 2017-06-09 14:07 UTC (permalink / raw) To: Hans Verkuil Cc: devicetree, Hans Verkuil, dri-devel, Krzysztof Kozlowski, linux-media On Wed, Jun 07, 2017 at 04:46:14PM +0200, Hans Verkuil wrote: > From: Hans Verkuil <hans.verkuil@cisco.com> > > Needed for boards that wire the CEC pin in such a way that it > is unavailable when the HPD is low. > > Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> > Cc: Krzysztof Kozlowski <krzk@kernel.org> > Cc: Andrzej Hajda <a.hajda@samsung.com> > Cc: devicetree@vger.kernel.org > --- > Documentation/devicetree/bindings/media/s5p-cec.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/s5p-cec.txt b/Documentation/devicetree/bindings/media/s5p-cec.txt > index 4bb08d9d940b..261af4d1a791 100644 > --- a/Documentation/devicetree/bindings/media/s5p-cec.txt > +++ b/Documentation/devicetree/bindings/media/s5p-cec.txt > @@ -17,6 +17,12 @@ Required properties: > - samsung,syscon-phandle - phandle to the PMU system controller > - hdmi-phandle - phandle to the HDMI controller > > +Optional: > + - needs-hpd : if present the CEC support is only available when the HPD > + is high. Some boards only let the CEC pin through if the HPD is high, for > + example if there is a level converter that uses the HPD to power up > + or down. Seems like something common. Can you document in a common location? > + > Example: > > hdmicec: cec@100B0000 { > -- > 2.11.0 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property 2017-06-09 14:07 ` Rob Herring @ 2017-06-09 14:11 ` Hans Verkuil 2017-06-09 15:31 ` Rob Herring 0 siblings, 1 reply; 11+ messages in thread From: Hans Verkuil @ 2017-06-09 14:11 UTC (permalink / raw) To: Rob Herring Cc: linux-media, Hans Verkuil, Krzysztof Kozlowski, dri-devel, devicetree On 09/06/17 16:07, Rob Herring wrote: > On Wed, Jun 07, 2017 at 04:46:14PM +0200, Hans Verkuil wrote: >> From: Hans Verkuil <hans.verkuil@cisco.com> >> >> Needed for boards that wire the CEC pin in such a way that it >> is unavailable when the HPD is low. >> >> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> >> Cc: Krzysztof Kozlowski <krzk@kernel.org> >> Cc: Andrzej Hajda <a.hajda@samsung.com> >> Cc: devicetree@vger.kernel.org >> --- >> Documentation/devicetree/bindings/media/s5p-cec.txt | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/media/s5p-cec.txt b/Documentation/devicetree/bindings/media/s5p-cec.txt >> index 4bb08d9d940b..261af4d1a791 100644 >> --- a/Documentation/devicetree/bindings/media/s5p-cec.txt >> +++ b/Documentation/devicetree/bindings/media/s5p-cec.txt >> @@ -17,6 +17,12 @@ Required properties: >> - samsung,syscon-phandle - phandle to the PMU system controller >> - hdmi-phandle - phandle to the HDMI controller >> >> +Optional: >> + - needs-hpd : if present the CEC support is only available when the HPD >> + is high. Some boards only let the CEC pin through if the HPD is high, for >> + example if there is a level converter that uses the HPD to power up >> + or down. > > Seems like something common. Can you document in a common location? Should we do the same with hdmi-phandle? It is also used by CEC drivers to find the HDMI driver. Currently only used by s5p-cec and stih-cec, but there will be more. I guess this would be a sensible place to document this: Documentation/devicetree/bindings/media/cec.txt Regards, Hans > >> + >> Example: >> >> hdmicec: cec@100B0000 { >> -- >> 2.11.0 >> >> _______________________________________________ >> dri-devel mailing list >> dri-devel@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property 2017-06-09 14:11 ` Hans Verkuil @ 2017-06-09 15:31 ` Rob Herring 2017-06-09 15:55 ` Hans Verkuil 0 siblings, 1 reply; 11+ messages in thread From: Rob Herring @ 2017-06-09 15:31 UTC (permalink / raw) To: Hans Verkuil Cc: devicetree@vger.kernel.org, Hans Verkuil, dri-devel, Krzysztof Kozlowski, linux-media@vger.kernel.org On Fri, Jun 9, 2017 at 9:11 AM, Hans Verkuil <hverkuil@xs4all.nl> wrote: > On 09/06/17 16:07, Rob Herring wrote: >> On Wed, Jun 07, 2017 at 04:46:14PM +0200, Hans Verkuil wrote: >>> From: Hans Verkuil <hans.verkuil@cisco.com> >>> >>> Needed for boards that wire the CEC pin in such a way that it >>> is unavailable when the HPD is low. >>> >>> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> >>> Cc: Krzysztof Kozlowski <krzk@kernel.org> >>> Cc: Andrzej Hajda <a.hajda@samsung.com> >>> Cc: devicetree@vger.kernel.org >>> --- >>> Documentation/devicetree/bindings/media/s5p-cec.txt | 6 ++++++ >>> 1 file changed, 6 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/media/s5p-cec.txt b/Documentation/devicetree/bindings/media/s5p-cec.txt >>> index 4bb08d9d940b..261af4d1a791 100644 >>> --- a/Documentation/devicetree/bindings/media/s5p-cec.txt >>> +++ b/Documentation/devicetree/bindings/media/s5p-cec.txt >>> @@ -17,6 +17,12 @@ Required properties: >>> - samsung,syscon-phandle - phandle to the PMU system controller >>> - hdmi-phandle - phandle to the HDMI controller >>> >>> +Optional: >>> + - needs-hpd : if present the CEC support is only available when the HPD >>> + is high. Some boards only let the CEC pin through if the HPD is high, for >>> + example if there is a level converter that uses the HPD to power up >>> + or down. >> >> Seems like something common. Can you document in a common location? > > Should we do the same with hdmi-phandle? It is also used by CEC drivers to find > the HDMI driver. Yes. > Currently only used by s5p-cec and stih-cec, but there will be more. > > I guess this would be a sensible place to document this: > > Documentation/devicetree/bindings/media/cec.txt Sounds good. You can do this as a follow-up to this patch if you want. For this one: Acked-by: Rob Herring <robh@kernel.org> _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property 2017-06-09 15:31 ` Rob Herring @ 2017-06-09 15:55 ` Hans Verkuil [not found] ` <8e6ed9b6-5b4b-8650-2c92-47a593e73d94-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Hans Verkuil @ 2017-06-09 15:55 UTC (permalink / raw) To: Rob Herring, Hans Verkuil Cc: linux-media@vger.kernel.org, Hans Verkuil, Krzysztof Kozlowski, dri-devel, devicetree@vger.kernel.org On 06/09/2017 05:31 PM, Rob Herring wrote: > On Fri, Jun 9, 2017 at 9:11 AM, Hans Verkuil <hverkuil@xs4all.nl> wrote: >> On 09/06/17 16:07, Rob Herring wrote: >>> On Wed, Jun 07, 2017 at 04:46:14PM +0200, Hans Verkuil wrote: >>>> From: Hans Verkuil <hans.verkuil@cisco.com> >>>> >>>> Needed for boards that wire the CEC pin in such a way that it >>>> is unavailable when the HPD is low. >>>> >>>> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> >>>> Cc: Krzysztof Kozlowski <krzk@kernel.org> >>>> Cc: Andrzej Hajda <a.hajda@samsung.com> >>>> Cc: devicetree@vger.kernel.org >>>> --- >>>> Documentation/devicetree/bindings/media/s5p-cec.txt | 6 ++++++ >>>> 1 file changed, 6 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/media/s5p-cec.txt b/Documentation/devicetree/bindings/media/s5p-cec.txt >>>> index 4bb08d9d940b..261af4d1a791 100644 >>>> --- a/Documentation/devicetree/bindings/media/s5p-cec.txt >>>> +++ b/Documentation/devicetree/bindings/media/s5p-cec.txt >>>> @@ -17,6 +17,12 @@ Required properties: >>>> - samsung,syscon-phandle - phandle to the PMU system controller >>>> - hdmi-phandle - phandle to the HDMI controller >>>> >>>> +Optional: >>>> + - needs-hpd : if present the CEC support is only available when the HPD >>>> + is high. Some boards only let the CEC pin through if the HPD is high, for >>>> + example if there is a level converter that uses the HPD to power up >>>> + or down. >>> >>> Seems like something common. Can you document in a common location? >> >> Should we do the same with hdmi-phandle? It is also used by CEC drivers to find >> the HDMI driver. > > Yes. > >> Currently only used by s5p-cec and stih-cec, but there will be more. >> >> I guess this would be a sensible place to document this: >> >> Documentation/devicetree/bindings/media/cec.txt > > Sounds good. You can do this as a follow-up to this patch if you want. > For this one: > > Acked-by: Rob Herring <robh@kernel.org> > Sorry, I have what might be a stupid question: should I update the s5p-cec.txt to refer to the cec.txt bindings file for the hdmi-phandle and needs-hpd instead of describing it here? It seems pointless to do that for the hdmi-phandle, but it might make more sense for the needs-hpd property. E.g.: - needs-hpd: CEC support is only present if HPD is high. See cec.txt for more details. Proposed text for cec.txt: ------------------------------------------------- Common bindings for HDMI CEC adapters - hdmi-phandle: phandle to the HDMI controller. - needs-hpd: if present the CEC support is only available when the HPD is high. Some boards only let the CEC pin through if the HPD is high, for example if there is a level converter that uses the HPD to power up or down. ------------------------------------------------- Regards, Hans ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <8e6ed9b6-5b4b-8650-2c92-47a593e73d94-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property [not found] ` <8e6ed9b6-5b4b-8650-2c92-47a593e73d94-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> @ 2017-06-09 16:46 ` Rob Herring 0 siblings, 0 replies; 11+ messages in thread From: Rob Herring @ 2017-06-09 16:46 UTC (permalink / raw) To: Hans Verkuil Cc: Hans Verkuil, linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Hans Verkuil, Krzysztof Kozlowski, dri-devel, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Fri, Jun 9, 2017 at 10:55 AM, Hans Verkuil <hansverk-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> wrote: > On 06/09/2017 05:31 PM, Rob Herring wrote: >> On Fri, Jun 9, 2017 at 9:11 AM, Hans Verkuil <hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org> wrote: >>> On 09/06/17 16:07, Rob Herring wrote: >>>> On Wed, Jun 07, 2017 at 04:46:14PM +0200, Hans Verkuil wrote: >>>>> From: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> >>>>> >>>>> Needed for boards that wire the CEC pin in such a way that it >>>>> is unavailable when the HPD is low. >>>>> >>>>> Signed-off-by: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> >>>>> Cc: Krzysztof Kozlowski <krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> >>>>> Cc: Andrzej Hajda <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> >>>>> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org >>>>> --- >>>>> Documentation/devicetree/bindings/media/s5p-cec.txt | 6 ++++++ >>>>> 1 file changed, 6 insertions(+) >>>>> >>>>> diff --git a/Documentation/devicetree/bindings/media/s5p-cec.txt b/Documentation/devicetree/bindings/media/s5p-cec.txt >>>>> index 4bb08d9d940b..261af4d1a791 100644 >>>>> --- a/Documentation/devicetree/bindings/media/s5p-cec.txt >>>>> +++ b/Documentation/devicetree/bindings/media/s5p-cec.txt >>>>> @@ -17,6 +17,12 @@ Required properties: >>>>> - samsung,syscon-phandle - phandle to the PMU system controller >>>>> - hdmi-phandle - phandle to the HDMI controller >>>>> >>>>> +Optional: >>>>> + - needs-hpd : if present the CEC support is only available when the HPD >>>>> + is high. Some boards only let the CEC pin through if the HPD is high, for >>>>> + example if there is a level converter that uses the HPD to power up >>>>> + or down. >>>> >>>> Seems like something common. Can you document in a common location? >>> >>> Should we do the same with hdmi-phandle? It is also used by CEC drivers to find >>> the HDMI driver. >> >> Yes. >> >>> Currently only used by s5p-cec and stih-cec, but there will be more. >>> >>> I guess this would be a sensible place to document this: >>> >>> Documentation/devicetree/bindings/media/cec.txt >> >> Sounds good. You can do this as a follow-up to this patch if you want. >> For this one: >> >> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> >> > > Sorry, I have what might be a stupid question: should I update the s5p-cec.txt > to refer to the cec.txt bindings file for the hdmi-phandle and needs-hpd instead > of describing it here? It seems pointless to do that for the hdmi-phandle, but > it might make more sense for the needs-hpd property. Yes. Just make both say "see ./cec.txt". You're right it doesn't gain much for hdmi-phandle, but at least indicates it is a standard property. Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 8/9] s5p_cec: set the CEC_CAP_NEEDS_HPD flag if needed [not found] <20170607144616.15247-1-hverkuil@xs4all.nl> 2017-06-07 14:46 ` [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property Hans Verkuil @ 2017-06-07 14:46 ` Hans Verkuil [not found] ` <CGME20170612124120epcas1p3ef17f5a1f6f71c00757d4f3ee283ffc8@epcas1p3.samsung.com> 2017-06-07 14:46 ` [PATCH 9/9] ARM: dts: exynos: add needs-hpd to &hdmicec for Odroid-U3 Hans Verkuil 2 siblings, 1 reply; 11+ messages in thread From: Hans Verkuil @ 2017-06-07 14:46 UTC (permalink / raw) To: linux-media; +Cc: Hans Verkuil, Krzysztof Kozlowski, dri-devel, devicetree From: Hans Verkuil <hans.verkuil@cisco.com> Use the needs-hpd DT property to determine if the CEC_CAP_NEEDS_HPD should be set. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Andrzej Hajda <a.hajda@samsung.com> Cc: devicetree@vger.kernel.org --- drivers/media/platform/s5p-cec/s5p_cec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-cec/s5p_cec.c b/drivers/media/platform/s5p-cec/s5p_cec.c index 65a223e578ed..8e06071a7977 100644 --- a/drivers/media/platform/s5p-cec/s5p_cec.c +++ b/drivers/media/platform/s5p-cec/s5p_cec.c @@ -173,6 +173,7 @@ static int s5p_cec_probe(struct platform_device *pdev) struct platform_device *hdmi_dev; struct resource *res; struct s5p_cec_dev *cec; + bool needs_hpd = of_property_read_bool(pdev->dev.of_node, "needs-hpd"); int ret; np = of_parse_phandle(pdev->dev.of_node, "hdmi-phandle", 0); @@ -221,7 +222,8 @@ static int s5p_cec_probe(struct platform_device *pdev) cec->adap = cec_allocate_adapter(&s5p_cec_adap_ops, cec, CEC_NAME, CEC_CAP_LOG_ADDRS | CEC_CAP_TRANSMIT | - CEC_CAP_PASSTHROUGH | CEC_CAP_RC, 1); + CEC_CAP_PASSTHROUGH | CEC_CAP_RC | + (needs_hpd ? CEC_CAP_NEEDS_HPD : 0), 1); ret = PTR_ERR_OR_ZERO(cec->adap); if (ret) return ret; -- 2.11.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 11+ messages in thread
[parent not found: <CGME20170612124120epcas1p3ef17f5a1f6f71c00757d4f3ee283ffc8@epcas1p3.samsung.com>]
[parent not found: <20170607144616.15247-9-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>]
* Re: [PATCH 8/9] s5p_cec: set the CEC_CAP_NEEDS_HPD flag if needed [not found] ` <20170607144616.15247-9-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org> @ 2017-06-12 12:41 ` Sylwester Nawrocki 0 siblings, 0 replies; 11+ messages in thread From: Sylwester Nawrocki @ 2017-06-12 12:41 UTC (permalink / raw) To: Hans Verkuil, linux-media-u79uwXL29TY76Z2rM5mHXA Cc: Hans Verkuil, Krzysztof Kozlowski, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, devicetree-u79uwXL29TY76Z2rM5mHXA On 06/07/2017 04:46 PM, Hans Verkuil wrote: > From: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> > > Use the needs-hpd DT property to determine if the CEC_CAP_NEEDS_HPD > should be set. > > Signed-off-by: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> Acked-by: Sylwester Nawrocki <s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> > --- > drivers/media/platform/s5p-cec/s5p_cec.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/media/platform/s5p-cec/s5p_cec.c b/drivers/media/platform/s5p-cec/s5p_cec.c > index 65a223e578ed..8e06071a7977 100644 > --- a/drivers/media/platform/s5p-cec/s5p_cec.c > +++ b/drivers/media/platform/s5p-cec/s5p_cec.c > @@ -173,6 +173,7 @@ static int s5p_cec_probe(struct platform_device *pdev) > struct platform_device *hdmi_dev; > struct resource *res; > struct s5p_cec_dev *cec; > + bool needs_hpd = of_property_read_bool(pdev->dev.of_node, "needs-hpd"); dev->of_node could also be used instead of pdev->dev.of_node. > int ret; > > np = of_parse_phandle(pdev->dev.of_node, "hdmi-phandle", 0); > @@ -221,7 +222,8 @@ static int s5p_cec_probe(struct platform_device *pdev) > cec->adap = cec_allocate_adapter(&s5p_cec_adap_ops, cec, > CEC_NAME, > CEC_CAP_LOG_ADDRS | CEC_CAP_TRANSMIT | > - CEC_CAP_PASSTHROUGH | CEC_CAP_RC, 1); > + CEC_CAP_PASSTHROUGH | CEC_CAP_RC | > + (needs_hpd ? CEC_CAP_NEEDS_HPD : 0), 1); > ret = PTR_ERR_OR_ZERO(cec->adap); > if (ret) > return ret; -- Regards, Sylwester -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 9/9] ARM: dts: exynos: add needs-hpd to &hdmicec for Odroid-U3 [not found] <20170607144616.15247-1-hverkuil@xs4all.nl> 2017-06-07 14:46 ` [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property Hans Verkuil 2017-06-07 14:46 ` [PATCH 8/9] s5p_cec: set the CEC_CAP_NEEDS_HPD flag if needed Hans Verkuil @ 2017-06-07 14:46 ` Hans Verkuil 2017-06-07 18:36 ` Krzysztof Kozlowski 2 siblings, 1 reply; 11+ messages in thread From: Hans Verkuil @ 2017-06-07 14:46 UTC (permalink / raw) To: linux-media; +Cc: Hans Verkuil, Krzysztof Kozlowski, dri-devel, devicetree From: Hans Verkuil <hans.verkuil@cisco.com> The Odroid-U3 board has an IP4791CZ12 level shifter that is disabled if the HPD is low, which means that the CEC pin is disabled as well. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Andrzej Hajda <a.hajda@samsung.com> Cc: devicetree@vger.kernel.org --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index 7504a5aa538e..7209cb48fc2a 100644 --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts @@ -131,3 +131,7 @@ cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; status = "okay"; }; + +&hdmicec { + needs-hpd; +}; -- 2.11.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 9/9] ARM: dts: exynos: add needs-hpd to &hdmicec for Odroid-U3 2017-06-07 14:46 ` [PATCH 9/9] ARM: dts: exynos: add needs-hpd to &hdmicec for Odroid-U3 Hans Verkuil @ 2017-06-07 18:36 ` Krzysztof Kozlowski 2017-06-07 18:59 ` Hans Verkuil 0 siblings, 1 reply; 11+ messages in thread From: Krzysztof Kozlowski @ 2017-06-07 18:36 UTC (permalink / raw) To: Hans Verkuil Cc: linux-media, dri-devel, Hans Verkuil, Andrzej Hajda, devicetree On Wed, Jun 07, 2017 at 04:46:16PM +0200, Hans Verkuil wrote: > From: Hans Verkuil <hans.verkuil@cisco.com> > > The Odroid-U3 board has an IP4791CZ12 level shifter that is > disabled if the HPD is low, which means that the CEC pin is > disabled as well. > > Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> > Cc: Krzysztof Kozlowski <krzk@kernel.org> > Cc: Andrzej Hajda <a.hajda@samsung.com> > Cc: devicetree@vger.kernel.org > --- > arch/arm/boot/dts/exynos4412-odroidu3.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts > index 7504a5aa538e..7209cb48fc2a 100644 > --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts > +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts > @@ -131,3 +131,7 @@ > cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; > status = "okay"; > }; > + > +&hdmicec { > + needs-hpd; > +}; All good, except we try to keep them sorted alphabetically (helps avoiding conflicts and makes things easier to find)... which for this particular file will be difficult as it is semi-sorted. :) Anyway, how about putting this new node after &buck? Best regards, Krzysztof ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 9/9] ARM: dts: exynos: add needs-hpd to &hdmicec for Odroid-U3 2017-06-07 18:36 ` Krzysztof Kozlowski @ 2017-06-07 18:59 ` Hans Verkuil 0 siblings, 0 replies; 11+ messages in thread From: Hans Verkuil @ 2017-06-07 18:59 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: linux-media-u79uwXL29TY76Z2rM5mHXA, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Hans Verkuil, Andrzej Hajda, devicetree-u79uwXL29TY76Z2rM5mHXA On 07/06/17 20:36, Krzysztof Kozlowski wrote: > On Wed, Jun 07, 2017 at 04:46:16PM +0200, Hans Verkuil wrote: >> From: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> >> >> The Odroid-U3 board has an IP4791CZ12 level shifter that is >> disabled if the HPD is low, which means that the CEC pin is >> disabled as well. >> >> Signed-off-by: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> >> Cc: Krzysztof Kozlowski <krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> >> Cc: Andrzej Hajda <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> >> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org >> --- >> arch/arm/boot/dts/exynos4412-odroidu3.dts | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts >> index 7504a5aa538e..7209cb48fc2a 100644 >> --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts >> +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts >> @@ -131,3 +131,7 @@ >> cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; >> status = "okay"; >> }; >> + >> +&hdmicec { >> + needs-hpd; >> +}; > > All good, except we try to keep them sorted alphabetically (helps > avoiding conflicts and makes things easier to find)... which for this > particular file will be difficult as it is semi-sorted. :) > Anyway, how about putting this new node after &buck? Done! Hans -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-06-12 12:41 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20170607144616.15247-1-hverkuil@xs4all.nl>
2017-06-07 14:46 ` [PATCH 7/9] dt-bindings: media/s5p-cec.txt: document needs-hpd property Hans Verkuil
2017-06-09 14:07 ` Rob Herring
2017-06-09 14:11 ` Hans Verkuil
2017-06-09 15:31 ` Rob Herring
2017-06-09 15:55 ` Hans Verkuil
[not found] ` <8e6ed9b6-5b4b-8650-2c92-47a593e73d94-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2017-06-09 16:46 ` Rob Herring
2017-06-07 14:46 ` [PATCH 8/9] s5p_cec: set the CEC_CAP_NEEDS_HPD flag if needed Hans Verkuil
[not found] ` <CGME20170612124120epcas1p3ef17f5a1f6f71c00757d4f3ee283ffc8@epcas1p3.samsung.com>
[not found] ` <20170607144616.15247-9-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-06-12 12:41 ` Sylwester Nawrocki
2017-06-07 14:46 ` [PATCH 9/9] ARM: dts: exynos: add needs-hpd to &hdmicec for Odroid-U3 Hans Verkuil
2017-06-07 18:36 ` Krzysztof Kozlowski
2017-06-07 18:59 ` Hans Verkuil
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).