Add support for communicating with the PSOC using the supported protocol commands from the PSOC. The support includes communicating with the controller to initiate and start the ADC conversion for the selected channels. Start and receive ADC conversion for single measurement, buffered reads, averaging the samples and returning the results over the set averaging period. Other commands supported include setting/receiving the timestamp, setting reference voltage, toggling gpio to set triggers on set events. Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org> (cherry picked from commit efddea4639f2953375fb822524fcae756ae67dc0) Change-Id: Id519a5b9033b85953f1d6229a144f9df78910900 Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>