From patchwork Wed Sep 14 11:24:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9331259 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 1392B607FD for ; Wed, 14 Sep 2016 11:24:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 063E129CD9 for ; Wed, 14 Sep 2016 11:24:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEF2629CE0; Wed, 14 Sep 2016 11:24:26 +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 988CE29CD9 for ; Wed, 14 Sep 2016 11:24:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756311AbcINLYY (ORCPT ); Wed, 14 Sep 2016 07:24:24 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:37762 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756146AbcINLYY (ORCPT ); Wed, 14 Sep 2016 07:24:24 -0400 Received: by mail-wm0-f50.google.com with SMTP id k186so416706wmd.0 for ; Wed, 14 Sep 2016 04:24:23 -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=fJFZksdVtGd6C53UjA3HT8SO7pDj8jfp88aJQ96ha2X+PmABLQau/T2/lf7H0xh/G+ jrxd+YcOYvQ8St1b7xmPEU6mt0HmGsfotiyU8EMcAxvJyMavq9qR7F/c4OwN46oJXw9+ xbpEDw4g6CS/T4vKyED37cyt0CwbRcg60N3eg= 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=PyUxNRpwXZxcKvS/MnTtYo8cbFWjsvR7cLRCvsLAttqtthV+ImpIuJIDS8shk1t4IB b++je1UOrAzoNykDWNR/7q46n5AaPclmuIraHYTvD4fAauW+SSTF1yX17i7/bJEbntpA pF3OT+NXzAVh6NI3P/scK1nhTDFFnc1w5zpkmV0hsFxd7RHmt5BDmcu16Sqy5ylHFDTC xZBh1OwjV6DPUB6RK9aY/AiUVJVjKzf52R6uppcGT0luURssjJyBAKjTO26lniJJBFEo 4d1WnzvBUYHcr+6I6vJa+h23VWdg6YuAhL1UM2iEP/LSSYm/dHtFe3kmlZOMYyrPQAUq ajWQ== X-Gm-Message-State: AE9vXwPiyNWyJ7suQ4KmlgYlD/Ns0iJgLLndo6MqLAa/4baeZ/apeGtyrF8HA+u/fcRroWjl X-Received: by 10.28.199.198 with SMTP id x189mr2762579wmf.106.1473852262106; Wed, 14 Sep 2016 04:24:22 -0700 (PDT) Received: from lmenx321.st.com. ([80.215.242.232]) by smtp.gmail.com with ESMTPSA id l3sm3714530wjp.17.2016.09.14.04.24.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Sep 2016 04:24:21 -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 v2 1/4] bindings for stih-cec driver Date: Wed, 14 Sep 2016 13:24:06 +0200 Message-Id: <1473852249-15960-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473852249-15960-1-git-send-email-benjamin.gaignard@linaro.org> References: <1473852249-15960-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>; +};