devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "yunfei.dong@mediatek.com" <yunfei.dong@mediatek.com>
To: Chen-Yu Tsai <wenst@chromium.org>
Cc: Nicolas Dufresne <nicolas@ndufresne.ca>,
	Hans Verkuil <hverkuil-cisco@xs4all.nl>,
	AngeloGioacchino Del Regno 
	<angelogioacchino.delregno@collabora.com>,
	Benjamin Gaignard <benjamin.gaignard@collabora.com>,
	Tiffany Lin <tiffany.lin@mediatek.com>,
	Andrew-CT Chen <andrew-ct.chen@mediatek.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	George Sun <george.sun@mediatek.com>,
	Xiaoyong Lu <xiaoyong.lu@mediatek.com>,
	Hsin-Yi Wang <hsinyi@chromium.org>,
	"Fritz Koenig" <frkoenig@chromium.org>,
	Daniel Vetter <daniel@ffwll.ch>,
	Irui Wang <irui.wang@mediatek.com>,
	Steve Cho <stevecho@chromium.org>, <linux-media@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>,
	<Project_Global_Chrome_Upstream_Group@mediatek.com>
Subject: Re: [PATCH 3/4] media: mediatek: vcodec: Add mt8188 decoder's chip name
Date: Tue, 26 Jul 2022 19:34:37 +0800	[thread overview]
Message-ID: <6be179889a53bd7f5c281cb4ab0c4dd2e7306143.camel@mediatek.com> (raw)
In-Reply-To: <CAGXv+5FdYKNqG6TQawWpiH29oSAPdZFAy1wHM=qkqDDSbs2CUw@mail.gmail.com>

Hi Chen-Yu,

Thanks for your suggestion.

I will merge patch 3 and 2 into one patch in v2.

Best Regards,
Yunfei DOng
On Tue, 2022-07-26 at 16:28 +0800, Chen-Yu Tsai wrote:
> On Tue, Jul 26, 2022 at 12:02 PM Yunfei Dong <
> yunfei.dong@mediatek.com> wrote:
> > 
> > Getting mt8188's chip name according to decoder compatible name.
> > 
> > Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
> 
> This should be squashed with the previous patch adding the compatible
> to the driver.
> 
> > ---
> >  drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git
> > a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c
> > b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c
> > index 7d194a476713..641f533c417f 100644
> > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c
> > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c
> > @@ -227,6 +227,8 @@ static int mtk_vcodec_dec_get_chip_name(void
> > *priv)
> >                 return 8195;
> >         else if (of_device_is_compatible(dev->of_node,
> > "mediatek,mt8186-vcodec-dec"))
> >                 return 8186;
> > +       else if (of_device_is_compatible(dev->of_node,
> > "mediatek,mt8188-vcodec-dec"))
> > +               return 8188;
> >         else
> >                 return 8173;
> >  }
> > --
> > 2.25.1
> > 


  reply	other threads:[~2022-07-26 11:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26  4:01 [PATCH 1/4] dt-bindings: media: mediatek: vcodec: add decoder dt-bindings for mt8188 Yunfei Dong
2022-07-26  4:01 ` [PATCH 2/4] media: mediatek: vcodec: add decoder compatible to support mt8188 Yunfei Dong
2022-07-26  8:06   ` AngeloGioacchino Del Regno
2022-07-26  4:01 ` [PATCH 3/4] media: mediatek: vcodec: Add mt8188 decoder's chip name Yunfei Dong
2022-07-26  8:28   ` Chen-Yu Tsai
2022-07-26 11:34     ` yunfei.dong [this message]
2022-07-26  4:01 ` [PATCH 4/4] media: mediatek: vcodec: Add mt8188 encoder's " Yunfei Dong
2022-07-26  8:06   ` AngeloGioacchino Del Regno
2022-07-26  8:06 ` [PATCH 1/4] dt-bindings: media: mediatek: vcodec: add decoder dt-bindings for mt8188 AngeloGioacchino Del Regno

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=6be179889a53bd7f5c281cb4ab0c4dd2e7306143.camel@mediatek.com \
    --to=yunfei.dong@mediatek.com \
    --cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
    --cc=andrew-ct.chen@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=benjamin.gaignard@collabora.com \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=frkoenig@chromium.org \
    --cc=george.sun@mediatek.com \
    --cc=hsinyi@chromium.org \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=irui.wang@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=mchehab@kernel.org \
    --cc=nicolas@ndufresne.ca \
    --cc=robh+dt@kernel.org \
    --cc=stevecho@chromium.org \
    --cc=tiffany.lin@mediatek.com \
    --cc=wenst@chromium.org \
    --cc=xiaoyong.lu@mediatek.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).