From patchwork Mon Nov 2 13:16:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 7536571 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 896569F36A for ; Mon, 2 Nov 2015 13:18:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A2F03205EA for ; Mon, 2 Nov 2015 13:18:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9A9EA205FD for ; Mon, 2 Nov 2015 13:18:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752853AbbKBNSG (ORCPT ); Mon, 2 Nov 2015 08:18:06 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:34607 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752532AbbKBNSF (ORCPT ); Mon, 2 Nov 2015 08:18:05 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NX600GA2VM37690@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 02 Nov 2015 13:18:03 +0000 (GMT) X-AuditID: cbfec7f5-f794b6d000001495-8b-5637628b2810 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 22.C2.05269.B8267365; Mon, 2 Nov 2015 13:18:03 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NX600MT9VLM9S10@eusync4.samsung.com>; Mon, 02 Nov 2015 13:18:03 +0000 (GMT) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Kyungmin Park , linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, Kukjin Kim , Krzysztof Kozlowski Subject: [PATCH 6/7] dt-bindings: exynos_hdmi: add bindings for Exynos5433 variant Date: Mon, 02 Nov 2015 14:16:44 +0100 Message-id: <1446470205-15606-7-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1446470205-15606-1-git-send-email-a.hajda@samsung.com> References: <1446470205-15606-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJLMWRmVeSWpSXmKPExsVy+t/xa7rdSeZhBkdWc1jcWneO1WLjjPWs Fle+vmezmHR/AovF6xeGFv2PXzNbnG16w24x4/w+Jou1R+6yO3B6bFrVyeZxv/s4k0ffllWM Hp83yQWwRHHZpKTmZJalFunbJXBlrLjwgK2gQ7Ti5J7lzA2M6wS7GDk5JARMJPrfNTFD2GIS F+6tZ+ti5OIQEljKKPHw7WVGCKeJSeLmhZeMIFVsApoSfzffZAOxRQSUJVbta2cHKWIWuMgk 8XbBWyaQhLBAiET7pHfsIDaLgKrElFM3WEFsXgFniddNq1gg1slJnDw2GSzOKeAiseXbfLB6 IaCahfMfMU1g5F3AyLCKUTS1NLmgOCk910ivODG3uDQvXS85P3cTIyTAvu5gXHrM6hCjAAej Eg/vAU+zMCHWxLLiytxDjBIczEoivDvszcOEeFMSK6tSi/Lji0pzUosPMUpzsCiJ887c9T5E SCA9sSQ1OzW1ILUIJsvEwSnVwNiSyij9IDRLqro8/aj0JxU9z56DZyrszWx81z5I2idWKD/5 ReuHn07RgdIm/8o/Zd4sFWiXU8vNOPpwtch3zTfip/T9+KR6L12oPLo85pxj+jf+p0ffcf17 N+GkUdi2v0sqRfN2T/q0bIPzS6fVf3ltDi/4f+LOzBWCPPzLDBf3ZE0smn7vaI4SS3FGoqEW c1FxIgBB83EjLAIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Exynos5433 variant of HDMI requires different set of clocks and sysreg phandle to system registers. Signed-off-by: Andrzej Hajda Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/video/exynos_hdmi.txt | 27 +++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/video/exynos_hdmi.txt b/Documentation/devicetree/bindings/video/exynos_hdmi.txt index d474f59..4c3c582 100644 --- a/Documentation/devicetree/bindings/video/exynos_hdmi.txt +++ b/Documentation/devicetree/bindings/video/exynos_hdmi.txt @@ -5,6 +5,7 @@ Required properties: 1) "samsung,exynos4210-hdmi" 2) "samsung,exynos4212-hdmi" 3) "samsung,exynos5420-hdmi" + 4) "samsung,exynos5433-hdmi" - reg: physical base address of the hdmi and length of memory mapped region. - interrupts: interrupt number to the cpu. @@ -12,6 +13,11 @@ Required properties: a) phandle of the gpio controller node. b) pin number within the gpio controller. c) optional flags and pull up/down. +- ddc: phandle to the hdmi ddc node +- phy: phandle to the hdmi phy node +- samsung,syscon-phandle: phandle for system controller node for PMU. + +Required properties for Exynos 4210, 4212 and 5420: - clocks: list of clock IDs from SoC clock driver. a) hdmi: Gate of HDMI IP bus clock. b) sclk_hdmi: Gate of HDMI special clock. @@ -25,9 +31,24 @@ Required properties: sclk_pixel. - clock-names: aliases as per driver requirements for above clock IDs: "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy" and "mout_hdmi". -- ddc: phandle to the hdmi ddc node -- phy: phandle to the hdmi phy node -- samsung,syscon-phandle: phandle for system controller node for PMU. + +Required properties for Exynos 5433: +- clocks: list of clock specifiers according to common clock bindings. + a) hdmi_pclk: Gate of HDMI IP APB bus. + b) hdmi_i_pclk: Gate of HDMI-PHY IP APB bus. + d) i_tmds_clk: Gate of HDMI TMDS clock. + e) i_pixel_clk: Gate of HDMI pixel clock. + f) i_spdif_clk: Gate of HDMI SPDIF clock. + g) oscclk: Oscillator clock, used as parent of following *_user clocks + in case HDMI-PHY is not operational. + h) tmds_clko: TMDS clock generated by HDMI-PHY. + i) tmds_clko_user: MUX used to switch between oscclk and tmds_clko, + respectively if HDMI-PHY is off and operational. + j) pixel_clko: Pixel clock generated by HDMI-PHY. + k) pixel_clko_user: MUX used to switch between oscclk and pixel_clko, + respectively if HDMI-PHY is off and operational. +- clock-names: aliases for above clock specfiers. +- samsung,sysreg: handle to syscon used to control the system registers. Example: