[PATCH v5 00/12] video: da8xx-fb: am335x DT support

2013-01-28 Thread Afzal Mohammed
Pantelis Antoniou 3. Series v3 "video: da8xx-fb: runtime timing configuration" by, me (Afzal Mohammed ) To test this series on AM335x based boards, 1. Series "HWMOD fixes for AM33xx PWM submodules and device tree nodes" by, Philip, Avinash as well as following,

[PATCH v5 02/12] video: da8xx-fb: fix 24bpp raster configuration

2013-01-28 Thread Afzal Mohammed
sh Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 35a33ca..7f92f37 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -550,10 +550,10 @@

[PATCH v5 03/12] video: da8xx-fb: enable sync lost intr for v2 ip

2013-01-28 Thread Afzal Mohammed
interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 7f92f37..ca69e01

[PATCH v5 04/12] video: da8xx-fb: use devres

2013-01-28 Thread Afzal Mohammed
Replace existing resource handling in the driver with managed device resource. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 35 ++- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c

[PATCH v5 08/12] video: da8xx-fb: invoke platform callback safely

2013-01-28 Thread Afzal Mohammed
Ensure that platform data is present before checking whether platform callback is present (the one used to control backlight). So far this was not an issue as driver was purely non-DT triggered, but now DT support has been added. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 2

[PATCH v5 09/12] video: da8xx-fb: obtain fb_videomode info from dt

2013-01-28 Thread Afzal Mohammed
Obtain fb_videomode details for the connected lcd panel using the display timing details present in DT. Signed-off-by: Afzal Mohammed --- .../devicetree/bindings/video/fb-da8xx.txt | 21 + drivers/video/da8xx-fb.c| 17 + 2

[PATCH v5 10/12] video: da8xx-fb: ensure pdata only for non-dt

2013-01-28 Thread Afzal Mohammed
This driver is DT probe-able, hence ensure presence of platform data only for non-DT boot. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 0c68712..1c1a616

[PATCH v5 11/12] video: da8xx-fb: setup struct lcd_ctrl_config for dt

2013-01-28 Thread Afzal Mohammed
strcut lcd_ctrl_config information required for driver is currently obtained via platform data. To handle DT probing, create lcd_ctrl_config and populate it with default values, these values are sufficient for the panels so far used with this controller to work. Signed-off-by: Afzal Mohammed

[PATCH v5 12/12] video: da8xx-fb: set upstream clock rate (if reqd)

2013-01-28 Thread Afzal Mohammed
, and probably after DaVinci is CCF'ed, modeling clock nodes inside driver may be considered. Signed-off-by: Afzal Mohammed --- v5: use v2 method of configuring pixel clock rate instead of modeling CCF clock nodes in driver, i.e. set divider if rate is within the range that is configu

[PATCH v5 05/12] video: da8xx-fb: ensure non-null cfg in pdata

2013-01-28 Thread Afzal Mohammed
Ensure that platform data contains pointer for lcd_ctrl_config. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 7a32e83..3b146bc 100644 --- a/drivers/video/da8xx-fb.c

[PATCH v5 06/12] video: da8xx-fb: reorganize panel detection

2013-01-28 Thread Afzal Mohammed
Move panel detection to a separate function, this helps in readability as well as makes DT support cleaner. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/drivers/video

[PATCH v5 07/12] video: da8xx-fb: minimal dt support

2013-01-28 Thread Afzal Mohammed
Driver is provided a means to have the probe triggered by DT. Signed-off-by: Afzal Mohammed --- Documentation/devicetree/bindings/video/fb-da8xx.txt | 16 drivers/video/da8xx-fb.c | 7 +++ 2 files changed, 23 insertions(+) create mode 100644

[PATCH v5 01/12] video: da8xx-fb: make io operations safe

2013-01-28 Thread Afzal Mohammed
Replace __raw_readl/__raw_writel with readl/writel; this driver is reused on ARMv7 (AM335x SoC). Signed-off-by: Afzal Mohammed --- v2: new patch drivers/video/da8xx-fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c

Re: Question about fixed-clock

2013-02-18 Thread Afzal Mohammed
Hi Daniel, On Tue, Feb 19, 2013 at 12:55:52AM +0100, Daniel Mack wrote: > ref25: ref25M { > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <2500>; > }; > > clock-generator@0 { > /

Re: [PATCH v2] ARM: dts: am33xx: rtc node

2012-10-31 Thread Afzal Mohammed
On Wednesday 31 October 2012 04:37 PM, Benoit Cousson wrote: I've just applied it in the branch with a slight change in the subject. Thanks Benoit Regards Afzal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH] ARM: dts: AM33XX: Add usbss node

2012-11-04 Thread Afzal Mohammed
Babu Signed-off-by: Afzal Mohammed --- Hi Benoit, This is based on your "for_3.8/dts" branch. This is made on top of "usb: musb: am335x support" (http://marc.info/?l=linux-omap&m=135187391904863&w=2) and has been tested on Beagle Bone. Regards Afzal ar

Re: [PATCH v4 3/5] rtc: omap: dt support

2012-10-29 Thread Afzal Mohammed
Hi Daniel, On Monday 22 October 2012 01:21 AM, Daniel Mack wrote: On 19.10.2012 11:59, Afzal Mohammed wrote: +static const struct of_device_id omap_rtc_of_match[] = { + { .compatible = "ti,da830-rtc", + .data =&omap_rtc_devtype[OMAP_RTC_

[PATCH v2] ARM: dts: am33xx: rtc node

2012-10-30 Thread Afzal Mohammed
Add am33xx rtc node. Signed-off-by: Afzal Mohammed --- Hi Benoit, This is based on your for_3.8/dts branch. This has been tested on Beagle Bone. Bindings along with driver changes for DT has been picked by Andrew Morton and is now present in linux-next. Regards Afzal v2 1. Remove interrupt

Re: [PATCH] arm/dts: am33xx rtc node

2012-10-30 Thread Afzal Mohammed
Hi Benoit, On Friday 19 October 2012 04:20 PM, Afzal Mohammed wrote: add am33xx rtc node. Signed-off-by: Afzal Mohammed --- Based on v3.7-rc1, Dependent on series "rtc: omap dt support (for am33xx)", (https://lkml.org/lkml/2012/10/19/163) The dependent series has been merged on -m

[PATCH RFC] kbuild: prevent git private tag altering kernelrelease

2013-09-13 Thread Afzal Mohammed
ned-off-by: Afzal Mohammed --- Hi, This seems to work on different scenarios that could be readily thought of. I am shaky about this change, but acheives the purpose. Regards Afzal Makefile| 4 ++-- scripts/setlocalversion | 12 2 files changed, 10 insert

[PATCH] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-09-05 Thread Afzal Mohammed
that there are two cpu's. If bitmask is cleared in wakeupgen for the nonexistent second cpu, an imprecise abort happens as soon as Kernel switches to user space. It was rootcaused by Sekhar Nori . Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/omap-wakeupgen.c | 18 +- 1

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-05 Thread Afzal Mohammed
Hi Philipp, On Thursday 05 September 2013 03:37 PM, Philipp Zabel wrote: > Am Montag, den 02.09.2013, 19:41 +0530 schrieb Afzal Mohammed: >> Two new reset API's are provided to check whether reset is ready and >> to clear reset. This would be required in case IP needs to m

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-12 Thread Afzal Mohammed
Hi Philipp, On Monday 09 September 2013 02:36 PM, Philipp Zabel wrote: > So if I understand correctly, the only problem is that on OMAP the clock > needs to be enabled to deassert the reset, but as long as the clock > domain is in hardware supervised mode, it won't be enabled? Yes, enabling cloc

Re: [PATCH] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-10-09 Thread Afzal Mohammed
Hi Tony, On Wednesday 09 October 2013 02:54 AM, Tony Lindgren wrote: > * Afzal Mohammed [130905 04:03]: >> -#define MAX_NR_REG_BANKS5 >> -#define MAX_IRQS160 >> +/* maximum value correspond to that of AM43x */ >> +#define MAX_NR_REG_BANKS7 >>

[PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-02 Thread Afzal Mohammed
nsidered by making use of reset driver. Or as another extreme, perhaps, other logic's in the prcm can be handled by a new prcm driver and then this reset driver can be a child of it. Regards Afzal Afzal Mohammed (6): reset: is_reset and clear_reset api's doc: dt: binding: omap: am43x/am3

[PATCH RFC 1/6] reset: is_reset and clear_reset api's

2013-09-02 Thread Afzal Mohammed
some scenarios, steps to achieve reset requires clearing reset, deassert reset, enabling clock to module and then checking reset status. Here enabling clock module is coming in between reset procedure, hence enhance framework with additional api's. Signed-off-by: Afzal Mohammed --- drivers

[PATCH RFC 2/6] doc: dt: binding: omap: am43x/am335x prcm reset

2013-09-02 Thread Afzal Mohammed
with a node to represent prcm (with compatible "am4372-prcm") which was felt to be the natural one. Signed-off-by: Afzal Mohammed --- Documentation/devicetree/bindings/arm/omap/prcm.txt | 13 + 1 file changed, 13 insertions(+) create mode 100644 Documentation/devicetree/b

[PATCH RFC 3/6] reset: am43x/am335x support

2013-09-02 Thread Afzal Mohammed
ned-off-by: Afzal Mohammed --- drivers/reset/Kconfig | 14 drivers/reset/Makefile | 1 + drivers/reset/amx3_reset.c | 157 + 3 files changed, 172 insertions(+) create mode 100644 drivers/reset/amx3_reset.c diff --git a/drivers/reset

[PATCH RFC 4/6] ARM: OMAP2+: AM43x/AM335x: have reset controller

2013-09-02 Thread Afzal Mohammed
AM43x, AM335x have reset block as part of prcm, let reset driver be usable with these SoC's. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 3eed000..fa

[PATCH RFC 6/6] ARM: dts: AM4372: prcm node (for reset)

2013-09-02 Thread Afzal Mohammed
Add AM4372 prcm node with reset binding. Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am4372.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 5a68fde..d0d11b3 100644 --- a/arch/arm/boot/dts/am4372.dtsi

[PATCH RFC 5/6] ARM: dts: AM335x: prcm node (for reset)

2013-09-02 Thread Afzal Mohammed
Add AM335x prcm node with reset binding. Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am33xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 4701e3c..c2ccf94 100644 --- a/arch/arm/boot/dts/am33xx.dtsi

Re: [PATCH v3 0/6] omap-am33xx rtc dt support

2012-10-09 Thread Afzal Mohammed
Hi Andrew, On Monday 27 August 2012 01:05 PM, Mohammed, Afzal wrote: On Sat, Aug 11, 2012 at 01:27:11, Nori, Sekhar wrote: On 7/27/2012 5:53 PM, Afzal Mohammed wrote: This series makes rtc-omap driver DT capable, adds AM33xx RTC DT support along with a few enchancments to the driver. rtc

Re: [PATCH] ARM: OMAP2+: gpmc: Fix kernel BUG for DT boot mode

2012-10-09 Thread Afzal Mohammed
On Tuesday 09 October 2012 02:27 PM, Vaibhav Hiremath wrote: This patch adds of_have_populated_dt() check before creating Signed-off-by: Vaibhav Hiremath Cc: Afzal Mohammed Reviewed-by: Afzal Mohammed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

[PATCH v4 1/5] rtc: omap: kicker mechanism support

2012-10-19 Thread Afzal Mohammed
atures, hence id table is being used. While at it, replace __raw_writeb/__raw_readb with writeb/readb; this driver is used on ARMv7 (AM335X SoC) Signed-off-by: Afzal Mohammed Acked-by: Sekhar Nori --- v4: Resolve build error during module build v3: Use readb/writeb instead of __raw_* variants

[PATCH v4 4/5] rtc: omap: depend on am33xx

2012-10-19 Thread Afzal Mohammed
rtc-omap driver can be reused for AM33xx RTC. Provide dependency in Kconfig. Signed-off-by: Afzal Mohammed Acked-by: Sekhar Nori --- v2: Modify Kconfig help, resolve checkpatch warning drivers/rtc/Kconfig | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH v4 3/5] rtc: omap: dt support

2012-10-19 Thread Afzal Mohammed
enhance rtc-omap driver with DT capability Signed-off-by: Afzal Mohammed Acked-by: Sekhar Nori --- v4: Proper devicetree documentation v2: Use compatible as ti,da830-rtc instead of ti,am1808-rtc Documentation/devicetree/bindings/rtc/rtc-omap.txt | 17 + drivers/rtc/rtc

[PATCH v4 5/5] rtc: omap: Add runtime pm support

2012-10-19 Thread Afzal Mohammed
this driver to runtime pm, which internally handles rest. af...@ti.com: handle error path Signed-off-by: Vaibhav Hiremath Signed-off-by: Afzal Mohammed Acked-by: Sekhar Nori --- drivers/rtc/rtc-omap.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/rtc/rtc-oma

[PATCH v4 0/5] rtc: omap dt support (for am33xx)

2012-10-19 Thread Afzal Mohammed
d register name made similar to that existing in the driver Better commit message description Modify Kconfig help, resolve checkpatch warning Afzal Mohammed (4): rtc: omap: kicker mechanism support ARM: davinci: remove rtc kicker release rtc: omap: dt support rtc: omap: depend on am33x

[PATCH v4 2/5] ARM: davinci: remove rtc kicker release

2012-10-19 Thread Afzal Mohammed
rtc-omap driver is now capable of handling kicker mechanism, hence remove kicker handling at platform level, instead provide proper device name so that driver can handle kicker mechanism by itself Signed-off-by: Afzal Mohammed Acked-by: Sekhar Nori --- v2: Use device name da830-rtc instead of

[PATCH] arm/dts: am33xx rtc node

2012-10-19 Thread Afzal Mohammed
add am33xx rtc node. Signed-off-by: Afzal Mohammed --- Based on v3.7-rc1, Dependent on series "rtc: omap dt support (for am33xx)", (https://lkml.org/lkml/2012/10/19/163) Tested on Beagle Bone. arch/arm/boot/dts/am33xx.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH 00/10] video: da8xx-fb: runtime timing configuration and cleanup

2012-12-07 Thread Afzal Mohammed
e way. This has been tested on DA850 EVM. Not sure whether Florian or Tomi would be handling fbdev patches after the coming merge window, as Tomi is queueing fbdev patches currently, these changes has been made over Tomi Valkeinen's for-next branch. Regards Afzal Afzal Mohammed (10): video

[PATCH 01/10] video: da8xx-fb: fb_check_var enhancement

2012-12-07 Thread Afzal Mohammed
ensure that values are proper. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 46534e0..89446aa 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/vid

[PATCH 02/10] video: da8xx-fb: simplify lcd_reset

2012-12-07 Thread Afzal Mohammed
lcd_reset function doesn't require any arguement, remove it. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 89446aa..c8e97de 100644 --- a/drivers/

[PATCH 03/10] video: da8xx-fb: use modedb helper to update var

2012-12-07 Thread Afzal Mohammed
currently modedb is having it in Hz instead of ps, this would be fixed in a later change and this overide would be removed. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/drivers/video/da8xx-fb.c

[PATCH 04/10] video: da8xx-fb: remove unneeded "var" initialization

2012-12-07 Thread Afzal Mohammed
modedb helper now updates "var" information based on the detected panel, remove the unnecessary initialization. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/video/da8xx-fb.c

[PATCH 05/10] video: da8xx-fb: store current display information

2012-12-07 Thread Afzal Mohammed
reconfiguring and modifying platform data would be necessary to handle controller data changes like bpp. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 79862ff..072074d 100644

[PATCH 06/10] video: da8xx-fb: store clk rate even if !CPUFREQ

2012-12-07 Thread Afzal Mohammed
store lcd clk rate always, i.e. irrespective of whether CPUFREQ is enabled or not. This can be used to get clk rate directly instead of enquiring with clock framework with clk handle every time. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 4 +--- 1 file changed, 1 insertion

[PATCH 07/10] video: da8xx-fb: pix clk and clk div handling cleanup

2012-12-07 Thread Afzal Mohammed
pixclock information is now in ps, override on "var" pixclock over modedb to var conversion is removed. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 48 ++-- 1 file changed, 18 insertions(+), 30 deletions(-) diff --git a/dri

[PATCH 08/10] video: da8xx-fb: store struct device *

2012-12-07 Thread Afzal Mohammed
store struct device pointer so that dev_dbg/err can be used outside of probe. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 19ee560..663b3c5 100644 --- a/drivers/video

[PATCH 09/10] video: da8xx-fb: report correct pixclock

2012-12-07 Thread Afzal Mohammed
Update "var" pixclock with the value that is configurable in hardware. This lets user know the actual pixclock. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-

[PATCH 10/10] video: da8xx-fb: fb_set_par support

2012-12-07 Thread Afzal Mohammed
probe via fb_set_var, remove existing lcdc initialization in probe and do lcdc reset in probe so that reset happens only at the begining. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 60 +++- 1 file changed, 49 insertions(+), 11 deletions

[PATCH] ARM: dts: AM43x EPOS EVM support

2013-06-14 Thread Afzal Mohammed
Add AM43x ePOS EVM minimal DT source - this is a minimal one to get it booting. Also include it in omap2plus dtbs and document bindings. The hardware is under development. Signed-off-by: Afzal Mohammed --- Hi Benoit, This is based on your for_3.11/dts branch. Ideally I wanted to split this

[PATCH v3] ARM: dts: AM43x: initial support

2013-06-03 Thread Afzal Mohammed
Signed-off-by: Afzal Mohammed --- v3: Make use of C preprocessor, rebased over Benoit's 'for_3.11/dts' branch v2: Add gptimer 1ms, timer2, synctimer and remove twd local timer arch/arm/boot/dts/am4372.dtsi | 68 +++ 1 file changed, 68 ins

[PATCH v2 00/14] ARM: OMAP2+: AM43x initial support

2013-05-27 Thread Afzal Mohammed
ure" by Vaibhav Hiremath Regards Afzal v2: Major change - use SoC timer's outside of ARM instead of depending on ARM SMP local timer for clockevent/source. Afzal Mohammed (13): ARM: OMAP2+: separate out OMAP4 restart ARM: OMAP2+: AM43x: Kconfig ARM: OMAP2+:

[PATCH v2 01/14] ARM: OMAP2+: separate out OMAP4 restart

2013-05-27 Thread Afzal Mohammed
Separate out OMAP4 restart and have it similar to other platforms, in a different file. Main motive is to reuse omap4-common on platforms other than OMAP4, like AM43x, even if OMAP4 is deselected (otherwise would have caused build breakage). Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2

[PATCH v2 02/14] ARM: OMAP2+: AM43x: Kconfig

2013-05-27 Thread Afzal Mohammed
Kconfig for AM43x (Cortex A9) family of SoC's. Signed-off-by: Afzal Mohammed --- v2: Remove reliance on SMP, TWD, select MACH_OMAP_GENERIC arch/arm/mach-omap2/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kc

[PATCH v2 03/14] ARM: OMAP2+: AM43x: kbuild

2013-05-27 Thread Afzal Mohammed
Build pieces that could be reused for AM43x - GIC related, secure related and common PRCM. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/Makefile | 6 ++ arch/arm/mach-omap2/cm33xx.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/Makefile b

[PATCH v2 05/14] ARM: OMAP2+: AM437x: SoC revision detection

2013-05-27 Thread Afzal Mohammed
Detect 437x SoC revision. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/id.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 44be835..c9c3f7d 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c

[PATCH v2 06/14] ARM: OMAP2+: AM43x: static mapping

2013-05-27 Thread Afzal Mohammed
AM43x L4 WKUP/PER mappings are similar to AM335x, reuse. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 06a8946..3a81221 100644 --- a/arch/arm/mach-omap2

[PATCH v2 07/14] ARM: OMAP2+: AM43x: early init

2013-05-27 Thread Afzal Mohammed
it to a large extent. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/am33xx.h | 1 + arch/arm/mach-omap2/common.h | 1 + arch/arm/mach-omap2/io.c | 14 ++ 3 files changed, 16 insertions(+) diff --git a/arch/arm/mach-omap2/am33xx.h b/arch/arm/mach-omap2/am33xx.h index

[PATCH v2 09/14] ARM: OMAP2+: AM43x: SRAM base and size

2013-05-27 Thread Afzal Mohammed
From: Sanjeev Premi This definition corresponds to the L3_OCMC0, as in case of AM33XX. Signed-off-by: Sanjeev Premi Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/sram.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/sram.c b/arch/arm/mach-omap2/sram.c

[PATCH v2 10/14] ARM: OMAP2+: AM43x: basic dt support

2013-05-27 Thread Afzal Mohammed
ur Kishore Signed-off-by: Afzal Mohammed --- v2: Rely on dmtimer & synctimer for clockevent/source, map peripheral memory as in AM335x arch/arm/mach-omap2/board-generic.c | 16 arch/arm/mach-omap2/timer.c | 2 +- 2 files changed, 17 insertions(+), 1 del

[PATCH v2 11/14] Documentation: dt: binding: omap: am43x timer

2013-05-27 Thread Afzal Mohammed
AM43x timer bindings. Signed-off-by: Afzal Mohammed --- Documentation/devicetree/bindings/arm/omap/timer.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/omap/timer.txt b/Documentation/devicetree/bindings/arm/omap/timer.txt index d02e27c..70cb398

[PATCH v2 13/14] Documentation: dt: binding: serial: omap: am43x

2013-05-27 Thread Afzal Mohammed
AM43x uart binding. Signed-off-by: Afzal Mohammed --- Documentation/devicetree/bindings/serial/omap_serial.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/omap_serial.txt b/Documentation/devicetree/bindings/serial/omap_serial.txt index 342eedd

[PATCH v2 14/14] ARM: dts: AM43x: initial support

2013-05-27 Thread Afzal Mohammed
Signed-off-by: Afzal Mohammed --- v2: Add gptimer 1ms, timer2, synctimer and remove twd local timer arch/arm/boot/dts/am4372.dtsi | 66 +++ 1 file changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/am4372.dtsi diff --git a/arch/arm/boot/dt

[PATCH v2 12/14] Documentation: dt: binding: omap: am43x counter

2013-05-27 Thread Afzal Mohammed
AM43x 32K counter binding. Signed-off-by: Afzal Mohammed --- Documentation/devicetree/bindings/arm/omap/counter.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/omap/counter.txt b/Documentation/devicetree/bindings/arm/omap/counter.txt index 5bd8aa0

[PATCH v2 08/14] ARM: OMAP2+: AM43x: GP or HS ?

2013-05-27 Thread Afzal Mohammed
Detect whether GP or HS, similar to the AM335x way. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index c9c3f7d..0c28ef6 100644 --- a/arch/arm/mach-omap2/id.c

[PATCH v2 04/14] ARM: OMAP2+: AM43x: soc_is support

2013-05-27 Thread Afzal Mohammed
soc_is support for AM43x family of SoC's. Only variant now is AM437x, it is made as a subclass of AM43x. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/soc.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/

[PATCH] ARM: OMAP2+: timer: initialize before using oh_name

2013-05-27 Thread Afzal Mohammed
quot; property for timer. 'oh_name' in this scenario would be a junk value, this would result in module not being enabled by hwmod API's for timer, and in turn crash. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: Question about fixed-clock

2013-03-07 Thread Afzal Mohammed
Hi Daniel, On Tue, Feb 19, 2013 at 09:09:31AM +0530, Afzal Mohammed wrote: > Hope invoking of_clk_init before clock generator driver helps Mails coming from this id are in my personal capacity. On Tue, Feb 19, 2013 at 10:53:18AM +0100, Daniel Mack wrote: > On 19.02.2013 02:33, Fabio E

[PATCH 1/2] clk: divider: prepare for minimum divider

2013-01-22 Thread Afzal Mohammed
modify all call sites. Signed-off-by: Afzal Mohammed Cc: Shawn Guo Cc: Sascha Hauer Cc: Russell King Cc: Paul Walmsley Cc: Tony Lindgren Cc: Mike Turquette Cc: Viresh Kumar Cc: Haojian Zhuang Cc: Chao Xie Cc: Arnd Bergmann --- Based on v3.8-rc3, tested on am335x evm. arch/arm/mach-imx

[PATCH 2/2] clk: divider: handle minimum divider

2013-01-22 Thread Afzal Mohammed
Some of clocks can have a limit on minimum divider value that can be programmed. Modify basic clock divider to take care of this aspect. Signed-off-by: Afzal Mohammed --- drivers/clk/clk-divider.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk

[PATCH 0/4] ARM: AM335x: LCDC platform support

2013-01-22 Thread Afzal Mohammed
AM335x based boards, tree @ git://gitorious.org/x0148406-public/linux-kernel.git tags/da8xx-fb-dt-v3 Regards Afzal Afzal Mohammed (4): ARM: OMAP2+: dpll: round rate to closest value ARM: OMAP2+: dpll: am335x - avoid freqsel ARM: OMAP2+: clock: DEFINE_STRUCT_CLK_FLAGS helper ARM: AM33XX

[PATCH 1/4] ARM: OMAP2+: dpll: round rate to closest value

2013-01-22 Thread Afzal Mohammed
will resolve the issue. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/clkt_dpll.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap2/clkt_dpll.c b/arch/arm/mach-omap2/clkt_dpll.c index 924c230..15e6d41 100644 --- a/arch/arm/mach-omap2

[PATCH 2/4] ARM: OMAP2+: dpll: am335x - avoid freqsel

2013-01-22 Thread Afzal Mohammed
am335x does not have freqsel, avoid it. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/dpll3xxx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm/mach-omap2/dpll3xxx.c index 0a02aab5..3aed4b0 100644 --- a/arch/arm/mach

[PATCH 3/4] ARM: OMAP2+: clock: DEFINE_STRUCT_CLK_FLAGS helper

2013-01-22 Thread Afzal Mohammed
DEFINE_STRUCT_CLK does not have the capability to set flags, define DEFINE_STRUCT_CLK_FLAGS to handle flags. This is needed to add SET_RATE_PARENT flag in statically defined lcd clock in am335x. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/clock.h | 11 +++ 1 file changed, 11

[PATCH 4/4] ARM: AM33XX: clock: SET_RATE_PARENT in lcd path

2013-01-22 Thread Afzal Mohammed
parent - dpll_disp_m2_ck. With this change, set rate on LCDC clock would get propogated till dpll_disp_ck via dpll_disp_m2_ck, hence allowing the driver (same driver is used in DaVinci too) to set rates using LCDC clock without worrying about platform dependent clock details. Signed-off-by: Afza

[PATCH v3 00/12] video: da8xx-fb: am335x DT support

2013-01-22 Thread Afzal Mohammed
This series is based on v3.8-rc3, and is dependent on, 1. Series v16 "of: add display helper" by, Steffen Trumtrar 2. Patch "da8xx: Allow use by am33xx based devices" by, Pantelis Antoniou 3. Series v3 "video: da8xx-fb: runtime timing configuration" b

[PATCH v3 04/12] video: da8xx-fb: use devres

2013-01-22 Thread Afzal Mohammed
Replace existing resource handling in the driver with managed device resource. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 35 ++- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c

[PATCH v3 06/12] video: da8xx-fb: reorganize panel detection

2013-01-22 Thread Afzal Mohammed
Move panel detection to a separate function, this helps in readability as well as makes DT support cleaner. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/drivers/video

[PATCH v3 07/12] video: da8xx-fb: minimal dt support

2013-01-22 Thread Afzal Mohammed
Driver is provided a means to have the probe triggered by DT. Signed-off-by: Afzal Mohammed --- Documentation/devicetree/bindings/video/fb-da8xx.txt | 16 drivers/video/da8xx-fb.c | 7 +++ 2 files changed, 23 insertions(+) create mode 100644

[PATCH v3 08/12] video: da8xx-fb: invoke platform callback safely

2013-01-22 Thread Afzal Mohammed
Ensure that platform data is present before checking whether platform callback is present (the one used to control backlight). So far this was not an issue as driver was purely non-DT triggered, but now DT support has been added. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 2

[PATCH v3 10/12] video: da8xx-fb: ensure pdata only for non-dt

2013-01-22 Thread Afzal Mohammed
This driver is DT probe-able, hence ensure presence of platform data only for non-DT boot. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 0c68712..1c1a616

[PATCH v3 12/12] video: da8xx-fb: CCF clock divider handling

2013-01-22 Thread Afzal Mohammed
t could be configured. Signed-off-by: Afzal Mohammed --- v3: model CCF clock divider with parent propogation if CCF selected v2: new patch drivers/video/da8xx-fb.c | 67 ++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/drivers/video/da

[PATCH v3 11/12] video: da8xx-fb: setup struct lcd_ctrl_config for dt

2013-01-22 Thread Afzal Mohammed
strcut lcd_ctrl_config information required for driver is currently obtained via platform data. To handle DT probing, create lcd_ctrl_config and populate it with default values, these values are sufficient for the panels so far used with this controller to work. Signed-off-by: Afzal Mohammed

[PATCH v3 09/12] video: da8xx-fb: obtain fb_videomode info from dt

2013-01-22 Thread Afzal Mohammed
Obtain fb_videomode details for the connected lcd panel using the display timing details present in DT. Signed-off-by: Afzal Mohammed --- .../devicetree/bindings/video/fb-da8xx.txt | 21 + drivers/video/da8xx-fb.c| 17 + 2

[PATCH v3 02/12] video: da8xx-fb: fix 24bpp raster configuration

2013-01-22 Thread Afzal Mohammed
sh Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 35a33ca..7f92f37 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -550,10 +550,10 @@

[PATCH v3 01/12] video: da8xx-fb: make io operations safe

2013-01-22 Thread Afzal Mohammed
Replace __raw_readl/__raw_writel with readl/writel; this driver is reused on ARMv7 (AM335x SoC). Signed-off-by: Afzal Mohammed --- v2: new patch drivers/video/da8xx-fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c

[PATCH v3 05/12] video: da8xx-fb: ensure non-null cfg in pdata

2013-01-22 Thread Afzal Mohammed
Ensure that platform data contains pointer for lcd_ctrl_config. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 7a32e83..3b146bc 100644 --- a/drivers/video/da8xx-fb.c

[PATCH v3 03/12] video: da8xx-fb: enable sync lost intr for v2 ip

2013-01-22 Thread Afzal Mohammed
interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 7f92f37..ca69e01

[PATCH v2 1/2] clk: divider: prepare for minimum divider

2013-01-23 Thread Afzal Mohammed
clock registration functions, static initialization helpers as was earlier. Signed-off-by: Afzal Mohammed --- v2: create a new registration function for those that needs to constrain minimum divider value instead of modifying existing registration functions and hence remove modification in

[PATCH v2 2/2] clk: divider: handle minimum divider

2013-01-23 Thread Afzal Mohammed
Some of clocks can have a limit on minimum divider value that can be programmed. Modify basic clock divider to take care of this aspect. Signed-off-by: Afzal Mohammed --- drivers/clk/clk-divider.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk

[PATCH v2 0/4] ARM: AM335x: LCDC platform support

2013-01-23 Thread Afzal Mohammed
AM335x based boards, tree @ git://gitorious.org/x0148406-public/linux-kernel.git tags/da8xx-fb-dt-v4 Regards Afzal v2: As DEFINE_CLK_DIVIDER args has no change, make it's usage as reqd. Afzal Mohammed (4): ARM: OMAP2+: dpll: round rate to closest value ARM: OMAP2+: dpll: am335x -

[PATCH v2 1/4] ARM: OMAP2+: dpll: round rate to closest value

2013-01-23 Thread Afzal Mohammed
will resolve the issue. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/clkt_dpll.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap2/clkt_dpll.c b/arch/arm/mach-omap2/clkt_dpll.c index 924c230..15e6d41 100644 --- a/arch/arm/mach-omap2

[PATCH v2 2/4] ARM: OMAP2+: dpll: am335x - avoid freqsel

2013-01-23 Thread Afzal Mohammed
am335x does not have freqsel, avoid it. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/dpll3xxx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm/mach-omap2/dpll3xxx.c index 0a02aab5..3aed4b0 100644 --- a/arch/arm/mach

[PATCH v2 4/4] ARM: AM33XX: clock: SET_RATE_PARENT in lcd path

2013-01-23 Thread Afzal Mohammed
parent - dpll_disp_m2_ck. With this change, set rate on LCDC clock would get propogated till dpll_disp_ck via dpll_disp_m2_ck, hence allowing the driver (same driver is used in DaVinci too) to set rates using LCDC clock without worrying about platform dependent clock details. Signed-off-by: Af

[PATCH v2 3/4] ARM: OMAP2+: clock: DEFINE_STRUCT_CLK_FLAGS helper

2013-01-23 Thread Afzal Mohammed
DEFINE_STRUCT_CLK does not have the capability to set flags, define DEFINE_STRUCT_CLK_FLAGS to handle flags. This is needed to add SET_RATE_PARENT flag in statically defined lcd clock in am335x. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/clock.h | 11 +++ 1 file changed, 11

[PATCH v4 01/12] video: da8xx-fb: make io operations safe

2013-01-23 Thread Afzal Mohammed
Replace __raw_readl/__raw_writel with readl/writel; this driver is reused on ARMv7 (AM335x SoC). Signed-off-by: Afzal Mohammed --- v2: new patch drivers/video/da8xx-fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c

[PATCH v4 03/12] video: da8xx-fb: enable sync lost intr for v2 ip

2013-01-23 Thread Afzal Mohammed
interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 7f92f37..ca69e01

[PATCH v4 04/12] video: da8xx-fb: use devres

2013-01-23 Thread Afzal Mohammed
Replace existing resource handling in the driver with managed device resource. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 35 ++- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c

  1   2   3   4   >