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,
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 @@
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
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
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
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
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
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
, 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
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
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
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
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
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 {
> /
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
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
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_
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
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
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
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
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
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
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
>>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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-
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
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
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
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+:
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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(-)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 @@
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
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
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
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
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
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 -
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
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
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
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
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
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
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 - 100 of 321 matches
Mail list logo