mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Greg Kroah-Hartman](/assets/img/avatar_default.png)
While the timesync protocol was a great idea, it never ended up getting implemented by any known hardware devices. It's also a bit "interesting" in how it ties into the platform controller. So, just remove it for now. It's not needed, no one uses it, and it's a stumbling block in getting the greybus core code merged out of the staging tree. If anyone wants it in the future, reverting this patch is a great place to start from. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Johan Hovold <johan@kernel.org> Reviewed-by: Alex Elder <elder@kernel.org> Acked-by: Bryan O'Donoghue <pure.logic@nexus-software.ie> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
37 lines
1 KiB
C
37 lines
1 KiB
C
/*
|
|
* Arche Platform driver to enable Unipro link.
|
|
*
|
|
* Copyright 2015-2016 Google Inc.
|
|
* Copyright 2015-2016 Linaro Ltd.
|
|
*
|
|
* Released under the GPLv2 only.
|
|
*/
|
|
|
|
#ifndef __ARCHE_PLATFORM_H
|
|
#define __ARCHE_PLATFORM_H
|
|
|
|
enum arche_platform_state {
|
|
ARCHE_PLATFORM_STATE_OFF,
|
|
ARCHE_PLATFORM_STATE_ACTIVE,
|
|
ARCHE_PLATFORM_STATE_STANDBY,
|
|
ARCHE_PLATFORM_STATE_FW_FLASHING,
|
|
ARCHE_PLATFORM_STATE_TIME_SYNC,
|
|
};
|
|
|
|
int arche_platform_change_state(enum arche_platform_state state,
|
|
struct gb_timesync_svc *pdata);
|
|
|
|
extern int (*arche_platform_change_state_cb)(enum arche_platform_state state,
|
|
struct gb_timesync_svc *pdata);
|
|
int __init arche_apb_init(void);
|
|
void __exit arche_apb_exit(void);
|
|
|
|
/* Operational states for the APB device */
|
|
int apb_ctrl_coldboot(struct device *dev);
|
|
int apb_ctrl_fw_flashing(struct device *dev);
|
|
int apb_ctrl_standby_boot(struct device *dev);
|
|
void apb_ctrl_poweroff(struct device *dev);
|
|
void apb_bootret_assert(struct device *dev);
|
|
void apb_bootret_deassert(struct device *dev);
|
|
|
|
#endif /* __ARCHE_PLATFORM_H */
|