diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-09-03 17:07:29 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-10-01 14:41:10 +0100 |
commit | 647aa5ba0aaf43f7d80ead5d5477fd259cb3a1c8 (patch) | |
tree | 1d62a627ff2c6683adc7bc85fc89bd84511da600 /include/hw/input | |
parent | 1c94a3fe560aa9007dcb0aa55df93a9a7d851418 (diff) | |
download | qemu-647aa5ba0aaf43f7d80ead5d5477fd259cb3a1c8.zip qemu-647aa5ba0aaf43f7d80ead5d5477fd259cb3a1c8.tar.gz qemu-647aa5ba0aaf43f7d80ead5d5477fd259cb3a1c8.tar.bz2 |
hw/input: Remove lm832x device
Remove the lm832x keyboard-and-pwm i2c device model. This
was only used by the n800 and n810 machines.
(Although this is an i2c device and so in theory available to create
on the command line, in practice it has an outbound IRQ line that the
machine model needs to wire up, and the only way to inject keys events
into it is to call the lm832x_key_event() function, so it isn't
in practice possible to use it separately from the n800/n810.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20240903160751.4100218-32-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/input')
-rw-r--r-- | include/hw/input/lm832x.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/include/hw/input/lm832x.h b/include/hw/input/lm832x.h deleted file mode 100644 index e0e5d5e..0000000 --- a/include/hw/input/lm832x.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * National Semiconductor LM8322/8323 GPIO keyboard & PWM chips. - * - * Copyright (C) 2008 Nokia Corporation - * Written by Andrzej Zaborowski <andrew@openedhand.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 or - * (at your option) version 3 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef HW_INPUT_LM832X_H -#define HW_INPUT_LM832X_H - -#define TYPE_LM8323 "lm8323" - -void lm832x_key_event(DeviceState *dev, int key, int state); - -#endif |