1. 08 Feb, 2020 1 commit
    • Jeffrey Lee's avatar
      Fix UART TX FIFO thresholds · e98c29cc
      Jeffrey Lee authored
      HAL_UARTFIFOSize was incorrectly returning the TX FIFO size, instead of
      the number of characters that can be written when the TX empty IRQ is
      received. This was causing data loss when DualSerial drives the
      interface at high speed (> 19200 baud) (OMAP3530), or data aborts when
      writing to UART_THR (DM3750, some kind of hardware quirk when the FIFO
      is full?)
      
      Fix this by programming a sensible trigger level at startup, and
      returning the correct value from HAL_UARTFIFOSize.
      
      Version 1.20. Tagged as 'HAL_OMAP3-1_20'
      e98c29cc
  2. 28 Dec, 2019 1 commit
  3. 08 Apr, 2018 1 commit
    • ROOL's avatar
      GPIO readability · 8334f385
      ROOL authored
      Detail:
        Use symbol instead of magic 6. Comment correction.
      Admin:
        Binary unchanged. Retagged as 'OMAP3-1_18'.
      8334f385
  4. 01 Apr, 2018 1 commit
    • Robert Sprowson's avatar
      Add GPIO device implementation · 40dec678
      Robert Sprowson authored
      Update to API 1.0, and corresponding set of register wide accessor functions.
      The tables of permitted pins come from staring at the schematics for any connectors, minus those that are "owned" by the OS.
      In the absence of any Touchbook schematics, no GPIO device will be registered for this (given the physical size of the Touchbook it's unlikely there are any usefully accessible headers anyway).
      
      Tested on a BB-xM, toggling the two user LEDs and scanning the 'USER' push button.
      
      Version 1.18. Tagged as 'OMAP3-1_18'
      40dec678
  5. 31 Mar, 2018 1 commit
    • ROOL's avatar
      Comment and workspace tidy up · 444251ec
      ROOL authored
      Detail:
        SDIO.s comment correction
        hdr/StaticWS removed unused USBAllocArea
      Admin:
        From similar change in OMAP4-0_57.
      
      Version 1.17. Tagged as 'OMAP3-1_17'
      444251ec
  6. 30 Mar, 2018 1 commit
    • Robert Sprowson's avatar
      Make type and revision private · 32e46033
      Robert Sprowson authored
      Adopt the board type and revision enum privately in board.hdr (mass search & replace exercise).
      Don't re-export it via a stub GPIO device; it's private.
      
      Version 1.16. Tagged as 'OMAP3-1_16'
      32e46033
  7. 09 Sep, 2017 1 commit
    • ROOL's avatar
      Participate in keyboard scan dependencies · a3c6135a
      ROOL authored
      Detail:
        Replace keyboard scan code with list of modules that the kernel needs to do the same.
        Reorder the HALEntries to match Kernel-5_89.
        Delete unused workspace.
        Don't link against HAL USB library.
      Admin:
        Submission for USB bounty.
      
      Version 1.15. Tagged as 'OMAP3-1_15'
      a3c6135a
  8. 30 Jul, 2017 1 commit
    • ROOL's avatar
      Build fix · 44cee123
      ROOL authored
      Admin:
        As a side effect of changes in USBDriver-1_20, rename the library object.
      
      Version 1.14. Tagged as 'OMAP3-1_14'
      44cee123
  9. 20 Aug, 2016 1 commit
    • Jeffrey Lee's avatar
      Improve handling of PBIAS settings · 6acaa10b
      Jeffrey Lee authored
      Detail:
        hdr/omap3530, s/SDIO - Change writes to L4_PBiasLite to go via a function so that we can avoid altering the PBIAS1 settings when we're using a 4 bit SD interface. Also make sure the GPIO_IO_PWRDNZ bit that's present on DM37x chips reflects the value of PBIASLITEPWRDNZ1.
        s/Boot - When adjusting VSIM during enabling of the battery charger, make sure to set the PBIAS1 controls to high impedence to protect the GPIOs.
      Admin:
        Tested on (OMAP3) Pandora, BeagleBoard-xM
        May fix issue reported with 1GHz (i.e. DM37x) Pandora where 2nd SD slot activity LED (which uses one of the GPIOs that are routed through PBIAS1) doesn't work
      
      
      Version 1.13. Tagged as 'OMAP3-1_13'
      6acaa10b
  10. 01 Jul, 2016 1 commit
    • Jeffrey Lee's avatar
      Support DS1307-compatible RTCs attached to I2C3 on the TouchBook · 83363a6a
      Jeffrey Lee authored
      Detail:
        s/RTC - Copy over the DS1307/DS1338 driver from the OMAP4 HAL, in order to allow TouchBook owners to make use of such a chip if they attach it to I2C3 (since the TPS isn't battery-backed on that machine)
      Admin:
        Tested on TouchBook
      
      
      Version 1.12. Tagged as 'OMAP3-1_12'
      83363a6a
  11. 20 Jun, 2016 1 commit
    • Jeffrey Lee's avatar
      Fix reporting of BQ27200 status flags · 7d862443
      Jeffrey Lee authored
      Detail:
        s/BMU - Reading the BQ27200 flags variable was always reporting an "error" result, due to a1 not being set correctly prior to the branch. Also the 'charging' flag was being missed off due to erroneous use of LDRB.
      Admin:
        Tested on TouchBook
        Fixes 2nd battery (keyboard unit) always showing as 'unknown' state in BatMgr's display (dark grey with charge stripes) when the keyboard is connected
        Issue spotted by Raik Fischer
      
      
      Version 1.11. Tagged as 'OMAP3-1_11'
      7d862443
  12. 09 May, 2016 1 commit
    • Jeffrey Lee's avatar
      GET Hdr:CPU.Arch · 58a89ca8
      Jeffrey Lee authored
      Detail:
        s/SDIO - Add a GET of Hdr:CPU.Arch, as it's now required for DivRem usage
      Admin:
        Untested
      
      
      Version 1.10. Tagged as 'OMAP3-1_10'
      58a89ca8
  13. 06 May, 2016 1 commit
    • Jeffrey Lee's avatar
      Implement HAL_TimerIRQClear · e735e190
      Jeffrey Lee authored
      Detail:
        s/Boot, s/Interrupts, s/Timers - Move timer IRQ clear code out of HAL_IRQClear and into HAL_TimerIRQClear. Streamlines HAL_IRQClear and allows timers to be used by FIQ handlers.
      Admin:
        Tested on BB-xM
      
      
      Version 1.09. Tagged as 'OMAP3-1_09'
      e735e190
  14. 08 Jan, 2016 1 commit
    • Jeffrey Lee's avatar
      Fix build error. Add HAL_PlatformName implementation. · a6a59942
      Jeffrey Lee authored
      Detail:
        s/Boot, Makefile, s/Stubs - Remove references to deleted HAL ATA calls. Delete s/Subs it's now redundant.
        hdr/board, s/board, s/Top - Refactor how board names are stored so that we can differentiate between OMAP3 and DM37x versions of boards (at least the BeagleBoard and the Pandora come in OMAP3 and DM37x variants)
        s/Boot - Add HAL_PlatformName implementation, using the new board name system
      Admin:
        Tested on BB-xM
      
      
      Version 1.08. Tagged as 'OMAP3-1_08'
      a6a59942
  15. 02 Jan, 2016 1 commit
    • ROOL's avatar
      Extend to support CPUClk device 0.2 API · 0c4ee981
      ROOL authored
      Detail:
        Extra entry to get the die temperature, as reported by Portable_ReadSensor(0,0,0).
      Admin:
        Submission from Willi Theiss.
        Tested on IGEPv2 and BBxM.
      
      Version 1.07. Tagged as 'OMAP3-1_07'
      0c4ee981
  16. 01 Sep, 2015 1 commit
    • ROOL's avatar
      Reflect changes from OMAP4 HAL · fe143341
      ROOL authored
      omap3530.hdr/Debug,s:
        Define a dummy symbol so when debug is enabled there aren't conflicting IMPORT and EXPORTs.
      Boot.s:
        Update comment to match HAL function names.
      
      Version 1.06. Tagged as 'OMAP3-1_06'
      fe143341
  17. 14 Aug, 2015 1 commit
    • Jeffrey Lee's avatar
      Add additional memory barriers · 989ef9a0
      Jeffrey Lee authored
      Detail:
        s/SDMA - Add extra memory barriers to DMA code, ready for when the default NCB memory cache policy is changed from Device to Normal, non-cacheable (increased risk of out-of-order accesses)
      Admin:
        Tested on BB-xM
      
      
      Version 1.05. Tagged as 'OMAP3-1_05'
      989ef9a0
  18. 08 Apr, 2015 1 commit
    • Robert Sprowson's avatar
      Turn off debug · 4637a093
      Robert Sprowson authored
      Anyone using the serial port for other peripheral uses might get confused if some HAL debug comes out on it.
      Move the IMPORTs into a header so we don't end up with lots of unresolved symbols with Debug {FALSE}.
      Rename a couple of symbols in PAudio missed in OMAP3-1_03.
      Built, but not tested.
      
      
      Version 1.04. Tagged as 'OMAP3-1_04'
      4637a093
  19. 06 Apr, 2015 1 commit
    • Robert Sprowson's avatar
      Build fix · 9456d210
      Robert Sprowson authored
      Updated for Sound0HAL-1_80.
      
      Version 1.03. Tagged as 'OMAP3-1_03'
      9456d210
  20. 26 Feb, 2015 1 commit
    • Jeffrey Lee's avatar
      Add support for the TouchBook's SD slot · 7bee9685
      Jeffrey Lee authored
      Detail:
        s/Boot, s/SDIO - Add support for the TouchBook's SD slot. Although the Linux sources suggest it should be the same configuration as a BeagleBoard, it doesn't look like the card detect or write protect lines are functional on my unit, so we avoid using them.
      Admin:
        Tested on rev C1 TouchBook
      
      
      Version 1.02. Tagged as 'OMAP3-1_02'
      7bee9685
  21. 21 Dec, 2014 1 commit
    • Robert Sprowson's avatar
      Enable L2 cache in HAL_Init · 3718c191
      Robert Sprowson authored
      Since this HAL targets the A8, it's a nice simple L2EN bit set.
      Also, correct the range of SDRAM hinted to the kernel - the DRAM controller only has enough lines to control 1GB not 2 as previously claimed.
      
      Version 1.01. Tagged as 'OMAP3-1_01'
      3718c191
  22. 06 Dec, 2014 2 commits
  23. 30 Oct, 2014 1 commit
  24. 25 Oct, 2014 1 commit
  25. 20 Jul, 2014 1 commit
    • Jeffrey Lee's avatar
      Disallow EDID writes. Add support for EDID reads which require the segment... · 70385bc1
      Jeffrey Lee authored
      Disallow EDID writes. Add support for EDID reads which require the segment pointer to be set. Improve Pandora screen blanking.
      
      Detail:
        s/I2C - Revise HAL_VideoIICOp implementation to disallow EDID writes (&A0 IIC address). Attempt to write the EDID segment pointer when accessing EDID addresses >= 256.
        s/Video - Make Pandora screen blanking put the LCD into/out of standby mode. If it's left active while the video sync signals are cut then there'll often be garbage displayed on the screen.
      Admin:
        Tested on BB-xM, Pandora
      
      
      Version 0.97. Tagged as 'OMAP3-0_97'
      70385bc1
  26. 14 Apr, 2014 1 commit
  27. 08 Mar, 2014 1 commit
    • Robert Sprowson's avatar
      Use DSB/ISB directly · 3eb78ffd
      Robert Sprowson authored
      Reflects similar change in OMAP4-0_28.
      Built, but not tested.
      
      Version 0.95. Tagged as 'OMAP3-0_95'
      3eb78ffd
  28. 17 Dec, 2013 2 commits
    • Jeffrey Lee's avatar
      Re-enable Pandora TV-out support · 51936e95
      Jeffrey Lee authored
      Detail:
        s/board - Re-enable Pandora TV-out support now that we have the ability to turn TV-out power on/off
        hdr/board, s/Video - Add the new TV-out power control function to the video board config struct. All OMAP boards should be able to use the same implementation, which enables/disables the VDAC power supply in the TPS
      Admin:
        Tested on BB-xM and Pandora
        TV detection (and TV-out in general) now works properly on the Pandora
      
      
      Version 0.94. Tagged as 'OMAP3-0_94'
      51936e95
    • Jeffrey Lee's avatar
      Fix left/right sound channels being swapped on Pandora · e021688c
      Jeffrey Lee authored
      Detail:
        s/PAudio - Change the Pandora audio device over to API version 2 so that we can specify the stereo reverse flag
        s/Audio - Adjust workspace of the audio device used by the other machines so that it's still the same size as the Pandora one. Note that the stereo reverse flag isn't needed - although I can't remember how I'm doing it, it seems there's some TWL feature which I'm making use of on other machines to deal with the stereo reversal there, as the hardware doesn't use VIDC channel order by default
        hdr/Audio - Adjust size of the shared audio device workspace
      Admin:
        Tested on Pandora & BB-xM
      
      
      Version 0.93. Tagged as 'OMAP3-0_93'
      e021688c
  29. 15 Dec, 2013 1 commit
    • Jeffrey Lee's avatar
      Remove obsolete stub HAL video API implementation · 61724a8a
      Jeffrey Lee authored
      Detail:
        hdr/Video, s/Top - Remove local VIDC list type 3 definition, use Hdr:VIDCList instead
        s/Boot, s/Video - Removed obsolete HAL video API implementation. A stub implementation is no longer required for systems that have a GraphicsV driver in a module, and can even cause problems if the OS decides to use the HAL implementation instead of the module one.
      Admin:
        Tested in OMAP3 ROM on BB-xM
        Requires Kernel-5_35-4_79_2_203
      
      
      Version 0.92. Tagged as 'OMAP3-0_92'
      61724a8a
  30. 09 Nov, 2013 1 commit
  31. 01 Nov, 2013 2 commits
  32. 28 Sep, 2013 1 commit
    • Robert Sprowson's avatar
      Modification to RISCOS_IICOpV · 7c84c62b
      Robert Sprowson authored
      Now assumes an IICStatus return, per Kernel-5_35-4_79_2_196.
      I2C sources lined up to column 17.
      Built, but not tested.
      
      Version 0.89. Tagged as 'OMAP3-0_89'
      7c84c62b
  33. 17 Aug, 2013 1 commit
  34. 15 Aug, 2013 1 commit
  35. 21 Feb, 2013 1 commit
  36. 22 Jan, 2013 1 commit
    • Jeffrey Lee's avatar
      Implement HAL_IRQMax · 0f3cd4f2
      Jeffrey Lee authored
      Detail:
        s/Boot, s/Interrupts - Added HAL_IRQMax implementation, to ensure correct functionality with latest Kernel
      Admin:
        Tested on BB-xM
        Requires Kernel-5_35-4_79_2_182
      
      
      Version 0.85. Tagged as 'OMAP3-0_85'
      0f3cd4f2
  37. 13 Jan, 2013 1 commit
    • Jeffrey Lee's avatar
      Program the gamma table in the Pandora's LCD · 48daf0ce
      Jeffrey Lee authored
      Detail:
        s/Video - Added code to program the gamma table in the Pandora's LCD, as the power-on settings aren't very good
        s/Boot - Initialise the LCD at the right time
        hdr/SPI - SPI register definitions, for programming the gamma table and (eventually) a full SPI driver
      Admin:
        Tested on Pandora
      
      
      Version 0.84. Tagged as 'OMAP3-0_84'
      48daf0ce