[linux-sunxi] Kernel CEC driver.

2016-10-17 Thread Jarosław Nieć
Hi I've decided that I want to learn kernel hacking a little and because of that and because of new HDMI CEC Framework in kernel 4.8 I chose to write CEC driver for old Allwinner A10. There in no CEC hardware core for this CPU and I think the only way is to create implementation that uses bit bang

Re: [linux-sunxi] Kernel CEC driver.

2016-10-17 Thread Jarosław Nieć
> > > https://groups.google.com/forum/#!topic/linux-sunxi/l5jhSY8PDFA > > This thread does seem to suggest there is (some) CEC hardware...​ > > Also some code here ; > https://groups.google.com/forum/#!msg/linux-sunxi/cNbMiwzgGJ0/tK-KvXkn-pQJ > > Not sure if you missed it or i'm blind, just ignore

Re: [linux-sunxi] Kernel CEC driver.

2016-10-17 Thread Jarosław Nieć
Hi Maxime, On Mon, Oct 17, 2016 at 9:51 PM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi Jarosław, > > On Mon, Oct 17, 2016 at 08:15:53PM +0200, Jarosław Nieć wrote: > > I've decided that I want to learn kernel hacking a little and because of > >

Re: [linux-sunxi] Kernel CEC driver.

2016-10-19 Thread Jarosław Nieć
On Wed, Oct 19, 2016 at 2:55 PM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > On Wed, Oct 19, 2016 at 11:53:10AM +0200, Hans de Goede wrote: > > > > If all the hardware allows you to-do is set / read the pin, you > > > > could write a gpio-chip driver for it, and then attach a generi

Re: [linux-sunxi] Kernel CEC driver.

2016-10-19 Thread Jarosław Nieć
On Wed, Oct 19, 2016 at 3:02 PM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi, > > On Mon, Oct 17, 2016 at 11:33:45PM +0200, Jarosław Nieć wrote: > > BTW Implementing general cec-over-gpio driver could be also quite > > useful for lot of projects. >

Re: [linux-sunxi] Kernel CEC driver.

2016-10-20 Thread Jarosław Nieć
Hi, Thank you guys for your great inputs. Discussion was very very helpful and clarified lot of things. Here is more of less my current master plan :) 1) finish first version of sunxi CEC adapter that is using pooling of HDMI CEC register. This version will be without EDID parsing. Even if we lat

Re: [linux-sunxi] Re: Trying 4.1 on a Mele-A2000

2015-06-03 Thread Jarosław Nieć
On Wed, Jun 3, 2015 at 2:49 PM, Stefan Monnier wrote: > > Having the whole .config and all the boot logs would help, but did you > > enable CONFIG_MDIO_SUN4I? > > Hmm... so it turned out that yes, that was enabled. And, comparing with > Jarosław's .config I don't see anything that rings a bell.