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: 100650 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp253170qge; Mon, 29 May 2017 02:38:38 -0700 (PDT) X-Received: by 10.98.14.86 with SMTP id w83mr16657939pfi.83.1496050718349; Mon, 29 May 2017 02:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496050718; cv=none; d=google.com; s=arc-20160816; b=edaHOdrm2JXLCb6bxKrshA8yJkcF1zgBJGEYE2c47kvqp1Xjw7RA+x/EaN/vLSo4Sy lbj4Hs2BucfUgEPyIl0HtpJeWo/8co3ca7sVGa/6QqyMHNeol1BoWzkF0OMAR0QvjiD5 zn+zXyJhLkU5IvgFjK0zqtp/hz1ZX7BSZOQnSVi2+QSdlJXCwh8rWytnPIQJbIs9LZAH 0nNwfjwjxdW6YobwixcJM3i8UrEJKZwVk4EwZRHlq+HJHzN08jdpOKuoBz8yQ1X5Jqt1 20pN712x2ONrcyMeH3GZohysE0Pxm6J7mURh6BxZ0ALtf4etZdEWPe7xwiT2m6ddU81h srRg== 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=LWeBEfEnGKvUVu/ewZyG+wG3aYrhnXJxPc0p6ukn/ls=; b=lipWDepskZnLYWjyD7EumaEkHLwxR8hyHGx1lYHWwVDWn2KKMNSTWpPAq81mDJDR9G onHRhUd+kWRRXFTwnqmlXfOtMXb5IvRubcMOHIxSEbDmh1TvVkS7WKeee3NCiQcDLTuI asj+iD+tEy9DoURLSzRwbGriLKgg0qzrbp0uABUqMaoiSJLc8LpOQyLmDmktdES+IO0l 6ROBBjsF7+9IC3xhUpt+cPm+ObigFrWQzG86iBoQkEMVOxFhcsMA4QUGCRI0pbOh6qdC PaOTehlb5BfEUkfLhAKyzmlKqSTsY5gD9FWwJwEzvqizbdF+l3aQAe/eR+U4Pm+0T9MM S5kw== 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 u124si9846842pgb.46.2017.05.29.02.38.38; Mon, 29 May 2017 02:38:38 -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 S1751101AbdE2Jih (ORCPT + 4 others); 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 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 -- 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"; +};