From patchwork Tue May 16 09:01:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9728625 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 E197660386 for ; Tue, 16 May 2017 09:01:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3D2427E5A for ; Tue, 16 May 2017 09:01:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7DB228A01; Tue, 16 May 2017 09:01:41 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 659CC27E5A for ; Tue, 16 May 2017 09:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751943AbdEPJBj (ORCPT ); Tue, 16 May 2017 05:01:39 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:38583 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751987AbdEPJBf (ORCPT ); Tue, 16 May 2017 05:01:35 -0400 Received: by mail-wm0-f49.google.com with SMTP id v15so83350921wmv.1 for ; Tue, 16 May 2017 02:01: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=RL2hNK40M/Pp+393pxYEstSZq5Zv3Y8SrfXaQXFZybk=; b=bDFUJHObj9DCyZoWhem4zd110iBvn/lKIA4fvWgU/LN+/ezOr4kGQaPFy0RQVAm0vZ O6n9tZjuCDpH/ZAsW8gbuk65S3TIgUVKAHqIpRRDOaeGtvK+OeuLz8c6+j+mc+CKyfoG 1fSeNPAAmScgAHdo6V0zkvvEPU2dT8v5iyjc8= 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=RL2hNK40M/Pp+393pxYEstSZq5Zv3Y8SrfXaQXFZybk=; b=W8QNpGumlBdKC5+m6BU10Y00R5TlVfAeJjY33DUMnUtAzXdrlEM9JQUAE2QRQK8cFs PKmAw+gRk+LaPduUKBO7pwTU72iwHc5JBKJOoFSZ7c7EJlCLfx4rVCN880hPF4P9Rnvk 2vaUK2DLZKGR4ja90baRwoNiw5phjXLk3plbYOS0013AdX6IA4cSiudYt3/ADAsl8/p2 ZdPoH0Pn5V2VIyJesCTl7l3pywoJwmUS2QL5CY4eq0jZ+j3woK7G0LpLHDXiSKz4Evus 2EPBsBgVNa+NABwdf0CBYzwsdx5xU8PuhpFZRQyD8o2n8vsjwu8Xnl4Xh+/VK1VKT70N TRkQ== X-Gm-Message-State: AODbwcBrwx6kM/AVOAa5Dbj2fIIOhnPYgE1hD2STYJa3JBE2ek0Ifk61 GKGeq+94klAfhjaJ X-Received: by 10.28.154.86 with SMTP id c83mr6786545wme.94.1494925294365; Tue, 16 May 2017 02:01:34 -0700 (PDT) Received: from lmenx321.st.com. ([80.215.37.242]) by smtp.gmail.com with ESMTPSA id x17sm1023436wrd.63.2017.05.16.02.01.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 May 2017 02:01:33 -0700 (PDT) From: Benjamin Gaignard To: yannick.ferte@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 1/2] binding for stm32 cec driver Date: Tue, 16 May 2017 11:01:19 +0200 Message-Id: <1494925280-4527-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1494925280-4527-1-git-send-email-benjamin.gaignard@linaro.org> References: <1494925280-4527-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 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"; +};