Re: regmap: how to support devices with 'nested' pages

From: Mark Brown
Date: Tue Mar 10 2015 - 06:25:51 EST


On Tue, Mar 10, 2015 at 11:33:24AM +0200, Peter Ujfalusi wrote:

> Do you know any other device which have similar addressing? Do you have advice
> on how to handle this? Should I open code the book switching in the driver,
> which means that I should not use the cache at all in regmap.

I've never heard of any other devices doing anything similar, it's
certainly innovative. I've no great idea how to deal with it other than
try to make the page selection code cope with recursion or nest some
regmaps.

Attachment: signature.asc
Description: Digital signature