public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Philip Richard Oberfichtner <pro@denx.de>
To: u-boot@lists.denx.de
Cc: hs@denx.de, sjg@chromium.org, trini@konsulko.com,
	Philip Richard Oberfichtner <pro@denx.de>
Subject: [PATCH 0/2] bootcount: Replace I2C legacy implementation by driver model
Date: Fri, 13 Oct 2023 11:43:00 +0200	[thread overview]
Message-ID: <20231013094302.28944-1-pro@denx.de> (raw)

The generic I2C bootcounter driver does not yet adhere to driver model.
This patchset intends to replace the legacy implementation.

There are currently no upstream boards using the driver, so it should be
safe to just remove it. For downstream users it should be straighforward to
switch to the new implementation.

Philip Richard Oberfichtner (2):
  bootcount: Remove legacy I2C driver
  bootcount: Add driver model I2C driver

 drivers/bootcount/Kconfig            |  34 +++-----
 drivers/bootcount/Makefile           |   2 +-
 drivers/bootcount/bootcount_dm_i2c.c | 126 +++++++++++++++++++++++++++
 drivers/bootcount/bootcount_i2c.c    |  43 ---------
 4 files changed, 140 insertions(+), 65 deletions(-)
 create mode 100644 drivers/bootcount/bootcount_dm_i2c.c
 delete mode 100644 drivers/bootcount/bootcount_i2c.c

-- 
2.42.0


             reply	other threads:[~2023-10-13  9:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-13  9:43 Philip Richard Oberfichtner [this message]
2023-10-13  9:43 ` [PATCH 1/2] bootcount: Remove legacy I2C driver Philip Richard Oberfichtner
2023-10-13 11:21   ` Heiko Schocher
2023-10-13 11:35     ` Philip Oberfichtner
2023-10-13 12:10       ` Heiko Schocher
2023-10-13  9:43 ` [PATCH 2/2] bootcount: Add driver model " Philip Richard Oberfichtner
2023-10-13 11:28   ` Heiko Schocher
2023-10-13 12:58     ` Philip Oberfichtner
2023-10-17 12:55       ` Philip Oberfichtner
2023-10-18  3:33         ` Simon Glass
2023-10-18  4:31           ` Heiko Schocher
2023-10-18 10:58             ` Philip Oberfichtner
2023-10-18 16:10               ` Simon Glass
2023-10-20  3:18                 ` Heiko Schocher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231013094302.28944-1-pro@denx.de \
    --to=pro@denx.de \
    --cc=hs@denx.de \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox