From patchwork Thu Apr 19 09:31:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10349419 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 0B43460365 for ; Thu, 19 Apr 2018 09:36:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0D2C289B1 for ; Thu, 19 Apr 2018 09:36:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2A0B289B7; Thu, 19 Apr 2018 09:36:42 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EAF8D289B5 for ; Thu, 19 Apr 2018 09:36:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752932AbeDSJg2 (ORCPT ); Thu, 19 Apr 2018 05:36:28 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47387 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751940AbeDSJb3 (ORCPT ); Thu, 19 Apr 2018 05:31:29 -0400 X-Originating-IP: 2.224.242.101 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id EAA9D60010; Thu, 19 Apr 2018 11:31:25 +0200 (CEST) From: Jacopo Mondi To: architt@codeaurora.org, a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com, airlied@linux.ie Cc: Jacopo Mondi , daniel@ffwll.ch, peda@axentia.se, linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/8] dt-bindings: display: bridge: thc63lvd1024: Add lvds map property Date: Thu, 19 Apr 2018 11:31:03 +0200 Message-Id: <1524130269-32688-3-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524130269-32688-1-git-send-email-jacopo+renesas@jmondi.org> References: <1524130269-32688-1-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The THC63LVD1024 LVDS to RGB bridge supports two different input mapping modes, selectable by means of an external pin. Describe the LVDS mode map through a newly defined mandatory property in device tree bindings. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring --- .../devicetree/bindings/display/bridge/thine,thc63lvd1024.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.txt b/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.txt index 37f0c04..0937595 100644 --- a/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.txt +++ b/Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.txt @@ -12,6 +12,8 @@ Required properties: - compatible: Shall be "thine,thc63lvd1024" - vcc-supply: Power supply for TTL output, TTL CLOCKOUT signal, LVDS input, PPL and digital circuitry +- thine,map: LVDS mapping mode selection signal, pin name "MAP". Shall be <1> + for mapping mode 1, <0> for mapping mode 2 Optional properties: - powerdown-gpios: Power down GPIO signal, pin name "/PDWN". Active low @@ -36,6 +38,7 @@ Example: vcc-supply = <®_lvds_vcc>; powerdown-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; + thine,map = <1>; ports { #address-cells = <1>;