LinuxTV Patchwork [1/5] si2168: add frequency data to frontend info

login
register
mail settings
Submitter Brad Love
Date Dec. 20, 2018, 6:54 p.m.
Message ID <1545332084-12661-1-git-send-email-brad@nextdimension.cc>
Download mbox | patch
Permalink /patch/53594/
State New
Headers show

Comments

Brad Love - Dec. 20, 2018, 6:54 p.m.
Minimum, maximum, and stepsize taken from Silicon Labs reference.

Signed-off-by: Brad Love <brad@nextdimension.cc>
---
 drivers/media/dvb-frontends/si2168.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Brad Love - Dec. 20, 2018, 6:59 p.m.
Ooops...ignore the series bit...this is solo.


On 20/12/2018 12.54, Brad Love wrote:
> Minimum, maximum, and stepsize taken from Silicon Labs reference.
>
> Signed-off-by: Brad Love <brad@nextdimension.cc>
> ---
>  drivers/media/dvb-frontends/si2168.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c
> index 324493e..17301c6 100644
> --- a/drivers/media/dvb-frontends/si2168.c
> +++ b/drivers/media/dvb-frontends/si2168.c
> @@ -683,8 +683,11 @@ static const struct dvb_frontend_ops si2168_ops = {
>  	.delsys = {SYS_DVBT, SYS_DVBT2, SYS_DVBC_ANNEX_A},
>  	.info = {
>  		.name = "Silicon Labs Si2168",
> -		.symbol_rate_min = 1000000,
> -		.symbol_rate_max = 7200000,
> +		.frequency_min_hz      =  48 * MHz,
> +		.frequency_max_hz      = 870 * MHz,
> +		.frequency_stepsize_hz = 62500,
> +		.symbol_rate_min       = 1000000,
> +		.symbol_rate_max       = 7200000,
>  		.caps =	FE_CAN_FEC_1_2 |
>  			FE_CAN_FEC_2_3 |
>  			FE_CAN_FEC_3_4 |

Patch

diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c
index 324493e..17301c6 100644
--- a/drivers/media/dvb-frontends/si2168.c
+++ b/drivers/media/dvb-frontends/si2168.c
@@ -683,8 +683,11 @@  static const struct dvb_frontend_ops si2168_ops = {
 	.delsys = {SYS_DVBT, SYS_DVBT2, SYS_DVBC_ANNEX_A},
 	.info = {
 		.name = "Silicon Labs Si2168",
-		.symbol_rate_min = 1000000,
-		.symbol_rate_max = 7200000,
+		.frequency_min_hz      =  48 * MHz,
+		.frequency_max_hz      = 870 * MHz,
+		.frequency_stepsize_hz = 62500,
+		.symbol_rate_min       = 1000000,
+		.symbol_rate_max       = 7200000,
 		.caps =	FE_CAN_FEC_1_2 |
 			FE_CAN_FEC_2_3 |
 			FE_CAN_FEC_3_4 |

Privacy Policy