From patchwork Sun Aug 13 15:11:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9897923 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 D142D602CA for ; Sun, 13 Aug 2017 15:12:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A55A928635 for ; Sun, 13 Aug 2017 15:12:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 96BA42863D; Sun, 13 Aug 2017 15:12:02 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1F6CC28635 for ; Sun, 13 Aug 2017 15:12:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 28B276E04D; Sun, 13 Aug 2017 15:11:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) by gabe.freedesktop.org (Postfix) with ESMTPS id DAC206E04D for ; Sun, 13 Aug 2017 15:11:55 +0000 (UTC) Received: by mail-lf0-x236.google.com with SMTP id m86so31350716lfi.4 for ; Sun, 13 Aug 2017 08:11:55 -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=eaXv6IM97FOevS1xG3rC7BYtIBCR25+HeH64Pbok6t0=; b=ftR5ox5Sk6pX4gry1jdIy615zsZykvPl9AFIhnG//DrwRKsFhXEe8/e4xS/JHhy/Al oaRMPoxQpnMZA8Q57ovZsF89BJm3qtT0sBNom5cEjqll2AuHkeI0YsW7WR9TAPJrI5zY 7OZx/AFNylxsHm3ufPwBZPOlKm/6J/5dYsiyA= 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=eaXv6IM97FOevS1xG3rC7BYtIBCR25+HeH64Pbok6t0=; b=kdl6tYzB4CG9i1yzNLhWiEfinqoYRxpaGMTW2P/kQ1bhuHpiJ4VDnUGrx2obwJKGse nNZPJUKVrN5TsdXtugFNyp/DMkwcHcDbFbkHdS1DCTWFmC3WQqDAqckEzQOUILOrykL7 1aCwj0oMnY5FkWw/GEHFMRzbTCgje/+I1t9kuEX7xxOToMrIFcU5pkgwYFx7xHJEtFZF m1qSuX6MB0tqIlu1YeZy/aTv4QK6kDz3V3k3lq0r9A+QTGU7kGMkixBp5aKtXM+CahIf 5w50TtWtY6qgo3NFSec7Nw/xDbkr1EF2Ujur2l9pAmaqzn2XH5F5asmYd8bnsvzW2OI0 a1pw== X-Gm-Message-State: AHYfb5jK8jYpGWl4IAJj8+BdZeDjyW66sELNMOfK+Xlu2qWIfN2pqhoB 0ymBFWoCz4fxn7Z1Za2y5w== X-Received: by 10.25.100.81 with SMTP id b17mr7644324lfj.237.1502637113802; Sun, 13 Aug 2017 08:11:53 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-277e71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.126.39]) by smtp.gmail.com with ESMTPSA id e195sm1064062lfg.17.2017.08.13.08.11.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 13 Aug 2017 08:11:52 -0700 (PDT) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Eric Anholt , Daniel Vetter , Jani Nikula , Sean Paul Subject: [PATCH 1/4] drm/tve200: Add DT bindings Date: Sun, 13 Aug 2017 17:11:29 +0200 Message-Id: <20170813151132.24736-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.4 In-Reply-To: <20170813151132.24736-1-linus.walleij@linaro.org> References: <20170813151132.24736-1-linus.walleij@linaro.org> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This adds device tree bindings for the Faraday TVE200 IP block. This IP block is present in the Gemini ARM SoC and also in some Grain Media GMxxxx SoCs. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../devicetree/bindings/display/faraday,tve200.txt | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/faraday,tve200.txt diff --git a/Documentation/devicetree/bindings/display/faraday,tve200.txt b/Documentation/devicetree/bindings/display/faraday,tve200.txt new file mode 100644 index 000000000000..95d588fbb2f2 --- /dev/null +++ b/Documentation/devicetree/bindings/display/faraday,tve200.txt @@ -0,0 +1,41 @@ +* Faraday TV Encoder TVE200 + +Required properties: + +- compatible: must be one of: + "faraday,tve200" + "cortina,gemini-tvc", "faraday,tve200" + +- reg: base address and size of the control registers block + +- interrupts: contains an interrupt specifier for the interrupt + line from the TVE200 + +- clock-names: should contain "PCLK" for the clock line clocking the + silicon and "TVE" for the 27MHz clock to the video driver + +- clocks: contains phandle and clock specifier pairs for the entries + in the clock-names property. See + Documentation/devicetree/bindings/clock/clock-bindings.txt + +Optional properties: + +- resets: contains the reset line phandle for the block + +Required sub-nodes: + +- port: describes LCD panel signals, following the common binding + for video transmitter interfaces; see + Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + +tvc@6a000000 { + compatible = "faraday,tve200"; + reg = <0x6a000000 0x1000>; + interrupts = <13 IRQ_TYPE_EDGE_RISING>; + resets = <&syscon GEMINI_RESET_TVC>; + clocks = <&syscon GEMINI_CLK_GATE_TVC>, + <&syscon GEMINI_CLK_TVC>; + clock-names = "PCLK", "TVE"; +};