Skip to content

viafb auxiliary device support

Florian Tobias Schandinat linux-fbdev lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3viafb: add auxiliary device management infrastructuredrivers/video/via/Makefile drivers/video/via/via_aux.c drivers/video/via/via_aux.h +11 more+626 -10 replies
2/3viafb: fix I2C emulation on GPIO portsdrivers/video/via/via_i2c.c+8 -20 replies
3/3viafb: add initial EDID supportdrivers/video/via/via_aux.c drivers/video/via/via_aux.h drivers/video/via/via_aux_edid.c +1 more+103 -80 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] viafb auxiliary device support

Hi all,

this patch series aims to add infrastructure to viafb to support devices that are connected via I2C. Even before these patches viafb had support for some of these but no structure, instead ranging from a single file for a device to various places in the code writing to such devices, probably even sometimes without knowing that it is talking to the correct device.
This patch series adds just the infrastructure to add such devices and a few stub driver which print the name of the chips, if detected. Even this is quite useful for debugging or recruiting testers. The long term goal is to move all existing support for such devices in those drivers and extend them to whatever is required.
The chip detection aside the only user visible change is that if no viafb_mode/viafb_mode1 is given on startup the initial resolution is derived from EDID data, if present for the desired configuration.

Best regards,

Florian Tobias Schandinat

Florian Tobias Schandinat (3):
viafb: add auxiliary device management infrastructure
viafb: fix I2C emulation on GPIO ports
viafb: add initial EDID support

 drivers/video/via/Makefile         |    5 ++-
 drivers/video/via/via_aux.c        |   88 ++++++++++++++++++++++++++++++++
 drivers/video/via/via_aux.h        |   93 ++++++++++++++++++++++++++++++++++
 drivers/video/via/via_aux_ch7301.c |   50 ++++++++++++++++++
 drivers/video/via/via_aux_edid.c   |   97 ++++++++++++++++++++++++++++++++++++
 drivers/video/via/via_aux_sii164.c |   54 ++++++++++++++++++++
 drivers/video/via/via_aux_vt1621.c |   44 ++++++++++++++++
 drivers/video/via/via_aux_vt1622.c |   50 ++++++++++++++++++
 drivers/video/via/via_aux_vt1625.c |   50 ++++++++++++++++++
 drivers/video/via/via_aux_vt1631.c |   46 +++++++++++++++++
 drivers/video/via/via_aux_vt1632.c |   54 ++++++++++++++++++++
 drivers/video/via/via_aux_vt1636.c |   46 +++++++++++++++++
 drivers/video/via/via_i2c.c        |   10 +++-
 drivers/video/via/viafbdev.c       |   53 +++++++++++++++++---
 drivers/video/via/viafbdev.h       |    6 ++
 15 files changed, 736 insertions(+), 10 deletions(-)
 create mode 100644 drivers/video/via/via_aux.c
 create mode 100644 drivers/video/via/via_aux.h
 create mode 100644 drivers/video/via/via_aux_ch7301.c
 create mode 100644 drivers/video/via/via_aux_edid.c
 create mode 100644 drivers/video/via/via_aux_sii164.c
 create mode 100644 drivers/video/via/via_aux_vt1621.c
 create mode 100644 drivers/video/via/via_aux_vt1622.c
 create mode 100644 drivers/video/via/via_aux_vt1625.c
 create mode 100644 drivers/video/via/via_aux_vt1631.c
 create mode 100644 drivers/video/via/via_aux_vt1632.c
 create mode 100644 drivers/video/via/via_aux_vt1636.c
Signature · 1 line
1.7.9