drm/mediatek: MT8173 HDMI support
Subsystems (3)
Philipp Zabel
maintainerHi Dave,
please consider merging this tag, which contains the v16 MT8173 HDMI patches I sent on 2016-05-26, rebased onto v4.7-rc2. There have been no further comments.
regards
Philipp
The following changes since commit af8c34ce6ae32addda3788d54a7e340cad22516b:
Linux 4.7-rc2 (2016-06-05 14:31:26 -0700)
are available in the git repository at:
git://git.pengutronix.de/git/pza/linux.git tags/mediatek-drm-2016-06-13
for you to fetch changes up to 21ff16b77e779f9f9dd56522613f3835b0a3a386:
dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation (2016-06-13 11:08:27 +0200)
----------------------------------------------------------------
MT8173 HDMI support
- device tree binding documentation for MT8173 HDMI encoder, CEC, DDC, and PHY
- drivers for MT8173 HDMI encoder, CEC (HPD only for now), DDC, and PHY
- enable HDMI output via a custom SMCCC call
- add ddc-i2c-bus property to HDMI connector device tree binding
----------------------------------------------------------------
Jie Qiu (2):
drm/mediatek: Add HDMI support drm/mediatek: enable hdmi output control bit
Philipp Zabel (2):
dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding
dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation
.../bindings/display/connector/hdmi-connector.txt | 1 + .../bindings/display/mediatek/mediatek,hdmi.txt | 148 ++ drivers/gpu/drm/mediatek/Kconfig | 8 + drivers/gpu/drm/mediatek/Makefile | 7 + drivers/gpu/drm/mediatek/mtk_cec.c | 265 +++ drivers/gpu/drm/mediatek/mtk_cec.h | 26 + drivers/gpu/drm/mediatek/mtk_hdmi.c | 1828 ++++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_hdmi.h | 23 + drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c | 358 ++++ drivers/gpu/drm/mediatek/mtk_hdmi_regs.h | 238 +++ drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c | 515 ++++++ 11 files changed, 3417 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.txt create mode 100644 drivers/gpu/drm/mediatek/mtk_cec.c create mode 100644 drivers/gpu/drm/mediatek/mtk_cec.h create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi.c create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi.h create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c create mode 100644 drivers/gpu/drm/mediatek/mtk_hdmi_regs.h create mode 100644 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Dave Airlie
maintainerQuoted 5 lines · Philipp Zabel
Hi Dave,
please consider merging this tag, which contains the v16 MT8173 HDMI patches I sent on 2016-05-26, rebased onto v4.7-rc2. There have been no further comments.
arm32 build
DTC drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c:
In function ‘mtk_hdmi_ddc_probe’:/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c:322:111:
warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘resource_size_t {aka unsigned int}’ [-Wformat=] /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c:322:111:
warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘resource_size_t {aka unsigned int}’ [-Wformat=]
Please fix that and resend.
Dave.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Philipp Zabel
maintainerAm Donnerstag, den 16.06.2016, 06:19 +1000 schrieb Dave Airlie:
Quoted 20 lines · Philipp Zabel
Quoted 5 lines
Hi Dave,
please consider merging this tag, which contains the v16 MT8173 HDMI patches I sent on 2016-05-26, rebased onto v4.7-rc2. There have been no further comments.
arm32 build
DTCdrivers/gpu/drm/tilcdc/tilcdc_slave_compat.dtb/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c:
In function ‘mtk_hdmi_ddc_probe’:/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c:322:111:
warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘resource_size_t {aka unsigned int}’ [-Wformat=]/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c:322:111:
warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘resource_size_t {aka unsigned int}’ [-Wformat=]
Quoted 2 lines
Please fix that and resend.
Dave.
I'll fix it up as follows and resend:
----------8<----------
drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c +2 -2
@@ -319,8 +319,8 @@ static int mtk_hdmi_ddc_probe(struct platform_device *pdev)dev_dbg (dev,"ddc->adap: %p\n" , &ddc->adap);dev_dbg (dev,"ddc->clk: %p\n" , ddc->clk); -dev_dbg (dev,"physical adr: 0x%llx, end: 0x%llx\n" , mem->start, - mem->end); +dev_dbg (dev,"physical adr: %pa, end: %pa\n" , &mem->start, + &mem->end);return 0 ;
---------->8----------
regards
Philipp
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel