Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp118067pxb; Mon, 7 Feb 2022 07:34:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkHfDJcYSx77EK3q0/03FMjXKZyaLSxSMuogyrmfvm1SjCnGUO9O/N47Q7EPup5ZhofouL X-Received: by 2002:a17:907:728b:: with SMTP id dt11mr254371ejc.70.1644248061375; Mon, 07 Feb 2022 07:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644248061; cv=none; d=google.com; s=arc-20160816; b=0EUrzQsTE04fNHOPFBWZlLrsMf171ivfBZ3ofDcLvQuawuH1ZbOdyp7KjIOXRNaftW uwFPDgwQuMjZX+aFJ3aWO8ksxiMDC5MQxjHj86q/XcSDyhYSYpQAKsLd+3tKOPdR7kpd Yw/cOJHnjLKJvJj+DUIPT/7YZ6+NjKgYbW7FS+nTlgnUi/PaEDF7WUquQh3kI6qHuXqO OPVGcXN6GntG1PNr1Wi5Hc9yeLZotmgqMnr7iy8lQNdg9ly0GRwfTdmcdEBrx52zWqcP aR3vZ8tCVtMJBM5pQAWNwr7OdBHMIQhk9ahtEn0F0kijW13DC9korEiPSjgLEbRaoKHg KFEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=1Xkm+wQR2CLWbK9ZiKadmiL63/Ces5dU1DXtwlkexAk=; b=lOcXUtCon0gE2XqPLldLA7TyGy3WO2nsmI+pitqIZM3oDGuvJrYVMp3q0sBLsDa/cW aSdRfB1b8XmO31w3syy9SYLO0U4uDcuWZmqD0yrh/FzRUBbiwaDs+jo3+JAClf58ft3S MQNC5jp2uw33Z3FBQ90a+qRAvftgoBXP3T0zdX4eI1FDKdu5Bc0f3/WD6HnfKkf2ZTs3 d5zsd1WjuAK8sFOIW5d47cLUW2QlenVPTgtcELXquvLs8uiownaPlYf4+giYHRzgQvy2 aDiXn0aDU0LqDpBby8z5Y6wbP1o9riKmIXaxhI+kX/0iesaCnDCTZpoh2rhF0o0LcHET SaEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7si8333822edk.407.2022.02.07.07.33.55; Mon, 07 Feb 2022 07:34:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350980AbiBDWhT (ORCPT + 99 others); Fri, 4 Feb 2022 17:37:19 -0500 Received: from mail-oo1-f54.google.com ([209.85.161.54]:42799 "EHLO mail-oo1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233433AbiBDWhS (ORCPT ); Fri, 4 Feb 2022 17:37:18 -0500 Received: by mail-oo1-f54.google.com with SMTP id w5-20020a4a9785000000b0030956914befso6250853ooi.9; Fri, 04 Feb 2022 14:37:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1Xkm+wQR2CLWbK9ZiKadmiL63/Ces5dU1DXtwlkexAk=; b=FYt81DfnK3fJY7ZvdMVR4STrcT7U2uMCKcdeGEg4x+Xz/KrIWQcx9xURQCORntJRAc msv7F5ZRgF3Qpy/9A7SmeIJyzzUrJlxxSXrSckh37gJ+o//msScaRCBy57nVrqHJ48jG QGEyRZlUF9aKNcFXBOGn+Ibihwj47Xq7oE4eFFIEn3zZVpli5JAmCxgo3w19bJtzYE0e KTdYKF9APJXWERIlgwDR0rU2hE/h2F0h7n7YtXAV4upbQSVVqNqnIS6uAD+SPNkuZN7b 0BpawghAtr4tFuYlT4CNXlyP6c3xGjNbeYxkRTFA9mqkeDHoDDSYXACMhkc2DZPJVNoG xmOQ== X-Gm-Message-State: AOAM5311M7wAe0OzQTNh+ApaUKLM9zYugJq2vP9FfB0yOXM2vjQ4gugo Bf5Ki3QVPIETm9ux8/HrAVRVr7MURg== X-Received: by 2002:a05:6870:e495:: with SMTP id v21mr317265oag.288.1644014237767; Fri, 04 Feb 2022 14:37:17 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id h2sm1215234ots.51.2022.02.04.14.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 14:37:17 -0800 (PST) Received: (nullmailer pid 3310469 invoked by uid 1000); Fri, 04 Feb 2022 22:37:16 -0000 Date: Fri, 4 Feb 2022 16:37:16 -0600 From: Rob Herring To: Rajeev Nandan Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, sean@poorly.run, daniel@ffwll.ch, quic_abhinavk@quicinc.com, quic_kalyant@quicinc.com, quic_mkrishn@quicinc.com, linux-arm-msm@vger.kernel.org, airlied@linux.ie, jonathan@marek.ca, dmitry.baryshkov@linaro.org, swboyd@chromium.org, freedreno@lists.freedesktop.org, robh+dt@kernel.org, robdclark@gmail.com Subject: Re: [v5 1/3] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties Message-ID: References: <1643573719-32095-1-git-send-email-quic_rajeevny@quicinc.com> <1643573719-32095-2-git-send-email-quic_rajeevny@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1643573719-32095-2-git-send-email-quic_rajeevny@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 31 Jan 2022 01:45:17 +0530, Rajeev Nandan wrote: > In most cases, the default values of DSI PHY tuning registers should be > sufficient as they are fully optimized. However, in some cases where > extreme board parasitics cause the eye shape to degrade, the override > bits can be used to improve the signal quality. > > The general guidelines for DSI PHY tuning include: > - High and moderate data rates may benefit from the drive strength and > drive level tuning. > - Drive strength tuning will affect the output impedance and may be used > for matching optimization. > - Drive level tuning will affect the output levels without affecting the > impedance. > > The clock and data lanes have a calibration circuitry feature. The drive > strength tuning can be done by adjusting rescode offset for hstop/hsbot, > and the drive level tuning can be done by adjusting the LDO output level > for the HSTX drive. > > Signed-off-by: Rajeev Nandan > --- > > Changes in v2: > - More details in the commit text (Stephen Boyd) > - Use human understandable values (Stephen Boyd, Dmitry Baryshkov) > - Do not take values that are going to be unused (Dmitry Baryshkov) > > Changes in v3: > - Use "qcom," prefix (Dmitry Baryshkov) > - Remove encoding from phy-drive-ldo-level (Dmitry Baryshkov) > - Use negative values instead of two's complement (Dmitry, Rob Herring) > > Changes in v4: > - Fix dt_binding_check error (Rob Herring's bot) > > Changes in v5: > - None > > .../bindings/display/msm/dsi-phy-10nm.yaml | 36 ++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > Reviewed-by: Rob Herring