Skip to content

tegra2: Add more clock/pinmux functionality

Albert ARIBAUD u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/20 of 6 patches 0 repliesNew
  2. v2 posting 1/20 of 6 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/6] tegra2: Add more clock/pinmux functionality

Hi Simon,

Le 22/09/2011 00:40, Simon Glass a ?crit :

Quoted 20 lines

This adds to the basic clock functionality already available. The concept of a peripheral ID is introduced, and all peripheral clock access is done using this ID.

Functions are provided to start, query and adjust peripheral clocks, including automatic selection of the best available clock based on the requested rate (this replaces hard-coded divisors).

On the pinmux side we can now select functions for pin groups using the new pinmux_set_func() function.

Expanded functions are provided to adjust and query PLL clocks.

With a full compliment of clock and pinmux functions, it should no longer be necessary for board/driver code to directly access clock registers. This change removes all such accesses.

This functionality will be used for I2C, SPI, LCD, USB, keyboard, NAND and other drivers for Tegra2.

Quoted 7 lines

At then end is a patch to enable MMC on Seaboard, to make it all worthwhile.

Note: These patches include a definition of assert() which I will happily remove if the one sent upstream is accepted.

Changes in v2:
- Remove assert() which is now in common.h

Series applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.