Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1935571pxb; Fri, 5 Feb 2021 05:23:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJw++1GGZs95Wr5UDaSz1rCPZK9gDi1y+rvuGuUGZ2SfjmaCTXaVJUAaVnfP1aCTwFRzP1qp X-Received: by 2002:aa7:cd61:: with SMTP id ca1mr3440787edb.76.1612531381219; Fri, 05 Feb 2021 05:23:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612531381; cv=none; d=google.com; s=arc-20160816; b=j8rlhE60mr+u/p/l8/hGYh9GQlH8TQm7+AuJk3aM6Cnkr87U43ukMKVMi1h6vb5ZfC OtQ9zJBY8qyMkSAOGb0eMK/1gxhIkFQ3Wg3lwYLM7cQaSX4/SfqKhGF8zaXpz7YcwAGQ IdUzd/Ku+UXiP0oUfvba1zGg3VCkvUtFLnqOmLtnd5Mwac0SZE5tMSSZ8Gs6VbOkV1Px WSmjvyaRpoKF7mQEqYREqrqDU4zcqnzVvis74UND6+8T10I3X/0+nAF+0yYkBouCIP/x snhQEm0tbG8Jgzvhb+sFFeelC6UxbcLK6PGz/18BS5jrymlqZZrH37ZG0cSJc51Xsf3c Z6vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=eMddkzoLtzudk6Saw9haOw0jx/RFJpF2riNKCfwuqgA=; b=eydCz/9aJ9uWqEh3mJC7R1I4V46oVb7Udeg2Uh99qyI720tLHydC1ycB7tcGer6eTt Fxar7YqxAbxVd7Pa0x8D60uJd003DiSSHDCTXZGGBi2tsv9gpY6xiCrXKDrriXMf/K7l TuWH1ZpQnASDZEY9gkU/Z5+VCINLONLeBnWEMpB4gV2HCLGlEeB0pMhyT8inBM7x8Q+r GG+6Xek9mZ5leqPriKZwb8c4PIbFj0UXEUT9sZVRTzBXf1C+39X6kODHY4RPWmp/V57B fXCoRe9eVHRFw+nFyXWTlmkTWZ0CGlmapel2kvA+nwIbskmWlxCs+VWoyEt4TH+Y7qmj dO9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RF4nwrg/"; 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 91si5560584edq.378.2021.02.05.05.22.34; Fri, 05 Feb 2021 05:23:01 -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="RF4nwrg/"; 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 S229974AbhBENVV (ORCPT + 99 others); Fri, 5 Feb 2021 08:21:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbhBENQi (ORCPT ); Fri, 5 Feb 2021 08:16:38 -0500 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA125C0617A7 for ; Fri, 5 Feb 2021 05:15:57 -0800 (PST) Received: by mail-yb1-xb32.google.com with SMTP id i6so6688851ybq.5 for ; Fri, 05 Feb 2021 05:15:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eMddkzoLtzudk6Saw9haOw0jx/RFJpF2riNKCfwuqgA=; b=RF4nwrg/bI2QEh/WsUpLibjI3mQomXHb2vuTc+uJUHticYqHRHVZN4pY7kach2qUP3 b2ivhKJ38YAJghUzI2MwT8xBhEbUWyI0TmRmDSecrz6bXz6mpYM7dzVlnIOmK4Z89ffa FfASdFuLG72rqoDVYfG/5MJfikNWmyVgqKX3FHsq+gb0ivvHYmDuabct6s07+8xD2MX1 CL+QIU4OwpqVWWzzVusw0VYq912podjjaSzg8cBxTX6i6QyvRR4SWdRbnCRMXta7Z8w0 kCqjWhdpHJUMPxBHj764KNf+HLxSGxHKWW3mEP1d3K4yOmwDsN2y2uIGZ/a+iXonm9q6 sQ3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eMddkzoLtzudk6Saw9haOw0jx/RFJpF2riNKCfwuqgA=; b=NNmmnPXGa03bFow4ya08tTWLtc2nIkIYAmPx/tAx52k8WVBqP6Czh7GVv1v4oRGQF6 0hv87xDWApU8A3j2XjKq2HixFPAaFy73ywP7wkx04d/1t1aH+82SpCg4xsth1oacfOcM knsjobf5JrhCDvaK2abTz8eMrMMs0reLa5d5cqcI6I7ms9YnbDRnRrgU2IEqhJb3QAnn 7QM6V9hr/kST6jCKvINbbj1cO0Ry84Mj1uE0A3GOnwvUM3jepBnfhSHsTGUTDDLTSIAd zVke/SJmf+VLvIsS7esXjU/K6jgXNae5z6GbKzRoFQ3M3RayO5EhousHUEYsUFZoaORl F1Lg== X-Gm-Message-State: AOAM530KwxBkSpq3tompEVrWuSkcYJCKiPbODmL7FessmOqeYOHxwm7X wlQSAY+jABE5vXgOmm9BrCiqU2pVf6u/oMtRVBM/wA== X-Received: by 2002:a25:41cb:: with SMTP id o194mr5820275yba.167.1612530956948; Fri, 05 Feb 2021 05:15:56 -0800 (PST) MIME-Version: 1.0 References: <1612426177-6611-1-git-send-email-amit.pundir@linaro.org> <889e6ed8-133a-9416-be3b-5b2a97ea7fbb@somainline.org> In-Reply-To: <889e6ed8-133a-9416-be3b-5b2a97ea7fbb@somainline.org> From: Amit Pundir Date: Fri, 5 Feb 2021 18:45:21 +0530 Message-ID: Subject: Re: [PATCH v2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Rob Herring , John Stultz , Sumit Semwal , linux-arm-msm , dt , lkml , phone-devel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Konrad, On Thu, 4 Feb 2021 at 19:46, Konrad Dybcio wrote: > > Hi! > > >vreg_l14a_1p88: ldo14 { > >+ regulator-min-microvolt = <1800000>; > >+ regulator-max-microvolt = <1800000>; > > Should probably be renamed to vreg_l14a_1p8 then. ack. > > > >+ ports { > >+ port@1 { > >+ endpoint { > >+ remote-endpoint = <&tianma_nt36672a_in_0>; > >+ data-lanes = <0 1 2 3>; > >+ }; > >+ }; > >+ }; > > The endpoint has a label, you can simply use &dsi0_out {};. I didn't get what you meant there. Care to point to some reference dts snippet please? > > >+ vddpos-supply = <&lab>; > >+ vddneg-supply = <&ibb>; > > With Angelo's latest series [1] merged in, I reckon you should explicitly configure lab/ibb (like in [2]), > as wrong settings (which CAN BE SET BY THE BOOTLOADER in some instances!!) can lead to hardware damage. So iirc in the case of beryllium device, these regulators are pre set by the bootloader and I can't find any reference of we setting/resetting it explicitly to switch ON the panel and display. So far default lab/ibb nodes are working fine for us and I'm hesitant to tinker around anything regulator related that can potentially damage the hardware. Having said that, I do see lab/ibb nodes being set in the downstream dts, with relevant soft-start and discharge-resistor properties and I can try switching to that once the new lab/ibb changes land upstream. Regards, Amit Pundir > > > > Konrad > > [1] https://lore.kernel.org/linux-arm-msm/20210119174421.226541-1-angelogioacchino.delregno@somainline.org/ > [2] https://github.com/SoMainline/linux/commit/4f4853b2e252b5f9d03e90119110aac80258fc53