Thara Gopinath <thara@xxxxxx> writes: > There are two separate modules in SmartReflex-AVS : > MinMaxAvg module and Error module. Class3 uses the Error module only. > In Class2 you can choose between either module since it is software based. > The registers are mapped to the modules as followed: > > MinMaxAvg module: AccumData, MinMaxAvgEnable, MinMaxAvgValid, > MinMaxAvgAccumValid, SenVal, SenMin, SenMax, SenAverage, > AverageWeight, MCUAccum, MCUValid, MCUBounds. > > Error module: SenNGain, SenPGain, SenPRN, SenNRN, AvgError, > SenError, VPBounds, ErrWeight, ErrMaxLimit, ErrMinLimit. > > Shared between both: SRClkLength, SREnable, SenEnable, SenNEnable, > SenPEnable, DelayCtrl, MCUDisableAck, ClkActivity. > > This patch generates separate API's to configure the two modules > which can be used by the smartreflex class driver as per its > requirement. This patch allows allows for registering for smartreflex > interrupt handler and notification of interrupts in case requested by > the smartreflex class driver. After just removing functions that take SR IDs, here new functions are added that take SR IDs and do _sr_lookup() instead of passing sr pointer. Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html