[PATCH v3 0/6] add LCD support for SAM9X60

Claudiu.Beznea at microchip.com Claudiu.Beznea at microchip.com
Thu Apr 25 12:28:22 UTC 2019


From: Claudiu Beznea <claudiu.beznea at microchip.com>

Hi,

These patches adds support for SAM9X60's LCD controller.

First patches add option to specify if controller clock source is fixed.
Second patch avoid a variable initialization in atmel_hlcdc_crtc_mode_set_nofb().
The 3rd add compatibles in pwm-atmel-hlcdc driver.
The 4th patch enables sys_clk in probe since SAM9X60 needs this.
Specific support was added also in suspend/resume hooks.
The 5th patch adds SAM9X60's LCD configuration and enabled it.

I took the changes of this series and introduced also a fix
(this is the 6th patch in this series) - if you want to send it separately
I would gladly do it.

Thank you,
Claudiu Beznea

Changes in v3:
- keep compatible string on patch 3/6 on a single line (I keep here a tab
  in front of ".compatible" to be aligned with the rest of the code in
  atmel_hlcdc_dt_ids[])
- patches 4/7 and 3/7 from v2 were applied so remove them from this version
- add a fix for atmel_hlcdc (patch 6/6)

Changes in v2:
- use "|" operator in patch 1/7 to set ATMEL_HLCDC_CLKSEL on cfg
- collect Acked-by, Reviewed-by tags

Claudiu Beznea (4):
  drm: atmel-hlcdc: add config option for clock selection
  drm: atmel-hlcdc: avoid initializing cfg with zero
  pwm: atmel-hlcdc: add compatible for SAM9X60 HLCDC's PWM
  drm/atmel-hclcdc: revert shift by 8

Sandeep Sheriker Mallikarjun (2):
  drm: atmel-hlcdc: enable sys_clk during initalization.
  drm: atmel-hlcdc: add sam9x60 LCD controller

 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c  |  18 ++--
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c    | 120 +++++++++++++++++++++++-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h    |   2 +
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c |   2 +-
 drivers/pwm/pwm-atmel-hlcdc.c                   |   1 +
 5 files changed, 132 insertions(+), 11 deletions(-)

-- 
2.7.4



More information about the dri-devel mailing list