Skip to content

ARM: davinci: da850-evm: remove more legacy GPIO calls

Bartosz Golaszewski linux-arm-kernel linux-fbdev lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 2 repliesIn review
  2. v112 patches 17 repliesSuperseded

Changes in v2 from the cover letter

- dopped the gpio-backlight patches from this series as since v5.3-rc1 we can probe the module with neither the OF node nor platform data
- collected review and ack tags
- rebased on top of v5.3-rc1

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ARM: davinci: refresh davinci_all_defconfigarch/arm/configs/davinci_all_defconfig+9 -170 replies
2/9ARM: davinci_all_defconfig: enable GPIO backlightarch/arm/configs/davinci_all_defconfig+1 -00 replies
3/9ARM: davinci: da850-evm: model the backlight GPIO as an actual devicearch/arm/mach-davinci/board-da850-evm.c+28 -120 replies
4/9fbdev: da8xx: add support for a regulatordrivers/video/fbdev/da8xx-fb.c+49 -50 replies
5/9ARM: davinci: da850-evm: switch to using a fixed regulator for lcdcarch/arm/mach-davinci/board-da850-evm.c+44 -180 replies
6/9fbdev: da8xx: remove panel_power_ctrl() callback from platform datadrivers/video/fbdev/da8xx-fb.c include/video/da8xx-fb.h+5 -210 replies
7/9fbdev: da8xx-fb: use devm_platform_ioremap_resource()drivers/video/fbdev/da8xx-fb.c+1 -30 replies
8/9fbdev: da8xx-fb: drop a redundant ifdrivers/video/fbdev/da8xx-fb.c+20 -230 replies
9/9fbdev: da8xx: use resource management for dmadrivers/video/fbdev/da8xx-fb.c+10 -220 replies

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by.

PatchLinus WalleijBartlomiej Zolnierkiewicz
1/9
2/9
3/9R-b
4/9A-b
5/9R-b
6/9A-b
7/9A-b
8/9A-b
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] ARM: davinci: da850-evm: remove more legacy GPIO calls

From: Bartosz Golaszewski <[email protected]>

This is another small step on the path to liberating davinci from legacy GPIO API calls and shrinking the davinci GPIO driver by not having to support the base GPIO number anymore.

This time we're removing the legacy calls used indirectly by the LCDC fbdev driver.

First two patches enable the GPIO backlight driver in davinci_all_defconfig.

Patch 3/12 models the backlight GPIO as an actual GPIO backlight device.

Patches 4-6 extend the fbdev driver with regulator support and convert the da850-evm board file to using it.

Last three patches are improvements to the da8xx fbdev driver since we're already touching it in this series.

v1 -> v2:
- dopped the gpio-backlight patches from this series as since v5.3-rc1 we can probe the module with neither the OF node nor platform data
- collected review and ack tags
- rebased on top of v5.3-rc1

Bartosz Golaszewski (9):
ARM: davinci: refresh davinci_all_defconfig
ARM: davinci_all_defconfig: enable GPIO backlight
ARM: davinci: da850-evm: model the backlight GPIO as an actual device
fbdev: da8xx: add support for a regulator
ARM: davinci: da850-evm: switch to using a fixed regulator for lcdc
fbdev: da8xx: remove panel_power_ctrl() callback from platform data
fbdev: da8xx-fb: use devm_platform_ioremap_resource()
fbdev: da8xx-fb: drop a redundant if
fbdev: da8xx: use resource management for dma

 arch/arm/configs/davinci_all_defconfig  |  27 ++----
 arch/arm/mach-davinci/board-da850-evm.c |  90 +++++++++++++-----
 drivers/video/fbdev/da8xx-fb.c          | 118 +++++++++++++-----------
 include/video/da8xx-fb.h                |   1 -
 4 files changed, 141 insertions(+), 95 deletions(-)
Signature · 1 line
2.21.0