From patchwork Thu Sep 15 07:37:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9332907 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5CE476077F for ; Thu, 15 Sep 2016 07:39:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5134E29358 for ; Thu, 15 Sep 2016 07:39:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 427882935E; Thu, 15 Sep 2016 07:39:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBC2729358 for ; Thu, 15 Sep 2016 07:39:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933996AbcIOHj2 (ORCPT ); Thu, 15 Sep 2016 03:39:28 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38509 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934005AbcIOHiG (ORCPT ); Thu, 15 Sep 2016 03:38:06 -0400 Received: by mail-wm0-f47.google.com with SMTP id 1so75112107wmz.1 for ; Thu, 15 Sep 2016 00:38:05 -0700 (PDT) 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=E6gF4KO/PpV+EKMRdKPzkSNh7/+VBPWXATEAC/GCGbc=; b=TZhw5YcqM9e5Evw+clu8+QroQ4Q3BLOvlGk9vhXFZN98147Fnl5G0BDJgTwprlIY2s SNEX2JmKD7t0hAmgd+bN4sBpoAwmVccOzg3RD3Q++mWoerUxZmZogxbCddfZkyRjrOgq CjYBRyxkutpetm0TZIHpAX87OzXxOjtBJiJlw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=E6gF4KO/PpV+EKMRdKPzkSNh7/+VBPWXATEAC/GCGbc=; b=aak+i3eYFULVAl3t2+6oOG86Wf3OAQ0yhR4y7lh65MYg/1PB5MVsJVwbTFO4Nq++HE a318s9rigZLHToN7HU+GKLbZ4rchnVdkO4PjPMudKWDswAnK9PJYRdvlpUBZhpb7O8mZ k1x3o1oPZC+/bFrlj7hUfv6WGGX0eF8Gem+rb9M+owW8r0VY0fY0Nbbi8sN1byc2NHmp 4+EeT5Mo08KAs3jeInGTJv0ngFBmFYePX4RxWIa+NWwbn84exlyduE+l/4G7bTQ9V1zQ QMSfaIGxBsFdxyxtEuILElB12R845PX39etTu7wMi9mGybMJG14yKSPXGLy10w2vUupl yvJQ== X-Gm-Message-State: AE9vXwN+MHpLf4J83r11h0nrEYJRK7K53nDoE6OfrXg2Or26pKXbBGrCpKtA+9nSYaWKefHT X-Received: by 10.194.235.166 with SMTP id un6mr6352263wjc.169.1473925079992; Thu, 15 Sep 2016 00:37:59 -0700 (PDT) Received: from lmenx321.st.com. ([80.215.200.48]) by smtp.gmail.com with ESMTPSA id va3sm2035682wjb.18.2016.09.15.00.37.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Sep 2016 00:37:59 -0700 (PDT) From: Benjamin Gaignard To: hans.verkuil@cisco.com, linux-media@vger.kernel.org Cc: kernel@stlinux.com, arnd@arndb.de, robh@kernel.org, Benjamin Gaignard Subject: [PATCH v3 1/4] bindings for stih-cec driver Date: Thu, 15 Sep 2016 09:37:43 +0200 Message-Id: <1473925066-8289-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473925066-8289-1-git-send-email-benjamin.gaignard@linaro.org> References: <1473925066-8289-1-git-send-email-benjamin.gaignard@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add bindings documentation for stih-cec driver. Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/media/stih-cec.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/stih-cec.txt diff --git a/Documentation/devicetree/bindings/media/stih-cec.txt b/Documentation/devicetree/bindings/media/stih-cec.txt new file mode 100644 index 0000000..71c4b2f --- /dev/null +++ b/Documentation/devicetree/bindings/media/stih-cec.txt @@ -0,0 +1,25 @@ +STMicroelectronics STIH4xx HDMI CEC driver + +Required properties: + - compatible : value should be "st,stih-cec" + - reg : Physical base address of the IP registers and length of memory + mapped region. + - clocks : from common clock binding: handle to HDMI CEC clock + - interrupts : HDMI CEC interrupt number to the CPU. + - pinctrl-names: Contains only one value - "default" + - pinctrl-0: Specifies the pin control groups used for CEC hardware. + - resets: Reference to a reset controller + +Example for STIH407: + +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>; +};