All of lore.kernel.org
 help / color / mirror / Atom feed
From: thomas schorpp <thomas.schorpp@gmail.com>
To: linux-sunxi@googlegroups.com
Cc: linux-media@vger.kernel.org
Subject: [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
Date: Wed, 14 Aug 2013 19:44:15 +0200	[thread overview]
Message-ID: <520BC1EF.9030204@gmail.com> (raw)

OK, with the patched fex file and devices.c from
[linux-sunxi] [PATCH v2 1/1] [sunxi-boards/a20] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC)
[PATCH v2 1/1] [stage/sunxi-3.4] sw_nand: sunxi devices core using wrong MMIO region range, overlaps TSC/TSI register base address 0x01c04000
and the driver patches from this topic here

the driver basically loads and inits:

[  161.016837] [tsc-inf] tscdev_init: kmalloc memory, size: 0x212000
[  161.042378] [tsc-dbg] register_tsiomem: check_mem_region return: 0
[  161.055409] [tsc-dbg] register_tsiomem: devp->regsaddr: 0xf0104000

root@vdr2:~# cat /proc/iomem |grep -C 1 -i ts
01c03000-01c03fff : sw_nand
01c04000-01c04fff : ts regs
01c0a000-01c0afff : disp

root@vdr2:~# ls -l /dev/ts*
crw------- 1 root root 225, 0 Aug 14 19:10 /dev/tsc_dev

And ioctl() triggers the controller setup successfully.

root@vdr2:~# dd if=/dev/tsc_dev of=/dev/null bs=1K count=100 &

[ 1064.861178] [tsc-inf] tscdev_open: ahb_ts clk rate: 0x1
[ 1064.871506] [tsc-inf] tscdev_open: parent clock rate 384000000
[ 1064.881674] [tsc-inf] tscdev_open: clock rate 192000000
[ 1064.891079] [tsc-inf] tscdev_open: clock rate 192000000

Ready to build the Philips CU1216-MKIII TDA10023 DVB-C- Receiver "recycling" SMT extension board next days.
Others are invited to build boards with their receiver modules and extend driver Kconfig for more receivers, too.

Next i2c and frontend driver integration, if someone can do that faster, pls don't wait for me and pls CC linux-media list.

dvb_core integration after the hardware and driver PIO tests success.

Thanks for all the great community support :-)

y
tom


             reply	other threads:[~2013-08-14 17:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 17:44 thomas schorpp [this message]
2014-08-12  6:25 ` [PATCH v4 2/2] [stage/sunxi-3.4] Add support for Allwinner (DVB/ATSC) Transport Stream Controller(s) (TSC) anuroop.kamu
2014-08-12  7:55   ` thomas schorpp
2014-08-12  8:51     ` anuroop.kamu
     [not found]     ` <729740fb-4a6f-4a7e-a151-dd12d2d8d944@googlegroups.com>
2014-08-12 13:24       ` thomas schorpp
     [not found]       ` <CA+C5N_r6Vm8O==F4-EDakMPDnzTVKW9aifDPiEtFCW=9UBkQ8Q@mail.gmail.com>
2016-02-04  6:48         ` yangkkokk

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=520BC1EF.9030204@gmail.com \
    --to=thomas.schorpp@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.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 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.