qemu/hw/rtc
Peter Maydell b5bf5a53d1 Kconfig: Add I2C_DEVICES device group
Currently there is no way for a board model's Kconfig stanza to
say "I have an i2c bus which the user can plug an i2c device into,
build all the free-standing i2c devices". The Kconfig mechanism
for this is the "device group". Add an I2C_DEVICES group along
the same lines as the existing PCI_DEVICES. Simple free-standing
i2c devices which a user might plausibly want to be able to
plug in on the QEMU commandline should have
   default y if I2C_DEVICES
and board models which have an i2c bus that is user-accessible
should use
   imply I2C_DEVICES
to cause those pluggable devices to be built.

In this commit we mark only a fairly conservative set of i2c devices
as belonging to the I2C_DEVICES group: the simple sensors and RTCs
(not including PMBus devices or devices which need GPIO lines to be
connected).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Message-id: 20220208155911.3408455-2-peter.maydell@linaro.org
2022-02-21 13:30:20 +00:00
..
allwinner-rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
aspeed_rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
ds1338.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
exynos4210_rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
goldfish_rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
Kconfig Kconfig: Add I2C_DEVICES device group 2022-02-21 13:30:20 +00:00
m41t80.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
m48t59-internal.h hw/timer/m48t59: Convert debug printf()s to trace events 2020-02-06 10:51:24 +01:00
m48t59-isa.c m48t59-isa: remove legacy m48t59_init_isa() function 2020-10-18 16:21:42 +01:00
m48t59.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
mc146818rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
meson.build hw/rtc/pl031: Send RTC_CHANGE QMP event 2021-11-15 18:53:00 +00:00
pl031.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
sun4v-rtc.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
twl92230.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00
xlnx-zynqmp-rtc.c rtc: Move RTC function prototypes to their own header 2022-01-28 14:29:46 +00:00