Lines Matching full:ddc
54 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect()
64 * For DVI and HDMI connectors a DDC probe failure indicates in display_connector_detect()
77 * if drm_probe_ddc fails, as some cables don't wire the DDC in display_connector_detect()
89 return drm_edid_read_ddc(connector, conn->bridge.ddc); in display_connector_edid_read()
308 /* Retrieve the DDC I2C adapter for DVI, HDMI and VGA connectors. */ in display_connector_probe()
314 phandle = of_parse_phandle(pdev->dev.of_node, "ddc-i2c-bus", 0); in display_connector_probe()
316 conn->bridge.ddc = of_get_i2c_adapter_by_node(phandle); in display_connector_probe()
318 if (!conn->bridge.ddc) in display_connector_probe()
335 /* enable DDC */ in display_connector_probe()
339 conn->ddc_en = devm_gpiod_get_optional(&pdev->dev, "ddc-en", in display_connector_probe()
343 dev_err(&pdev->dev, "Couldn't get ddc-en gpio\n"); in display_connector_probe()
363 if (conn->bridge.ddc) in display_connector_probe()
372 "Found %s display connector '%s' %s DDC bus and %s HPD GPIO (ops 0x%x)\n", in display_connector_probe()
375 conn->bridge.ddc ? "with" : "without", in display_connector_probe()
396 if (!IS_ERR(conn->bridge.ddc)) in display_connector_remove()
397 i2c_put_adapter(conn->bridge.ddc); in display_connector_remove()