Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2739827pxf; Sun, 4 Apr 2021 12:39:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPb9dq1KL9uC8qbiK3g3/0EPnX+Mae7Gnj848xrxPbWIfTYdZS1eyGMcci15YQPu/8443z X-Received: by 2002:a17:906:3a94:: with SMTP id y20mr24556033ejd.35.1617565176473; Sun, 04 Apr 2021 12:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617565176; cv=none; d=google.com; s=arc-20160816; b=l0pQx7WGkJaFpuFIlza83ToBWbS5SpTJXuG7wKLbfSKcKwvyo/Yxf60SqY84BSAMo2 U/uSu0AfIU8JabMkUCxldyyo85AnkxvRQMD0gjehste83XOvku05prlMgkAu3PUIRzxQ keBmfddxQlxZRIv0XyRhQOOq/WHhKKtiIG2HeOCjSFJK4ap3IDMhioOLQ/tjw40LVM41 EeMV070raCAS0R8JdkuC/KO4g9GvtiRLQ3BbF+uTt74O98QJ1/o4G15PEpY/zmplWnDr x7IeuA9VAQA9Kvt6PY70zVxBx3QxvtIKvtn0sM8iDBYkotNHflQlUSUhwPaaZRMWGzbL ZZNA== 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=hEMNHDnnEQTjGv+UBbBULrhzzRLe2F12R53/17VXjb0=; b=ztzuuM+IyDWMkpdbgHGcOfeoSlMEPri2XI3swu5CMcb4N4sT8+gpQXkZyeDqyrh8X/ 7AN44RTJVFnl0xxv10YQriR3fpBqjevjFCILlUYlt7Ja4T7S6Q49VEVpwzjZ8BwJMcwg eKyKNMdO/smY8r7Gcyldg4VksujzOZcioCpfRVQIgJbbD7uLxst0Et+NAirAE8f/xLg3 US0vIoC/cHzFauR6WEvouFL9jF6i8yk8XIeXXiawE4i39vAxc1vnywM6gt4JF1/yMM2a dqqhOmgmGBIs1bvfYlnamSpDisRbxzNmWUrJlmQHr3GpdXXJf+Mwl6X2/3TiRdDy2VHq CQaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B9GsalE0; 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 fp32si1590346ejc.384.2021.04.04.12.39.14; Sun, 04 Apr 2021 12:39:36 -0700 (PDT) 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=B9GsalE0; 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 S231453AbhDDTiv (ORCPT + 99 others); Sun, 4 Apr 2021 15:38:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231404AbhDDTir (ORCPT ); Sun, 4 Apr 2021 15:38:47 -0400 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 EE94EC0613E6 for ; Sun, 4 Apr 2021 12:38:40 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id c195so10496168ybf.9 for ; Sun, 04 Apr 2021 12:38:40 -0700 (PDT) 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=hEMNHDnnEQTjGv+UBbBULrhzzRLe2F12R53/17VXjb0=; b=B9GsalE02xtsa8Ddda3CbCRC3tgdul4XcIcP0nXJWPj6ZBEBCDqu6TFaV+hf29YHOb GjT2WxqKW+UhQWV0uCrOip2FEtH07IjCUjX/Uo0i5GGfaJbUhw/GjjdcTMKTW0NXLHid SC//VYMBgq8daR/x4TFSRd0OQeZn4p0G3Akp5f0BTH+vU73ZFqD+Jkj4E8og0Fuj6sNW QzYIPCK5WFQxcVuLUq1Qjgc589t6idc1f2vbEc0+7rcDJr2t2QzhcLAAjZ2no2j5WB3Q qLtHlvP1nMpCJ9ZYD13KOvtaSjd38CpnlFpXjkqSOaUayAp7F0EnDNodE4frOB0U4V6B 1hdQ== 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=hEMNHDnnEQTjGv+UBbBULrhzzRLe2F12R53/17VXjb0=; b=lCEwT7n2h/qTsEMSyrTGg+Lf9nmSRRzTUrOPlq1fdasvWKn0a2FLFkKESVF5zsiM8o 8BHMcN/5FwEczQJiNv8DrJmAnAJfGZRYPUi1GYkdsIZpcvFnxXtYnxhJS/i9XFFXNWWb oCx0potPM0dcZAFO5CoHYeA1yF26Km2F7ccnE2pLaegwijjrXNPh1GqyBvM6tvwlpvR5 AX+ZFtJk3smki0IOptZW0XLee0lZzNUoFRVG5haTaN6JPi264ws4XZqW16VjfqCrMSO1 gErWspHRS/NMn6EaDxJjqKBs76lIOnGcMxklH2N+QOmAOBFyrHg1CcikV/HEiyZT53ug H78Q== X-Gm-Message-State: AOAM531goIn8X3SS81Fyx1aa0nTiD9Ycxie9XGss4xJPG9zqEWkyXH5w WWhzEnq3CO8TNAQP0vjHLLBGPYjB+CyC9or041DdDIUO6ryLWg== X-Received: by 2002:a25:686:: with SMTP id 128mr30849619ybg.258.1617565120199; Sun, 04 Apr 2021 12:38:40 -0700 (PDT) MIME-Version: 1.0 References: <1612945128-23174-1-git-send-email-amit.pundir@linaro.org> <13bd5e9d-3f3b-0b97-aa48-9a7bc551ddf6@somainline.org> In-Reply-To: <13bd5e9d-3f3b-0b97-aa48-9a7bc551ddf6@somainline.org> From: Amit Pundir Date: Mon, 5 Apr 2021 01:08:04 +0530 Message-ID: Subject: Re: [PATCH v3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits To: AngeloGioacchino Del Regno Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , 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 Angelo, On Thu, 11 Feb 2021 at 00:25, AngeloGioacchino Del Regno wrote: > > Il 10/02/21 09:18, Amit Pundir ha scritto: > > From: Sumit Semwal > > > > Enabling the Display panel for beryllium 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 > > --- > > Hello! > Your patch looks good, however, I have a few concerns... > > > +&ibb { > > + regulator-min-microvolt = <4600000>; > > + regulator-max-microvolt = <6000000>; > > +}; > > + > > I think you want to also configure overvoltage and overcurrent > protection values for both LAB and IBB, as these regulators may be a bit > dangerous if used without. It turned out I can't boot if I set regulator-max-microamp lab/ibb values from downstream DT. Verified it a few times and same result. Here is the decompiled downstream DTB for reference: https://pastebin.ubuntu.com/p/4nPxzq6zf7/, just in case. I'm not sure if over current protection value is tied to max-microamp, but I added it anyway along with pull-down and soft-start properties in next version of this patch. Regards, Amit Pundir > Besides that, even if it wouldn't be that dangerous, since the > protection features are present, it would be nice to configure them > properly as in the rare event that something bad happens, you would be > able to save the hardware (or at least have a chance to!). > > > +&lab { > > + regulator-min-microvolt = <4600000>; > > + regulator-max-microvolt = <6000000>; > > +}; > > + > > Same here. > > Yours, > -- Angelo