From patchwork Sun Aug 20 10:05:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 110472 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp14753qge; Sun, 20 Aug 2017 03:06:08 -0700 (PDT) X-Received: by 10.84.236.71 with SMTP id h7mr15419094pln.348.1503223568146; Sun, 20 Aug 2017 03:06:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503223568; cv=none; d=google.com; s=arc-20160816; b=cY/JLWc41WvRjU2Spc+rf9rhOCGET822/AUz7tB/XpjyN/j4Fok9+Yos3QRQ1iMtZj VA0JTp/Nyl8oVW07jVCYET9pXYEQCgNzT47Lxh+n1laKANjFdT3BAJznC7qplFxI7bZh c+wNk+fIPMXqdmVHQpjc8RMMEGr6ORqKdi74U5yTOTD54K22kEsR/iqPNnO+6CR8Ut3l u9h/UA/NC9QVJugjYlHGGoYCZym/xdMZwYmycalcFHIduy6Z80gOJ28BR5LHLbavu3Zl 933r6Ug0W7KaPZmNKBKrCOZYgV36yTiDU3MWWaT13QAMds1YrR+SHqE2S4nNnPdtuadH Sgog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=OvvWgg+VWMpSHaxctsetYrXx6SK07Ol8Z13cngXG5PU=; b=j3JQTMhDPvwU1cdRxX4hgPKojHs2hbLCqWQSybXlTYTYr2c0aJqpMolFohI8Lx7l0z /rJ6neoy1LlE+w7PS6laeTp97VONs6CcY72Kcz6DyIZrObpEPkXsfkwzCXPZShoyxZLj wSZX3eSGXBd64pYsp/3w8DKD97Tp1ULrwNodSyL7SKgRdSK/G9vAaH9E+o+DhCFfsR0W WmFvTLD9Fd7+T/qvSBJgYq2qqSspMD5eTvZZoaTT4vZP1bowp01bQwCcQhjN9555rL9c DzRU61EqHcd6Cd6M8nwlD+Iwvf1biTo9lqELjl2T7Ztl88T300Oxi92fPIRPKbKv18JT g7oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KSbJryAF; 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 d37si6552244plb.195.2017.08.20.03.06.07; Sun, 20 Aug 2017 03:06:08 -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 header.s=google header.b=KSbJryAF; 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 S1751549AbdHTKGG (ORCPT + 6 others); Sun, 20 Aug 2017 06:06:06 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:34607 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbdHTKGG (ORCPT ); Sun, 20 Aug 2017 06:06:06 -0400 Received: by mail-lf0-f46.google.com with SMTP id g77so24579673lfg.1 for ; Sun, 20 Aug 2017 03:06:05 -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; bh=RFC7y9PlD7JF5hSzyK90RFFs/Ba9xW8scxGiIRCv5qo=; b=KSbJryAFjD0xKboqtCoKcQ3unxoPZgzmS6VK2dUHaWWvcoBuQAArBkQSwTXzwxurh4 JZJMNHjoeYi6mASL7q0SFwXx8Pk61ydosh0TBDn+SYVLcQZSWgVskE9wkPKvOWeTyjNn BiamjJy5+GEQWzp5c0Urg8nCmZX36APubO5NI= 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; bh=RFC7y9PlD7JF5hSzyK90RFFs/Ba9xW8scxGiIRCv5qo=; b=CXSD9ARxE5ITXFXOKPTis7adLUL2H8wXZLFGSgIWBQA7QCBNtkJENZFrUWa7szdzqf DZGQ92bP/wuG5niFp2YCQDKtVi+td4wIBXT3y7sh8t0zXRgvgEEK4Cd7DMUjZiPjDFQn +YRVRSPqOtGGlPjDZQyEQ3OgrgBmU25ij0cb7G+TTIlQP5pkQCJoCJlf9DrNueNGd04b RvqmZP3tH6w88OXwxwS2KS2W/qnxFYOEnfHoj+Adgfxc19nK9P+CaEo/CafDdixneuiG eUKAE2Rs5Q1julr06J/kbPRunzwkKmnTmQU7fRNk+qagf4ovGkDjuhldiInzijT4eGTo x0tQ== X-Gm-Message-State: AHYfb5iEelr+DBVh3FOHoh7u7HNeLb4/Hj0c293rEDJ95GQicVW7QZH6 hi5e0wQk4MaOYkQ4 X-Received: by 10.46.83.2 with SMTP id h2mr4941829ljb.22.1503223564751; Sun, 20 Aug 2017 03:06:04 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-437f71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.127.67]) by smtp.gmail.com with ESMTPSA id q11sm2127985lfi.24.2017.08.20.03.06.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Aug 2017 03:06:04 -0700 (PDT) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Eric Anholt , Daniel Vetter , Jani Nikula , Sean Paul Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/4 v2] drm/tve200: Add DT bindings Date: Sun, 20 Aug 2017 12:05:54 +0200 Message-Id: <20170820100557.24991-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.5 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- ChangeLog v1->v2: - Fix display port bindings: list required endpoint. - Fix the example to include an endpoint. --- .../devicetree/bindings/display/faraday,tve200.txt | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/faraday,tve200.txt -- 2.13.5 -- 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 Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/display/faraday,tve200.txt b/Documentation/devicetree/bindings/display/faraday,tve200.txt new file mode 100644 index 000000000000..82e3bc0b7485 --- /dev/null +++ b/Documentation/devicetree/bindings/display/faraday,tve200.txt @@ -0,0 +1,54 @@ +* 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 + This port should have the properties: + reg = <0>; + It should have one endpoint connected to a remote endpoint where + the display is connected. + +Example: + +display-controller@6a000000 { + #address-cells = <1>; + #size-cells = <0>; + 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"; + + port@0 { + reg = <0>; + display_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; +};