All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/46] Add sms2270 support to siano driver
@ 2013-03-19 16:48 Mauro Carvalho Chehab
  2013-03-19 16:48 ` [PATCH 01/46] [media] siano: Change GPIO voltage setting names Mauro Carvalho Chehab
                   ` (45 more replies)
  0 siblings, 46 replies; 47+ messages in thread
From: Mauro Carvalho Chehab @ 2013-03-19 16:48 UTC (permalink / raw)
  Cc: Doron Cohen, Mauro Carvalho Chehab, Linux Media Mailing List,
	Michael Krufky

Back in September, 2011, Doron Cohen <doronc@siano-ms.com> submitted
a series of patches meant to add support for newer siano chipsets.

That series of patches had several pointed issues:
	- It were just a diff from Siano's internal git tree and
	  upstreamed one. Due to that, applying it would cause
	  regressions;

	- Among the regressions, the newer code would break
	  rc_core support, causing regressions for IR;

	- It also breaks support for Hauppauge devices with old
	  firmware (version 2.1);

	- It added support for a Siano proprietary API.

On that time, I waited for Doron to submit a newer patch series.
Unfortunately, this never happened.

As I received a sms2270 device, I decided to take some time
to understand the changes proposed by Dohen, port the ones that
are pertinent to upstream, and make it to work. I also took
care to fix it for older devices.

I also did a few clean ups on some bad things on it, and added
an experimental debugfs support, to allow displaying the complete
data inside the device's statistics reports. That helped to port
it to use the new DVBv5 stats.

There are still plenty of space to clean it up, like removing
the CamelCase and cleaning its structures. I won't doubt that
there are lots of unused stuff there at the core.

Anyway, with this patchset, both Hauppauge model 55009 Rev B1F7-02D
and an unbranded Siano Rio (187f:0600) device are working fine
on a x86, via USB interface. I didn't test it with arm or with
a big endian system.

As nobody is currently maintaining this driver, I'm also adding
a MAINTAINERS entry on this series, with "Odd fixes".

Mauro Carvalho Chehab (46):
  [media] siano: Change GPIO voltage setting names
  [media] siano: Add the new voltage definitions for GPIO
  [media] siano: remove a duplicated structure definition
  [media] siano: update message macros
  [media] siano: better debug send/receive messages
  [media] siano: add the remaining new defines from new driver
  [media] siano: Properly initialize board information
  [media] siano: add additional attributes to cards entries
  [media] siano: use USB endpoint descriptors for in/out endp
  [media] siano: store firmware version
  [media] siano: make load firmware logic to work with newer firmwares
  [media] siano: report the choosed firmware in debug
  [media] siano: fix the debug message
  [media] siano: always load smsdvb
  [media] siano: cleanups at smscoreapi.c
  [media] siano: add some new messages to the smscoreapi
  [media] siano: use a separate completion for stats
  [media] siano: add support for ISDB-T full-seg
  [media] siano: add support for LNA on ISDB-T
  [media] siano: use the newer stats message for recent firmwares
  [media] siano: add new devices to the Siano Driver
  [media] siano: Configure board's mtu and xtal
  [media] siano: call MSG_SMS_INIT_DEVICE_REQ
  [media] siano: simplify message endianness logic
  [media] siano: split get_frontend into per-std functions
  [media] siano: split debug logic from the status update routine
  [media] siano: Convert it to report DVBv5 stats
  [media] siano: fix start of statistics
  [media] siano: allow showing the complete statistics via debugfs
  [media] siano: split debugfs code into a separate file
  [media] siano: add two missing fields to ISDB-T stats debugfs
  [media] siano: don't request statistics too fast
  [media] siano: fix signal strength and CNR stats measurements
  [media] siano: fix PER/BER report on DVBv5
  [media] siano: Fix bandwidth report
  [media] siano: Only feed DVB data when there's a feed
  [media] siano: fix status report with old firmware and ISDB-T
  [media] siano: add support for .poll on debugfs
  [media] siano: simplify firmware lookup logic
  [media] siano: honour per-card default mode
  [media] siano: remove the bogus firmware lookup code
  [media] siano: reorder smscore_get_fw_filename() function
  [media] siano: add a MAINTAINERS entry for it
  [media] siano: remove a bogus printk line
  [media] siano: remove doubled new line
  [media] siano: Remove bogus complain about MSG_SMS_DVBT_BDA_DATA

 MAINTAINERS                                 |   11 +
 drivers/media/common/siano/Kconfig          |   12 +
 drivers/media/common/siano/Makefile         |    5 +
 drivers/media/common/siano/sms-cards.c      |   99 ++-
 drivers/media/common/siano/sms-cards.h      |   14 +
 drivers/media/common/siano/smscoreapi.c     |  918 +++++++++++++++-----
 drivers/media/common/siano/smscoreapi.h     |  607 ++++++++++---
 drivers/media/common/siano/smsdvb-debugfs.c |  554 ++++++++++++
 drivers/media/common/siano/smsdvb-main.c    | 1226 +++++++++++++++++++++++++++
 drivers/media/common/siano/smsdvb.c         | 1078 -----------------------
 drivers/media/common/siano/smsdvb.h         |  129 +++
 drivers/media/mmc/siano/smssdio.c           |   13 +
 drivers/media/usb/siano/smsusb.c            |  130 ++-
 13 files changed, 3373 insertions(+), 1423 deletions(-)
 create mode 100644 drivers/media/common/siano/smsdvb-debugfs.c
 create mode 100644 drivers/media/common/siano/smsdvb-main.c
 delete mode 100644 drivers/media/common/siano/smsdvb.c
 create mode 100644 drivers/media/common/siano/smsdvb.h

-- 
1.8.1.4


^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2013-03-19 17:43 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-19 16:48 [PATCH 00/46] Add sms2270 support to siano driver Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 01/46] [media] siano: Change GPIO voltage setting names Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 02/46] [media] siano: Add the new voltage definitions for GPIO Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 03/46] [media] siano: remove a duplicated structure definition Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 04/46] [media] siano: update message macros Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 05/46] [media] siano: better debug send/receive messages Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 06/46] [media] siano: add the remaining new defines from new driver Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 07/46] [media] siano: Properly initialize board information Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 08/46] [media] siano: add additional attributes to cards entries Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 09/46] [media] siano: use USB endpoint descriptors for in/out endp Mauro Carvalho Chehab
2013-03-19 16:48 ` [PATCH 10/46] [media] siano: store firmware version Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 11/46] [media] siano: make load firmware logic to work with newer firmwares Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 12/46] [media] siano: report the choosed firmware in debug Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 13/46] [media] siano: fix the debug message Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 14/46] [media] siano: always load smsdvb Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 15/46] [media] siano: cleanups at smscoreapi.c Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 16/46] [media] siano: add some new messages to the smscoreapi Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 17/46] [media] siano: use a separate completion for stats Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 18/46] [media] siano: add support for ISDB-T full-seg Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 19/46] [media] siano: add support for LNA on ISDB-T Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 20/46] [media] siano: use the newer stats message for recent firmwares Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 21/46] [media] siano: add new devices to the Siano Driver Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 22/46] [media] siano: Configure board's mtu and xtal Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 23/46] [media] siano: call MSG_SMS_INIT_DEVICE_REQ Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 24/46] [media] siano: simplify message endianness logic Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 25/46] [media] siano: split get_frontend into per-std functions Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 26/46] [media] siano: split debug logic from the status update routine Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 27/46] [media] siano: Convert it to report DVBv5 stats Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 28/46] [media] siano: fix start of statistics Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 29/46] [media] siano: allow showing the complete statistics via debugfs Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 30/46] [media] siano: split debugfs code into a separate file Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 31/46] [media] siano: add two missing fields to ISDB-T stats debugfs Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 32/46] [media] siano: don't request statistics too fast Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 33/46] [media] siano: fix signal strength and CNR stats measurements Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 34/46] [media] siano: fix PER/BER report on DVBv5 Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 35/46] [media] siano: Fix bandwidth report Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 36/46] [media] siano: Only feed DVB data when there's a feed Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 37/46] [media] siano: fix status report with old firmware and ISDB-T Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 38/46] [media] siano: add support for .poll on debugfs Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 39/46] [media] siano: simplify firmware lookup logic Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 40/46] [media] siano: honour per-card default mode Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 41/46] [media] siano: remove the bogus firmware lookup code Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 42/46] [media] siano: reorder smscore_get_fw_filename() function Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 43/46] [media] siano: add a MAINTAINERS entry for it Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 44/46] [media] siano: remove a bogus printk line Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 45/46] [media] siano: remove doubled new line Mauro Carvalho Chehab
2013-03-19 16:49 ` [PATCH 46/46] [media] siano: Remove bogus complain about MSG_SMS_DVBT_BDA_DATA Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.