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: 76168 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1820435qgf; Wed, 14 Sep 2016 04:24:26 -0700 (PDT) X-Received: by 10.66.54.132 with SMTP id j4mr3551512pap.110.1473852266585; Wed, 14 Sep 2016 04:24:26 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gm2si4353567pac.159.2016.09.14.04.24.26; Wed, 14 Sep 2016 04:24:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-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-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756311AbcINLYY (ORCPT + 4 others); 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 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 -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" 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/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>; +};