[PATCH v4] GPIO PL061: Adding Clk framework support

Linus Walleij linus.ml.walleij at gmail.com
Mon Jul 12 03:53:48 EDT 2010


2010/7/12 Viresh KUMAR <viresh.kumar at st.com>:

> This issue is different from the issue i raised which was common to
> all amba devices. This is just for this GPIO driver, we need to enable clk
> before using any gpio pin.

I think what Russell means is that all current clocks looked up by the
drivers are implicitly of types that control output signals to things like
UART RX, SPI out, etc, i.e. clocks that control signals that exit the system.

These are usually fixed, e.g. in ARM Ltd. reference designs there is a
fixed 24MHz clock for all of these.

The clock that controls the internal logic in the PrimeCell itself should
be modeled into the AMBA (PrimeCell) bus abstraction.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list