Hi,

On 06/13/2014 12:48 AM, [email protected] wrote:
> On Thu, Jun 12, 2014 at 6:35 PM, Emilio López <[email protected]> wrote:
>> El 12/06/14 19:11, [email protected] escribió:
>>
>>> What has replaced sw_get_ic_ver() on 3.15?
>>>
>>> Codec code varies on every chip revision A,B,C and A10/20.
>>
>>
>> A10/A20 can be determined by the compatible string. Chip revision is going
>> to be trickier though, there is no direct replacement of sw_get_ic_ver()
>> that I'm aware of. sw_get_ic_ver() seems to poke a timer register in the
>> sun4i case, and SID (for which we do have a driver[1]) on the sun5i case.
>>
>> [1] drivers/misc/eeprom/sunxi_sid.c
> 
> We may have to reimplement it. Codec driver has stuff like this in it.

I think adding some sort of SoC version detection makes sense, so go for it.

Regards,

Hans

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to