[PATCH v4 03/39] ARM: OMAP2+: gpmc: register details for nand driver

2012-05-01 Thread Afzal Mohammed
If peripheral connected is NAND, update NAND drivers platform data with NAND related register addresses so that NAND driver can handle GPMC NAND operations by itself Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 25 + arch/arm

[PATCH v4 01/39] ARM: OMAP2+: gpmc: driver conversion

2012-05-01 Thread Afzal Mohammed
with driver, former for calculation in platform code. Thanks to Vaibhav Hiremath Jonathan Hunter on their various good suggestions which resulted in improving the code. Cc: Vaibhav Hiremath hvaib...@ti.com Cc: Jon Hunter jon-hun...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2

[PATCH v4 04/39] ARM: OMAP2+: gpmc: Acquire NAND CS value

2012-05-01 Thread Afzal Mohammed
is not available, educate gpmc driver to acquire chip select value for NAND. this ideally should be removed once CS for those boards are available. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc.c | 32 +++- 1 file changed, 31 insertions(+), 1

[PATCH v4 06/39] ARM: OMAP2+: onenand: return value in init function

2012-05-01 Thread Afzal Mohammed
Modify board_onenand_init to return platform data. This would be required for boards to be able to pass it to gpmc driver so that it finally reaches onenand driver. Also un-static the function so that boards can use it. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board

[PATCH v4 05/39] ARM: OMAP2+: nand: create platform data structure

2012-05-01 Thread Afzal Mohammed
been removed. Acquiring CS is done in GPMC driver. To leverage this feature, pass CS # as any value outside the allowed range of 0 - 7 (this is valid only for connected NAND), eg. GPMC_CS_NUM (8) Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-devkit8000.c |6

[PATCH v4 07/39] ARM: OMAP2+: gpmc-nand: Adapt to use gpmc driver

2012-05-01 Thread Afzal Mohammed
Currently gpmc is configured in platform for nand. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-nand.c

[PATCH v4 08/39] ARM: OMAP2+: gpmc-onenand: Adapt to use gpmc driver

2012-05-01 Thread Afzal Mohammed
Currently gpmc is configured in platform for onenand. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc

[PATCH v4 09/39] ARM: OMAP2+: flash: Adapt to gpmc driver

2012-05-01 Thread Afzal Mohammed
gpmc driver has been converted to driver. Modify board_flash_init so that it can setup gpmc driver platform details for boards Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |2 +- arch/arm/mach-omap2/board-3630sdp.c |3 +- arch/arm/mach-omap2/board

[PATCH v4 10/39] ARM: OMAP2+: gpmc-smsc911x: Adapt to use gpmc driver

2012-05-01 Thread Afzal Mohammed
gpmc has been converted to driver. And all gpmc related configuration would be done by gpmc driver. Provide gpmc driver with sufficient information so that it can configure. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/gpmc-smsc911x.c | 59

[PATCH v4 11/39] ARM: OMAP2+: gpmc-smc91x: Adapt to use gpmc driver

2012-05-01 Thread Afzal Mohammed
Currently gpmc is configured in platform for smc91x. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board

[PATCH v4 12/39] ARM: OMAP2+: gpmc-tusb6010: Adapt to gpmc driver

2012-05-01 Thread Afzal Mohammed
Currently gpmc is configured in platform for tusb6010. As configuring gpmc has been moved to gpmc driver, populate details needed for the driver to configure gpmc. gpmc driver would configure based on this information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/usb

[PATCH v4 14/39] ARM: OMAP2xxx: hwmod data: add gpmc

2012-05-01 Thread Afzal Mohammed
Add gpmc hwmod and associated interconnect data Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 18 + arch/arm/mach-omap2/omap_hwmod_2430_data.c | 18 + arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 41

[PATCH v4 15/39] mtd: nand: omap2: obtain memory from resource

2012-05-01 Thread Afzal Mohammed
gpmc being converted to driver, provides drivers of peripheral connected memory space used by the peripheral as memory resource. Modify nand omap driver to obtain memory detials from resource structure. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/plat-omap/include/plat/nand.h |1

[PATCH v4 13/39] ARM: OMAP3: hwmod data: add gpmc

2012-05-01 Thread Afzal Mohammed
Add gpmc hwmod and associated interconnect data Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2

[PATCH v4 16/39] mtd: nand: omap2: use gpmc provided irqs

2012-05-01 Thread Afzal Mohammed
GPMC driver provides it's clientsd with interrupts that can be used through struct resource. Make use of it for irq mode functionality. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/mtd/nand/omap2.c | 67 +- 1 file changed, 42 insertions

[PATCH v4 17/39] mtd: nand: omap2: handle nand on gpmc

2012-05-01 Thread Afzal Mohammed
no issues as there are no boards that use NAND on multiple CS. With GPMC modifications, perhaps it would be better to consider NAND connected on multiple CS as a single peripheral using multiple CS. This would make handling multiple CS issues easier. Signed-off-by: Afzal Mohammed af...@ti.com

[PATCH v4 18/39] mtd: onenand: omap: obtain memory from resource

2012-05-01 Thread Afzal Mohammed
gpmc being converted to driver, provides drivers of peripheral connected memory space used by the peripheral as memory resource. Modify nand omap driver to obtain memory detials from resource structure. And so remove usage of gpmc exported symbols. Signed-off-by: Afzal Mohammed af...@ti.com

[PATCH v4 19/39] ARM: OMAP2+: board omap3evm: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3evm.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCH v4 20/39] ARM: OMAP2+: board omap3beagle: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3beagle.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH v4 21/39] ARM: OMAP2+: board apollon: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
hardcoded and written onto registers, whether making use of gpmc_smc91x_init would configure timing properly has to be tested. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-apollon.c | 152 +-- 1 file changed, 38 insertions(+), 114

[PATCH v4 22/39] ARM: OMAP2+: board h4: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Remove unused h4_init_debug too. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-h4.c | 130 +--- 1 file changed, 15

[PATCH v4 23/39] ARM: OMAP2+: board 3630sdp: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/arch

[PATCH v4 24/39] ARM: OMAP2+: board 3430sdp: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH v4 25/39] ARM: OMAP2+: board 2430sdp: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c | 42 +-- 1 file changed, 25 insertions(+), 17 deletions(-) diff

[PATCH v4 26/39] ARM: OMAP2+: board cm-t3517: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-cm-t3517.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v4 27/39] ARM: OMAP2+: board cm-t35: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH v4 28/39] ARM: OMAP2+: board ldp: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-ldp.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/arch

[PATCH v4 29/39] ARM: OMAP2+: board n8x0: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-n8x0.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach

[PATCH v4 30/39] ARM: OMAP2+: board omap3logic: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3logic.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCH v4 31/39] ARM: OMAP2+: board omap3pandora: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3pandora.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach

[PATCH v4 32/39] ARM: OMAP2+: board omap3stalker: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap3stalker.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH v4 33/39] ARM: OMAP2+: board omap4pcm049: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-omap4pcm049.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCH v4 34/39] ARM: OMAP2+: board overo: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-overo.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git

[PATCH v4 35/39] ARM: OMAP2+: board rm680: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-rm680.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2

[PATCH v4 36/39] ARM: OMAP2+: board rx51: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-rx51-peripherals.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git

[PATCH v4 37/39] ARM: OMAP2+: board zoom-debugboard: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c | 47 +++ 1 file changed, 27 insertions(+), 20 deletions(-) diff

[PATCH v4 39/39] ARM: OMAP2+: board igep0020: gpmc driver adaptation

2012-05-01 Thread Afzal Mohammed
gpmc code has been converted to driver. Modify the board code to provide gpmc driver with required information. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/board-igep0020.c | 32 1 file changed, 28 insertions(+), 4 deletions(-) diff

[PATCH v4 38/39] OMAP3: igep0020: Add support for Micron NAND Flash storage memory

2012-05-01 Thread Afzal Mohammed
...@ti.com: Update to use modified board_nand_init Signed-off-by: Javier Martinez Canillas jav...@dowhile0.org Signed-off-by: Afzal Mohammed af...@ti.com fixup: igep --- arch/arm/mach-omap2/board-igep0020.c | 75 ++ 1 file changed, 31 insertions(+), 44 deletions

GPMC in HWMOD (and a related AM335X issue)

2012-02-09 Thread Afzal Mohammed
Hi, OMAP HWMOD currently does not have GPMC adapted to it. We are facing a problem indirectly related to it in the case of AM335X SoC. It can reuse GPMC code of OMAP except that base address IRQ# is different. But we get a kernel crash without (at least) following change

[PATCH 0/2] AM335X: SoC type detection SRAM support

2012-02-10 Thread Afzal Mohammed
Hi, These changes does, 1. detect SoC type (i.e. GP or not) 2. add minimal SRAM support for AM335X devices These are required to get AM335X boot to prompt (but not sufficient) Regards Afzal Afzal Mohammed (1): arm:omap:am33xx: SoC type detection Vaibhav Bedia (1): arm:omap: am33xx SRAM

[PATCH 1/2] arm:omap:am33xx: SoC type detection

2012-02-10 Thread Afzal Mohammed
Determine SoC type, i.e. whether GP or not Note: cpu_is_34xx() is true for am33xx also. Doing cpu_is_am33xx() check after cpu_is_34xx() will not achieve what we want due to the above reason. Hence cpu_is_am33xx() is done before cpu_is_34xx() Signed-off-by: Afzal Mohammed af...@ti.com Signed-off

[PATCH 2/2] arm:omap: am33xx SRAM support (minimal)

2012-02-10 Thread Afzal Mohammed
-by: Vaibhav Bedia vaibhav.be...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/plat-omap/include/plat/sram.h |1 + arch/arm/plat-omap/sram.c | 14 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/sram.h

[PATCH v2 0/2] AM335X: SoC type detection SRAM support

2012-02-12 Thread Afzal Mohammed
Hi, These changes does, 1. detect SoC type (i.e. GP or not) 2. add minimal SRAM support for AM335X devices These are required to get AM335X boot to prompt (but not sufficient) v2: Use OMAP naming conventions for subject Regards Afzal Afzal Mohammed (1): ARM: OMAP2+: id: Add am33xx SoC type

[PATCH v2 1/2] ARM: OMAP2+: id: Add am33xx SoC type detection

2012-02-12 Thread Afzal Mohammed
Determine SoC type, i.e. whether GP or HS Note: cpu_is_34xx() is true for am33xx also. Doing cpu_is_am33xx() check after cpu_is_34xx() will not achieve what we want due to the above reason. Hence cpu_is_am33xx() is done before cpu_is_34xx() Signed-off-by: Afzal Mohammed af...@ti.com Signed-off

[PATCH v2 2/2] ARM: OMAP: sram: Add am33xx SRAM support (minimal)

2012-02-12 Thread Afzal Mohammed
-by: Vaibhav Bedia vaibhav.be...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- v2: Use OMAP naming conventions for subject arch/arm/plat-omap/include/plat/sram.h |1 + arch/arm/plat-omap/sram.c | 14 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff

[PATCH v2] usb: musb: dsps: dt binding - add resources, example

2012-11-06 Thread Afzal Mohammed
OMAP2+ family of devices are now obtaining resources via DT, earlier it was obtained from hwmod. Update binding document accrodingly, while at it add example. Signed-off-by: Afzal Mohammed af...@ti.com --- v2: node name changed to usb .../devicetree/bindings/usb/am33xx-usb.txt | 21

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

2012-11-06 Thread Afzal Mohammed
, Damodar damodar.santhap...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- v2: node named as usb Depends on usb: musb: dsps: dt binding - add resources, example (https://patchwork.kernel.org/patch/1704691/) arch/arm/boot/dts/am33xx.dtsi | 17

Re: [PATCH 4/5] usb: musb: dsps: dt binding - add resources, example

2012-11-06 Thread Afzal Mohammed
Hi Balbi, On Tuesday 06 November 2012 06:32 PM, Felipe Balbi wrote: On Fri, Nov 02, 2012 at 10:02:47PM +0530, Afzal Mohammed wrote: +Example: + +usb_otg_hs@4740 { this should be usb@4740. Updated version with the above change has been posted. Regards Afzal -- To unsubscribe

[PATCH/RESEND 0/2] usb: musb: am335x support part-2

2012-11-06 Thread Afzal Mohammed
. To get USB0 functional on am335x based boards like beagle bone, first one is required. Regards Afzal Afzal Mohammed (2): Revert usb: musb: dsps: remove explicit NOP device creation usb: musb: dsps: document dt bindings properly Documentation/devicetree/bindings/usb/am33xx-usb.txt | 8

[PATCH/RESEND 1/2] Revert usb: musb: dsps: remove explicit NOP device creation

2012-11-06 Thread Afzal Mohammed
. Hence revert it so that at least single instance can be supported. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/usb/musb/musb_dsps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 6053af1..e770f79

[PATCH/RESEND 2/2] usb: musb: dsps: document dt bindings properly

2012-11-06 Thread Afzal Mohammed
DT bindings normally use '-' (hyphens) instead of '_' (underscore), driver has it the proper way, but binding documentation does not reflect it, fix it. Signed-off-by: Afzal Mohammed af...@ti.com --- Documentation/devicetree/bindings/usb/am33xx-usb.txt | 8 1 file changed, 4 insertions

[GIT PULL] ARM: OMAP: GPMC generic timing

2012-11-09 Thread Afzal Mohammed
. Generic method has to be verified on peripherals supported in mainline. Afzal Mohammed (6): ARM: OMAP2+: nand: remove redundant rounding ARM: OMAP2+: gpmc: handle additional timings ARM: OMAP2+: gpmc: generic timing

[PATCH] usb: musb: dsps: header movement build error fix

2012-11-27 Thread Afzal Mohammed
that used those control module bit definitions. Integration of above two changes would cause build error in musb dsps glue driver (they go through different trees upstream) as is seen now in linux-next. Fix it by adding necessary definitions in dsps glue driver. Signed-off-by: Afzal Mohammed af

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

2013-01-06 Thread Afzal Mohammed
. This has been tested on da850 evm as is. This was also tested on am335x-evm am335x-evmsk with a series that adds DT support which follows shortly. This is based on v3.8-rc2 Regards Afzal v2: disable raster in fb_set_par properly Afzal Mohammed (10): video: da8xx-fb: fb_check_var enhancement

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

2013-01-06 Thread Afzal Mohammed
-off-by: Afzal Mohammed af...@ti.com --- 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/video/da8xx-fb.c @@ -888,6

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

2013-01-06 Thread Afzal Mohammed
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 af...@ti.com --- drivers/video/da8xx-fb.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/drivers/video/da8xx-fb.c

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

2013-01-06 Thread Afzal Mohammed
of reconfiguring and modifying platform data would be necessary to handle controller data changes like bpp. Signed-off-by: Afzal Mohammed af...@ti.com --- 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

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

2013-01-06 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 af...@ti.com --- v2: disable raster in fb_set_par properly as required, without this there would be no issue on DA850

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

2013-01-06 Thread Afzal Mohammed
store struct device pointer so that dev_dbg/err can be used outside of probe. Signed-off-by: Afzal Mohammed af...@ti.com --- 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

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

2013-01-06 Thread Afzal Mohammed
lcd_reset function doesn't require any arguement, remove it. Signed-off-by: Afzal Mohammed af...@ti.com --- 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

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

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

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

2013-01-06 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 af...@ti.com --- drivers/video/da8xx-fb.c |4 +--- 1 file changed

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

2013-01-06 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 af...@ti.com --- drivers/video/da8xx-fb.c | 48 +- 1 file changed, 18 insertions(+), 30 deletions(-) diff --git a/drivers

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

2013-01-06 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 af...@ti.com --- drivers/video/da8xx-fb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx

[PATCH 00/10] video: da8xx-fb: DT support

2013-01-06 Thread Afzal Mohammed
...@pengutronix.de 2. Patch da8xx: Allow use by am33xx based devices by, Pantelis Antoniou pa...@antoniou-consulting.com 3. Series v2 video: da8xx-fb: runtime timing configuration by, me (Afzal Mohammed af...@ti.com) To test this series on AM335x based boards, 1. Series ARM: dts: AM33XX: lcdc

[PATCH 02/10] video: da8xx-fb: enable sync lost intr for v2 ip

2013-01-06 Thread Afzal Mohammed
interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it. Signed-off-by: Afzal Mohammed af...@ti.com --- 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

[PATCH 04/10] video: da8xx-fb: ensure non-null cfg in pdata

2013-01-06 Thread Afzal Mohammed
Ensure that platform data contains pointer for lcd_ctrl_config. Signed-off-by: Afzal Mohammed af...@ti.com --- 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 e119ec8..32ce385 100644 --- a/drivers

[PATCH 10/10] video: da8xx-fb: setup struct lcd_ctrl_config for dt

2013-01-06 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 af

[PATCH 08/10] video: da8xx-fb: obtain fb_videomode info from dt

2013-01-06 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 af...@ti.com --- .../devicetree/bindings/video/fb-da8xx.txt | 20 drivers/video/da8xx-fb.c | 16

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

2013-01-06 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 af...@ti.com --- 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

[PATCH 01/10] video: da8xx-fb: fix 24bpp raster configuration

2013-01-06 Thread Afzal Mohammed
, Prakash prakash...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- 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 240eac7..cd73b87 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers

[PATCH 03/10] video: da8xx-fb: use devres

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

[PATCH 06/10] video: da8xx-fb: minimal dt support

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

[PATCH 05/10] video: da8xx-fb: reorganize panel detection

2013-01-06 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 af...@ti.com --- drivers/video/da8xx-fb.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git

[PATCH 07/10] video: da8xx-fb: invoke platform callback safely

2013-01-06 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 af...@ti.com --- drivers/video/da8xx

[PATCH 0/5] ARM: dts: AM33XX: lcdc support

2013-01-06 Thread Afzal Mohammed
configuration by, me (Afzal Mohammed af...@ti.com) 3. Series video: da8xx-fb: DT support by, me (Afzal Mohammed af...@ti.com) To test on AM335x, in addition to the above, following changes, 1. Patch da8xx: Allow use by am33xx based devices by, Pantelis Antoniou pa...@antoniou

[PATCH 4/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc panel timings

2013-01-06 Thread Afzal Mohammed
Update lcdc node with panel timings (typical) for AM335X-EVMSK. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts

[PATCH 1/5] ARM: dts: AM33XX: Add lcdc node

2013-01-06 Thread Afzal Mohammed
Add lcdc node. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index c2f14e8..432d4bb8 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch

[PATCH 2/5] ARM: dts: AM33XX: Add am335x-evm lcdc panel timings

2013-01-06 Thread Afzal Mohammed
Update lcdc node with panel timings (typical) for AM335X-EVM. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index

[PATCH 3/5] ARM: dts: AM33XX: Add am335x-evm lcdc pincontrol info

2013-01-06 Thread Afzal Mohammed
Update pin mux information for lcd panel on AM335X-EVM Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts

[PATCH 5/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc pincontrol info

2013-01-06 Thread Afzal Mohammed
Update pin mux information for lcd panel on AM335X-EVMSK. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm

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

2013-01-15 Thread Afzal Mohammed
* are removed, there would be merge conflicts with v2, which was based on -rc2). series Regards Afzal v3: rebased over -rc3, no functional changes v2: disable raster in fb_set_par properly Afzal Mohammed (10): video: da8xx-fb: fb_check_var enhancement video: da8xx-fb: simplify lcd_reset video: da8xx

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

2013-01-15 Thread Afzal Mohammed
lcd_reset function doesn't require any arguement, remove it. Signed-off-by: Afzal Mohammed af...@ti.com --- 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 d00dd17..52977b1 100644

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

2013-01-15 Thread Afzal Mohammed
of reconfiguring and modifying platform data would be necessary to handle controller data changes like bpp. Signed-off-by: Afzal Mohammed af...@ti.com --- 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 18834fa

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

2013-01-15 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 af...@ti.com --- drivers/video/da8xx-fb.c | 48 +- 1 file changed, 18 insertions(+), 30 deletions(-) diff --git a/drivers

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

2013-01-15 Thread Afzal Mohammed
store struct device pointer so that dev_dbg/err can be used outside of probe. Signed-off-by: Afzal Mohammed af...@ti.com --- 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 7f08644..a5341d0 100644

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

2013-01-15 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 af...@ti.com --- drivers/video/da8xx-fb.c |4 +--- 1 file changed

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

2013-01-15 Thread Afzal Mohammed
modedb helper now updates var information based on the detected panel, remove the unnecessary initialization. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/video/da8xx-fb.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/video/da8xx

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

2013-01-15 Thread Afzal Mohammed
. 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: Afzal Mohammed af...@ti.com

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

2013-01-15 Thread Afzal Mohammed
-off-by: Afzal Mohammed af...@ti.com --- 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 0810939..d00dd17 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -888,6

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

2013-01-15 Thread Afzal Mohammed
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 af...@ti.com --- drivers/video/da8xx-fb.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/drivers/video/da8xx-fb.c

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

2013-01-15 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 af...@ti.com --- drivers/video/da8xx

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

2013-01-15 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 af...@ti.com --- .../devicetree/bindings/video/fb-da8xx.txt | 21 drivers/video/da8xx-fb.c | 17

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

2013-01-15 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 af...@ti.com --- 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

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

2013-01-15 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 af

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

2013-01-15 Thread Afzal Mohammed
v16 of: add display helper by, Steffen Trumtrar s.trumt...@pengutronix.de 2. Patch da8xx: Allow use by am33xx based devices by, Pantelis Antoniou pa...@antoniou-consulting.com 3. Series v3 video: da8xx-fb: runtime timing configuration by, me (Afzal Mohammed af...@ti.com

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

2013-01-15 Thread Afzal Mohammed
Replace __raw_readl/__raw_writel with readl/writel; this driver is reused on ARMv7 (AM335x SoC). Signed-off-by: Afzal Mohammed af...@ti.com --- 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

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

2013-01-15 Thread Afzal Mohammed
, Prakash prakash...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- 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

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

2013-01-15 Thread Afzal Mohammed
interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it. Signed-off-by: Afzal Mohammed af...@ti.com --- 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

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

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

<    1   2   3   4   5   6   7   >