media: cec: core: add rx-no-low-drive setting
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 30 Jun 2025 11:08:47 +0000 (13:08 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jul 2025 06:35:26 +0000 (08:35 +0200)
commita9fc2adc142379ffb10e28c580470bc7ddb2e06c
treecdd4ea7eceb1978c21f634bc9964fc8e947d2dbf
parent36e713438ae3519ef46f3dd1093045627718311b
media: cec: core: add rx-no-low-drive setting

If rx-no-low-drive is set, then the CEC pin framework will disable
the detection of situations where a Low Drive has to be generated.

So if this is set, then we will never generate Low Drives.

This helps testing whether other CEC devices generate Low Drive
pulses by ensuring it is not us that is generating them.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/cec/core/cec-pin-error-inj.c
drivers/media/cec/core/cec-pin-priv.h
drivers/media/cec/core/cec-pin.c