FS#12355 - First patch for HiFiMAN HM-801 target

Attached to Project: Rockbox
Opened by Andrew Ryabinin (mortalis) - Thursday, 27 October 2011, 18:35 GMT
Last edited by Andrew Ryabinin (mortalis) - Thursday, 03 November 2011, 12:04 GMT
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Release 3.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This is initial patch for HiFiMAN HM-801.
firmware/target/arm/rk27xx/hm60x/lcd-hm60x.c moved to firmware/target/arm/rk27xx/lcd-hifiman.c because all hifimans have same lcd.

HM801 have pcm1704 DAC and hm60x have tda1543. Both this DACs is not configurable, so audio codec is the same.
Thats why this patch rename tda1543.{ch} to dummy_codec.{ch}.
This task depends upon

Closed by  Andrew Ryabinin (mortalis)
Thursday, 03 November 2011, 12:04 GMT
Reason for closing:  Accepted
Additional comments about closing:  commited as r30891
Comment by Marcin Bukat (MarcinBukat) - Thursday, 27 October 2011, 20:18 GMT
This is rather minor remark but you could use binary search in key reading routine to reduce number of comparisons (look at key driver for MPIO HD200/HD300 for reference). Keys are scanned every 10ms so this is reasonable to optimize this function.
Comment by Andrew Ryabinin (mortalis) - Friday, 28 October 2011, 09:09 GMT
binnary search in button driver