Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1956958ybl; Thu, 15 Aug 2019 04:11:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEqkRg4jOYrm1pK9w7WjcYP1wLeKv8SeEegyr9d6PL7LQscs6QcyBRVDh6QeyWdeM2PUp2 X-Received: by 2002:a63:c009:: with SMTP id h9mr3088584pgg.166.1565867505290; Thu, 15 Aug 2019 04:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565867505; cv=none; d=google.com; s=arc-20160816; b=puLfshawep824A0jyVu7WjsPsP3AnNM4CvXbLbFul/53dzAT1CnObbaMAwzPYmZwlw 8O21Vfkb/SIatK7AzIjCzz9wcGdGcC2Xgmbj9e+df+IE38BeyTF6YF0IbgZhamgOL3FM kdJFVHhTbi3eYTSILH9kkFRfKRpEYfG+Lmqap6JCU772ziZz1bpIG+7/AKoQO3NZDLM8 DsUozi7x1P3lDotGqWF67ElHfglnx1mbvg7gq2cGtfpzyxZfevxRS4jk4dzUzW3yHu3R 4mJrJmdVL2ZuZtJFtZ5pDDWLwBDd4sIjtvzBX78sW0wAcFakRFlFDzYVuqTMB9kud0KC hyMg== 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; bh=H1gk9O++b7ANXBVYmyFjdSZDoGQLvK+wQAmrXmgubh0=; b=dJFO/lAMwK4NJUacrun3F9jhZqOIyG28VDU+vabZGYsawjyWqDkal3kFLW5AIKlxuD v5ua7Bop5CHTB+bayHJW7ITcnNvjISjxKUut2UPsx/bVMGR0OxlTcS2AMymgRI43feV/ rkY28+zRlkG5ufpTa9+VnjPY8mF/HEpkVG504wTlpY1xbRCCIqUxmA2mQRBywZ8Krkdk iyYkmW4EvNhMQGG/c4DA+QzhqNyY5Tbp4QZqR/oN/2Lp1A51zKpVSonH/fPpYDXl2Lqi LyPOldioRqE5yrAPuuVVfHVjuMazG8k61n94/kSz6RMI9K1J9JnubqGvmHg1GeBcnK4s k5XQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si1768707plo.267.2019.08.15.04.11.29; Thu, 15 Aug 2019 04:11:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731544AbfHOLFB (ORCPT + 99 others); Thu, 15 Aug 2019 07:05:01 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:43006 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727814AbfHOLFA (ORCPT ); Thu, 15 Aug 2019 07:05:00 -0400 X-IronPort-AV: E=Sophos;i="5.64,388,1559487600"; d="scan'208";a="24088287" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 15 Aug 2019 20:04:58 +0900 Received: from fabrizio-dev.ree.adwin.renesas.com (unknown [10.226.36.196]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id D6FE741773C3; Thu, 15 Aug 2019 20:04:52 +0900 (JST) From: Fabrizio Castro To: Laurent Pinchart , Thierry Reding , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland Cc: Fabrizio Castro , Sam Ravnborg , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org, Kieran Bingham , Jacopo Mondi Subject: [PATCH v2 2/9] dt-bindings: display: Add bindings for Advantech IDK-2121WR Date: Thu, 15 Aug 2019 12:04:26 +0100 Message-Id: <1565867073-24746-3-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565867073-24746-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1565867073-24746-1-git-send-email-fabrizio.castro@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This panel is handled through the generic lvds-panel bindings, so only needs its additional compatible specified. Some panel-specific documentation can be found here: https://buy.advantech.eu/Displays/Embedded-LCD-Kits-High-Brightness/model-IDK-2121WR-K2FHA2E.htm Signed-off-by: Fabrizio Castro --- v1->v2: * Reworked according to Laurent's feedback * Renamed lvds0_panel_in to panel_in0 * Renamed lvds1_panel_in to panel_in1 Laurent, Should this be a .yaml file already? Thanks, Fab .../display/panel/advantech,idk-2121wr.txt | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.txt diff --git a/Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.txt b/Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.txt new file mode 100644 index 0000000..6ee1d1b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.txt @@ -0,0 +1,56 @@ +Advantech Co., Ltd. IDK-2121WR 21.5" LVDS panel +=============================================== + +Required properties: +- compatible: should be "advantech,idk-2121wr" followed by "panel-lvds" + +This binding is compatible with the lvds-panel binding, which is specified +in panel-lvds.txt in this directory. +The panel operates in dual-link mode and thus requires two port nodes, +the first port node expects odd pixels (1, 3, 5, etc.) and the second port +expects even pixels (0, 2, 4, etc.). + +Example +------- + + panel { + compatible = "advantech,idk-2121wr", "panel-lvds"; + + width-mm = <476>; + height-mm = <268>; + + data-mapping = "vesa-24"; + + panel-timing { + clock-frequency = <148500000>; + hactive = <1920>; + vactive = <1080>; + hsync-len = <44>; + hfront-porch = <88>; + hback-porch = <148>; + vfront-porch = <4>; + vback-porch = <36>; + vsync-len = <5>; + }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + /* Odd pixels */ + reg = <0>; + panel_in0: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + + port@1 { + /* Even pixels */ + reg = <1>; + panel_in1: endpoint { + remote-endpoint = <&lvds1_out>; + }; + }; + }; + }; -- 2.7.4