From patchwork Mon May 29 09:38:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9753051 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 651CE602CC for ; Mon, 29 May 2017 09:38:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5537F27F7F for ; Mon, 29 May 2017 09:38:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49F2528448; Mon, 29 May 2017 09:38:39 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI 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 3CCE027F7F for ; Mon, 29 May 2017 09:38:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751101AbdE2Jih (ORCPT ); Mon, 29 May 2017 05:38:37 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:34023 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbdE2Jif (ORCPT ); Mon, 29 May 2017 05:38:35 -0400 Received: by mail-wm0-f52.google.com with SMTP id 123so18101270wmg.1 for ; Mon, 29 May 2017 02:38:35 -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=LWeBEfEnGKvUVu/ewZyG+wG3aYrhnXJxPc0p6ukn/ls=; b=dVqUM4DMFr+vsA5XDxHU+0xqX/TAcfSLYrdPf0bbCs8sEFa7tky1tK+mJWlny25QM/ i1ECnppDNu/N+YJeMLvapnUUd0VC3Mjb5emmWihi7QkZwZpwdRb2WUw7cX8FugHg9rJp lshknQFYhxs4KOmuXpnJHysroH3ohzntFmL64= 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=LWeBEfEnGKvUVu/ewZyG+wG3aYrhnXJxPc0p6ukn/ls=; b=OprnVx+5TOSMdcW3qDTYGpXuPotFMkmyhWfmSneglhpwtzQCt1mKqMoTSeKPChVTZ4 BTojbX1YuWETU9WC2yx/Tmg532yOeA3XXFbj50yeZpc4uaetXOrS7iSBsJ2fQbgxcVLB E/NX11LtOPhHEfw0SHkEbpk9WD9xdjaXMAUsxisYI3dgqxWotOlLCk5x6E8M4XyccM37 aBixaNcZddRgchIRGH2j386/aVPC91MXob/QnB3tNVhQOPYq6RR0Wc/wwObaVL9lOqWJ 0ufFuZyAsLvc73A/L80Gn1solp/U2yBmgYI+wHnav4nzi9D4jvSB2LDIG5q1PsT3Ps0v cHfg== X-Gm-Message-State: AODbwcBWwIxtywnyg0VNj5XY2NSipSvBn/g7yX+BmXgXG9jYQQbkBgLO rOjUlzRlaGiNIA4zxo0Wzw== X-Received: by 10.28.131.15 with SMTP id f15mr9066510wmd.47.1496050714168; Mon, 29 May 2017 02:38:34 -0700 (PDT) Received: from lmenx321.st.com. ([80.215.96.223]) by smtp.gmail.com with ESMTPSA id 201sm14015238wmh.22.2017.05.29.02.38.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 May 2017 02:38:33 -0700 (PDT) From: Benjamin Gaignard To: yannick.fertre@st.com, alexandre.torgue@st.com, hverkuil@xs4all.nl, devicetree@vger.kernel.org, linux-media@vger.kernel.org, robh@kernel.org, hans.verkuil@cisco.com Cc: Benjamin Gaignard Subject: [PATCH v5 1/2] dt-bindings: media: stm32 cec driver Date: Mon, 29 May 2017 11:38:04 +0200 Message-Id: <1496050685-14301-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1496050685-14301-1-git-send-email-benjamin.gaignard@linaro.org> References: <1496050685-14301-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 stm32 CEC driver. Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/media/st,stm32-cec.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/st,stm32-cec.txt diff --git a/Documentation/devicetree/bindings/media/st,stm32-cec.txt b/Documentation/devicetree/bindings/media/st,stm32-cec.txt new file mode 100644 index 0000000..6be2381 --- /dev/null +++ b/Documentation/devicetree/bindings/media/st,stm32-cec.txt @@ -0,0 +1,19 @@ +STMicroelectronics STM32 CEC driver + +Required properties: + - compatible : value should be "st,stm32-cec" + - reg : Physical base address of the IP registers and length of memory + mapped region. + - clocks : from common clock binding: handle to CEC clocks + - clock-names : from common clock binding: must be "cec" and "hdmi-cec". + - interrupts : CEC interrupt number to the CPU. + +Example for stm32f746: + +cec: cec@40006c00 { + compatible = "st,stm32-cec"; + reg = <0x40006C00 0x400>; + interrupts = <94>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CEC)>, <&rcc 1 CLK_HDMI_CEC>; + clock-names = "cec", "hdmi-cec"; +};