From: Hans Verkuil <hverkuil@xs4all.nl> To: linux-media@vger.kernel.org Cc: Daniel Vetter <daniel.vetter@intel.com>, Russell King <linux@armlinux.org.uk>, dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org>, Inki Dae <inki.dae@samsung.com>, Marek Szyprowski <m.szyprowski@samsung.com>, Javier Martinez Canillas <javier@osg.samsung.com>, Benjamin Gaignard <benjamin.gaignard@linaro.org> Subject: [PATCHv4 0/9] video/exynos/sti/cec: add HPD state notifier & use in drivers Date: Mon, 6 Feb 2017 11:29:42 +0100 [thread overview] Message-ID: <20170206102951.12623-1-hverkuil@xs4all.nl> (raw) From: Hans Verkuil <hans.verkuil@cisco.com> This patch series adds the hotplug detect notifier code, based on Russell's code: https://patchwork.kernel.org/patch/9277043/ It adds support for it to the exynos_hdmi drm driver, adds support for it to the CEC framework and finally adds support to the s5p-cec driver, which now can be moved out of staging. Also included is similar code for the STI platform, contributed by Benjamin Gaignard. Tested the exynos code with my Odroid U3 exynos4 devboard. Comments are welcome. I'd like to get this in for the 4.12 kernel as this is a missing piece needed to integrate CEC drivers. Daniel, who should merge this? The HPD notifier code is in drivers/video (correctly, I think), but it is initially only used by CEC drivers which are in drivers/media (since CEC is part of the media subsystem). It would be easiest to merge it all through the media subsystem, but in that case I need Acks from you. The alternative is to merge the drivers/video and drivers/gpu patches via you and the others via media. It's a bit painful though due to the dependencies. Regards, Hans Changes since v3: - Added the STI patches - Split the exynos4 binding patches in one for documentation and one for the dts change itself, also use the correct subject and CC to the correct mailinglists (I hope :-) ) Changes since v2: - Split off the dts changes of the s5p-cec patch into a separate patch - Renamed HPD_NOTIFIERS to HPD_NOTIFIER to be consistent with the name of the source. Changes since v1: Renamed HDMI notifier to HPD (hotplug detect) notifier since this code is not HDMI specific, but is interesting for any video source that has to deal with hotplug detect and EDID/ELD (HDMI, DVI, VGA, DP, ....). Only the use with CEC adapters is HDMI specific, but the HPD notifier is more generic. Benjamin Gaignard (3): sti: hdmi: add HPD notifier support stih-cec: add HPD notifier support arm: sti: update sti-cec for HPD notifier support Hans Verkuil (6): video: add hotplug detect notifier support exynos_hdmi: add HPD notifier support cec: integrate HPD notifier support ARM: dts: exynos: add HDMI controller phandle to exynos4.dtsi s5p-cec.txt: document the HDMI controller phandle s5p-cec: add hpd-notifier support, move out of staging .../devicetree/bindings/media/s5p-cec.txt | 2 + .../devicetree/bindings/media/stih-cec.txt | 2 + arch/arm/boot/dts/exynos4.dtsi | 1 + arch/arm/boot/dts/stih407-family.dtsi | 12 -- arch/arm/boot/dts/stih410.dtsi | 13 ++ drivers/gpu/drm/exynos/Kconfig | 1 + drivers/gpu/drm/exynos/exynos_hdmi.c | 23 +++- drivers/gpu/drm/sti/Kconfig | 1 + drivers/gpu/drm/sti/sti_hdmi.c | 14 +++ drivers/gpu/drm/sti/sti_hdmi.h | 3 + drivers/media/cec/cec-core.c | 50 ++++++++ drivers/media/platform/Kconfig | 28 +++++ drivers/media/platform/Makefile | 2 + .../media => media/platform}/s5p-cec/Makefile | 0 .../platform}/s5p-cec/exynos_hdmi_cec.h | 0 .../platform}/s5p-cec/exynos_hdmi_cecctrl.c | 0 .../media => media/platform}/s5p-cec/regs-cec.h | 0 .../media => media/platform}/s5p-cec/s5p_cec.c | 35 +++++- .../media => media/platform}/s5p-cec/s5p_cec.h | 3 + .../st-cec => media/platform/sti/cec}/Makefile | 0 .../st-cec => media/platform/sti/cec}/stih-cec.c | 31 ++++- drivers/staging/media/Kconfig | 4 - drivers/staging/media/Makefile | 2 - drivers/staging/media/s5p-cec/Kconfig | 9 -- drivers/staging/media/s5p-cec/TODO | 7 -- drivers/staging/media/st-cec/Kconfig | 8 -- drivers/staging/media/st-cec/TODO | 7 -- drivers/video/Kconfig | 3 + drivers/video/Makefile | 1 + drivers/video/hpd-notifier.c | 134 +++++++++++++++++++++ include/linux/hpd-notifier.h | 109 +++++++++++++++++ include/media/cec.h | 15 +++ 32 files changed, 460 insertions(+), 60 deletions(-) rename drivers/{staging/media => media/platform}/s5p-cec/Makefile (100%) rename drivers/{staging/media => media/platform}/s5p-cec/exynos_hdmi_cec.h (100%) rename drivers/{staging/media => media/platform}/s5p-cec/exynos_hdmi_cecctrl.c (100%) rename drivers/{staging/media => media/platform}/s5p-cec/regs-cec.h (100%) rename drivers/{staging/media => media/platform}/s5p-cec/s5p_cec.c (89%) rename drivers/{staging/media => media/platform}/s5p-cec/s5p_cec.h (97%) 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/s5p-cec/Kconfig delete mode 100644 drivers/staging/media/s5p-cec/TODO delete mode 100644 drivers/staging/media/st-cec/Kconfig delete mode 100644 drivers/staging/media/st-cec/TODO create mode 100644 drivers/video/hpd-notifier.c create mode 100644 include/linux/hpd-notifier.h -- 2.11.0
WARNING: multiple messages have this Message-ID (diff)
From: Hans Verkuil <hverkuil@xs4all.nl> To: linux-media@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, Russell King <linux@armlinux.org.uk>, Krzysztof Kozlowski <krzk@kernel.org>, Javier Martinez Canillas <javier@osg.samsung.com>, dri-devel@lists.freedesktop.org, Daniel Vetter <daniel.vetter@intel.com>, Marek Szyprowski <m.szyprowski@samsung.com> Subject: [PATCHv4 0/9] video/exynos/sti/cec: add HPD state notifier & use in drivers Date: Mon, 6 Feb 2017 11:29:42 +0100 [thread overview] Message-ID: <20170206102951.12623-1-hverkuil@xs4all.nl> (raw) From: Hans Verkuil <hans.verkuil@cisco.com> This patch series adds the hotplug detect notifier code, based on Russell's code: https://patchwork.kernel.org/patch/9277043/ It adds support for it to the exynos_hdmi drm driver, adds support for it to the CEC framework and finally adds support to the s5p-cec driver, which now can be moved out of staging. Also included is similar code for the STI platform, contributed by Benjamin Gaignard. Tested the exynos code with my Odroid U3 exynos4 devboard. Comments are welcome. I'd like to get this in for the 4.12 kernel as this is a missing piece needed to integrate CEC drivers. Daniel, who should merge this? The HPD notifier code is in drivers/video (correctly, I think), but it is initially only used by CEC drivers which are in drivers/media (since CEC is part of the media subsystem). It would be easiest to merge it all through the media subsystem, but in that case I need Acks from you. The alternative is to merge the drivers/video and drivers/gpu patches via you and the others via media. It's a bit painful though due to the dependencies. Regards, Hans Changes since v3: - Added the STI patches - Split the exynos4 binding patches in one for documentation and one for the dts change itself, also use the correct subject and CC to the correct mailinglists (I hope :-) ) Changes since v2: - Split off the dts changes of the s5p-cec patch into a separate patch - Renamed HPD_NOTIFIERS to HPD_NOTIFIER to be consistent with the name of the source. Changes since v1: Renamed HDMI notifier to HPD (hotplug detect) notifier since this code is not HDMI specific, but is interesting for any video source that has to deal with hotplug detect and EDID/ELD (HDMI, DVI, VGA, DP, ....). Only the use with CEC adapters is HDMI specific, but the HPD notifier is more generic. Benjamin Gaignard (3): sti: hdmi: add HPD notifier support stih-cec: add HPD notifier support arm: sti: update sti-cec for HPD notifier support Hans Verkuil (6): video: add hotplug detect notifier support exynos_hdmi: add HPD notifier support cec: integrate HPD notifier support ARM: dts: exynos: add HDMI controller phandle to exynos4.dtsi s5p-cec.txt: document the HDMI controller phandle s5p-cec: add hpd-notifier support, move out of staging .../devicetree/bindings/media/s5p-cec.txt | 2 + .../devicetree/bindings/media/stih-cec.txt | 2 + arch/arm/boot/dts/exynos4.dtsi | 1 + arch/arm/boot/dts/stih407-family.dtsi | 12 -- arch/arm/boot/dts/stih410.dtsi | 13 ++ drivers/gpu/drm/exynos/Kconfig | 1 + drivers/gpu/drm/exynos/exynos_hdmi.c | 23 +++- drivers/gpu/drm/sti/Kconfig | 1 + drivers/gpu/drm/sti/sti_hdmi.c | 14 +++ drivers/gpu/drm/sti/sti_hdmi.h | 3 + drivers/media/cec/cec-core.c | 50 ++++++++ drivers/media/platform/Kconfig | 28 +++++ drivers/media/platform/Makefile | 2 + .../media => media/platform}/s5p-cec/Makefile | 0 .../platform}/s5p-cec/exynos_hdmi_cec.h | 0 .../platform}/s5p-cec/exynos_hdmi_cecctrl.c | 0 .../media => media/platform}/s5p-cec/regs-cec.h | 0 .../media => media/platform}/s5p-cec/s5p_cec.c | 35 +++++- .../media => media/platform}/s5p-cec/s5p_cec.h | 3 + .../st-cec => media/platform/sti/cec}/Makefile | 0 .../st-cec => media/platform/sti/cec}/stih-cec.c | 31 ++++- drivers/staging/media/Kconfig | 4 - drivers/staging/media/Makefile | 2 - drivers/staging/media/s5p-cec/Kconfig | 9 -- drivers/staging/media/s5p-cec/TODO | 7 -- drivers/staging/media/st-cec/Kconfig | 8 -- drivers/staging/media/st-cec/TODO | 7 -- drivers/video/Kconfig | 3 + drivers/video/Makefile | 1 + drivers/video/hpd-notifier.c | 134 +++++++++++++++++++++ include/linux/hpd-notifier.h | 109 +++++++++++++++++ include/media/cec.h | 15 +++ 32 files changed, 460 insertions(+), 60 deletions(-) rename drivers/{staging/media => media/platform}/s5p-cec/Makefile (100%) rename drivers/{staging/media => media/platform}/s5p-cec/exynos_hdmi_cec.h (100%) rename drivers/{staging/media => media/platform}/s5p-cec/exynos_hdmi_cecctrl.c (100%) rename drivers/{staging/media => media/platform}/s5p-cec/regs-cec.h (100%) rename drivers/{staging/media => media/platform}/s5p-cec/s5p_cec.c (89%) rename drivers/{staging/media => media/platform}/s5p-cec/s5p_cec.h (97%) 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/s5p-cec/Kconfig delete mode 100644 drivers/staging/media/s5p-cec/TODO delete mode 100644 drivers/staging/media/st-cec/Kconfig delete mode 100644 drivers/staging/media/st-cec/TODO create mode 100644 drivers/video/hpd-notifier.c create mode 100644 include/linux/hpd-notifier.h -- 2.11.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2017-02-06 10:30 UTC|newest] Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-02-06 10:29 Hans Verkuil [this message] 2017-02-06 10:29 ` [PATCHv4 0/9] video/exynos/sti/cec: add HPD state notifier & use in drivers Hans Verkuil 2017-02-06 10:29 ` [PATCHv4 1/9] video: add hotplug detect notifier support Hans Verkuil 2017-02-06 13:08 ` Andrzej Hajda 2017-02-06 13:08 ` Andrzej Hajda 2017-02-27 16:08 ` Daniel Vetter 2017-02-27 16:08 ` Daniel Vetter 2017-02-27 17:04 ` Russell King - ARM Linux 2017-02-27 17:21 ` Hans Verkuil 2017-02-27 17:21 ` Hans Verkuil 2017-02-27 17:46 ` Russell King - ARM Linux 2017-02-28 8:51 ` Daniel Vetter 2017-02-28 8:51 ` Daniel Vetter 2017-02-28 9:23 ` Hans Verkuil 2017-02-28 9:23 ` Hans Verkuil 2017-02-28 9:45 ` Daniel Vetter 2017-02-28 9:45 ` Daniel Vetter 2017-02-06 10:29 ` [PATCHv4 2/9] exynos_hdmi: add HPD " Hans Verkuil 2017-02-06 10:29 ` Hans Verkuil 2017-02-06 10:29 ` [PATCHv4 3/9] cec: integrate " Hans Verkuil 2017-02-06 10:29 ` Hans Verkuil 2017-02-06 10:29 ` [PATCHv4 4/9] ARM: dts: exynos: add HDMI controller phandle to exynos4.dtsi Hans Verkuil 2017-02-06 10:29 ` Hans Verkuil 2017-02-06 10:29 ` [PATCHv4 6/9] s5p-cec: add hpd-notifier support, move out of staging Hans Verkuil 2017-02-06 10:29 ` [PATCHv4 7/9] sti: hdmi: add HPD notifier support Hans Verkuil [not found] ` <20170206102951.12623-1-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org> 2017-02-06 10:29 ` [PATCHv4 5/9] s5p-cec.txt: document the HDMI controller phandle Hans Verkuil 2017-02-06 10:29 ` Hans Verkuil 2017-02-06 10:29 ` [PATCHv4 8/9] stih-cec: add HPD notifier support Hans Verkuil 2017-02-06 10:29 ` Hans Verkuil 2017-02-08 23:17 ` Rob Herring 2017-02-08 23:17 ` Rob Herring 2017-02-06 10:29 ` [PATCHv4 9/9] arm: sti: update sti-cec for " Hans Verkuil 2017-02-06 10:29 ` Hans Verkuil
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20170206102951.12623-1-hverkuil@xs4all.nl \ --to=hverkuil@xs4all.nl \ --cc=benjamin.gaignard@linaro.org \ --cc=daniel.vetter@intel.com \ --cc=dri-devel@lists.freedesktop.org \ --cc=inki.dae@samsung.com \ --cc=javier@osg.samsung.com \ --cc=krzk@kernel.org \ --cc=linux-media@vger.kernel.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=linux@armlinux.org.uk \ --cc=m.szyprowski@samsung.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.