mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
pinctrl: sh-pfc: Add generic IOCTRL register description
Add a generic way to describe IOCTRL registers (for e.g. SD I/O voltage and time delay control), like is already done for config, drive, and bias registers. This makes the sh-pfc core code aware of these registers, which will ease introducing suspend/resume support later. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
1860bb134f
commit
9e9bd06a35
@ -159,6 +159,10 @@ struct pinmux_bias_reg {
|
||||
.pud = r2, \
|
||||
.pins =
|
||||
|
||||
struct pinmux_ioctrl_reg {
|
||||
u32 reg;
|
||||
};
|
||||
|
||||
struct pinmux_data_reg {
|
||||
u32 reg;
|
||||
u8 reg_width;
|
||||
@ -251,6 +255,7 @@ struct sh_pfc_soc_info {
|
||||
const struct pinmux_cfg_reg *cfg_regs;
|
||||
const struct pinmux_drive_reg *drive_regs;
|
||||
const struct pinmux_bias_reg *bias_regs;
|
||||
const struct pinmux_ioctrl_reg *ioctrl_regs;
|
||||
const struct pinmux_data_reg *data_regs;
|
||||
|
||||
const u16 *pinmux_data;
|
||||
|
Loading…
Reference in New Issue
Block a user