mbox series

[00/11] Add DM/DTS support for omap video driver

Message ID 20200209184745.20473-1-dariobin@libero.it
Headers show
Series Add DM/DTS support for omap video driver | expand

Message

Dario Binacchi Feb. 9, 2020, 6:47 p.m. UTC
Changes:

 * Fix coding style
 * Refactor some parts of the driver
 * Add support for driver model and device-tree
 * Update the boards device-tree
 * Add device-tree binding documentation


Dario Binacchi (11):
  video: omap: use BIT() macro
  video: omap: add missing bitfield masks
  video: omap: fix coding style on use of spaces
  video: omap: fix bitfields order
  video: omap: rename LCD controller registers
  video: omap: fix debug message
  video: omap: add loop exit conditions to the dpll setup
  video: omap: create two routines to set the pixel clock rate
  video: omap: add support for DM/DTS
  arm: fdt: omap: update dts panel node
  fdt: video: omap: add framebuffer and panel bindings

 arch/arm/dts/am335x-brppt1-mmc.dts            |   2 +
 arch/arm/dts/am335x-brppt1-nand.dts           |   2 +
 arch/arm/dts/am335x-brppt1-spi.dts            |   2 +
 arch/arm/dts/am335x-brsmarc1.dts              |   1 +
 arch/arm/dts/am335x-brxre1.dts                |   2 +
 arch/arm/dts/am335x-evm.dts                   |   1 +
 arch/arm/dts/am335x-evmsk.dts                 |   1 +
 arch/arm/dts/am335x-guardian.dts              |   1 +
 arch/arm/dts/am335x-pdu001.dts                |   1 +
 arch/arm/dts/am335x-pxm50.dts                 |   1 +
 arch/arm/dts/am335x-rut.dts                   |   1 +
 arch/arm/dts/da850-evm.dts                    |   1 +
 .../video/tilcdc/panel.txt                    |  66 ++
 .../video/tilcdc/tilcdc.txt                   |  82 +++
 drivers/video/am335x-fb.c                     | 576 +++++++++++++++---
 drivers/video/am335x-fb.h                     |  16 +-
 16 files changed, 658 insertions(+), 98 deletions(-)
 create mode 100644 doc/device-tree-bindings/video/tilcdc/panel.txt
 create mode 100644 doc/device-tree-bindings/video/tilcdc/tilcdc.txt

Comments

Adam Ford Feb. 10, 2020, 11:25 a.m. UTC | #1
On Sun, Feb 9, 2020 at 12:48 PM Dario Binacchi <dariobin at libero.it> wrote:
>
>
> Changes:
>
>  * Fix coding style
>  * Refactor some parts of the driver
>  * Add support for driver model and device-tree
>  * Update the boards device-tree
>  * Add device-tree binding documentation
>
>
> Dario Binacchi (11):
>   video: omap: use BIT() macro
>   video: omap: add missing bitfield masks
>   video: omap: fix coding style on use of spaces
>   video: omap: fix bitfields order
>   video: omap: rename LCD controller registers
>   video: omap: fix debug message
>   video: omap: add loop exit conditions to the dpll setup
>   video: omap: create two routines to set the pixel clock rate
>   video: omap: add support for DM/DTS
>   arm: fdt: omap: update dts panel node
>   fdt: video: omap: add framebuffer and panel bindings
>
>  arch/arm/dts/am335x-brppt1-mmc.dts            |   2 +
>  arch/arm/dts/am335x-brppt1-nand.dts           |   2 +
>  arch/arm/dts/am335x-brppt1-spi.dts            |   2 +
>  arch/arm/dts/am335x-brsmarc1.dts              |   1 +
>  arch/arm/dts/am335x-brxre1.dts                |   2 +
>  arch/arm/dts/am335x-evm.dts                   |   1 +
>  arch/arm/dts/am335x-evmsk.dts                 |   1 +
>  arch/arm/dts/am335x-guardian.dts              |   1 +
>  arch/arm/dts/am335x-pdu001.dts                |   1 +
>  arch/arm/dts/am335x-pxm50.dts                 |   1 +
>  arch/arm/dts/am335x-rut.dts                   |   1 +
>  arch/arm/dts/da850-evm.dts                    |   1 +

I tested the da850-evm, but this series doesn't appear to actually
enable the frame buffer in the defconfig, so I am not sure what we're
expecting to see.  The board still boots, but there isn't any video on
da850.

>  .../video/tilcdc/panel.txt                    |  66 ++
>  .../video/tilcdc/tilcdc.txt                   |  82 +++
>  drivers/video/am335x-fb.c                     | 576 +++++++++++++++---

This series doesn't apply cleanly to origin/master as of Feb 10.
Since I'm testing da850, it still built, but you may want to rebase on
master.

>  drivers/video/am335x-fb.h                     |  16 +-
>  16 files changed, 658 insertions(+), 98 deletions(-)
>  create mode 100644 doc/device-tree-bindings/video/tilcdc/panel.txt
>  create mode 100644 doc/device-tree-bindings/video/tilcdc/tilcdc.txt
>
> --
> 2.24.0
>