From patchwork Thu Aug 10 08:31:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 800133 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xShSt3Tt8z9s0g for ; Thu, 10 Aug 2017 18:41:50 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750868AbdHJIls (ORCPT ); Thu, 10 Aug 2017 04:41:48 -0400 Received: from lb1-smtp-cloud7.xs4all.net ([194.109.24.24]:58916 "EHLO lb1-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751463AbdHJIig (ORCPT ); Thu, 10 Aug 2017 04:38:36 -0400 Received: from marune.fritz.box ([80.101.105.217]) by smtp-cloud7.xs4all.net with ESMTPA id fisIdgeTHAr7rfisJdpsrX; Thu, 10 Aug 2017 10:31:27 +0200 From: Hans Verkuil To: linux-media@vger.kernel.org Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding , Hans Verkuil Subject: [PATCHv3 1/4] dt-bindings: document the tegra CEC bindings Date: Thu, 10 Aug 2017 10:31:22 +0200 Message-Id: <20170810083125.36649-2-hverkuil@xs4all.nl> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170810083125.36649-1-hverkuil@xs4all.nl> References: <20170810083125.36649-1-hverkuil@xs4all.nl> X-CMAE-Envelope: MS4wfEek2vHbCuAfVL//7CEqvc0CgQboFNNuGGyCaVSz6rs+FhfdlbC+QOzXR5+7r8s7YopFr4yWGBdduhMU85WXCG4lYxGS4T/UJJkzdmieMhvhPm7DiEmr LEsNhZShGSvGnv/20JjvyVCY3RSU16gC8coh7SaNTAt67fpRgBKEZi4V8MkeQRrKhKegMnsCM3K+5p1Qkq/FCSPLqskXlgWVsy+/jh5RvS9CrEJiu406DPB6 Ze75IOO5FEv5yHlM8N0odUfXPcg+PFb2/GzTc4l/FRn4xC+t7xQ0psDR9WNTzcrNM1ecQS/TqawkiL+2RRhUYFaU9fzrgpxWivLRzhj6hyYnITe/XNsZAYza Z1nfq3rG Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Hans Verkuil This documents the binding for the Tegra CEC module. Signed-off-by: Hans Verkuil Acked-by: Rob Herring --- .../devicetree/bindings/media/tegra-cec.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/tegra-cec.txt diff --git a/Documentation/devicetree/bindings/media/tegra-cec.txt b/Documentation/devicetree/bindings/media/tegra-cec.txt new file mode 100644 index 000000000000..c503f06f3b84 --- /dev/null +++ b/Documentation/devicetree/bindings/media/tegra-cec.txt @@ -0,0 +1,27 @@ +* Tegra HDMI CEC hardware + +The HDMI CEC module is present in Tegra SoCs and its purpose is to +handle communication between HDMI connected devices over the CEC bus. + +Required properties: + - compatible : value should be one of the following: + "nvidia,tegra114-cec" + "nvidia,tegra124-cec" + "nvidia,tegra210-cec" + - reg : Physical base address of the IP registers and length of memory + mapped region. + - interrupts : HDMI CEC interrupt number to the CPU. + - clocks : from common clock binding: handle to HDMI CEC clock. + - clock-names : from common clock binding: must contain "cec", + corresponding to the entry in the clocks property. + - hdmi-phandle : phandle to the HDMI controller, see also cec.txt. + +Example: + +cec@70015000 { + compatible = "nvidia,tegra124-cec"; + reg = <0x0 0x70015000 0x0 0x00001000>; + interrupts = ; + clocks = <&tegra_car TEGRA124_CLK_CEC>; + clock-names = "cec"; +};