struct tegra_pingroup_desc {
const char *name;
enum pmux_func funcs[4];
- enum pmux_func func_safe;
enum pmux_vddio vddio;
enum pmux_pin_io io;
};
PMUX_FUNC_ ## f2, \
PMUX_FUNC_ ## f3, \
}, \
- .func_safe = PMUX_FUNC_RSVD1, \
.io = PMUX_PIN_ ## iod, \
}
assert(pmux_pingrp_isvalid(pin));
assert(pmux_func_isvalid(func));
- /* Handle special values */
- if (func == PMUX_FUNC_SAFE)
- func = tegra_soc_pingroups[pin].func_safe;
-
if (func & PMUX_FUNC_RSVD1) {
mux = func & 0x3;
} else {
struct tegra_pingroup_desc {
const char *name;
enum pmux_func funcs[4];
- enum pmux_func func_safe;
enum pmux_vddio vddio;
enum pmux_pin_io io;
};
PMUX_FUNC_ ## f2, \
PMUX_FUNC_ ## f3, \
}, \
- .func_safe = PMUX_FUNC_RSVD1, \
.io = PMUX_PIN_ ## iod, \
}
assert(pmux_pingrp_isvalid(pin));
assert(pmux_func_isvalid(func));
- /* Handle special values */
- if (func == PMUX_FUNC_SAFE)
- func = tegra_soc_pingroups[pin].func_safe;
-
if (func & PMUX_FUNC_RSVD1) {
mux = func & 0x3;
} else {
struct tegra_pingroup_desc {
const char *name;
enum pmux_func funcs[4];
- enum pmux_func func_safe;
enum pmux_vddio vddio;
enum pmux_ctlid ctl_id;
enum pmux_pullid pull_id;
PMUX_FUNC_ ## f2, \
PMUX_FUNC_ ## f3, \
}, \
- .func_safe = PMUX_FUNC_ ## f_safe, \
.ctl_id = mux, \
.pull_id = pupd \
}
struct tegra_pingroup_desc {
const char *name;
enum pmux_func funcs[4];
- enum pmux_func func_safe;
enum pmux_vddio vddio;
enum pmux_pin_io io;
};
PMUX_FUNC_ ## f2, \
PMUX_FUNC_ ## f3, \
}, \
- .func_safe = PMUX_FUNC_RSVD1, \
.io = PMUX_PIN_ ## iod, \
}
assert(pmux_pingrp_isvalid(pin));
assert(pmux_func_isvalid(func));
- /* Handle special values */
- if (func == PMUX_FUNC_SAFE)
- func = tegra_soc_pingroups[pin].func_safe;
-
if (func & PMUX_FUNC_RSVD1) {
mux = func & 0x3;
} else {
PMUX_FUNC_RESET_OUT_N,
/* End of Tegra114 MUX selectors */
- PMUX_FUNC_SAFE,
PMUX_FUNC_MAX,
PMUX_FUNC_INVALID = 0x4000,
PMUX_FUNC_RESET_OUT_N,
/* End of Tegra114 MUX selectors */
- PMUX_FUNC_SAFE,
PMUX_FUNC_MAX,
PMUX_FUNC_INVALID = 0x4000,
PMUX_FUNC_VI,
PMUX_FUNC_VI_SENSOR_CLK,
PMUX_FUNC_XIO,
- PMUX_FUNC_SAFE,
/* These don't have a name, but can be used in the table */
PMUX_FUNC_RSVD1,
PMUX_FUNC_CPU_PWR_REQ,
PMUX_FUNC_PWR_INT_N,
PMUX_FUNC_CLK_32K_IN,
- PMUX_FUNC_SAFE,
PMUX_FUNC_MAX,