Thread (1 message) 1 message, 1 author, 2012-07-17

Re: [PATCH 1/2] pinctrl: pinctrl-imx: add support for set bits for general purpose registers

From: Dong Aisheng <hidden>
Date: 2012-07-17 02:41:04
Also in: linux-arm-kernel

On Sun, Jul 15, 2012 at 04:24:16AM +0800, Linus Walleij wrote:
On Fri, Jul 6, 2012 at 11:09 AM, Dong Aisheng [off-list ref] wrote:
quoted
From: Dong Aisheng <redacted>

The General Purpose Registers (GPR) is used to select operating modes for
general features in the SoC, usually not related to the IOMUX itself,
but it does belong to IOMUX controller.
We simply provide an convient API for driver to call to set the general purpose
register bits if needed.

Signed-off-by: Dong Aisheng <redacted>
I have an overall objection to this:

I have no idea at all about what's going on, and why this belongs in the pin
control subsystem. On the contrary, from the commit description it seems to
*not* belong in this subsystem at all.
Yes, it's just from hw point of view, these GPR registers are included in IOMUXC
block. But as the spec says in my commit messages, most of what they do are not
related to IOMUX itself.
So i would agree it doesn't belong to pinctrl subsystem if we can find a better
place.
So: exactly what does this register do, and which are the consumers?
They're used for general settings for different modules like DMA, USB, PCIe,
IPU...

Regards
Dong Aisheng
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help