All of lore.kernel.org
 help / color / mirror / Atom feed
From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: An extremely simplified pinctrl bindings proposal
Date: Mon, 6 Feb 2012 19:41:25 +0000	[thread overview]
Message-ID: <20120206194125.GA23030@sirena.org.uk> (raw)
In-Reply-To: <4F2F6AE2.1040504@nvidia.com>

On Sun, Feb 05, 2012 at 09:53:38PM -0800, Stephen Warren wrote:
> On 02/05/2012 08:20 PM, Linus Walleij wrote:

> > A controlled set of register read/writes and maybe also conditionals
> > (if that bit is 1, do this, else do that, plus a loop command to wait
> > for a flag or similar) are known as a "jam tables" and usually used
> > in BIOSes to do a compact machine initialization. I learned this term
> > in Bunnie Huang's "Hacking the Xbox, where he describes finding a
> > jam table interpreter in the Xbox ROM.

FWIW I just added a subset of this functionality (called "patches" for
want of a better name) to regmap, just a simple list of register writes
that get blasted in htere.  The intent is somewhat different, though -
it's there for dumping undocumented or partially documented register
write sequences from vendors into devices since there's a common pattern
of doing that when bringing things out of reset, more like what Grant
seems to have been talking about in that thread.

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
To: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	"cjb-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org"
	<cjb-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org>,
	Dong Aisheng <dongas86-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org"
	<rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	"kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org"
	<kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	"Sascha Hauer (s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org)"
	<s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: An extremely simplified pinctrl bindings proposal
Date: Mon, 6 Feb 2012 19:41:25 +0000	[thread overview]
Message-ID: <20120206194125.GA23030@sirena.org.uk> (raw)
In-Reply-To: <4F2F6AE2.1040504-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On Sun, Feb 05, 2012 at 09:53:38PM -0800, Stephen Warren wrote:
> On 02/05/2012 08:20 PM, Linus Walleij wrote:

> > A controlled set of register read/writes and maybe also conditionals
> > (if that bit is 1, do this, else do that, plus a loop command to wait
> > for a flag or similar) are known as a "jam tables" and usually used
> > in BIOSes to do a compact machine initialization. I learned this term
> > in Bunnie Huang's "Hacking the Xbox, where he describes finding a
> > jam table interpreter in the Xbox ROM.

FWIW I just added a subset of this functionality (called "patches" for
want of a better name) to regmap, just a simple list of register writes
that get blasted in htere.  The intent is somewhat different, though -
it's there for dumping undocumented or partially documented register
write sequences from vendors into devices since there's a common pattern
of doing that when bringing things out of reset, more like what Grant
seems to have been talking about in that thread.

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Stephen Warren <swarren@nvidia.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Dong Aisheng <dongas86@gmail.com>,
	Shawn Guo <shawn.guo@linaro.org>,
	Dong Aisheng-B29396 <B29396@freescale.com>,
	"Sascha Hauer (s.hauer@pengutronix.de)" <s.hauer@pengutronix.de>,
	"rob.herring@calxeda.com" <rob.herring@calxeda.com>,
	"kernel@pengutronix.de" <kernel@pengutronix.de>,
	"cjb@laptop.org" <cjb@laptop.org>,
	"Simon Glass (sjg@chromium.org)" <sjg@chromium.org>,
	Thomas Abraham <thomas.abraham@linaro.org>,
	"Grant Likely (grant.likely@secretlab.ca)" 
	<grant.likely@secretlab.ca>,
	"ext Tony Lindgren (tony@atomide.com)" <tony@atomide.com>,
	"devicetree-discuss@lists.ozlabs.org" 
	<devicetree-discuss@lists.ozlabs.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: An extremely simplified pinctrl bindings proposal
Date: Mon, 6 Feb 2012 19:41:25 +0000	[thread overview]
Message-ID: <20120206194125.GA23030@sirena.org.uk> (raw)
In-Reply-To: <4F2F6AE2.1040504@nvidia.com>

On Sun, Feb 05, 2012 at 09:53:38PM -0800, Stephen Warren wrote:
> On 02/05/2012 08:20 PM, Linus Walleij wrote:

> > A controlled set of register read/writes and maybe also conditionals
> > (if that bit is 1, do this, else do that, plus a loop command to wait
> > for a flag or similar) are known as a "jam tables" and usually used
> > in BIOSes to do a compact machine initialization. I learned this term
> > in Bunnie Huang's "Hacking the Xbox, where he describes finding a
> > jam table interpreter in the Xbox ROM.

FWIW I just added a subset of this functionality (called "patches" for
want of a better name) to regmap, just a simple list of register writes
that get blasted in htere.  The intent is somewhat different, though -
it's there for dumping undocumented or partially documented register
write sequences from vendors into devices since there's a common pattern
of doing that when bringing things out of reset, more like what Grant
seems to have been talking about in that thread.

  parent reply	other threads:[~2012-02-06 19:41 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-05  5:31 An extremely simplified pinctrl bindings proposal Stephen Warren
2012-02-05  5:31 ` Stephen Warren
2012-02-05  5:31 ` Stephen Warren
2012-02-05  6:07 ` Richard Zhao
2012-02-05  6:07   ` Richard Zhao
2012-02-05  6:07   ` Richard Zhao
2012-02-06  3:07 ` Thomas Abraham
2012-02-06  3:07   ` Thomas Abraham
2012-02-06  5:44   ` Stephen Warren
2012-02-06  5:44     ` Stephen Warren
2012-02-06  4:20 ` Linus Walleij
2012-02-06  4:20   ` Linus Walleij
2012-02-06  5:53   ` Stephen Warren
2012-02-06  5:53     ` Stephen Warren
2012-02-06  5:53     ` Stephen Warren
2012-02-06 17:29     ` Linus Walleij
2012-02-06 17:29       ` Linus Walleij
2012-02-06 19:03       ` Tony Lindgren
2012-02-06 19:03         ` Tony Lindgren
2012-02-06 19:03         ` Tony Lindgren
2012-02-06 19:56         ` Linus Walleij
2012-02-06 19:56           ` Linus Walleij
2012-02-06 19:56           ` Linus Walleij
2012-02-06 21:04           ` Tony Lindgren
2012-02-06 21:04             ` Tony Lindgren
2012-02-06 21:04             ` Tony Lindgren
2012-02-06 23:15             ` Linus Walleij
2012-02-06 23:15               ` Linus Walleij
2012-02-06 23:57               ` Tony Lindgren
2012-02-06 23:57                 ` Tony Lindgren
2012-02-06 23:57                 ` Tony Lindgren
2012-02-07  1:07                 ` Linus Walleij
2012-02-07  1:07                   ` Linus Walleij
2012-02-07  1:07                   ` Linus Walleij
2012-02-07  5:28         ` Stephen Warren
2012-02-07  5:28           ` Stephen Warren
2012-02-06 19:41     ` Mark Brown [this message]
2012-02-06 19:41       ` Mark Brown
2012-02-06 19:41       ` Mark Brown
2012-02-06 18:57 ` Tony Lindgren
2012-02-06 18:57   ` Tony Lindgren
2012-02-06 18:57   ` Tony Lindgren
2012-02-06 19:05 ` Mitch Bradley
2012-02-06 19:05   ` Mitch Bradley
2012-02-06 19:05   ` Mitch Bradley
2012-02-06 19:26   ` Linus Walleij
2012-02-06 19:26     ` Linus Walleij
2012-02-06 21:24     ` Mitch Bradley
2012-02-06 21:24       ` Mitch Bradley
2012-02-06 21:24       ` Mitch Bradley
2012-02-07  5:33   ` Stephen Warren
2012-02-07  5:33     ` Stephen Warren
2012-02-07  5:33     ` Stephen Warren
2012-02-07  7:07     ` Mitch Bradley
2012-02-07  7:07       ` Mitch Bradley
2012-02-07  7:07       ` Mitch Bradley

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=20120206194125.GA23030@sirena.org.uk \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=linux-arm-kernel@lists.infradead.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.