Commit e8147082 authored by John Ballance's avatar John Ballance
Browse files

Update GPIODevice to contain entry points for iMx6 with API 0.1 with single...

Update GPIODevice to contain entry points for iMx6 with API 0.1 with single pin based calls, and initial entry points for API 0.2 with register wide calls.

 Detail:
  iMx6 has GPIO calls in the HAL that are based on single pin calls, cf those in OMAP3/4
  which (in iMx6 case) are exposed via the GPIO HAPDevice. These are modelled on calls
  in the OMAP series HALs, though these latter are not yet exposed.
  Ongoing work in other HALs provides an extended series of register wide calls. Initial
  entry points for these are also provided.

Admin:
 tested on iMx6


Version 0.63. Tagged as 'GPIO-0_63'
parent 3373bb08
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.62"
Module_Version SETA 62
Module_MajorVersion SETS "0.63"
Module_Version SETA 63
Module_MinorVersion SETS ""
Module_Date SETS "30 Nov 2015"
Module_ApplicationDate SETS "30-Nov-15"
Module_Date SETS "16 Mar 2016"
Module_ApplicationDate SETS "16-Mar-16"
Module_ComponentName SETS "GPIO"
Module_ComponentPath SETS "bsd/RiscOS/Sources/ThirdParty/TankStage/HWSupport/GPIO"
Module_FullVersion SETS "0.62"
Module_HelpVersion SETS "0.62 (30 Nov 2015)"
Module_FullVersion SETS "0.63"
Module_HelpVersion SETS "0.63 (16 Mar 2016)"
END
/* (0.62)
/* (0.63)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.62
#define Module_MajorVersion_CMHG 0.63
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 30 Nov 2015
#define Module_Date_CMHG 16 Mar 2016
#define Module_MajorVersion "0.62"
#define Module_Version 62
#define Module_MajorVersion "0.63"
#define Module_Version 63
#define Module_MinorVersion ""
#define Module_Date "30 Nov 2015"
#define Module_Date "16 Mar 2016"
#define Module_ApplicationDate "30-Nov-15"
#define Module_ApplicationDate "16-Mar-16"
#define Module_ComponentName "GPIO"
#define Module_ComponentPath "bsd/RiscOS/Sources/ThirdParty/TankStage/HWSupport/GPIO"
#define Module_FullVersion "0.62"
#define Module_HelpVersion "0.62 (30 Nov 2015)"
#define Module_LibraryVersionInfo "0:62"
#define Module_FullVersion "0.63"
#define Module_HelpVersion "0.63 (16 Mar 2016)"
#define Module_LibraryVersionInfo "0:63"
......@@ -41,12 +41,49 @@ Included_Hdr_GPIODevice SETL {TRUE}
; Device for GPIO devices
; This device just reports the board type and revision, so that the GPIO manager
; knows how everything is set up and which bits should be off-limits.
;
; extra for basic GPIO device with register wide i/o control
; HALDevice_Version = 0
^ HALDeviceSize
HALDevice_GPIOType # 4
HALDevice_GPIORevision # 4
HALDevice_GPIO_Size * :INDEX: @
;
; Extra entries for API 0.1 with basic pin based GPIO control in the HAL
; HALDevice_Version = 1
HALDevice_GPIOReadBit # 4
HALDevice_GPIOWriteBit # 4
HALDevice_GPIOSetAsInput # 4
HALDevice_GPIOSetAsOutput # 4
HALDevice_GPIOSetAndEnableIRQ # 4
HALDevice_GPIOIRQClear # 4
HALDevice_GPIODisableIRQ # 4
HALDevice_GPIOReadBitAddr # 4
HALDevice_GPIODeviceNumber # 4
HALDevice_GPIOReservedAPI1 # 4
HALDevice_GPIO_Size_0_1 * :INDEX: @
;
; Extra entries for API 0.2 with register wide GPIO control in the HAL
; HALDevice_Version = 2
HALDevice_GPIOPorts # 4
HALDevice_GPIONumber # 4
HALDevice_GPIOEnumerate # 4
HALDevice_GPIOEnumerateAltModes # 4
HALDevice_GPIOSetDataBits # 4
HALDevice_GPIOClearDataBits # 4
HALDevice_GPIOToggleDataBits # 4
HALDevice_GPIOReadDataBits # 4
HALDevice_GPIODataDirection # 4
HALDevice_GPIOReadMode # 4
HALDevice_GPIOWriteMode # 4
HALDevice_GPIOEnablePullControl # 4
HALDevice_GPIOEdgeControl # 4
HALDevice_GPIOEdgeDetect # 4
HALDevice_GPIOModeToBit # 4
HALDevice_GPIOBitToMode # 4
HALDevice_GPIOWorkspace # 4
HALDevice_GPIO_Size_0_2 * :INDEX: @
;
; Type & revision values specific to HALDeviceID_GPIO_OMAP3:
^ 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment