aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorPhilip Richard Oberfichtner <pro@denx.de>2023-10-31 08:38:48 +0100
committerHeiko Schocher <hs@denx.de>2023-10-31 09:09:04 +0100
commit5b6ee512ceb8d990e010646c4fe7b8a3633fad68 (patch)
tree143e1e10e4932c4f3f0d769b242657c958432f14 /drivers/i2c
parentb48355277340f156f387c31da5a0b8937643c54f (diff)
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>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions