1. 25 Oct, 2014 1 commit
  2. 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
  3. 14 Apr, 2014 1 commit
  4. 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
  5. 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
  6. 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
  7. 09 Nov, 2013 1 commit
  8. 01 Nov, 2013 2 commits
  9. 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
  10. 17 Aug, 2013 1 commit
  11. 15 Aug, 2013 1 commit
  12. 21 Feb, 2013 1 commit
  13. 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
  14. 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
  15. 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
  16. 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
  17. 30 Sep, 2012 1 commit
    • Jeffrey Lee's avatar
      Implement Pandora keyboard scan & audio support · 6e835fc2
      Jeffrey Lee authored
      Detail:
        s/PAudio, Makefile - Added Pandora audio driver. The Pandora uses a different audio setup to all the other OMAP boards, so to keep things simple the implementation is kept in its own file seperate from the main one.
        s/KbdMatrix, hdr/StaticWS - Implemented Pandora boot-time keyboard scan. This uses the keyboard matrix & GPIO keys instead of the USB libraries.
        s/Boot - Moved call to Audio_Init into the per-board HAL_InitDevices code so that Pandora can call PandoraAudio_Init instead.
        s/SDIO - For MMC1, avoid touching VSIM if the bus width is only 4 bits (i.e. on Pandora). On Pandora VSIM is used for the audio DAC instead.
      Admin:
        Tested on Pandora
      
      
      Version 0.81. Tagged as 'OMAP3-0_81'
      6e835fc2
  18. 23 Sep, 2012 1 commit
    • Jeffrey Lee's avatar
      Configure Pandora battery charging · f2b8dfe1
      Jeffrey Lee authored
      Detail:
        s/Boot - Under Linux the Pandora uses a similar battery charging setup to the TouchBook. Reuse our TouchBook battery charging setup code to set things up appropriately for the Pandora.
      Admin:
        Tested on Pandora
      
      
      Version 0.80. Tagged as 'OMAP3-0_80'
      f2b8dfe1
  19. 21 Sep, 2012 1 commit
    • Jeffrey Lee's avatar
      Tidy up board-specific code. Improve Pandora support. · 8690320d
      Jeffrey Lee authored
      Detail:
        hdr/board, s/board, s/Boot - Tidied up board-specific code a bit by adding more board-specific function pointers to the BoardConfig struct instead of relying on manual board detection in code.
        s/board - Disable Pandora VideoGPIO as turning the LCD on & off seems to result in graphical corruption, most likely due to settings which were set by the SPI interface being lost.
        s/KbdMatrix, Makefile - New file for handling the Pandora's keyboard matrix (and anything else that may require keyboard matrix code in the HAL). Contains stub code for the boot-time keyboard scan, and code to register a keyboard HAL device for detection by the PandoraKey module.
        s/Boot - Add soft-off support for Pandora. Add Pandora-specific initialisation code to enable some extra power supplies (touchscreen, nubs, audio DAC, EHCI PHY)
        s/KbdScan - Use Pandora-specific keyboard scan code instead of USB code when running on Pandora
        s/SDIO - Correct sense of MMC activity LEDs on Pandora. Now only lit during periods of activity, to match behaviour of the Pandora Linux distro.
        s/Video - Add some switched out hack code to allow easier debugging of aborts that occur during ROM initialisation
      Admin:
        Tested on Pandora, rev C2 BB, rev A2 BB-xM, rev C1 TouchBook
      
      
      Version 0.79. Tagged as 'OMAP3-0_79'
      8690320d
  20. 07 Aug, 2012 1 commit
    • Jeffrey Lee's avatar
      Temporarily disable TV-out on Pandora · 4821c492
      Jeffrey Lee authored
      Detail:
        s/board - Temporarily disable TV-out on Pandora, as the current TV detection code in OMAPVideo is believed to be causing false-positives with new some of the newer units.
      Admin:
        Builds, but untested
      
      
      Version 0.78. Tagged as 'OMAP3-0_78'
      4821c492
  21. 22 Jul, 2012 1 commit
    • Ben Avison's avatar
      Fix for data abort in Pandora builds · 6c8a63da
      Ben Avison authored
      Detail:
        MMC2 activate code was corrupting R4
      Admin:
        Tested by making a beagleboard run the Pandora code variant
      
      Version 0.77. Tagged as 'OMAP3-0_77'
      6c8a63da
  22. 20 Jul, 2012 1 commit
    • Ben Avison's avatar
      Build fix · 73255e34
      Ben Avison authored
      Detail:
        Oops, last change broke ADR range...
      Admin:
        Checked that it builds this time
      
      Version 0.76. Tagged as 'OMAP3-0_76'
      73255e34
  23. 19 Jul, 2012 1 commit
    • Ben Avison's avatar
      Bugfix to SDHCI devices · ab9e9e49
      Ben Avison authored
      Detail:
        The return values from the Activate entries were left uninitialised; at
        least in the case of Pandora MMC2, R0 happened to contain 0, which resulted
        in SDIODriver assuming the device had failed to initialise.
      Admin:
        Untested, but a safe change.
      
      Version 0.75. Tagged as 'OMAP3-0_75'
      ab9e9e49
  24. 18 Jul, 2012 1 commit
    • Jeffrey Lee's avatar
      Add support for TV detection · 1de49023
      Jeffrey Lee authored
      Detail:
        hdr/board, s/Video - Video device now implements the tvdet_func function for polling the TV detect GPIO
      Admin:
        Tested on BB-xM with high processor vectors
      
      
      Version 0.74. Tagged as 'OMAP3-0_74'
      1de49023
  25. 16 Jul, 2012 1 commit
    • Ben Avison's avatar
      Another attempt at making the second MMC slot on Pandora work · 70a98c10
      Ben Avison authored
      Detail:
        Copied the pin mux settings and SD controller power-up code from the
        ZippySupport module. The Zippy uses a level shifter, like the Pandora,
        so this should have a decent chance of working. Issues might still remain
        with the card detect, since Pandora uses the TPS for this.
      Admin:
        Builds, but untested.
      
      Version 0.73. Tagged as 'OMAP3-0_73'
      70a98c10
  26. 09 Jul, 2012 1 commit
  27. 08 Jul, 2012 1 commit
    • Ben Avison's avatar
      Another attempt to enable MMC2 on Pandora · 41b29ec8
      Ben Avison authored
      Detail:
        An additional register write in the OMAP3 is required to loop back the
        clock from the external transciever chip. Thanks to "notaz" for the tip.
      Admin:
        Builds OK, but untested
      
      Version 0.71. Tagged as 'OMAP3-0_71'
      41b29ec8
  28. 06 Jul, 2012 1 commit
    • Ben Avison's avatar
      Changes to MMC initialisation for Pandora · a4aa3cb8
      Ben Avison authored
      Detail:
        Forcibly sets the voltage for MMC2 level shifter to 3.0V.
        Attempts to configure TPS GPIO inputs in a way that might work.
      Admin:
        Builds, but untested.
      
      Version 0.70. Tagged as 'OMAP3-0_70'
      a4aa3cb8
  29. 04 Jul, 2012 1 commit
    • Robert Sprowson's avatar
      Refactor HAL_VideoIICOp to be ATPCS · d936bad5
      Robert Sprowson authored
      No longer specified to return _kernel_oserror * implements GraphicsV 14.
      Make use of IICStatus defines instead of local copies.
      Rename HAL_Video_ to HAL_Video.
      Tested on Beagleboard xM, reading EDID from Hyundai monitor.
      
      Version 0.69. Tagged as 'OMAP3-0_69'
      d936bad5
  30. 02 Jul, 2012 1 commit
  31. 11 Jun, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix HAL_UARTModemControl. Tweak HAL_UARTStartUp. · 78a45f27
      Jeffrey Lee authored
      Detail:
        s/UART:
        - HAL_UARTModemControl now uses the correct AND mask; previous code would have always had bit 0 of the mask set.
        - Fixed code in HAL_UARTModemControl that was testing for calls that don't write to the register
        - Removed code from HAL_UARTStartUp that was setting the OUT2 bit of MCR (that bit has a different purpose on OMAP, and won't do anything interesting unless another bit it set as well)
      Admin:
        Tested on rev A2 BB-xM
        HAL now reports modem control lines changing correctly upon calls to HAL_UARTModemControl
      
      
      Version 0.67. Tagged as 'OMAP3-0_67'
      78a45f27
  32. 07 Jun, 2012 1 commit
    • Ben Avison's avatar
      Added HAL devices for main board SDHCI controllers · 6c82d3b6
      Ben Avison authored
      Detail:
        * For Beagleboard and Beagleboard-xM, supports MMC1, and is tested
        * For DevKit8000, supports MMC1 (but untested)
        * For IGEPv2, supports MMC1 and MMC2 (but untested)
        * No support for controllers on other boards at the present time
      Admin:
        Requires headers exported from SDIODriver
      
      Version 0.66. Tagged as 'OMAP3-0_66'
      6c82d3b6
  33. 06 Jun, 2012 1 commit
    • Jeffrey Lee's avatar
      Sanitise HAL_USBControllerInfo · bcd4580a
      Jeffrey Lee authored
      Detail:
        s/USB - For valid controllers, HAL_USBControllerInfo now always returns the correct USB struct size and fills in the controller type. The rest of the buffer is filled in only if the supplied size is large enough. This allows for proper probing of controllers without knowing the required buffer sizes beforehand.
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.65. Tagged as 'OMAP3-0_65'
      bcd4580a
  34. 04 Jun, 2012 1 commit
    • Jeffrey Lee's avatar
      Add HAL_UARTDefault implementation. Delete old HAL video code. Add some SmartReflex tweaks. · ff2a0c53
      Jeffrey Lee authored
      Detail:
        hdr/board, s/board, s/Boot, s/UART - Added HAL_UARTDefault implementation, to allow OS_SerialOp to be used
        hdr/StaticWS, hdr/omap3530, s/Boot, s/Interrupts, s/Video - Removed old HAL video code. The OMAPVideo module is a much better video driver.
        s/SR37x - Add some SmartReflex tweaks which we can try if we run into any stability issues with the current code.
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.64. Tagged as 'OMAP3-0_64'
      ff2a0c53
  35. 22 Apr, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix unreliable warm reset on some BB-xM boards. SmartReflex tweaks. · 30efafad
      Jeffrey Lee authored
      Detail:
        s/TPS - Added code to correctly configure the TPS/TWL to deal with warm resets. Required to make sure VDD1/VDD2 are set back to default when a reset occurs, thereby fixing the hang on reset that some people have been experiencing
        s/Boot - Add code to call TPS_Init
        s/SR37x - Improve debug code. Change initial OPP1G voltage from 1.35V to 1.38V, as recommended by datasheet
        s/KbdScan - Add a bit more debug output
      Admin:
        Tested on rev C2 BB, A2 BB-xM, C1 TouchBook
        Fixes issue reported on forums with resets not working following addition of SmartReflex driver:
        http://www.riscosopen.org/forum/forums/4/topics/993
      
      
      Version 0.63. Tagged as 'OMAP3-0_63'
      30efafad
  36. 08 Apr, 2012 1 commit
    • Jeffrey Lee's avatar
      Add AM/DM37x SmartReflex driver · cad933b0
      Jeffrey Lee authored
      Detail:
        s/SR37x, hdr/SR37x - New files containing SmartReflex driver targeting AM/DM37x chips. Initialises SmartReflex for both VDD1 & VDD2, but currently only VDD1/DPLL1 settings can be adjusted at runtime (via CPUClk HAL device)
        Makefile - Add SR37x to object list
        hdr/CPUClk - Adjust OPPTbl_Max so CPUClk workspace size is >= SR37x workspace size (both drivers share their HAL workspace, since only one can be active at once)
        hdr/GPIO - Add TPS_GPPUPDCTR1 definition
        hdr/PRCM - Add SmartReflex related registers
        hdr/omap3530 - Add "control device status" register & extra AM/DM37x revision numbers
        s/CPUClk:
        - Modify CPUClk_PreInit to try initialising the SmartReflex driver.
        - Ensure SmartReflex is disabled in the TPS if using CPUClk driver.
        - Fix 'OPP60' typo in AMDM37x table.
        - Move DPLL adjustment code into its own function to allow it to be shared with SmartReflex driver.
        - Add a few ROUTs and ASSERTs for safety.
      Admin:
        Both new & old CPUClk devices tested on BB-xM
      
      
      Version 0.62. Tagged as 'OMAP3-0_62'
      cad933b0
  37. 25 Mar, 2012 1 commit
    • Robert Sprowson's avatar
      Line some things up. · 1282763f
      Robert Sprowson authored
      To help OMAP4 tracking changes a number of the changes were purely cosmetic lining up differences, this change is where OMAP3 wasn't on a conventional column layout.
      
      Version 0.61. Tagged as 'OMAP3-0_61'
      1282763f
  38. 07 Mar, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix bug when linked against old kernels · 0e9d9db1
      Jeffrey Lee authored
      Detail:
        s/Top - If a kernel which doesn't support compression was in use, a typo would lead to the ROM image size being calculated incorrectly, most likely causing the ROM relocation code to fail.
      Admin:
        Tested on BB-xM
        Bug spotted by Willi Theiss
      
      
      Version 0.60. Tagged as 'OMAP3-0_60'
      0e9d9db1