From patchwork Wed Sep 14 09:22:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9330985 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 0819A6077F for ; Wed, 14 Sep 2016 09:23:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDAE529BB6 for ; Wed, 14 Sep 2016 09:23:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E263C29BB8; Wed, 14 Sep 2016 09:23:18 +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 7706E29BB6 for ; Wed, 14 Sep 2016 09:23:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754710AbcINJXQ (ORCPT ); Wed, 14 Sep 2016 05:23:16 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:36016 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753254AbcINJXP (ORCPT ); Wed, 14 Sep 2016 05:23:15 -0400 Received: by mail-wm0-f46.google.com with SMTP id b187so36762818wme.1 for ; Wed, 14 Sep 2016 02:23:14 -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=HwtHWOfEsu7jmfI3okVLSkBtHdkBmpA7b+K6tZY5dl20ID8aEuGdz7JAZJgReKBrpj w9vadKfrfzBlEXIyFqGPGVNG5BmYBtgYe1ZJh5NlNqJ/v1Adt2xrxV0xCyJH6m5mvKan /exh0pNMDhJP6TVJexjY1osufJfsoYZe+/sRE= 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=ATXIv/NCLEWJEtXz794owozmAHTQisjNKMDIG3Xjz8uU46fIj5v7Kq/rRKXht5kXk4 ENcUR7sRrcfoUANB+9rrnPsbrUTcZmhM47a2SWglWYl8FHOBBIZSbpvRj1A9wbFnYYfW pdqWd1DAj5aqmH7gBYlwps6IkG2r1mW0Z/1H8nHgJOnWqG/zEcRFDjwik6OunGRz6D0f 61arY7kCzYgaVpnf1Ew5KVOXF67dxBnm6lgitzfEZE5t/qSavUYcYglg9fRA4sXO6Pbl 9YeRBNQdH1xNUENfHCOOUwqTmt6DARJtEv935A6OLmtKuXNMQ3XDACXp4GiiGhRFcgA2 y4eg== X-Gm-Message-State: AE9vXwNenWlWdgx/zc27FJRLOvXDxLFQ5ULeNn1xPLtC8HXBtTEPZ4+KNnNfAk4YVpiVPGvq X-Received: by 10.194.147.99 with SMTP id tj3mr1724747wjb.183.1473844994044; Wed, 14 Sep 2016 02:23:14 -0700 (PDT) Received: from lmenx321.st.com. ([80.215.8.45]) by smtp.gmail.com with ESMTPSA id r8sm3159522wjs.22.2016.09.14.02.23.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Sep 2016 02:23:13 -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 1/4] bindings for stih-cec driver Date: Wed, 14 Sep 2016 11:22:01 +0200 Message-Id: <1473844924-13895-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473844924-13895-1-git-send-email-benjamin.gaignard@linaro.org> References: <1473844924-13895-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>; +};