From patchwork Tue May 16 12:56:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9729143 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 828F5602DB for ; Tue, 16 May 2017 12:57:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7697E28408 for ; Tue, 16 May 2017 12:57:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B4B12847F; Tue, 16 May 2017 12:57: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=-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 0DBEB28408 for ; Tue, 16 May 2017 12:57:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752587AbdEPM5Y (ORCPT ); Tue, 16 May 2017 08:57:24 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:34930 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752276AbdEPM5W (ORCPT ); Tue, 16 May 2017 08:57:22 -0400 Received: by mail-wm0-f45.google.com with SMTP id b84so132413254wmh.0 for ; Tue, 16 May 2017 05:57:22 -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=AWKow71uslzT7sCKVq5sAWccTUnFEWlQnxthQ2cMKxMPjfw7jkyM/LZBEGKpn4JCby vX3xFqtNMZyZfAbxi5oZVqqY952Zd8ZrkJBBJ9GR397Cqd8m5HzSqR/dKtMTLdvRzqGh FcWNj9PrP3ej5OfSzTL41Kz0ZvWxvK1cQXG18= 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=MAHJ0yQA+52poaqFZ6MSg6+Pi1vrFBJgvhMFGKgWNv2KennNkmTJTWVoISBm7EYbxV y53Blq2m0swAoyoyEN7OHSPycVThQ1hRq5VH3k5cFLFBzv7MJmon/6jfWax2jrd6Zu92 BhnHO9Bfj0x//1/dB3bj4I2ABz3vEQ6nWDLFjUdj3f1hpL2rDEiNw4FJQb3Kf2ezpQjJ Rlhv8bpX/868JA2l1gCTlZEZ99kaxOYHF0neNmdGyDfT4NZhT7LiOjvzo/5GveyVojCv Qh9ldF+KB53ZLy/UZ4+V4s8xm/LyiblQSVLpZNj7vOtEkDLc6Kf0kPMwfautCBlyNHV8 OC1g== X-Gm-Message-State: AODbwcCefG3Flo67BnN6lSPLldlnFP6NDgZyH+W/ISL3Eo9H7Tp+iDva baS+QvO+HF8K91sp X-Received: by 10.28.151.197 with SMTP id z188mr6758828wmd.58.1494939441247; Tue, 16 May 2017 05:57:21 -0700 (PDT) Received: from lmenx321.st.com. ([80.214.124.106]) by smtp.gmail.com with ESMTPSA id w96sm2288567wrc.14.2017.05.16.05.57.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 May 2017 05:57:20 -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 v2 1/2] binding for stm32 cec driver Date: Tue, 16 May 2017 14:56:22 +0200 Message-Id: <1494939383-18937-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1494939383-18937-1-git-send-email-benjamin.gaignard@linaro.org> References: <1494939383-18937-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"; +};