Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1243216ybl; Wed, 28 Aug 2019 11:40:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyS1xKlJEVAJI6hyen54TEcK4O7RlHzLMPtI0lOE7G2DNkJBiCkqmeM6pl/vAX1dyxbFHaP X-Received: by 2002:a17:90a:e28a:: with SMTP id d10mr5721626pjz.107.1567017633635; Wed, 28 Aug 2019 11:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567017633; cv=none; d=google.com; s=arc-20160816; b=nX6QwdRYPn0/8q69bgRTh9lDL7261s14mQI2FZB//HuwjfaBQ1r8B/NyqnBkjn3DOK u7HxTxDRdDvsM9C1PoVR8SVV+rxue0rhG1vSvVwbtwYP/cYjWsT3vblDPhmz7atacK5x Q+2qtigyE0qBt4IxX+/ihzWhKnaizjgcaZYbwVIZsEUzwKqUQ8zJToB7bCF3yLF6aL41 9mOxFbkD0Rjjx1G7rYaAEyKSq/BO/4JzfpalSYi9U9PSzFCAqGAKFazuRjsZ6GYxLt1L wW2k4ufben/ezWOxFjmZ1P9RxlY+bavFBCou2AwGHYzH3DXeLn9MHEzXsfxWvhKKAlDg 47og== 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=ZqGa1m6RsSsY4U/8EaRFxnx1d9DNadHe8hMwZIW8gas=; b=G/49T3UYEUdjdT04Kk+p9NbGD0bClkYgnDsR2V6uGxnfn1M74UbAEYK2wvarKhPfdJ JqAKWqdcR/S+RP1xXG/XxzbjY7Dhzp/3eILjuM5H4FMfTVifkmK5C6lkvie3Di5gkfbH cPnLQnAXFhihnimzRl06TtA1+gNTAre+3Zg4RM3SHi8SXmuTCC4Oz3QGArtH04RdIWrG ovfkuLsSPo5X3rRRTBkXfoQuGAq4TZbr1QucnvmXeGU2aD3Szfcem6NS8s5f7qgVSPxJ Ap355f3zbNdsoesWaPYNglrGfyNd01yAvhqIKMhWyDU7f4rRIwM/kXQ8XacvgzdnLnBT YUmQ== 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 f4si2782454pgg.334.2019.08.28.11.40.17; Wed, 28 Aug 2019 11:40:33 -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 S1727138AbfH1Sh0 (ORCPT + 99 others); Wed, 28 Aug 2019 14:37:26 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:43079 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727101AbfH1ShX (ORCPT ); Wed, 28 Aug 2019 14:37:23 -0400 X-IronPort-AV: E=Sophos;i="5.64,442,1559487600"; d="scan'208";a="24947709" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 29 Aug 2019 03:37:21 +0900 Received: from fabrizio-dev.ree.adwin.renesas.com (unknown [10.226.36.196]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 0CE244004953; Thu, 29 Aug 2019 03:37:17 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Mark Rutland Cc: Fabrizio Castro , Simon Horman , Geert Uytterhoeven , Magnus Damm , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Paterson , Biju Das , Laurent Pinchart , Kieran Bingham , Jacopo Mondi , sam@ravnborg.org Subject: [PATCH v3 7/8] [HACK] arm64: dts: renesas: draak: Enable LVDS Date: Wed, 28 Aug 2019 19:36:41 +0100 Message-Id: <1567017402-5895-8-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1567017402-5895-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1567017402-5895-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 Enable and connect the second LVDS encoder to the second LVDS input of the THC63LVD1024 for dual-link LVDS operation. This requires changing the default settings of SW45 and SW47 to OFF and ON respectively. This patch is based on Laurent's dual-LVDS work: https://patchwork.kernel.org/patch/10965045/ Signed-off-by: Fabrizio Castro --- v2->v3: * new patch Geert, no need to review this patch unless they like the idea behind this series. Thanks, Fab --- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts index b38f9d4..38b9c5a 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +++ b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts @@ -87,11 +87,20 @@ port@0 { reg = <0>; - thc63lvd1024_in: endpoint { + dual-lvds-even-pixels; + thc63lvd1024_in0: endpoint { remote-endpoint = <&lvds0_out>; }; }; + port@1 { + reg = <1>; + dual-lvds-odd-pixels; + thc63lvd1024_in1: endpoint { + remote-endpoint = <&lvds1_out>; + }; + }; + port@2 { reg = <2>; thc63lvd1024_out: endpoint { @@ -489,7 +498,7 @@ ports { port@1 { lvds0_out: endpoint { - remote-endpoint = <&thc63lvd1024_in>; + remote-endpoint = <&thc63lvd1024_in0>; }; }; }; @@ -507,6 +516,14 @@ <&x13_clk>, <&extal_clk>; clock-names = "fck", "dclkin.0", "extal"; + + ports { + port@1 { + lvds1_out: endpoint { + remote-endpoint = <&thc63lvd1024_in1>; + }; + }; + }; }; &ohci0 { -- 2.7.4