1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/device.h>
4 #include <device/pnp.h>
5 #include <console/console.h>
6 #include <pc80/keyboard.h>
8 void m3885_configure_multikey(void);
10 static void m3885x_init(struct device
*dev
)
15 printk(BIOS_DEBUG
, "Renesas M3885x: Initializing keyboard.\n");
17 pc_keyboard_init(NO_AUX_DEVICE
);
18 m3885_configure_multikey();
21 static void m3885x_read_resources(struct device
*dev
)
23 /* Nothing, but this function avoids an error on serial console. */
26 static void m3885x_enable_resources(struct device
*dev
)
28 /* Nothing, but this function avoids an error on serial console. */
31 static struct device_operations ops
= {
33 .read_resources
= m3885x_read_resources
,
34 .enable_resources
= m3885x_enable_resources
37 static struct pnp_info pnp_dev_info
[] = {
41 static void enable_dev(struct device
*dev
)
43 pnp_enable_devices(dev
, &ops
, ARRAY_SIZE(pnp_dev_info
), pnp_dev_info
);
46 struct chip_operations superio_renesas_m3885x_ops
= {
47 .name
= "Renesas M3885x Super I/O",
48 .enable_dev
= enable_dev
,