public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Chris Morgan <macroalpha82@gmail.com>
Cc: u-boot@lists.denx.de, hs@denx.de,
	Chris Morgan <macromorgan@hotmail.com>,
	Gajjar Akash <gajjar04aka@gmail.com>
Subject: Re: [PATCH 1/1] i2c: mvtwsi: Add compatible string for allwinner, sun4i-a10-i2c
Date: Mon, 17 Jan 2022 01:34:55 +0000	[thread overview]
Message-ID: <20220117013455.02533b1a@slackpad.fritz.box> (raw)
In-Reply-To: <20220107175254.6042-1-macroalpha82@gmail.com>

On Fri,  7 Jan 2022 11:52:54 -0600
Chris Morgan <macroalpha82@gmail.com> wrote:

Hi Chris,

> From: Chris Morgan <macromorgan@hotmail.com>
> 
> This adds a compatible string for the Allwinner Sun4i-A10 I2C
> controller. Without this, boards based on the R8 and A13 (at a
> minimum) fail to boot.
> 
> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>

Applied to sunxi/master, thanks!

Out of curiosity, can you say what "fail to boot" means, exactly? I see
that indeed i2c in U-Boot proper got lost when I2C was moved to DM in
the v2022.01 merge window, but that didn't have any visible effect
apart from the "i2c" command not working on my BananaPi. Ethernet, USB
and Linux boot worked fine, still.

Cheers,
Andre


> ---
>  drivers/i2c/mvtwsi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c
> index ff21e3c52b..979b825eec 100644
> --- a/drivers/i2c/mvtwsi.c
> +++ b/drivers/i2c/mvtwsi.c
> @@ -900,6 +900,7 @@ static const struct dm_i2c_ops mvtwsi_i2c_ops = {
>  static const struct udevice_id mvtwsi_i2c_ids[] = {
>  	{ .compatible = "marvell,mv64xxx-i2c", },
>  	{ .compatible = "marvell,mv78230-i2c", },
> +	{ .compatible = "allwinner,sun4i-a10-i2c", },
>  	{ .compatible = "allwinner,sun6i-a31-i2c", },
>  	{ /* sentinel */ }
>  };


  parent reply	other threads:[~2022-01-17  1:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-07 17:52 [PATCH 1/1] i2c: mvtwsi: Add compatible string for allwinner, sun4i-a10-i2c Chris Morgan
2022-01-08  5:45 ` Gajjar Akash
2022-01-17  1:34 ` Andre Przywara [this message]
2022-01-18 17:09   ` Chris Morgan
  -- strict thread matches above, loose matches on Subject: below --
2022-01-25  9:03 Jose Torres

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=20220117013455.02533b1a@slackpad.fritz.box \
    --to=andre.przywara@arm.com \
    --cc=gajjar04aka@gmail.com \
    --cc=hs@denx.de \
    --cc=macroalpha82@gmail.com \
    --cc=macromorgan@hotmail.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