diff mbox series

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

Message ID 1545332084-12661-1-git-send-email-brad@nextdimension.cc (mailing list archive)
State New, archived
Headers show
Series [1/5] si2168: add frequency data to frontend info | expand

Commit Message

Brad Love Dec. 20, 2018, 6:54 p.m. UTC
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(-)

Comments

Brad Love Dec. 20, 2018, 6:59 p.m. UTC | #1
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 |
diff mbox series

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 |