Skip to contentSkip to conversation

adv7604: ADV7611 and DT support

GIT PULL Laurent Pinchart 2 participants 3 messages Apr 28, 2014 – May 25, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Mauro,

The following changes since commit 393cbd8dc532c1ebed60719da8d379f50d445f28:

[media] smiapp: Use %u for printing u32 value (2014-04-23 16:05:06 -0300)

are available in the git repository at:

git://linuxtv.org/pinchartl/media.git linuxtv/adv7611

for you to fetch changes up to 89d3226804151fb97049ecc2170ea46aaa6f7f60:

adv7604: Set HPD GPIO direction to output (2014-04-28 21:03:58 +0200)

----------------------------------------------------------------
Lars-Peter Clausen (4):
adv7604: Add missing include to linux/types.h
adv7604: Add support for asynchronous probing
adv7604: Don't put info string arrays on the stack
adv7604: Add adv7611 support

Laurent Pinchart (44):
v4l: Add UYVY10_2X10 and VYUY10_2X10 media bus pixel codes
v4l: Add UYVY10_1X20 and VYUY10_1X20 media bus pixel codes
v4l: Add 12-bit YUV 4:2:0 media bus pixel codes
v4l: Add 12-bit YUV 4:2:2 media bus pixel codes
v4l: Add pad-level DV timings subdev operations
ad9389b: Add pad-level DV timings operations
adv7511: Add pad-level DV timings operations
adv7842: Add pad-level DV timings operations
s5p-tv: hdmi: Add pad-level DV timings operations
s5p-tv: hdmiphy: Add pad-level DV timings operations
ths8200: Add pad-level DV timings operations
tvp7002: Add pad-level DV timings operations
media: bfin_capture: Switch to pad-level DV operations
media: davinci: vpif: Switch to pad-level DV operations
media: staging: davinci: vpfe: Switch to pad-level DV operations
s5p-tv: mixer: Switch to pad-level DV operations
ad9389b: Remove deprecated video-level DV timings operations
adv7511: Remove deprecated video-level DV timings operations
adv7842: Remove deprecated video-level DV timings operations
s5p-tv: hdmi: Remove deprecated video-level DV timings operations
s5p-tv: hdmiphy: Remove deprecated video-level DV timings operation
ths8200: Remove deprecated video-level DV timings operations
tvp7002: Remove deprecated video-level DV timings operations
v4l: Improve readability by not wrapping ioctl number #define's
v4l: Add support for DV timings ioctls on subdev nodes
v4l: Validate fields in the core code for subdev EDID ioctls
adv7604: Add 16-bit read functions for CP and HDMI
adv7604: Cache register contents when reading multiple bits
adv7604: Remove subdev control handlers
adv7604: Add sink pads
adv7604: Make output format configurable through pad format operations
adv7604: Add pad-level DV timings support
adv7604: Remove deprecated video-level DV timings operations
v4l: subdev: Remove deprecated video-level DV timings operations
adv7604: Inline the to_sd function
adv7604: Store I2C addresses and clients in arrays
adv7604: Replace *_and_or() functions with *_clr_set()
adv7604: Sort headers alphabetically
adv7604: Support hot-plug detect control through a GPIO
adv7604: Specify the default input through platform data
adv7604: Add DT support
adv7604: Add LLC polarity configuration
adv7604: Add endpoint properties to DT bindings
adv7604: Set HPD GPIO direction to output

 Documentation/DocBook/media/v4l/subdev-formats.xml      |  760 ++++++++++++
 .../DocBook/media/v4l/vidioc-dv-timings-cap.xml         |   27 +-
 .../DocBook/media/v4l/vidioc-enum-dv-timings.xml        |   30 +-
 Documentation/devicetree/bindings/media/i2c/adv7604.txt |   70 ++
 drivers/media/i2c/ad9389b.c                             |   64 +-
 drivers/media/i2c/adv7511.c                             |   66 +-
 drivers/media/i2c/adv7604.c                             | 1468 ++++++++++----
 drivers/media/i2c/adv7842.c                             |   14 +-
 drivers/media/i2c/ths8200.c                             |   10 +
 drivers/media/i2c/tvp7002.c                             |    5 +-
 drivers/media/platform/blackfin/bfin_capture.c          |    4 +-
 drivers/media/platform/davinci/vpif_capture.c           |    4 +-
 drivers/media/platform/davinci/vpif_display.c           |    4 +-
 drivers/media/platform/s5p-tv/hdmi_drv.c                |   14 +-
 drivers/media/platform/s5p-tv/hdmiphy_drv.c             |    9 +-
 drivers/media/platform/s5p-tv/mixer_video.c             |    8 +-
 drivers/media/v4l2-core/v4l2-subdev.c                   |   51 +-
 drivers/staging/media/davinci_vpfe/vpfe_video.c         |    4 +-
 include/media/adv7604.h                                 |  124 +-
 include/media/v4l2-subdev.h                             |    8 +-
 include/uapi/linux/v4l2-mediabus.h                      |   14 +-
 include/uapi/linux/v4l2-subdev.h                        |   40 +-
 include/uapi/linux/videodev2.h                          |   10 +-
 23 files changed, 2188 insertions(+), 620 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/adv7604.txt
Signature · 3 lines
Regards,

Laurent Pinchart
#1 lore raw

Em Mon, 28 Apr 2014 21:48:31 +0200
Laurent Pinchart <[email protected]> escreveu:

Quoted 10 lines

Hi Mauro,

The following changes since commit 393cbd8dc532c1ebed60719da8d379f50d445f28:

[media] smiapp: Use %u for printing u32 value (2014-04-23 16:05:06 -0300)

are available in the git repository at:

git://linuxtv.org/pinchartl/media.git linuxtv/adv7611

Quoted 8 lines

for you to fetch changes up to 89d3226804151fb97049ecc2170ea46aaa6f7f60:

adv7604: Set HPD GPIO direction to output (2014-04-28 21:03:58 +0200)

----------------------------------------------------------------
Lars-Peter Clausen (4):
adv7604: Add missing include to linux/types.h
adv7604: Add support for asynchronous probing

-ENODESCRIPTION. Please add a proper description to each patch.

Quoted 8 lines

adv7604: Don't put info string arrays on the stack
adv7604: Add adv7611 support

Laurent Pinchart (44):
v4l: Add UYVY10_2X10 and VYUY10_2X10 media bus pixel codes
v4l: Add UYVY10_1X20 and VYUY10_1X20 media bus pixel codes
v4l: Add 12-bit YUV 4:2:0 media bus pixel codes
v4l: Add 12-bit YUV 4:2:2 media bus pixel codes

The above 4 patches seem to be already applied. Btw, next time, please add a patch description. Among other things, that would save me some time to identify that this is duplicated stuff that were merged previously via some other pull request.

Quoted 1 line

v4l: Add pad-level DV timings subdev operations

What do you have against properly documenting a patch? Please write some lines describing why this API change is needed, and how it was implemented.

Quoted 8 lines

ad9389b: Add pad-level DV timings operations
adv7511: Add pad-level DV timings operations
adv7842: Add pad-level DV timings operations
s5p-tv: hdmi: Add pad-level DV timings operations
s5p-tv: hdmiphy: Add pad-level DV timings operations
ths8200: Add pad-level DV timings operations
tvp7002: Add pad-level DV timings operations

Quoted 15 lines

media: bfin_capture: Switch to pad-level DV operations
media: davinci: vpif: Switch to pad-level DV operations
media: staging: davinci: vpfe: Switch to pad-level DV operations
s5p-tv: mixer: Switch to pad-level DV operations
ad9389b: Remove deprecated video-level DV timings operations
adv7511: Remove deprecated video-level DV timings operations
adv7842: Remove deprecated video-level DV timings operations
s5p-tv: hdmi: Remove deprecated video-level DV timings operations
s5p-tv: hdmiphy: Remove deprecated video-level DV timings operation
ths8200: Remove deprecated video-level DV timings operations
tvp7002: Remove deprecated video-level DV timings operations
v4l: Improve readability by not wrapping ioctl number #define's
v4l: Add support for DV timings ioctls on subdev nodes
v4l: Validate fields in the core code for subdev EDID ioctls
adv7604: Add 16-bit read functions for CP and HDMI

-ENODESCRIPTION. Please add a proper description to each patch.

Quoted 35 lines

adv7604: Cache register contents when reading multiple bits
adv7604: Remove subdev control handlers
adv7604: Add sink pads
adv7604: Make output format configurable through pad format operations
adv7604: Add pad-level DV timings support
adv7604: Remove deprecated video-level DV timings operations
v4l: subdev: Remove deprecated video-level DV timings operations
adv7604: Inline the to_sd function
adv7604: Store I2C addresses and clients in arrays
adv7604: Replace *_and_or() functions with *_clr_set()
adv7604: Sort headers alphabetically
adv7604: Support hot-plug detect control through a GPIO
adv7604: Specify the default input through platform data
adv7604: Add DT support
adv7604: Add LLC polarity configuration
adv7604: Add endpoint properties to DT bindings
adv7604: Set HPD GPIO direction to output

 Documentation/DocBook/media/v4l/subdev-formats.xml      |  760 ++++++++++++
 .../DocBook/media/v4l/vidioc-dv-timings-cap.xml         |   27 +-
 .../DocBook/media/v4l/vidioc-enum-dv-timings.xml        |   30 +-
 Documentation/devicetree/bindings/media/i2c/adv7604.txt |   70 ++
 drivers/media/i2c/ad9389b.c                             |   64 +-
 drivers/media/i2c/adv7511.c                             |   66 +-
 drivers/media/i2c/adv7604.c                             | 1468 ++++++++++----
 drivers/media/i2c/adv7842.c                             |   14 +-
 drivers/media/i2c/ths8200.c                             |   10 +
 drivers/media/i2c/tvp7002.c                             |    5 +-
 drivers/media/platform/blackfin/bfin_capture.c          |    4 +-
 drivers/media/platform/davinci/vpif_capture.c           |    4 +-
 drivers/media/platform/davinci/vpif_display.c           |    4 +-
 drivers/media/platform/s5p-tv/hdmi_drv.c                |   14 +-
 drivers/media/platform/s5p-tv/hdmiphy_drv.c             |    9 +-
 drivers/media/platform/s5p-tv/mixer_video.c             |    8 +-
 drivers/media/v4l2-core/v4l2-subdev.c                   |   51 +-
Quoted 9 lines
 drivers/staging/media/davinci_vpfe/vpfe_video.c         |    4 +-
 include/media/adv7604.h                                 |  124 +-
 include/media/v4l2-subdev.h                             |    8 +-
 include/uapi/linux/v4l2-mediabus.h                      |   14 +-
 include/uapi/linux/v4l2-subdev.h                        |   40 +-
 include/uapi/linux/videodev2.h                          |   10 +-
 23 files changed, 2188 insertions(+), 620 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/adv7604.txt

There are other patches in this series lacking a proper description.

Please document them.

While here, please remove the 4 already applied patches from this series.

Thanks!
Mauro.

#2 lore raw

Hi Mauro,

Quoted 31 lines · On Sunday 25 May 2014 10:20:47 Mauro Carvalho Chehab wrote:

Em Mon, 28 Apr 2014 21:48:31 +0200 Laurent Pinchart escreveu:

Quoted 10 lines

Hi Mauro,

The following changes since commit
393cbd8dc532c1ebed60719da8d379f50d445f28:
[media] smiapp: Use %u for printing u32 value (2014-04-23 16:05:06 -0300)

are available in the git repository at:
git://linuxtv.org/pinchartl/media.git linuxtv/adv7611

Quoted 8 lines

for you to fetch changes up to 89d3226804151fb97049ecc2170ea46aaa6f7f60:
adv7604: Set HPD GPIO direction to output (2014-04-28 21:03:58 +0200)

----------------------------------------------------------------

Lars-Peter Clausen (4):
adv7604: Add missing include to linux/types.h
adv7604: Add support for asynchronous probing

-ENODESCRIPTION. Please add a proper description to each patch.

Quoted 8 lines

adv7604: Don't put info string arrays on the stack
adv7604: Add adv7611 support

Laurent Pinchart (44):
v4l: Add UYVY10_2X10 and VYUY10_2X10 media bus pixel codes
v4l: Add UYVY10_1X20 and VYUY10_1X20 media bus pixel codes
v4l: Add 12-bit YUV 4:2:0 media bus pixel codes
v4l: Add 12-bit YUV 4:2:2 media bus pixel codes

Quoted 8 lines

The above 4 patches seem to be already applied. Btw, next time, please add a patch description. Among other things, that would save me some time to identify that this is duplicated stuff that were merged previously via some other pull request.

Quoted 1 line

v4l: Add pad-level DV timings subdev operations

What do you have against properly documenting a patch?

Nothing at all :-)

As discussed over IRC, I try to document the "what" in the subject line and the "why" in the commit message body. I document the "how" when I consider that the information isn't clear from the patch content.

Anyway, I'll resend the series rebased on top of your latest master branch, with a description for each patch.

Quoted 80 lines

Please write some lines describing why this API change is needed, and how it was implemented.

Quoted 8 lines

ad9389b: Add pad-level DV timings operations
adv7511: Add pad-level DV timings operations
adv7842: Add pad-level DV timings operations
s5p-tv: hdmi: Add pad-level DV timings operations
s5p-tv: hdmiphy: Add pad-level DV timings operations
ths8200: Add pad-level DV timings operations
tvp7002: Add pad-level DV timings operations

Quoted 15 lines

media: bfin_capture: Switch to pad-level DV operations
media: davinci: vpif: Switch to pad-level DV operations
media: staging: davinci: vpfe: Switch to pad-level DV operations
s5p-tv: mixer: Switch to pad-level DV operations
ad9389b: Remove deprecated video-level DV timings operations
adv7511: Remove deprecated video-level DV timings operations
adv7842: Remove deprecated video-level DV timings operations
s5p-tv: hdmi: Remove deprecated video-level DV timings operations
s5p-tv: hdmiphy: Remove deprecated video-level DV timings operation
ths8200: Remove deprecated video-level DV timings operations
tvp7002: Remove deprecated video-level DV timings operations
v4l: Improve readability by not wrapping ioctl number #define's
v4l: Add support for DV timings ioctls on subdev nodes
v4l: Validate fields in the core code for subdev EDID ioctls
adv7604: Add 16-bit read functions for CP and HDMI

-ENODESCRIPTION. Please add a proper description to each patch.

Quoted 44 lines

adv7604: Cache register contents when reading multiple bits
adv7604: Remove subdev control handlers
adv7604: Add sink pads
adv7604: Make output format configurable through pad format operations
adv7604: Add pad-level DV timings support
adv7604: Remove deprecated video-level DV timings operations
v4l: subdev: Remove deprecated video-level DV timings operations
adv7604: Inline the to_sd function
adv7604: Store I2C addresses and clients in arrays
adv7604: Replace *_and_or() functions with *_clr_set()
adv7604: Sort headers alphabetically
adv7604: Support hot-plug detect control through a GPIO
adv7604: Specify the default input through platform data
adv7604: Add DT support
adv7604: Add LLC polarity configuration
adv7604: Add endpoint properties to DT bindings
adv7604: Set HPD GPIO direction to output

 Documentation/DocBook/media/v4l/subdev-formats.xml      |  760 ++++++++++
 .../DocBook/media/v4l/vidioc-dv-timings-cap.xml         |   27 +-
 .../DocBook/media/v4l/vidioc-enum-dv-timings.xml        |   30 +-
 Documentation/devicetree/bindings/media/i2c/adv7604.txt |   70 ++
 drivers/media/i2c/ad9389b.c                             |   64 +-
 drivers/media/i2c/adv7511.c                             |   66 +-
 drivers/media/i2c/adv7604.c                             | 1468 +++++++---
 drivers/media/i2c/adv7842.c                             |   14 +-
 drivers/media/i2c/ths8200.c                             |   10 +
 drivers/media/i2c/tvp7002.c                             |    5 +-
 drivers/media/platform/blackfin/bfin_capture.c          |    4 +-
 drivers/media/platform/davinci/vpif_capture.c           |    4 +-
 drivers/media/platform/davinci/vpif_display.c           |    4 +-
 drivers/media/platform/s5p-tv/hdmi_drv.c                |   14 +-
 drivers/media/platform/s5p-tv/hdmiphy_drv.c             |    9 +-
 drivers/media/platform/s5p-tv/mixer_video.c             |    8 +-
 drivers/media/v4l2-core/v4l2-subdev.c                   |   51 +-
 drivers/staging/media/davinci_vpfe/vpfe_video.c         |    4 +-
 include/media/adv7604.h                                 |  124 +-
 include/media/v4l2-subdev.h                             |    8 +-
 include/uapi/linux/v4l2-mediabus.h                      |   14 +-
 include/uapi/linux/v4l2-subdev.h                        |   40 +-
 include/uapi/linux/videodev2.h                          |   10 +-
 23 files changed, 2188 insertions(+), 620 deletions(-)
 create mode 100644
Quoted 1 line

Documentation/devicetree/bindings/media/i2c/adv7604.txt

There are other patches in this series lacking a proper description.

Please document them.

While here, please remove the 4 already applied patches from this series.

Signature · 3 lines
Regards,

Laurent Pinchart