From patchwork Mon May 29 08:34:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 100640 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp233834qge; Mon, 29 May 2017 01:34:29 -0700 (PDT) X-Received: by 10.84.233.196 with SMTP id m4mr74893623pln.177.1496046869224; Mon, 29 May 2017 01:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496046869; cv=none; d=google.com; s=arc-20160816; b=PtmxpvIi1yoNWsO3uKcg9r1oo+0iP/vwTsN6RNLuDCr5OdlQNG536EFkXAENEbsjQq 3oSyIKETHoBM7+NkzJ+U96grV7uZHf+TAc2VIxo3BsMzPyj+jmynMVTrNUo4ZMek+ZAi GXfq5ANPUVA/BgsIP5IkrB/SCk5iFkrQLXc+3pntwu9eaCq8FWz4+PeUXPZuMBjRpuvK fVzGlo8rUEIFKn30S0zTs1UM7DKEnwmos7JZLSmPIP84fGft1RDU1TPdy4NgfPT9gziv DeanBQosxgyanUYEQs9RYhhINt5MhGy03lRUN3LLpvQZY1eSwdoVGV0g7VVkuEekvdjX 5PTA== 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=01EV0urdonAk6dQk49A3ELGx95+Pp++2uRVaHb47XCw=; b=oQ120G9vigBYYp9gpBc4rwDFQCx7cm+s6bAJ9SjTqiPn784Cv9Hl4+Ll+97f041qSH X1NFOjZBiJzqJ2L7xsCaB6qDfKBzbqIYq1E198Bzyp1zfSIp6xP2skwZU72OWrzJjn0O /BlOavcN4aDKbBa7ZtXlur1UvQzrf8nn8C4xKL7oYns2rw1CIRZBH8n9boKJ5PpSqkEi Qt4xTvURKfl8zh1mPnOZxaafKTFE+qYnka/stqHTXHfqYVa6Z0rXsyaiu1JxQehsfveW v/lmoRgnl4F7vfF0MHUVmdLXlKq3sQlmjSGFXmrI2Rn/T4BV1i+MJp9cEHJMKcqmtj87 KmTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 x76si9950981pfj.11.2017.05.29.01.34.28; Mon, 29 May 2017 01:34:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750984AbdE2Ie1 (ORCPT + 7 others); Mon, 29 May 2017 04:34:27 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:38507 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864AbdE2IeZ (ORCPT ); Mon, 29 May 2017 04:34:25 -0400 Received: by mail-wm0-f52.google.com with SMTP id e127so49562731wmg.1 for ; Mon, 29 May 2017 01:34:24 -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=iH13o5qSYgKstCjwgI+kPm45v+M/7ZwWR9lN4O4C9iA=; b=dvArPRUgO1W11fkH2p4uL5g9cW/Eji/i+sSbE7PnybCDoaHBgN9wVyyPVj6Z9yk/Do Mj0SsyUITauRvJjvV2hIM88wLqHocEsfeiIiHthbkQ3utQxIIrK7CjCtbi8HILO8vDvY bZW1dC6NbRYqhaH0uO/4aUJCQAn/0l8XvfdTE= 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=iH13o5qSYgKstCjwgI+kPm45v+M/7ZwWR9lN4O4C9iA=; b=Wgxb2lo0F/n/RtPZNCFQT/20XDhl7noKxUTpWof+N9HzoPCsXRCJHQVbjkmI+JeOsh VXJxlDvIdLAbph8tVoqXMReTzhmQLedFAmJULhThhilIzDBuCtoMpfY8/ks0yxV+2XaK IvmYj+dwFx+NlNBWA0KNQtQD3zDSs0m0uFiOS8MdIcA3pp+Ld1XxjxKrm021mgfmSt0d X84RUOQweaoU+Qr0KRoTtRfJ/R6DoKhmlEIIsmdCaorDCqfEThfaEe4hvBtCchjzHrFH wZJ7fLnL+pwRjCYkf/SF1IT1TliW3NCGYZydUhJWXkD+YnIGPfUVkQJhDzXdkrobSD+M SZXg== X-Gm-Message-State: AODbwcBK0X6Vymvwdl4B4+UIU8MeSpJTidtLWXR/PJDq0RnjoWJSfvfp 4k2UCXnAEC01s6Ru X-Received: by 10.223.151.148 with SMTP id s20mr8966160wrb.159.1496046864027; Mon, 29 May 2017 01:34:24 -0700 (PDT) Received: from lmenx321.st.com. ([80.215.88.243]) by smtp.gmail.com with ESMTPSA id x9sm8160959wmb.21.2017.05.29.01.34.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 May 2017 01:34:23 -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 v4 1/2] dt-bindings: media: stm32 cec driver Date: Mon, 29 May 2017 10:34:14 +0200 Message-Id: <1496046855-5809-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1496046855-5809-1-git-send-email-benjamin.gaignard@linaro.org> References: <1496046855-5809-1-git-send-email-benjamin.gaignard@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add bindings documentation for stm32 CEC driver. Signed-off-by: Benjamin Gaignard --- version 4: - rework commit message - add hdmi-phandle optional property .../devicetree/bindings/media/st,stm32-cec.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/st,stm32-cec.txt -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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..790d6d3 --- /dev/null +++ b/Documentation/devicetree/bindings/media/st,stm32-cec.txt @@ -0,0 +1,22 @@ +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. + +Optional properties: + - hdmi-phandle: Phandle to the HDMI controller + +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"; +};