Skip to content

video: da8xx-fb: am335x DT support

Afzal Mohammed linux-devicetree linux-fbdev linux-omap lkml 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest12 patches 0 repliesNew
  2. v412 patches 6 repliesSuperseded
  3. v312 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v212 patches3 repliesSuperseded
v110 patches3 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12video: da8xx-fb: make io operations safedrivers/video/da8xx-fb.c+2 -20 replies
2/12video: da8xx-fb: fix 24bpp raster configurationdrivers/video/da8xx-fb.c+2 -20 replies
3/12video: da8xx-fb: enable sync lost intr for v2 ipdrivers/video/da8xx-fb.c+1 -10 replies
4/12video: da8xx-fb: use devresdrivers/video/da8xx-fb.c+6 -290 replies
5/12video: da8xx-fb: ensure non-null cfg in pdatadrivers/video/da8xx-fb.c+5 -00 replies
6/12video: da8xx-fb: reorganize panel detectiondrivers/video/da8xx-fb.c+26 -160 replies
7/12video: da8xx-fb: minimal dt supportDocumentation/devicetree/bindings/video/fb-da8xx.txt drivers/video/da8xx-fb.c+23 -00 replies
8/12video: da8xx-fb: invoke platform callback safelydrivers/video/da8xx-fb.c+1 -10 replies
9/12video: da8xx-fb: obtain fb_videomode info from dtDocumentation/devicetree/bindings/video/fb-da8xx.txt drivers/video/da8xx-fb.c+38 -00 replies
10/12video: da8xx-fb: ensure pdata only for non-dtdrivers/video/da8xx-fb.c+1 -10 replies
11/12video: da8xx-fb: setup struct lcd_ctrl_config for dtdrivers/video/da8xx-fb.c+33 -10 replies
12/12video: da8xx-fb: set upstream clock rate (if reqd)drivers/video/da8xx-fb.c+58 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

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

Hi,

This series adds DT support to da8xx-fb driver (device found on DaVinci and AM335x SoC's). It does certain cleanup's in the process.

This series as compared to previous version goes back to v2 way of configuring pixel clock rate. i.e. set divider if rate is within the range that is configurable with existing input clock rate, else change input clock rate as required instead of modeling CCF clock nodes in the driver (more details in 12/12)

This makes use of Steffen Trumtrar's v17 of display timing DT support.

Testing has been done on AM335x SoC based boards like AM335x EVM. It has also been verified that display on DA850 EVM (non-DT boot) works as earlier.

This series is based on v3.8-rc3,
and is dependent on,
1. Series v17 "of: add display helper" by,
Steffen Trumtrar <[email protected]>
2. Patch "da8xx: Allow use by am33xx based devices" by, Pantelis Antoniou <[email protected]>
3. Series v3 "video: da8xx-fb: runtime timing configuration" by, me (Afzal Mohammed <[email protected]>)

To test this series on AM335x based boards,
1. Series "HWMOD fixes for AM33xx PWM submodules and device tree nodes" by, Philip, Avinash <[email protected]>
as well as following,
2. Series v2 "ARM: dts: AM33XX: lcdc support",
3. Patch v2 "ARM: OMAP2+: dpll: am335x - avoid freqsel",
4. Patch v2 "ARM: OMAP2+: clock: DEFINE_STRUCT_CLK_FLAGS helper",
5. Patch v2 "ARM: AM33XX: clock: SET_RATE_PARENT in lcd path" by, me (Afzal Mohammed <[email protected]>)
would be needed.

All above dependencies along with those required for testing is available @ git://gitorious.org/x0148406-public/linux-kernel.git tags/da8xx-fb-dt-v5

Regards
Afzal

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 configurable with existing input clock rate, else change input clock rate as required.
v4: use new registration for clock divider having minimum divider
requirement and have ifdef'ery in a better way
v3: model CCF clock divider with parent propogation if CCF selected
v2: 2 new patches - one to configure clock rate properly (12/12)and
other to make io operations safe (1/12)

Afzal Mohammed (11):
video: da8xx-fb: make io operations safe
video: da8xx-fb: enable sync lost intr for v2 ip
video: da8xx-fb: use devres
video: da8xx-fb: ensure non-null cfg in pdata
video: da8xx-fb: reorganize panel detection
video: da8xx-fb: minimal dt support
video: da8xx-fb: invoke platform callback safely
video: da8xx-fb: obtain fb_videomode info from dt
video: da8xx-fb: ensure pdata only for non-dt
video: da8xx-fb: setup struct lcd_ctrl_config for dt
video: da8xx-fb: set upstream clock rate (if reqd)

Manjunathappa, Prakash (1):
video: da8xx-fb: fix 24bpp raster configuration

 .../devicetree/bindings/video/fb-da8xx.txt         |  37 ++++
 drivers/video/da8xx-fb.c                           | 226 ++++++++++++++-------
 2 files changed, 194 insertions(+), 69 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/video/fb-da8xx.txt
Signature · 1 line
1.7.12