dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/3] drm/panel: nt35560: Support more panel IDs
Date: Sat, 19 Feb 2022 10:17:29 +0100	[thread overview]
Message-ID: <YhC1qfd3SSrzTN+E@ravnborg.org> (raw)
In-Reply-To: <20220103113822.654592-2-linus.walleij@linaro.org>

On Mon, Jan 03, 2022 at 12:38:21PM +0100, Linus Walleij wrote:
> These IDs were found in the wild in a Sony Xperia vendor tree.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/gpu/drm/panel/panel-novatek-nt35560.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35560.c b/drivers/gpu/drm/panel/panel-novatek-nt35560.c
> index 620876225384..41dc278faf80 100644
> --- a/drivers/gpu/drm/panel/panel-novatek-nt35560.c
> +++ b/drivers/gpu/drm/panel/panel-novatek-nt35560.c
> @@ -32,13 +32,14 @@
>  /*
>   * Sony seems to use vendor ID 0x81
>   */
> -#define DISPLAY_SONY_ACX424AKP_ID1	0x811b
> +#define DISPLAY_SONY_ACX424AKP_ID1	0x8103
>  #define DISPLAY_SONY_ACX424AKP_ID2	0x811a
> +#define DISPLAY_SONY_ACX424AKP_ID3	0x811b
>  /*
>   * The third ID looks like a bug, vendor IDs begin at 0x80
>   * and panel 00 ... seems like default values.
>   */
This comment needs adjustment s/third/fourth/
With the comment fixed:
Acked-by: Sam Ravnborg <sam@ravnborg.org>
> -#define DISPLAY_SONY_ACX424AKP_ID3	0x8000
> +#define DISPLAY_SONY_ACX424AKP_ID4	0x8000
>  
>  struct nt35560 {
>  	struct drm_panel panel;
> @@ -225,6 +226,7 @@ static int nt35560_read_id(struct nt35560 *nt)
>  	case DISPLAY_SONY_ACX424AKP_ID1:
>  	case DISPLAY_SONY_ACX424AKP_ID2:
>  	case DISPLAY_SONY_ACX424AKP_ID3:
> +	case DISPLAY_SONY_ACX424AKP_ID4:
>  		dev_info(nt->dev, "MTP vendor: %02x, version: %02x, panel: %02x\n",
>  			 vendor, version, panel);
>  		break;
> -- 
> 2.31.1

  reply	other threads:[~2022-02-19  9:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 11:38 [PATCH 1/3] drm/panel: Rename Sony ACX424 to Novatek NT35560 Linus Walleij
2022-01-03 11:38 ` [PATCH 2/3] drm/panel: nt35560: Support more panel IDs Linus Walleij
2022-02-19  9:17   ` Sam Ravnborg [this message]
2022-01-03 11:38 ` [PATCH 3/3] drm/panel: nt35560: Support also ACX424AKM Linus Walleij
2022-02-19  9:20   ` Sam Ravnborg
2022-01-29  1:26 ` [PATCH 1/3] drm/panel: Rename Sony ACX424 to Novatek NT35560 Linus Walleij
2022-02-19  1:40   ` Linus Walleij
2022-02-19  9:13     ` Sam Ravnborg
2022-02-19  9:15 ` Sam Ravnborg

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=YhC1qfd3SSrzTN+E@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linus.walleij@linaro.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