1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 06 Dec, 2014 2 commits
  21. 30 Oct, 2014 1 commit
  22. 25 Oct, 2014 1 commit
  23. 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
  24. 14 Apr, 2014 1 commit
  25. 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
  26. 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
  27. 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
  28. 09 Nov, 2013 1 commit
  29. 01 Nov, 2013 2 commits
  30. 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
  31. 17 Aug, 2013 1 commit
  32. 15 Aug, 2013 1 commit
  33. 21 Feb, 2013 1 commit
  34. 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
  35. 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
  36. 21 Nov, 2012 1 commit
    • Jeffrey Lee's avatar
      Add BMU support for Pandora & TouchBook · 16658545
      Jeffrey Lee authored
      Detail:
        s/BMU, Makefile - BMU HAL device implementations for the Pandora & TouchBook
        hdr/StaticWS - Reserve workspace for the BMU devices
        s/Boot - Add the BMU devices to HAL device initialisation. Move Enable_main_battery_charging into s/BMU.
      Admin:
        Tested in ROM on BB-xM, Pandora, TouchBook
      
      
      Version 0.83. Tagged as 'OMAP3-0_83'
      16658545
  37. 07 Oct, 2012 1 commit
    • Jeffrey Lee's avatar
      Switch to default clock speed before reset/power off. Place EHCI PHY in reset too. · 4e94b0fc
      Jeffrey Lee authored
      Detail:
        hdr/CPUClk, hdr/SR37x, s/Boot, s/CPUClk, s/SR37x - Modifed CPU clock drivers to allow the core speed & voltage to be reset to the power on defaults prior to reset/poweroff. This fixes an issue seen on Pandora where Linux will often fail to boot after RISC OS has been run, presumably due to VDD1 being too low for the initial clock speed Linux switches to.
        s/Boot - Place EHCI PHY in reset prior to reset/power off. May help with a reported issue of USB host being unreliable after RISC OS has been run (although reset/poweroff should reset the GPIO anyway)
      Admin:
        Tested on Pandora & BB-xM
      
      
      Version 0.82. Tagged as 'OMAP3-0_82'
      4e94b0fc