All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
To: Jean-Hugues Deschenes
	<jean-hugues.deschenes-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org>
Cc: Shinya Kuribayashi
	<shinya.kuribayashi-jaWZhaxaiAMAvxtiuMwx3w@public.gmane.org>,
	Baruch Siach <baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org>,
	Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 0/3] i2c-designware: Allow mixed endianness
Date: Thu, 14 Jan 2010 06:45:01 +0000	[thread overview]
Message-ID: <20100114064501.GR3738@trinity.fluff.org> (raw)
In-Reply-To: <390831ED3DF58E41A3D2FB82591E2C36047AF627-Jh1kU4MlLDZ5rAAhGZPdxVaTQe2KTcn/@public.gmane.org>

On Wed, Jan 13, 2010 at 10:06:31PM -0500, Jean-Hugues Deschenes wrote:
> > > In the commit ed5e1dd5 (i2c-designware: Consolidate to use 32-bit
> > > word accesses), I tried to sort out the I/O endian issue, but it
> > > seems doesn't work for your environment, R/W data is swapped :-(
> > 
> > I think this one of those weird cases where you have _both_ types of
> > endianess of peripherals where anything in readl/writel isn't going
> > to help you out.
> 
> Actually, the specific case I'm interested in is one where I have an
> SOC built around an ARM core running in little-endian mode, in which
> the Designware IP has been instantiated and hooked up (to the internal
> data bus) in big endian format.
> 
> This patch could also come in handy, for example, if someone were to
> run an armeb kernel on an SOC where the DW IP has been instantiated
> and hooked up in little endian format (as is probably the case for
> most ARM-based SOCs out there).

I think this is currently an oditity, most ARM systems are still armel,
especiailly since very few distributions do armeb

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

  parent reply	other threads:[~2010-01-14  6:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13 19:32 [PATCH 0/3] i2c-designware: Allow mixed endianness Jean-Hugues Deschenes
2010-01-13 19:32 ` [PATCH 1/3] Use local version of readl & writel Jean-Hugues Deschenes
     [not found]   ` <20100113193421.068608000-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org>
2010-01-14 23:40     ` Shinya Kuribayashi
     [not found]       ` <4B4FAB83.1060408-jaWZhaxaiAMAvxtiuMwx3w@public.gmane.org>
2010-01-15 13:33         ` Jean-Hugues Deschenes
2010-01-13 19:32 ` [PATCH 2/3] Check component type register Jean-Hugues Deschenes
     [not found]   ` <20100113193421.139644000-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org>
2010-01-14  1:11     ` Ben Dooks
     [not found]       ` <20100114011101.GK3738-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2010-01-14 12:37         ` Jean-Hugues Deschenes
2010-01-13 19:32 ` [PATCH 3/3] Allow mixed endianness accesses Jean-Hugues Deschenes
     [not found]   ` <20100113193421.212989000-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org>
2010-01-15  0:01     ` Shinya Kuribayashi
     [not found]       ` <4B4FB03E.1070708-jaWZhaxaiAMAvxtiuMwx3w@public.gmane.org>
2010-01-15 14:04         ` Jean-Hugues Deschenes
     [not found]           ` <4B5075ED.8020307-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org>
2010-01-15 15:16             ` Jean-Hugues Deschenes
2010-01-18 10:00             ` Shinya Kuribayashi
     [not found]               ` <4B54312E.9030106-jaWZhaxaiAMAvxtiuMwx3w@public.gmane.org>
2010-01-18 12:54                 ` Jean-Hugues Deschenes
     [not found] ` <20100113193224.753273000-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org>
2010-01-14  0:40   ` [PATCH 0/3] i2c-designware: Allow mixed endianness Shinya Kuribayashi
     [not found]     ` <4B4E6815.9050908-jaWZhaxaiAMAvxtiuMwx3w@public.gmane.org>
2010-01-14  1:09       ` Ben Dooks
     [not found]         ` <390831ED3DF58E41A3D2FB82591E2C36047AF627@MAILEXCH.octasic.com>
     [not found]           ` <390831ED3DF58E41A3D2FB82591E2C36047AF627-Jh1kU4MlLDZ5rAAhGZPdxVaTQe2KTcn/@public.gmane.org>
2010-01-14  6:45             ` Ben Dooks [this message]
     [not found]               ` <20100114064501.GR3738-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2010-01-14 12:34                 ` Jean-Hugues Deschenes
2010-01-14 12:30   ` Baruch Siach

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=20100114064501.GR3738@trinity.fluff.org \
    --to=ben-linux-elnmno+kys3ytjvyw6ydsg@public.gmane.org \
    --cc=baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org \
    --cc=jean-hugues.deschenes-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=shinya.kuribayashi-jaWZhaxaiAMAvxtiuMwx3w@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.