From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Cc: thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie,
daniel@ffwll.ch, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, jonathanh@nvidia.com,
arnd@arndb.de, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: Re: [PATCH 4/4] arm64: dts: smaug: Add display panel node
Date: Fri, 30 Sep 2022 12:51:07 +0200 [thread overview]
Message-ID: <23bc38b8-ed67-d243-9739-f07b7411be3a@linaro.org> (raw)
In-Reply-To: <20220929170502.1034040-5-diogo.ivo@tecnico.ulisboa.pt>
On 29/09/2022 19:05, Diogo Ivo wrote:
> The Google Pixel C has a JDI LPM102A188A display panel. Add a
> DT node for it. Tested on Pixel C.
>
> Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
> ---
> arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 72 +++++++++++++++++++
> 1 file changed, 72 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> index 20d092812984..271ef70747f1 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> @@ -31,6 +31,39 @@ memory {
> };
>
> host1x@50000000 {
> + dc@54200000 {
> + status = "okay";
You should override by labels, not by full path.
> + };
> +
> + dsia: dsi@54300000 {
> + avdd-dsi-csi-supply = <&vdd_dsi_csi>;
> + nvidia,boot-on;
> + status = "okay";
> +
> + link2: panel@0 {
> + compatible = "jdi,lpm102a188a";
> + reg = <0>;
> + };
> + };
> +
> + dsib: dsi@54400000 {
> + avdd-dsi-csi-supply = <&vdd_dsi_csi>;
> + nvidia,ganged-mode = <&dsia>;
> + nvidia,boot-on;
> + status = "okay";
> +
> + link1: panel@0 {
> + compatible = "jdi,lpm102a188a";
> + reg = <0>;
> + power-supply = <&pplcd_vdd>;
> + ddi-supply = <&pp1800_lcdio>;
> + enable-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
> + reset-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
> + link2 = <&link2>;
> + backlight = <&backlight>;
> + };
> + };
> +
> dpaux: dpaux@545c0000 {
> status = "okay";
> };
> @@ -1627,6 +1660,37 @@ nau8825@1a {
> status = "okay";
> };
>
> + backlight: lp8557-backlight@2c {
Node names should be generic: backlight
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
> + compatible = "ti,lp8557";
> + reg = <0x2c>;
> + power-supply = <&pplcd_vdd>;
> + enable-supply = <&pp1800_lcdio>;
> + bl-name = "lp8557-backlight";
> + dev-ctrl = /bits/ 8 <0x01>;
> + init-brt = /bits/ 8 <0x80>;
> +
> + /* Full scale current, 20mA */
> + rom_11h {
No underscores in node names, unless something requires it?
> + rom-addr = /bits/ 8 <0x11>;
> + rom-val = /bits/ 8 <0x05>;
> + };
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-09-30 11:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-29 17:04 [PATCH 0/4] Add JDI LPM102A188A display panel support Diogo Ivo
2022-09-29 17:04 ` [PATCH 1/4] dt-bindings: display: Add bindings for JDI LPM102A188A Diogo Ivo
2022-09-30 10:49 ` Krzysztof Kozlowski
2022-10-03 17:06 ` Diogo Ivo
2022-10-04 11:05 ` Krzysztof Kozlowski
2022-10-04 16:37 ` Diogo Ivo
2022-09-29 17:05 ` [PATCH 2/4] drm/tegra: dsi: Clear enable register if powered by bootloader Diogo Ivo
2022-09-30 11:11 ` Thierry Reding
2022-10-03 18:13 ` Diogo Ivo
2022-09-29 17:05 ` [PATCH 3/4] drm/panel: Add driver for JDI LPM102A188A Diogo Ivo
2022-09-29 17:05 ` [PATCH 4/4] arm64: dts: smaug: Add display panel node Diogo Ivo
2022-09-30 10:51 ` Krzysztof Kozlowski [this message]
2022-09-30 11:15 ` Thierry Reding
2022-09-30 11:20 ` Krzysztof Kozlowski
2022-09-30 21:14 ` Rob Herring
2022-10-01 9:53 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23bc38b8-ed67-d243-9739-f07b7411be3a@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=airlied@linux.ie \
--cc=arnd@arndb.de \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=diogo.ivo@tecnico.ulisboa.pt \
--cc=dri-devel@lists.freedesktop.org \
--cc=jonathanh@nvidia.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).