linux/arch/arm/mach-tegra
Simon Que bb1dccfc63 ARM: tegra: Fix PWM clock programming
PWM clock source registers in Tegra 2 have different clock source selection bit
fields than other registers.  PWM clock source bits in CLK_SOURCE_PWM_0 register
are located at bit field bit[30:28] while others are at bit field bit[31:30] in
their respective clock source register.

This patch updates the clock programming to correctly reflect that, by adding a
flag to indicate the alternate bit field format and checking for it when
selecting a clock source (parent clock).

Signed-off-by: Bill Huang <bilhuang@nvidia.com>
Signed-off-by: Simon Que <sque@chromium.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
2012-07-02 15:01:18 -06:00
..
include/mach arm-soc: driver specific updates 2012-05-26 12:22:27 -07:00
apbio.c ARM: tegra: use APB DMA for accessing APB devices 2012-02-06 18:24:58 -08:00
apbio.h ARM: tegra: use APB DMA for accessing APB devices 2012-02-06 18:24:58 -08:00
board-dt-tegra20.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-dt-tegra30.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-harmony-pcie.c arm/tegra: Harmony PCIe: Don't touch pinmux 2011-12-19 18:03:10 -08:00
board-harmony-pinmux.c ARM: tegra: Switch to new pinctrl driver 2012-04-18 10:26:39 -06:00
board-harmony-power.c ARM: driver specific updates 2012-03-27 16:41:24 -07:00
board-harmony.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-harmony.h ARM: 7101/1: arm/tegra: Replace <mach/gpio.h> with <mach/gpio-tegra.h> 2011-09-27 00:20:53 +01:00
board-paz00-pinmux.c ARM: tegra: Switch to new pinctrl driver 2012-04-18 10:26:39 -06:00
board-paz00.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-paz00.h ARM: tegra: paz00: fix wrong SD1 power gpio 2012-02-06 18:32:50 -08:00
board-pinmux.c ARM: dt: tegra20: add pinmux to device tree 2012-04-18 10:26:39 -06:00
board-pinmux.h pinctrl: tegra: refactor probe handling 2012-04-18 10:26:40 -06:00
board-seaboard-pinmux.c ARM: tegra: Switch to new pinctrl driver 2012-04-18 10:26:39 -06:00
board-seaboard.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-seaboard.h Merge branch 'depends/rmk/gpio' into next/board 2011-10-21 16:46:26 +02:00
board-trimslice-pinmux.c ARM: tegra: Switch to new pinctrl driver 2012-04-18 10:26:39 -06:00
board-trimslice.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-trimslice.h ARM: 7101/1: arm/tegra: Replace <mach/gpio.h> with <mach/gpio-tegra.h> 2011-09-27 00:20:53 +01:00
board.h ARM: tegra: use machine specific hook for late init 2012-05-08 20:36:36 +08:00
clock.c ARM: tegra: use machine specific hook for late init 2012-05-08 20:36:36 +08:00
clock.h ARM: tegra: enable tegra30 clock framework 2012-02-06 09:16:15 -08:00
common.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
cpu-tegra.c ARM: tegra: add clk_prepare/clk_unprepare 2012-06-11 11:53:29 -06:00
cpuidle.c ARM: tegra: cpuidle driver for tegra 2012-02-06 09:16:16 -08:00
devices.c arm-soc: driver specific updates 2012-05-26 12:22:27 -07:00
devices.h arm-soc: driver specific updates 2012-05-26 12:22:27 -07:00
dma.c ARM: tegra: dma: rename driver name for clock to "tegra-apbdma" 2012-06-26 13:04:58 -06:00
flowctrl.c ARM: tegra: Fix flow controller accesses 2012-05-14 10:22:01 -06:00
flowctrl.h ARM: tegra: functions to access the flowcontroller 2012-02-26 14:44:42 -08:00
fuse.c ARM: More SoC support updates 2012-03-28 12:24:40 -07:00
fuse.h ARM: tegra: export Tegra chipid 2012-02-26 14:44:19 -08:00
gpio-names.h [ARM] tegra: add GPIO support 2010-08-05 14:57:02 -07:00
headsmp.S ARM: tegra: support for secondary cores on Tegra30 2012-02-26 14:44:46 -08:00
hotplug.c ARM: move CP15 definitions to separate header file 2012-03-28 18:30:01 +01:00
io.c ARM: tegra: clean-up mach/io.h 2012-03-06 21:34:41 -06:00
irq.c ARM: tegra: add support for tegra30 interrupts 2012-02-06 09:16:14 -08:00
Kconfig Merge branch 'for-3.5/ahb' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into next/drivers 2012-05-15 13:30:41 +02:00
Makefile ARM: tegra: Remove pre-pinctrl pinmux driver 2012-04-18 10:26:39 -06:00
Makefile.boot arm/tegra: add support for tegra30 based board cardhu 2011-12-17 20:15:38 -08:00
pcie.c ARM: tegra: add clk_prepare/clk_unprepare 2012-06-11 11:53:29 -06:00
platsmp.c ARM: tegra: support for secondary cores on Tegra30 2012-02-26 14:44:46 -08:00
pmc.c ARM: tegra: Add a simple PMC driver 2012-02-06 18:25:01 -08:00
pmc.h ARM: tegra: Add a simple PMC driver 2012-02-06 18:25:01 -08:00
powergate.c ARM: tegra: add clk_prepare/clk_unprepare 2012-06-11 11:53:29 -06:00
reset.c ARM: tegra: rework Tegra secondary CPU core bringup 2012-02-26 14:44:44 -08:00
reset.h ARM: tegra: rework Tegra secondary CPU core bringup 2012-02-26 14:44:44 -08:00
sleep.S ARM: tegra: Include assembler.h in sleep.S to fix build break 2012-03-26 09:55:22 -06:00
tegra2_clocks.c ARM: tegra: Fix PWM clock programming 2012-07-02 15:01:18 -06:00
tegra2_emc.c ARM: tegra: Fix EMC pdata initialization from registers 2012-02-06 18:25:01 -08:00
tegra2_emc.h ARM: tegra: emc: convert tegra2_emc to a platform driver 2012-02-06 18:24:59 -08:00
tegra30_clocks.c ARM: tegra: dma: rename driver name for clock to "tegra-apbdma" 2012-06-26 13:04:58 -06:00
timer.c ARM: tegra: add clk_prepare/clk_unprepare 2012-06-11 11:53:29 -06:00
usb_phy.c ARM: tegra: add clk_prepare/clk_unprepare 2012-06-11 11:53:29 -06:00