Commit 364f8ffc authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kumar Gala

[POWERPC] QE: extern par_io_config_pin and par_io_data_set funcs

This is needed to configure and control QE pario pins from the kernel.
Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 5a24e1a1
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
extern void qe_reset(void); extern void qe_reset(void);
extern int par_io_init(struct device_node *np); extern int par_io_init(struct device_node *np);
extern int par_io_of_config(struct device_node *np); extern int par_io_of_config(struct device_node *np);
extern int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain,
int assignment, int has_irq);
extern int par_io_data_set(u8 port, u8 pin, u8 val);
/* QE internal API */ /* QE internal API */
int qe_issue_cmd(u32 cmd, u32 device, u8 mcn_protocol, u32 cmd_input); int qe_issue_cmd(u32 cmd, u32 device, u8 mcn_protocol, u32 cmd_input);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment