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: 99869 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp2005741qge; Tue, 16 May 2017 05:57:26 -0700 (PDT) X-Received: by 10.84.216.77 with SMTP id f13mr15387889plj.130.1494939446178; Tue, 16 May 2017 05:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494939446; cv=none; d=google.com; s=arc-20160816; b=rXxqUgyAPWbVTwMsX3ZvTlyZqQg0Nn1wl4RC/+0vel+4zrGcFuVFbMrrhCH7JIsIKe nLifZKXyHcn2TlrZoXpm391ijyNa7OO2R24n1pUA5DX0BqcTPGYuOUgJ/wauCiPVhuPY Iunz4/p+cgvpZUtGgmH+vnO4TJAhBTCImFNTvGAFcySuD98mvR9lo67kggm1Vtg6JdSz jSp/1BvmRJy3Tyx1ZSu/3dDDueRlLfIGRzpDYme1HV5qbVuxUiMNgODlE0LXMlavqKwe rrC+TIi6FGZ5S8Bz+D/Li+Ag7rq3B4qAvY3J+IRoF0yqkukBCt5pbNBa4EEAgen5KB6E DZrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=RL2hNK40M/Pp+393pxYEstSZq5Zv3Y8SrfXaQXFZybk=; b=RFf7C1ezmpw3ouGqlcF8LSyYQF/TaSBQfB7LvvRfr4cG5q1QoDWTZbsrvgTkcz3VU6 mpf9veQ3r3moANBM2fMvFlTKsMAD0qcpSioX213EIc0TOgrN5kppzEDboUjZaZ3ZkSFQ t4LUpRoVzSWIaYfH3yCBAPwx1ik+ccklr3Rvv4CGxqORzUKqOH7/27DZLEyLRGawEPFX Tlnf5uCDMDx56rbWoMK4l/FJHsxKDNK82N7RurieOR7TZV1FDafeLo9PJkSSbe0a7jBl AKwC7AjwxPbGHFOZRuPLg9ezJuND3iVLBT3ADxAQR13Ey94wxWbZfYk9eQ4pbMSf3eT4 LcKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si13773909pgn.205.2017.05.16.05.57.26; Tue, 16 May 2017 05:57: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=pass 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752587AbdEPM5Y (ORCPT + 4 others); 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 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 -- 1.9.1 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"; +};