Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp153656pxb; Wed, 3 Feb 2021 02:03:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmUScBGfSG3Ww67i+2G46M8kUkyD8w4zSPTw1DT1Ub4Rs+W5YYtYzJUeBLOBRtLh9N3GwH X-Received: by 2002:a05:6402:1642:: with SMTP id s2mr2055026edx.360.1612346588787; Wed, 03 Feb 2021 02:03:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612346588; cv=none; d=google.com; s=arc-20160816; b=WiBX9gBx9pwMD2+iK0s6BR6znvgWuKZshgBHOuoSSFYJRv29028VAN9WThHU1v5nqw kIlpauk6YjDWg5/YCdAjyrIQrejeosEtkjiehPKbE0RHekpR9WIYGrw5mhrV2nniM1/7 07FeWt1CJJ3oE46+xilhSECVpaQKQKSmBKRQ0ZsFjzhPpLa0XldWSb0U4CMDHAxma2me 9geSYV/Fgrz/Aowc+wr531ezBr1pmZgQfMi1VYfE94WuwJvmBQxLSU59ij442M8IFewS VYBAnj+bz+YiM3lxcXjtTwImU3/X4iuuZK4tOVk66/sQ0OQduHd4FQKrhp+V2Bu3WW9D 6Srg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=b/R050Y1V5Ge6RgQndzOtSwrUqfobK01w5MWFMoCoZ8=; b=F+enoRBKFo0SZC8O9VIM5J+CwXkpXPQUhl/XlTRzFLdiMygy6WGCBKRutgNqEkYEGT dJIv+u2lXK2yfIoMU8EAy9SjpeyIxCljvgfoeG0MtvuXbhOwXLEY4ukgFsSGxAHwZqqc JW1JvR2Nmne+Py5OFg1+tB22ekrZiJqUe3/D8FVT6b0/ZQHeGNKEzNwa87ZvxiKnxLr3 Ss89CQndepm90WY8PwB+A/Fvve8Yc4ThxWdk9qJd1UIV0viNpowQJe5YAADyHON8cetM J2R5gRy6GHQ1ggd4M4tL8MomDCo1WLmASGaP0ct6JUP4D68rja8WB3WeD54lJdTBhQGb Ufrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LKVycDXu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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. [23.128.96.18]) by mx.google.com with ESMTP id a4si840182edv.410.2021.02.03.02.02.44; Wed, 03 Feb 2021 02:03:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LKVycDXu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S233563AbhBCKAQ (ORCPT + 99 others); Wed, 3 Feb 2021 05:00:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233478AbhBCKAG (ORCPT ); Wed, 3 Feb 2021 05:00:06 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16024C061573 for ; Wed, 3 Feb 2021 01:59:23 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id s23so15706533pgh.11 for ; Wed, 03 Feb 2021 01:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=b/R050Y1V5Ge6RgQndzOtSwrUqfobK01w5MWFMoCoZ8=; b=LKVycDXu0rsyOBfww/WsyR7fnRDdngTyJ0nhdbiq7M5uOFBrBJ9KNZqfmMbVDQL9Sr 866hPIsso4aRMM+hkbxVJZ8o/4Pm/6Cti1gadMSOAGnnk6Sfsa463M6nR4eHS178Glbk +35ZJ6gMP9bSlDGW7UVIPsEVWaTPtIlbZjjOxQYwUmy9moXwqZ6NCrqtiLl8g+q2uJ5h /lsPqhs6EaVup+ACAU0KGc0FSwl8Cy5AfzBWiT6z828uJGegzpNX+iVieSc3/HSCEnMA OBfXswsLbTp15zuTgO2pSQtwOgYHSjP/rNR+2SMDFpVHhv2/NGy2yLKK/H+PhpYoIe2I uiHA== 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=b/R050Y1V5Ge6RgQndzOtSwrUqfobK01w5MWFMoCoZ8=; b=e2qXf14ZLYeCr7goS5Km3fZvml0L4dVrlssnByzUi1F3x8Wfkyhvd06jdjruhmFCzO crZXy1vo4WXnV39E2KyslDtdGTAnxery+Lc+FrhrP5+LTKbXIz6m6JmcT4DqXMnMWeyr XAkcw5WAXudCeUIZfZ9hYfw4p4thgs5ogE1SeFJxwX6JrGF82OxH07pl9HYV+R9NC+4D bw+9ilPBToZJmZ5OPm9ari2Ddvb6KexmhsCXSc0wCIpgg4/MR8x4RxeQJmqcqGeTCbn9 uE2JJuvkO267rxAWr6b1FpNwrzcOIr1Zl7+P3n8QwREK+esJcc6XwS9pn+A8w55lNjNd lHLg== X-Gm-Message-State: AOAM531fKTXs74rC4BuVVV6ZQUHu4HWJtotZJjQMC6CoiCGkKyG4Wcwg //3JGfe1id94J/gWO6ikn13sVUY7kuDR+wUs X-Received: by 2002:a63:db03:: with SMTP id e3mr2733397pgg.225.1612346362659; Wed, 03 Feb 2021 01:59:22 -0800 (PST) Received: from localhost.localdomain ([2405:201:6803:610b:1c6f:cebf:a887:dd42]) by smtp.gmail.com with ESMTPSA id p16sm1757182pfq.28.2021.02.03.01.59.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Feb 2021 01:59:22 -0800 (PST) From: Amit Pundir To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , John Stultz , Sumit Semwal Cc: linux-arm-msm , dt , lkml , phone-devel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits Date: Wed, 3 Feb 2021 15:29:16 +0530 Message-Id: <1612346356-26445-1-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sumit Semwal Enabling the Display panel for beryllium phone (Xiaomi Pocophone F1) requires DSI labibb regulators and panel dts nodes to be added. It is also required to keep some of the regulators as always-on. Signed-off-by: Sumit Semwal Signed-off-by: Amit Pundir --- .../boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts index cd15ae0347e8..e09effa555f1 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts @@ -160,6 +160,14 @@ regulator-initial-mode = ; }; + vreg_l14a_1p88: ldo14 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + regulator-boot-on; + regulator-always-on; + }; + vreg_l17a_1p3: ldo17 { regulator-min-microvolt = <1304000>; regulator-max-microvolt = <1304000>; @@ -194,6 +202,7 @@ regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; + regulator-boot-on; }; }; }; @@ -207,6 +216,44 @@ firmware-name = "qcom/sdm845/cdsp.mdt"; }; +&dsi0 { + status = "okay"; + vdda-supply = <&vreg_l26a_1p2>; + + ports { + port@1 { + endpoint { + remote-endpoint = <&tianma_nt36672a_in_0>; + data-lanes = <0 1 2 3>; + }; + }; + }; + + panel@0 { + compatible = "tianma,fhd-video"; + reg = <0>; + vddi0-supply = <&vreg_l14a_1p88>; + vddpos-supply = <&lab>; + vddneg-supply = <&ibb>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + + #address-cells = <1>; + #size-cells = <0>; + + port { + tianma_nt36672a_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; +}; + +&dsi0_phy { + status = "okay"; + vdds-supply = <&vreg_l1a_0p875>; +}; + &gcc { protected-clocks = , , @@ -274,6 +321,14 @@ }; +&mdss { + status = "okay"; +}; + +&mdss_mdp { + status = "okay"; +}; + &mss_pil { status = "okay"; firmware-name = "qcom/sdm845/mba.mbn", "qcom/sdm845/modem.mdt"; -- 2.7.4