From patchwork Mon May 13 21:07:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 164068 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp1824555ili; Mon, 13 May 2019 14:07:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7mQuid7CAXSrSkuBWmRTQm3SMLGDnD+NwYf6Sr2NfGAxoR9M0TReddl0hIgF8xrhDo8BI X-Received: by 2002:a63:1055:: with SMTP id 21mr33638766pgq.200.1557781672864; Mon, 13 May 2019 14:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557781672; cv=none; d=google.com; s=arc-20160816; b=jLqklg3QagOl85zd8eFqIb6NrMgEmvJMSQUvYCaLxpmNJkK33b0vvPIziv6hf9Rpm8 gSjzXDdFDbkyio9lub5n82dSfyFfdKl393oV1jtBTx5enaobE2sKpv4u5WG+ZYr0S3cn 3wyr1La0jxZ7IWlnjD10I5hTrdKkxfp1Ox/BZwsD0g4fdqAkYYhIy8Yj9GKGgyPFTo+8 SNwlNw4h5wt42cEK5/ffUrTVWSzJ4Ec8EOg6LPY323KtmC1FAzO6xfGZNPJZYSqgVFi2 3ngf+6+yIfrDotBSa7bWrCWrN6lQapCG9o756RtOUG8fnjOuguORxXex65pfQHdFyvCz 46WQ== 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; bh=VyWcWjrZXEyD6w07tvHm50fVGWK7lK6mM8u98FcSYoY=; b=AGa9CgOALwVr918qqqB1M8Pwe3rOa9jtFec5jKnidMT8HOotCHdsvoAJ7mgFtBwvfe 4FmN985cOO7X7758uiUInjg3FIiJDF+8YMyXPdZC3O+OwUfGZWdNpidbW7Bcw5xPgdq8 sOCm67H3qKyDhHJkY/HK8IP8UcGeIQlP5PiHVb1N26Mn2OsCnHS13PyV7nzo/DO8Zaou s44WgwCRWS3AuFFUAvcslE/Lg5+t7CwmJBg06LbZA25zxuWFBXX1X4CIWVF3l3g1jZyK YvDGGoe5nU2TWcvyqZFcvYzuVN1raLDR7CCEPBN3PdLGTy9FSaiY2Mz2ovFc/FKvPl/s jeDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GGGhRxCL; 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=pass (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 d129si19880376pfd.267.2019.05.13.14.07.52; Mon, 13 May 2019 14:07:52 -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=pass header.i=@linaro.org header.s=google header.b=GGGhRxCL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726452AbfEMVHw (ORCPT + 7 others); Mon, 13 May 2019 17:07:52 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43535 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbfEMVHw (ORCPT ); Mon, 13 May 2019 17:07:52 -0400 Received: by mail-pl1-f194.google.com with SMTP id n8so7078961plp.10 for ; Mon, 13 May 2019 14:07:51 -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=VyWcWjrZXEyD6w07tvHm50fVGWK7lK6mM8u98FcSYoY=; b=GGGhRxCLGCDe1tt+2HecuE4u75ZdWTyADg0qZXEsWP6EA7hGLVcgJgyKy41jgfrNgR ZU50QVg1F3c2QdeRgYlOKY3O5aFVv0pNIwqw/ajzRsklhVFsguNbBpd8ElghBnVIb+33 xe8eBd32gzjcFINDMtM5uGleiX7/hFAPComeweZL4XDbUYnhO6dVdgtmEea1w/3l/15d dv//EQsWEC+llGw6tX1s9F38gB1wpVJezOtAcXMRPjpe9RLKIKcpGgNmc+xuHkYDk876 +UVpckEfGohYz4oaDHpcpEaVTb+GP7cPQ9SHr+e3N7y9EgQiXt7oWn/INWuXzcIwGNPR Z0VQ== 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=VyWcWjrZXEyD6w07tvHm50fVGWK7lK6mM8u98FcSYoY=; b=MbNqrlFH9/eKErETJ6oYCfzsvIQy0LLa4mygpz4bkSqQeih1tMeQZO1V7+eTaAG5Yc LESrGb2UgRvt7BPAfQi7ZZdfKPaHBV4ZHJqbe+FORgNUyF9qTWj/6v+ndw4nbm7YiCIs mcCWbO1tNHLQZZsnBfaXgp1byIhbPBapLO47BnL96woZCu85zhGn7QEHIQYMdGaVZ8Qg AqQNafui/CaIkJdHMWTQCqN2ATXtNDjSMXmZ3+XwS60L1IvrCbf0xTzIGo03HHwOI/+H zH1c+BpHLtKMd0oB8+ydiI8qvCvb6XzLSpzlTc0wCUXNpz9+Z17yDGvJ0wUTCqqTRY/M udHA== X-Gm-Message-State: APjAAAUQm1Co/K6I/Z7YvlJ9321r+JuUBCqheG6G6f4Tiwz2x4HRYCA7 gCFQ029Z3nGvT0wDZ1pq7bgR7w== X-Received: by 2002:a17:902:a40b:: with SMTP id p11mr5883784plq.306.1557781671009; Mon, 13 May 2019 14:07:51 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 85sm6939980pgb.52.2019.05.13.14.07.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 May 2019 14:07:50 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sdm845-mtp: Add Truly display Date: Mon, 13 May 2019 14:07:47 -0700 Message-Id: <20190513210747.22429-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Bring in the Truly display and enable the DSI channels to make the mdss/gpu probe, even though we're lacking LABIB, preventing us from seeing anything on the screen. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 79 +++++++++++++++++++++++++ 1 file changed, 79 insertions(+) -- 2.18.0 Reviewed-by: Vivek Gautam Tested-by: Vivek Gautam diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index 02b8357c8ce8..83198a19ff57 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -352,6 +352,77 @@ status = "okay"; }; +&dsi0 { + status = "okay"; + vdda-supply = <&vdda_mipi_dsi0_1p2>; + + qcom,dual-dsi-mode; + qcom,master-dsi; + + ports { + port@1 { + endpoint { + remote-endpoint = <&truly_in_0>; + data-lanes = <0 1 2 3>; + }; + }; + }; + + panel@0 { + compatible = "truly,nt35597-2K-display"; + reg = <0>; + vdda-supply = <&vreg_l14a_1p88>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + truly_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + + port@1 { + reg = <1>; + truly_in_1: endpoint { + remote-endpoint = <&dsi1_out>; + }; + }; + }; + }; +}; + +&dsi0_phy { + status = "okay"; + vdds-supply = <&vdda_mipi_dsi0_pll>; +}; + +&dsi1 { + status = "okay"; + vdda-supply = <&vdda_mipi_dsi1_1p2>; + + qcom,dual-dsi-mode; + + ports { + port@1 { + endpoint { + remote-endpoint = <&truly_in_1>; + data-lanes = <0 1 2 3>; + }; + }; + }; +}; + +&dsi1_phy { + status = "okay"; + vdds-supply = <&vdda_mipi_dsi1_pll>; +}; + &gcc { protected-clocks = , , @@ -365,6 +436,14 @@ clock-frequency = <400000>; }; +&mdss { + status = "okay"; +}; + +&mdss_mdp { + status = "okay"; +}; + &qupv3_id_1 { status = "okay"; };