From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: An extremely simplified pinctrl bindings proposal Date: Mon, 6 Feb 2012 19:41:25 +0000 Message-ID: <20120206194125.GA23030@sirena.org.uk> References: <74CDBE0F657A3D45AFBB94109FB122FF178E5D3160@HQMAIL01.nvidia.com> <4F2F6AE2.1040504@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4F2F6AE2.1040504-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Stephen Warren Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "cjb-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org" , Dong Aisheng , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org" , "kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org" , "Sascha Hauer (s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org)" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.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.