media: cec: improve err inj and cec-gpio
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | media: cec: core: add glitch error injectiondrivers/ drivers/ drivers/ | +83 | 0 replies | |
| 2/5 | media: cec: core: add rx-no-low-drive settingdrivers/ drivers/ drivers/ | +13 | 0 replies | |
| 3/5 | Documentation: media: cec: update error inj docDocumentation/ | +42 | 0 replies | |
| 4/5 | media: cec: cec-gpio: rename functionsdrivers/ | +16 | 0 replies | |
| 5/5 | media: cec: cec-gpio: reading hpd/5v is allowed to sleepdrivers/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] media: cec: improve err inj and cec-gpio
This patch series adds support for injecting 'glitches' in the CEC pulses. Proper CEC hardware will have 'deglitch' support to ignore short spikes, but if this is not done well it can actually reply with a 'Low Drive' condition, effectively making CEC impossible to use.
It is hard to reproduce this in real life, so being able to create this situation helps debugging bad CEC hardware.
The last two patches relax the requirements for the HPD and 5V
interrupts: reading the HPD/5V value is allowed to sleep. These signals are not time-sensitive, so that's fine.
Regards,
Hans
Hans Verkuil (5):
media: cec: core: add glitch error injection
media: cec: core: add rx-no-low-drive setting
Documentation: media: cec: update error inj doc
media: cec: cec-gpio: rename functions
media: cec: cec-gpio: reading hpd/5v is allowed to sleep
.../media/cec/cec-pin-error-inj.rst | 42 ++++++++++++ drivers/media/cec/core/cec-pin-error-inj.c | 59 +++++++++++++++- drivers/media/cec/core/cec-pin-priv.h | 8 +++ drivers/media/cec/core/cec-pin.c | 31 ++++++++- .../media/cec/platform/cec-gpio/cec-gpio.c | 68 ++++++++++--------- 5 files changed, 173 insertions(+), 35 deletions(-)
Signature · 1 line
2.47.2