RFC Add DRM Exynos HDMI on SoCs from Exynos4 family
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest12 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | clk: propagate parent change up one leveldrivers/ include/ | +7 | 0 replies | |
| 2/12 | clk: exynos4: export sclk_hdmiphy clockDocumentation/ drivers/ | +3 | 0 replies | |
| 3/12 | clk: exynos4: enable clk_set_parent() propagation for sclk_hdmi and sclk_mixer clocksdrivers/ | +4 | 0 replies | |
| 4/12 | phy: Add simple-phy driverdrivers/ drivers/ drivers/ | +134 | 3 replies | |
| 5/12 | phy: use of_phy_simple_xlate for NULL xlate functiondrivers/ | +1 | 1 reply | |
| 6/12 | Revert "drm/exynos: add mout_hdmi clock in hdmi driver to change parent"drivers/ | +4 | 0 replies | |
| 7/12 | drm: exynos: hdmi: use hdmiphy as PHYdrivers/ | +6 | 0 replies | |
| 8/12 | drm: exynos: hdmi: simplify extracting hpd-gpio from DTdrivers/ | +4 | 0 replies | |
| 9/12 | drm: exynos: add compatibles for HDMI and Mixer chips and exynos4210 SoCdrivers/ drivers/ | +6 | 0 replies | |
| 10/12 | arm: dts: exynos4: add i2c controller for HDMIPHYarch/ | +16 | 0 replies | |
| 11/12 | arm: dts: exynos4: add HDMI devicesarch/ arch/ | +31 | 0 replies | |
| 12/12 | arm: dts: universal_c210: add HDMI devicesarch/ | +53 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 00/12] Add DRM Exynos HDMI on SoCs from Exynos4 family
This patchset adds support for HDMI at SoCs from Exynos4 family. The patches are rebased on kishon/next. Additionally, The patchset contains small fixes to PHY and CLK frameworks. I preferred to keep all the patches together for the first version of the RFC.
The interesting part might be 'propagation of clk_set_parent()'. This feature allows to remove the usage of artificial clocks in drivers. Such a situation happens for Exynos HDMI and 'mout_hdmi' where the clock is not even mentioned in some versions of SoC's documentation. Since enabling and setting rate can be propagated I think that clk_set_parent() should also be propagated. This would simplify driver's code and make it less dependant on SoC's version.
Another interesting feature refers to simple PHY driver. This driver register a PHY interface that operates by setting a special bit in platform register. This situation is very common in Exynos SoCs. The current version supports only one phy per node. The code might be modified to support multiple phys from single simple-phy provider to avoid creation of multiple nodes in DT.
All comments are welcome.
Regards,
Tomasz Stanislawski
Tomasz Stanislawski (12):
clk: propagate parent change up one level
clk: exynos4: export sclk_hdmiphy clock
clk: exynos4: enable clk_set_parent() propagation for sclk_hdmi and
sclk_mixer clocks
phy: Add simple-phy driver
phy: use of_phy_simple_xlate for NULL xlate function Revert "drm/exynos: add mout_hdmi clock in hdmi driver to change
parent"
drm: exynos: hdmi: use hdmiphy as PHY
drm: exynos: hdmi: simplify extracting hpd-gpio from DT
drm: exynos: add compatibles for HDMI and Mixer chips and exynos4210
SoC
arm: dts: exynos4: add i2c controller for HDMIPHY
arm: dts: exynos4: add HDMI devices
arm: dts: universal_c210: add HDMI devices
.../devicetree/bindings/clock/exynos4-clock.txt | 1 + arch/arm/boot/dts/exynos4.dtsi | 43 +++++++ arch/arm/boot/dts/exynos4210-universal_c210.dts | 53 ++++++++ arch/arm/boot/dts/exynos4210.dtsi | 4 + drivers/clk/clk.c | 6 + drivers/clk/samsung/clk-exynos4.c | 10 +- drivers/gpu/drm/exynos/exynos_hdmi.c | 41 +++---- drivers/gpu/drm/exynos/exynos_mixer.c | 3 + drivers/phy/Kconfig | 5 + drivers/phy/Makefile | 1 + drivers/phy/phy-core.c | 2 +- drivers/phy/phy-simple.c | 128 ++++++++++++++++++++ include/linux/clk-provider.h | 1 + 13 files changed, 269 insertions(+), 29 deletions(-) create mode 100644 drivers/phy/phy-simple.c
Signature · 1 line
1.7.9.5