u-boot/drivers/bootcount
Philip Richard Oberfichtner 5b6ee512ce bootcount: Add driver model I2C driver
This adds a generic I2C bootcounter adhering to driver model to replace
the previously removed legacy implementation.

There is no change in functionality, it can be used on any I2C device.
The device tree configuration may look like this for example:

	bootcount {
		compatible = "u-boot,bootcount-i2c";
		i2cbcdev = <&i2c_rtc>;
		offset = <0x11>;
	};

Signed-off-by: Philip Richard Oberfichtner <pro@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
2023-10-31 09:09:04 +01:00
..
bootcount-uclass.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
bootcount.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
bootcount_at91.c bootcount: Make bootcount magic configurable 2018-10-19 14:16:43 -04:00
bootcount_davinci.c bootcount: Make bootcount magic configurable 2018-10-19 14:16:43 -04:00
bootcount_dm_i2c.c bootcount: Add driver model I2C driver 2023-10-31 09:09:04 +01:00
bootcount_env.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
bootcount_ext.c bootcount_ext: Add flag to enable/disable bootcount 2020-04-24 10:10:00 -04:00
bootcount_nvmem.c am335x, guardian: software update available status is stored in AM3352 RTC scracth register 2021-07-15 17:56:03 +05:30
bootcount_ram.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bootcount_syscon.c bootcount: fix printf() code 2022-01-28 17:58:41 -05:00
i2c-eeprom.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
Kconfig bootcount: Add driver model I2C driver 2023-10-31 09:09:04 +01:00
Makefile bootcount: Add driver model I2C driver 2023-10-31 09:09:04 +01:00
pmic_pfuze100.c bootcount: pmic: Correct misleading comment 2022-10-11 15:40:48 -04:00
rtc.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
spi-flash.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00