[PATCH 1/3] dt-bindings: display: synopsys, dw-hdmi: Add property for disabling CEC

Jernej Skrabec jernej.skrabec at gmail.com
Sat Apr 15 10:46:11 UTC 2023


Even though some DW-HDMI controllers have perfectly usable HDMI-CEC
implementation, some boards might prefer not to use it or even use
software implementation instead.

Add property for disabling CEC so driver doesn't expose unused CEC
interface, if CEC pin isn't connected anywhere.

Signed-off-by: Jernej Skrabec <jernej.skrabec at gmail.com>
---
 .../devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml
index 4b7e54a8f037..624d32c024f6 100644
--- a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml
@@ -48,6 +48,11 @@ properties:
   interrupts:
     maxItems: 1
 
+  snps,disable-cec:
+    $ref: /schemas/types.yaml#/definitions/flag
+    description:
+      Disable HDMI-CEC.
+
 additionalProperties: true
 
 ...
-- 
2.40.0



More information about the dri-devel mailing list