Commit Graph

2 Commits

Author SHA1 Message Date
peter
0c9a60ff27 Hide the bit invertion/shifting of values received from and send to the MCU
inside the j720ssp_readwrite function. This simplifies the calls to this
function a little.
2006-06-27 14:36:50 +00:00
peter
547e1f6637 Split the Jornada 7xx drivers for the touch-panel, keyboard, lcd control
and power management into multiple files. This removes some dirty hacks
and improves the quality of the code.

- j720kbd.c     - keyboard driver
  * Converted to use the hpckbd(4) interface.
  * Remove the old keymap file since it's no longer used.

- j720lcd.c     - lcd brightness/control/power control

- j720pwr.c     - power management
  * Converted to use the hpcapm(4) interface.
  * Fix the battery charge status. The values are non-linear so in order
    to display a reasonable charge status we use a few charge points in
    a table and interpolate between that.

- j720tp.c      - touch-panel driver

- j720ssp.c     - SSP port (on the SA-1110)

Many thanks to cube@ and uwe@ for providing useful feedback and reviewing
the changes.
2006-03-04 14:09:36 +00:00