From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Stuebner Subject: [PATCH 0/9] drm/rockchip: hdmi support for rk3328 Date: Mon, 5 Feb 2018 15:34:26 +0100 Message-ID: <20180205143435.4723-1-heiko@sntech.de> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: hjc-TNX95d0MmH7DzftRWevZcw@public.gmane.org, architt-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, kishon-l0cyMroinI0@public.gmane.org Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, airlied-cv59FeDIM0c@public.gmane.org, Laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org, zhengyang-TNX95d0MmH7DzftRWevZcw@public.gmane.org, Jose.Abreu-HKixBCOQz3hWk0Htik3J/w@public.gmane.org, algea.cao-TNX95d0MmH7DzftRWevZcw@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Heiko Stuebner List-Id: devicetree@vger.kernel.org The rk3228/rk3229 and rk3328 socs started using a new type of hdmi-phy from Innosilicon that resides completely separate from the dw-hdmi block and gets accessed via mmio. Additionally the rk3328 dw-hdmi does not report the vendor-phy type but a different one instead, so add the possibility to override the phy type when the glue driver knows better than the ip block itself. I've put both the phy driver and dw-hdmi changes into one series just to showcase how everything comes together, but would of course still expect things to go through the separate phy and drm trees once deemed ready. Algea Cao (1): drm/bridge: dw-hdmi: export hotplug functions Heiko Stuebner (6): drm/bridge: dw-hdmi: allow overriding of phy-type reading drm/rockchip: dw_hdmi: Allow outputs that don't need output switching dt-bindings: allow optional phys in Rockchip dw_hdmi binding drm/rockchip: dw_hdmi: allow including external phys drm/rockchip: dw_hdmi: store rockchip_hdmi reference in phy_data object drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328 Zheng Yang (2): dt-bindings: add binding for Rockchip hdmi phy using an Innosilicon IP phy: add Rockchip Innosilicon hdmi phy .../bindings/display/rockchip/dw_hdmi-rockchip.txt | 3 + .../bindings/phy/phy-rockchip-inno-hdmi.txt | 42 + drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 15 +- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 130 ++- drivers/phy/rockchip/Kconfig | 7 + drivers/phy/rockchip/Makefile | 1 + drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 1221 ++++++++++++++++++++ include/drm/bridge/dw_hdmi.h | 7 +- 8 files changed, 1417 insertions(+), 9 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/phy-rockchip-inno-hdmi.txt create mode 100644 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c -- 2.15.1 -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: heiko@sntech.de (Heiko Stuebner) Date: Mon, 5 Feb 2018 15:34:26 +0100 Subject: [PATCH 0/9] drm/rockchip: hdmi support for rk3328 Message-ID: <20180205143435.4723-1-heiko@sntech.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The rk3228/rk3229 and rk3328 socs started using a new type of hdmi-phy from Innosilicon that resides completely separate from the dw-hdmi block and gets accessed via mmio. Additionally the rk3328 dw-hdmi does not report the vendor-phy type but a different one instead, so add the possibility to override the phy type when the glue driver knows better than the ip block itself. I've put both the phy driver and dw-hdmi changes into one series just to showcase how everything comes together, but would of course still expect things to go through the separate phy and drm trees once deemed ready. Algea Cao (1): drm/bridge: dw-hdmi: export hotplug functions Heiko Stuebner (6): drm/bridge: dw-hdmi: allow overriding of phy-type reading drm/rockchip: dw_hdmi: Allow outputs that don't need output switching dt-bindings: allow optional phys in Rockchip dw_hdmi binding drm/rockchip: dw_hdmi: allow including external phys drm/rockchip: dw_hdmi: store rockchip_hdmi reference in phy_data object drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328 Zheng Yang (2): dt-bindings: add binding for Rockchip hdmi phy using an Innosilicon IP phy: add Rockchip Innosilicon hdmi phy .../bindings/display/rockchip/dw_hdmi-rockchip.txt | 3 + .../bindings/phy/phy-rockchip-inno-hdmi.txt | 42 + drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 15 +- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 130 ++- drivers/phy/rockchip/Kconfig | 7 + drivers/phy/rockchip/Makefile | 1 + drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 1221 ++++++++++++++++++++ include/drm/bridge/dw_hdmi.h | 7 +- 8 files changed, 1417 insertions(+), 9 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/phy-rockchip-inno-hdmi.txt create mode 100644 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c -- 2.15.1