linux/arch/arm/plat-omap/include/plat
Paul Walmsley 553d239aad OMAP3: clock: clarify usage of struct clksel_rate.flags and struct omap_clk.cpu
Clarify the usage of the struct omap_clk.cpu flags (e.g., CK_*) to use
bits only for individual SoC variants (e.g., CK_3430ES1, CK_3505,
etc.).  Superset flags, such as CK_3XXX or CK_AM35XX, are now defined
as disjunctions of individual SoC variant flags.  This simplifies the
definition and use of these flags.  struct omap_clk record definitions
can now simply specify the bitmask of actual SoCs that the records are
valid for.  The clock init code can simply set a single CPU type mask
bit for the SoC that is currently in use, and test against that,
rather than needing to set some combination of flags.

Similarly, clarify the use of struct clksel_rate.flags.  The bit
allocated for RATE_IN_3XXX has been reassigned, and RATE_IN_3XXX has
been defined as a disjunction of the 34xx and 36xx rate flags.  The
advantages are the same as the above.

Clarify the usage of struct omap_clk.cpu flags such as CK_34XX to only
apply to the SoCs that they name, e.g., OMAP34xx chips.  The previous
practice caused significantly different SoCs, such as OMAP36xx, to be
included in CK_34XX.  In my opinion, this is much more intuitive.

Similarly, clarify the use of struct clksel_rate.flags, such that
RATE_IN_3430ES2PLUS now only applies to 34xx chips with ES level >= 2
- it does not apply to OMAP36xx.

...

At some point, it probably makes sense to collapse the CK_* and
RATE_IN_* flags together into a single bitfield, and possibly use the
existing CHIP_IS_OMAP* flags for platform detection.

...

This all seems to work fine on OMAP34xx and OMAP36xx Beagle.  Not sure
if it works on Sitara or the TI816X, unfortunately I don't have any
here to test with.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
2010-12-21 21:08:14 -07:00
..
blizzard.h omap: Checkpatch cleanup for blizzard.h 2010-03-11 14:50:00 -08:00
board-ams-delta.h
board-sx1.h
board-voiceblue.h
board.h omap: Move omap2 FS USB platform init code into mach-omap2/usb-fs.c 2010-07-05 16:31:29 +03:00
clkdev_omap.h OMAP3: clock: clarify usage of struct clksel_rate.flags and struct omap_clk.cpu 2010-12-21 21:08:14 -07:00
clkdev.h
clock.h OMAP3: clock: clarify usage of struct clksel_rate.flags and struct omap_clk.cpu 2010-12-21 21:08:14 -07:00
common.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
cpu.h omap2/3: Update revision identification 2010-10-01 16:35:24 -07:00
display.h OMAP: DSS2: Use dss_features framework on DSS2 code 2010-10-22 23:21:04 +03:00
dma-44xx.h omap4: Add auto-generated irq and dma headers 2010-02-23 14:02:52 -08:00
dma.h OMAP: DMA: Convert DMA library into platform driver 2010-12-20 18:38:31 -08:00
dmtimer.h OMAP: mach-omap2: Fix static declaration warnings 2010-10-08 09:57:40 -07:00
dsp.h omap: add dsp platform device 2010-10-05 12:05:11 -07:00
flash.h omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
fpga.h omap1: Fix innovator FPGA init for multi-omap 2010-12-20 18:48:16 -08:00
gpio-switch.h
gpio.h OMAP2+: powerdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:16 -07:00
gpmc-smc91x.h
gpmc-smsc911x.h ARM: OMAP3LOGIC: Add generic smsc911x support when connected to GPMC 2010-09-28 11:39:18 -07:00
gpmc.h omap3 nand: cleanup virtual address usages 2010-08-02 15:30:38 +03:00
hardware.h
hwa742.h
i2c.h OMAP3: hwmod: add I2C hwmods for OMAP3430 2010-11-09 09:29:13 -08:00
io.h OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
iommu2.h
iommu.h OMAP: iommu: create new api to set valid da range 2010-12-15 11:29:10 -06:00
iovmm.h
irda.h
irqs-44xx.h omap4: Add auto-generated irq and dma headers 2010-02-23 14:02:52 -08:00
irqs.h omap1: Use asm_irq_flags for entry-macro.S 2010-12-09 15:49:23 -08:00
keypad.h
l4_3xxx.h OMAP3: hwmod: add I2C hwmods for OMAP3430 2010-11-09 09:29:13 -08:00
lcd_mipid.h
led.h
mailbox.h OMAP: mailbox: add notification support for multiple readers 2010-12-02 05:43:16 -06:00
mcbsp.h Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2010-10-25 13:46:56 -07:00
mcspi.h
memory.h omap2/3/4: Replace orred CONFIG_ARCH_OMAP2/3/4 with CONFIG_ARCH_OMAP2PLUS 2010-02-15 09:27:04 -08:00
menelaus.h omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2 2010-02-15 09:27:01 -08:00
mmc.h Merge branches 'devel-omap1' and 'devel-omap2plus' into omap-for-linus 2010-10-08 10:19:53 -07:00
multi.h omap2/3/4: Fix multi.h when omap3 and omap4 are selected without omap2 2010-05-03 17:21:31 -07:00
mux.h Merge branch 'devel-misc' into omap-for-linus 2010-08-02 14:23:38 +03:00
nand.h omap3 nand: cleanup virtual address usages 2010-08-02 15:30:38 +03:00
nokia-dsi-panel.h OMAP: DSS2: Add Nokia DSI command mode panel configuration struct 2010-08-03 15:18:48 +03:00
omap4-keypad.h Input: omap4-keypad - use platform device helpers 2010-10-13 07:49:25 -07:00
omap7xx.h omap1: Add 7xx clocks and pin muxes for SPI 2010-01-08 10:29:05 -08:00
omap16xx.h omap: Clean the serial port defines 2010-02-15 08:48:53 -08:00
omap24xx.h OMAP2420: CTRL: fix OMAP242X_CTRL_REGADDR macro 2010-10-08 11:40:17 -06:00
omap34xx.h crypto: omap - Updates omap sham device related platform code 2010-05-03 11:10:03 +08:00
omap44xx.h OMAP4: PRM: Remove MPU internal code name and apply PRCM naming convention 2010-05-20 12:31:11 -06:00
omap730.h
omap850.h
omap1510.h
omap_device.h OMAP: omap_device: make all devices a child of a new parent device 2010-09-23 17:14:14 -07:00
omap_hwmod.h OMAP2+: hwmod: fix a warning, add some docs, remove unused fields 2010-12-21 19:55:13 -07:00
omap-alsa.h
omap-pm.h OMAP2+: powerdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:16 -07:00
omap-serial.h omap: serial: Change device name: omap-hsuart -> omap_uart 2010-12-20 17:53:04 -08:00
onenand.h
param.h
prcm.h OMAP3: control/PM: move padconf save code to mach-omap2/control.c 2010-12-21 21:05:16 -07:00
sdrc.h OMAP: mach-omap2: Fix static declaration warnings 2010-10-08 09:57:40 -07:00
serial.h omap2/3: Fix DEBUG_LL for omap zoom2/3 2010-05-03 17:53:08 -07:00
smp.h ARM: Provide common header for hard_smp_processor_id() 2010-10-04 20:20:45 +01:00
sram.h OMAP2+: use global values for the SRAM PA addresses 2010-12-21 14:45:56 -08:00
system.h omap: pass the reboot command to the boot loader 2010-03-11 14:50:00 -08:00
tc.h
timex.h
uncompress.h Merge branch 'devel-board' into omap-for-linus 2010-12-17 15:14:02 -08:00
usb.h Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2010-10-25 13:46:56 -07:00
vram.h ARM: OMAP: Convert OMAPFB and VRAM SDRAM reservation to LMB 2010-07-27 08:48:23 +01:00
vrfb.h OMAP: DSS2: OMAPFB: Allow FB_OMAP2 to build without VRFB 2010-10-22 23:21:06 +03:00