diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2019-01-31 11:35:16 +0100 |
---|---|---|
committer | Marco Felsch <m.felsch@pengutronix.de> | 2019-08-19 16:09:11 +0200 |
commit | 71a47fb26828ef563ac7178abfee4a09352fbe34 (patch) | |
tree | ab0a64ea496c6100fc9e65267f509d09f44b89ce /Documentation/media/uapi/v4l/ext-ctrls-detect.rst | |
parent | 196306e3d85886a0682e7da2c12a1b5b12f89a1e (diff) | |
download | linux-0-day-71a47fb26828ef563ac7178abfee4a09352fbe34.tar.gz linux-0-day-71a47fb26828ef563ac7178abfee4a09352fbe34.tar.xz |
media: tvp5150: add support to limit sdtv standards
The tvp5150 accepts NTSC(M,J,4.43), PAL (B,D,G,H,I,M,N) and SECAM video
data and is able to auto-detect the input signal. The auto-detection
does not work if the connector does not receive an input signal and the
tvp5150 might not be configured correctly. This misconfiguration leads
into wrong decoded video streams if the tvp5150 gets powered on before
the video signal is present.
Limit the supported sdtv standards according to the actual selected
connector to avoid a misconfiguration.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
[1] https://patchwork.kernel.org/cover/10794703/
v8:
- adapt commit message
- fix rebasing issue
- apdapt to new v4l2_fwnode_connector_analog naming
- fix cur_connector update during tvp5150_link_setup()
-> Only update if we have of-connectors.
- fix supported_stds detection during tvp5150_s_std()
-> use connectors_num to detect of-connectors presence
v5:
- probe() initialize supported tv-norms according the given connectors
if they are available.
- check if media-controller is used. Don't limit the norm if it isn't
used.
- add more logic to be smarter during connector changing so it is
intuitiver for the user space.
v2-v4:
- nothing since the patch was squashed from series [1] into this
series.
Diffstat (limited to 'Documentation/media/uapi/v4l/ext-ctrls-detect.rst')
0 files changed, 0 insertions, 0 deletions