Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753365Ab3JUOSv (ORCPT ); Mon, 21 Oct 2013 10:18:51 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:49828 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752626Ab3JUOSt (ORCPT ); Mon, 21 Oct 2013 10:18:49 -0400 X-AuditID: cbfee61a-b7f836d0000025d7-ff-526537c7c229 From: Tomasz Stanislawski To: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, kyungmin.park@samsung.com, t.figa@samsung.com, kishon@ti.com, sw0312.kim@samsung.com, inki.dae@samsung.com, rahul.sharma@samsung.com, kgene.kim@samsung.com, s.nawrocki@samsung.com, thomas.abraham@linaro.org, mturquette@linaro.org, Tomasz Stanislawski Subject: [RFC 00/12] Add DRM Exynos HDMI on SoCs from Exynos4 family Date: Mon, 21 Oct 2013 16:18:19 +0200 Message-id: <1382365111-6533-1-git-send-email-t.stanislaws@samsung.com> X-Mailer: git-send-email 1.7.10 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMLMWRmVeSWpSXmKPExsVy+t9jAd3j5qlBBnunKVjMP3KO1eLK1/ds FpPuT2Cx6F1wlc3iwtMeNouzTW/YLS7vmsNmMeP8PiaLpxMusllMWXSY1eLwm3ZWixmTX7JZ rJ/xmsViXvtLVotjM5YwOvB73Lm2h83jfvdxJo++LasYPY7f2M7k8XmTXABrFJdNSmpOZllq kb5dAlfG/oM/mQqWiFXsPtfE3MC4VqCLkZNDQsBE4sGsFlYIW0ziwr31bCC2kMAiRiCnuouR C8juYpK4cv8eWBEbUMOxJZ8ZQWwRgUSJX813mUGKmAUOMUnsbpkC5HBwCAu4SHw46QdSwyKg KjG/6whYL6+Au8Tmv6fZIZbJSzy938c2gZF7ASPDKkbR1ILkguKk9FxDveLE3OLSvHS95Pzc TYzgoHsmtYNxZYPFIUYBDkYlHt4Al5QgIdbEsuLK3EOMEhzMSiK8VaapQUK8KYmVValF+fFF pTmpxYcYpTlYlMR5D7RaBwoJpCeWpGanphakFsFkmTg4pRoYTU1qM7PX8Gbxz9V322bNcvRu 5eo1cSXFU9cfu9fo8OKf7vX52t3T70qrJ1ZmP3O7d1rw0k2DL5OOzQ9JXimo8/r19kXTvKW9 83PsnNc5vffq+/TqmVWSzHS9ZQ1nDfdUXYnYuvf02X1G8wyf8LbdLGC7s83YoG3RQyEvB65r Skdd3Q/fZv8XqMRSnJFoqMVcVJwIAE34qNI2AgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3037 Lines: 65 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 -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/