clockevents/drivers/cadence_ttc: Migrate to new 'set-state' interface
clockevents/drivers/cadence_ttc: Migrate to new 'set-state' interface

Migrate cadence_ttc driver to the new 'set-state' interface provided by
clockevents core, the earlier 'set-mode' interface is marked obsolete
now.

This also enables us to implement callbacks for new states of clockevent
devices, for example: ONESHOT_STOPPED.

Cc: Michal Simek <b20e59da6aeb5cea6c82b021069d69f63616c55d@xilinx.com>
Cc: Sören Brinkmann <f9793267bd24439886cd4a142f9642a9bcc6364b@xilinx.com>
Signed-off-by: Viresh Kumar <5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org>
Signed-off-by: Daniel Lezcano <e9fa45941f2ebe89c1b9d6c5f339ab42eadb8567@linaro.org>
Tested-by: Sören Brinkmann <f9793267bd24439886cd4a142f9642a9bcc6364b@xilinx.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs