1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2011 Texas Instruments Incorporated
6 #ifndef _ASM_C6X_DSCR_H
7 #define _ASM_C6X_DSCR_H
10 DSCR_DEVSTATE_ENABLED,
11 DSCR_DEVSTATE_DISABLED,
15 * Set the device state of the device with the given ID.
17 * Individual drivers should use this to enable or disable the
18 * hardware device. The devid used to identify the device being
19 * controlled should be a property in the device's tree node.
21 extern void dscr_set_devstate(int devid, enum dscr_devstate_t state);
24 * Assert or de-assert an RMII reset.
26 extern void dscr_rmii_reset(int id, int assert);
28 extern void dscr_probe(void);
30 #endif /* _ASM_C6X_DSCR_H */