Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1572411ybb; Sat, 4 Apr 2020 07:21:04 -0700 (PDT) X-Google-Smtp-Source: APiQypKUUiq2qbggLvGPoesxuxpa9ZjA8t+cNTk2HyXbVyG9C46rydLsRPQ3wzzA+5FmGwpqwySP X-Received: by 2002:a9d:37c9:: with SMTP id x67mr10382824otb.207.1586010064226; Sat, 04 Apr 2020 07:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586010064; cv=none; d=google.com; s=arc-20160816; b=usRc6ASJ958iv6CmLxfwMxgiIDk/VjB/gpTtK0unfxRH+bAnG5TfxK43td74pT+8Ox EYzYYnkRY1X8TD0JAfoO9WKaUIuTcmQ4/1mq3BYmzLkVHXh9E06ItbTPT8vDSeeoQGV0 AUYv7DcBx7YVL4mLjstGtG/G4sbnE9tAR1XAS43EUGFgVh9Z80UHzUHqMOfoYkOAFNOB ohvbD8s11Z+nFPRw0Jp1FfHyUD6jslDaUsMs0ehZvHjtVclUMk6Q39ZSvKWJYJtiu6w5 GuJxY9pFGjaGKd4YIBNCakgmpJYdkmMp8wQOQH2ES6dEfEHtrXOPx2YlrXq/pvGbQ0kl NNfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=nkIbWqTGs35PZ7gNFANBy+k9QIkMqCaiJZoXwg3+3vo=; b=K8IQ+3DF/7TfXYykaKVszVpEbbQcx3ruj+I6IPclaklKk0dr6M5j58d/Na49zmhV8Z vbW3YvjllGWKrrn4epdH85FMYpk7CHVxRET5nuEhaLtps6FwBhx3gOjlDp76vdYrIZPd UoCAneS/eFcSW8Nx/rFVGnIZeGwFjIfwCOpkkdNc5Wv6NIkVDbnOglycQjzSkRSh46NR VbSOno3JKMxQfk0l6mwq6LFsV8U7nLIVzla2aFgDiiZUfz5LUI0R3gqRVkVjkyhLXe4i Y54U19Jfuf6wYsEoTGdePIx0wm/szrr9cXkTTKZxs6OC+5dOEkvHnkc//py/OfJXZmPN yAIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=O8huTio9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x66si5000740ota.244.2020.04.04.07.20.52; Sat, 04 Apr 2020 07:21:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@kernel.org header.s=default header.b=O8huTio9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726476AbgDDOTt (ORCPT + 99 others); Sat, 4 Apr 2020 10:19:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:50700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgDDOTt (ORCPT ); Sat, 4 Apr 2020 10:19:49 -0400 Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 685EB206F8; Sat, 4 Apr 2020 14:19:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586009988; bh=1Sf4GRcpkzurYk5nWdRpUBTbjpEdNqlUaBNpb/X5+dQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=O8huTio9z+O50iibPA2HHY/QtrPqbwyWz1RKwJtA5+S2VErMFssNXpKRJJrdADcRm 5+JvXRVC3t+WJybfvGrQgbbxeU2nflDlQvLq1tSR5YRFjjRTrEThBNrw9Btl8FNtVn tenQzu87ozx1AV6wDwtA8GZrfHCHMpzQkS2m2zjw= Received: by mail-ed1-f49.google.com with SMTP id cf14so12847680edb.13; Sat, 04 Apr 2020 07:19:48 -0700 (PDT) X-Gm-Message-State: AGi0PubyRs/nyynFT0AQEVfM8h7i3mt4vtEY49Vvpln1b1z/iGhadVss +KA/cC1NMU1nccc74ru9NTUW+4o3wNx28UytfQ== X-Received: by 2002:a05:6402:335:: with SMTP id q21mr2832765edw.47.1586009986874; Sat, 04 Apr 2020 07:19:46 -0700 (PDT) MIME-Version: 1.0 References: <20200331082725.81048-1-jitao.shi@mediatek.com> <20200331082725.81048-3-jitao.shi@mediatek.com> In-Reply-To: <20200331082725.81048-3-jitao.shi@mediatek.com> From: Chun-Kuang Hu Date: Sat, 4 Apr 2020 22:19:34 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 2/4] dt-bindings: display: mediatek: get mipitx calibration data from nvmem To: Jitao Shi Cc: Rob Herring , Mark Rutland , Matthias Brugger , Daniel Vetter , David Airlie , DRI Development , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, srv_heupstream@mediatek.com, huijuan.xie@mediatek.com, stonea168@163.com, cawa.cheng@mediatek.com, linux-mediatek@lists.infradead.org, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Jitao: Jitao Shi =E6=96=BC 2020=E5=B9=B43=E6=9C=8831=E6= =97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8B=E5=8D=884:28=E5=AF=AB=E9=81=93=EF=BC=9A > > Add properties to get get mipitx calibration data. Reviewed-by: Chun-Kuang Hu > > Reviewed-by: Rob Herring > Signed-off-by: Jitao Shi > --- > .../devicetree/bindings/display/mediatek/mediatek,dsi.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,= dsi.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.t= xt > index d78b6d6d8fab..8e4729de8c85 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.txt > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.txt > @@ -36,6 +36,9 @@ Required properties: > Optional properties: > - drive-strength-microamp: adjust driving current, should be 3000 ~ 6000= . And > the step is 200. > +- nvmem-cells: A phandle to the calibration data provided by a nvmem dev= ice. If > + unspecified default values shall be used. > +- nvmem-cell-names: Should be "calibration-data" > > Example: > > @@ -47,6 +50,8 @@ mipi_tx0: mipi-dphy@10215000 { > #clock-cells =3D <0>; > #phy-cells =3D <0>; > drive-strength-microamp =3D <4600>; > + nvmem-cells=3D <&mipi_tx_calibration>; > + nvmem-cell-names =3D "calibration-data"; > }; > > dsi0: dsi@1401b000 { > -- > 2.21.0 > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel