From: YP WU <yp.wu@mediatek.com>
To: <mchehab@kernel.org>
Cc: <Jason-BF.Huang@mediatek.com>, <Lecopzer.Chen@mediatek.com>,
<francis.lee@mediatek.com>, <gustavoars@kernel.org>,
<hverkuil-cisco@xs4all.nl>, <leo.hsiao@mediatek.com>,
<linux-kernel@vger.kernel.org>, <linux-media@vger.kernel.org>,
<yp.wu@mediatek.com>
Subject: Re: How to use "DTV_FE_CAPABILITY" command for Frontend.h of Linux DVB
Date: Fri, 9 Jul 2021 23:47:39 +0800 [thread overview]
Message-ID: <20210709154739.30394-1-yp.wu@mediatek.com> (raw)
In-Reply-To: <20210623093312.6f9883a5@coco.lan>
>From: YP WU <yp.wu@mediatek.com>
>>To: <mchehab@kernel.org>
>>Cc: <Jason-BF.Huang@mediatek.com>, <Lecopzer.Chen@mediatek.com>,
>> <francis.lee@mediatek.com>, <gustavoars@kernel.org>,
>> <hverkuil-cisco@xs4all.nl>, <leo.hsiao@mediatek.com>,
>> <linux-kernel@vger.kernel.org>, <linux-media@vger.kernel.org>,
>> <yp.wu@mediatek.com>
>>Subject: Re: How to use "DTV_FE_CAPABILITY" command for Frontend.h of Linux DVB
>>Date: Fri, 2 Jul 2021 17:28:34 +0800
>>Message-ID: <20210702092834.11699-1-yp.wu@mediatek.com> (raw)
>>In-Reply-To: <20210623093312.6f9883a5@coco.lan>
>>
>>Hello, Mr.Mauro,
>><I need to understand more about the use case.
>>-> About use case, I describe below:
>>
>> For our design of kernel, demod/tuner and LNB are registered to different frontend device nodes.
>>We want to implement property command to know if the frontend device node is LNB device or demod/tuner device.
>>If it is LNB device node, the value would return true
>>If it is demod/tuner device node, the value would return false.
>>
>>Do you have better idea or suggestion for our usage?
>>Please let me know if your have better suggestion.
>>Very thank you for your help.
>>
>>BRs,
>>YP
Hello, Mr.Mauro,
Frist of all, thanks for your reply.
Based on previous discussion, we think we can create a new property command to achieve our goal.
A new property command "DTV_FE_LNB_CAPABILITY".
We can use "FE_GET_PROPERTY" with case "DTV_FE_LNB_CAPABILITY" to get LNB capability.
We also should add a new variable named "LNB_capability" in dtv_frontend_properties. Like below:
bool LNB_capability;
If the device node is LNB, LNB_capability should set to TRUE.
If the device node is demod/tuner, LNB_capability should set to FALSE.
What's your opinion?
If you have a better idea or suggestion, please let me know.
Very thank you.
BRs,
YP
next prev parent reply other threads:[~2021-07-09 15:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-23 6:15 YP WU
2021-06-23 7:33 ` Mauro Carvalho Chehab
2021-07-02 9:28 ` YP WU
2021-07-09 15:47 ` YP WU [this message]
2021-07-15 7:59 ` Mauro Carvalho Chehab
2021-09-02 11:03 ` YP WU
-- strict thread matches above, loose matches on Subject: below --
2021-04-14 9:40 YP WU
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=20210709154739.30394-1-yp.wu@mediatek.com \
--to=yp.wu@mediatek.com \
--cc=Jason-BF.Huang@mediatek.com \
--cc=Lecopzer.Chen@mediatek.com \
--cc=francis.lee@mediatek.com \
--cc=gustavoars@kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=leo.hsiao@mediatek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/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
all inboxes | Powered by JetHome®