From patchwork Fri Feb 17 10:46:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 94150 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp106634qgi; Fri, 17 Feb 2017 02:47:12 -0800 (PST) X-Received: by 10.99.23.102 with SMTP id 38mr9277352pgx.188.1487328432753; Fri, 17 Feb 2017 02:47:12 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x26si9922117pge.197.2017.02.17.02.47.12; Fri, 17 Feb 2017 02:47:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755732AbdBQKrL (ORCPT + 4 others); Fri, 17 Feb 2017 05:47:11 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:36785 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755646AbdBQKrH (ORCPT ); Fri, 17 Feb 2017 05:47:07 -0500 Received: by mail-wm0-f44.google.com with SMTP id c85so11094148wmi.1 for ; Fri, 17 Feb 2017 02:47:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qajtggMDVhl9CILU+74kb2C60yUvyw5sZt1ZKF8w324=; b=NxxjNmZZVi7epCpa2np6ZzX6Ty3RIwEda83zq8XEEGokTVqjWed1fYvGKaTp+WFZ+V cijR8q5jnMGeGMX6InPT6RO7Oc5D5XArZO/PUEGivDacfk1BxYq5mTDBlG43O87FXS/q wEgpljs7a3/YBHFpPvJbU4LGTkx6bhyvvzk1c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qajtggMDVhl9CILU+74kb2C60yUvyw5sZt1ZKF8w324=; b=eIvCjm+vh/P1DfwEfP0d+SdSHQ9S5c5083Azq7mYllTwwGg0U5RIfQ9pRuF2rjRftU zQ3nEDDBiNo/6akukKVFJ/1J2XzRKpTOr2J5uZbHcduRpBPQOIcyJbkJubyVxtB+tXOE lrfMLaBSbW2vZvIvKVZrlZim7is3ufgtWxeWbp0MNCho7Y6lTjSRf0lZYkeX9VfTPk2U L5+wDZLwnNEhBJOD8yEfgnX949rqDSysEGJuk7lYbZ62uixsAChteOouA9aQp+QgHJTJ b8mw+WEmd4fFuH9VNJVz7W48WiDdvZIZjcpVwsgXiIdPPXay6uHPgn6wkNh9KBpBCORU Gz8Q== X-Gm-Message-State: AMke39kQXe79GGqcDvdGobfWTAszr2g409h2GRsrFzvaJCIF2I6GvJgzCHUMcn9toxzLNuVX X-Received: by 10.28.148.66 with SMTP id w63mr1569892wmd.43.1487328426316; Fri, 17 Feb 2017 02:47:06 -0800 (PST) Received: from lmenx321.st.com. ([80.215.199.19]) by smtp.gmail.com with ESMTPSA id u42sm12460346wrc.1.2017.02.17.02.47.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Feb 2017 02:47:05 -0800 (PST) From: Benjamin Gaignard To: hverkuil@xs4all.nl Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux@armlinux.org.uk, krzk@kernel.org, javier@osg.samsung.com, hans.verkuil@cisco.com, dri-devel@lists.freedesktop.org, daniel.vetter@intel.com, m.szyprowski@samsung.com, linux-media@vger.kernel.org, robh@kernel.org, Benjamin Gaignard Subject: [PATCH v3 3/3] arm: sti: update sti-cec for HPD notifier support Date: Fri, 17 Feb 2017 11:46:52 +0100 Message-Id: <1487328412-8305-4-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1487328412-8305-1-git-send-email-benjamin.gaignard@linaro.org> References: <1487328412-8305-1-git-send-email-benjamin.gaignard@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org To use HPD notifier sti CEC driver needs to get phandle of the hdmi device. Signed-off-by: Benjamin Gaignard Signed-off-by: Hans Verkuil CC: devicetree@vger.kernel.org version 3: - change hdmi phandle from "st,hdmi-handle" to "hdmi-handle" --- arch/arm/boot/dts/stih407-family.dtsi | 12 ------------ arch/arm/boot/dts/stih410.dtsi | 13 +++++++++++++ 2 files changed, 13 insertions(+), 12 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index c8b2944..592d235 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -756,18 +756,6 @@ <&clk_s_c0_flexgen CLK_ETH_PHY>; }; - cec: sti-cec@094a087c { - compatible = "st,stih-cec"; - reg = <0x94a087c 0x64>; - clocks = <&clk_sysin>; - clock-names = "cec-clk"; - interrupts = ; - interrupt-names = "cec-irq"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_cec0_default>; - resets = <&softreset STIH407_LPM_SOFTRESET>; - }; - rng10: rng@08a89000 { compatible = "st,rng"; reg = <0x08a89000 0x1000>; diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi index 281a124..71deb02 100644 --- a/arch/arm/boot/dts/stih410.dtsi +++ b/arch/arm/boot/dts/stih410.dtsi @@ -259,5 +259,18 @@ clocks = <&clk_sysin>; interrupts = ; }; + + sti-cec@094a087c { + compatible = "st,stih-cec"; + reg = <0x94a087c 0x64>; + clocks = <&clk_sysin>; + clock-names = "cec-clk"; + interrupts = ; + interrupt-names = "cec-irq"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_cec0_default>; + resets = <&softreset STIH407_LPM_SOFTRESET>; + hdmi-handle = <&sti_hdmi>; + }; }; };