blob: 478a09217cc47cc3a996651a4263d02fbfc9285e [file] [log] [blame]
Felix Held3f3eca92020-01-23 17:12:32 +01001/* SPDX-License-Identifier: GPL-2.0-or-later */
Zheng Bao9db833b2009-12-28 09:59:44 +00002
Uwe Hermann7fa08192010-11-08 20:55:24 +00003#ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
4#define SUPERIO_WINBOND_W83627THG_W83627THG_H
5
Kyösti Mälkki3855c012019-03-03 08:45:19 +02006#include <device/pnp_type.h>
Arthur Heymansf7ca2252017-06-01 14:59:30 +02007
Stefan Reinauerb70d1992008-10-29 04:45:28 +00008#define W83627THG_FDC 0 /* Floppy */
Uwe Hermann340fa932010-11-10 14:53:36 +00009#define W83627THG_PP 1 /* Parallel port */
Stefan Reinauerb70d1992008-10-29 04:45:28 +000010#define W83627THG_SP1 2 /* Com1 */
11#define W83627THG_SP2 3 /* Com2 */
Uwe Hermann340fa932010-11-10 14:53:36 +000012#define W83627THG_KBC 5 /* PS/2 keyboard & mouse */
Stefan Reinauerb70d1992008-10-29 04:45:28 +000013#define W83627THG_GAME_MIDI_GPIO1 7
14#define W83627THG_GPIO2 8
15#define W83627THG_GPIO3 9
16#define W83627THG_ACPI 10
Uwe Hermann340fa932010-11-10 14:53:36 +000017#define W83627THG_HWM 11 /* Hardware monitor */
Uwe Hermann7fa08192010-11-08 20:55:24 +000018
Edward O'Callaghan85836c22014-07-09 20:26:25 +100019void pnp_enter_ext_func_mode(pnp_devfn_t dev);
20void pnp_exit_ext_func_mode(pnp_devfn_t dev);
Idwer Vollering355092b2011-11-07 17:48:33 +010021
Edward O'Callaghan85836c22014-07-09 20:26:25 +100022void w83627thg_set_clksel_48(pnp_devfn_t dev);
Edward O'Callaghan4f5a5252014-04-03 14:40:24 +110023
24#endif /* SUPERIO_WINBOND_W83627THG_W83627THG_H */