[linux-sunxi] Re: hdmi clocks

2015-04-11 Thread David Lanzendörfer
Hi > And the resolution changes whether you want to use the fractional mode > or the integer mode? No. But it needs another driver since the parameters are totally different. You *only* have an m-factor within the video-plls (pll3/pll7) but you do not have the additional parameters for a phase-lo

[linux-sunxi] Re: hdmi clocks

2015-04-11 Thread Maxime Ripard
On Sat, Apr 11, 2015 at 11:13:04PM +0200, David Lanzendörfer wrote: > > > Oh! That's a misunderstanding. > > > The clock code I wrote doesn't work at all... > > Why? > > It has a different register layout... > > > Indeed. But until we know why (ie, the hardware is not the one > > documented in the

[linux-sunxi] Re: hdmi clocks

2015-04-11 Thread David Lanzendörfer
Hi > > Oh! That's a misunderstanding. > > The clock code I wrote doesn't work at all... > Why? It has a different register layout... > Indeed. But until we know why (ie, the hardware is not the one > documented in the datasheet, the logic we have has a bug, some actual > explanation of what's happe

[linux-sunxi] question, clock driver naming convention

2015-04-11 Thread David Lanzendörfer
Hi I've added a clock driver for the special plls now: http://git.o2s.ch/?p=linux-next.git;a=commit;h=17173fad5fb7ddc815e1a84002c090bf5106 Now I need some driver for the clocks at 0x01C2, specifically at offset 0x0150 and offset 0x0174 Would the best names for each of this clock be? Cheer

Re: [linux-sunxi] Re: sunxi-kms driver

2015-04-11 Thread jonsm...@gmail.com
You need to insert the copyright notice as a way of saying you own the code in the file. After you claim ownership you can choose a license to release your work under. The important part of kernel development is placing the GPL notice at the top of each kernel source file (copy it from another kern

[linux-sunxi] Re: sunxi-kms driver

2015-04-11 Thread Stefan Monnier
>> Also copyright like this looks weird: >> " * Copyright (C) 2015-2020 Allwinner Technology Co., Ltd." >> Living in the future? :) > I'm granting all the copyright to my newly written code to Allwinner so no... > It's 2015 and the copyright goes 5 years... Am I wrong? ^^' Yes, you're wrong: the c

[linux-sunxi] Re: AP6210 (CubieTruck WiFi/BT module) driver for linux-sunxi

2015-04-11 Thread sokdockey
Τη Τετάρτη, 4 Ιουνίου 2014 - 5:56:56 μ.μ. UTC+3, ο χρήστης Eddy Beaupré έγραψε: > Hello again :) > > I have made a driver for the Ampak AP6210 WiFi/Bluetooth module found on > the Cubietruck, basically it's the driver found in the 3.79+ kernel > distributed by CubieTech, but with all the rfkill

[linux-sunxi] mainline and a20 olinuxino micro/lime2: battery charging supported?

2015-04-11 Thread Jens Thiele
Hi, what's the state of mainline regarding battery charging a20 olinuxino micro/lime2? did only have a quick look at the code and i think it isn't supported yet? or is it supported anyway and there are just no "controls"? just don't want to see those lipos to be on fire -- Prisirah - Building d