1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Texas Instruments K3 Device Platform Data
5 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
11 #include <linux/types.h>
14 #define LPSC_MODULE_EXISTS BIT(0)
15 #define LPSC_NO_CLOCK_GATING BIT(1)
16 #define LPSC_DEPENDS BIT(2)
17 #define LPSC_HAS_RESET_ISO BIT(3)
18 #define LPSC_HAS_LOCAL_RESET BIT(4)
19 #define LPSC_NO_MODULE_RESET BIT(5)
21 #define PSC_PD_EXISTS BIT(0)
22 #define PSC_PD_ALWAYSON BIT(1)
23 #define PSC_PD_DEPENDS BIT(2)
46 struct ti_lpsc *depend;
55 * struct ti_k3_pd_platdata - pm domain controller information structure
57 struct ti_k3_pd_platdata {
68 #define PSC(_id, _base) { .id = _id, .base = (void *)_base, }
69 #define PSC_PD(_id, _psc, _depend) { .id = _id, .psc = _psc, .depend = _depend }
70 #define PSC_LPSC(_id, _psc, _pd, _depend) { .id = _id, .psc = _psc, .pd = _pd, .depend = _depend }
71 #define PSC_DEV(_id, _lpsc) { .id = _id, .lpsc = _lpsc }
73 extern const struct ti_k3_pd_platdata j721e_pd_platdata;
74 extern const struct ti_k3_pd_platdata j7200_pd_platdata;