Lines Matching refs:of_node
282 hdmi->irq = irq_of_parse_and_map(pdev->dev.of_node, 0); in hdmi_modeset_init()
402 static int get_gpio(struct device *dev, struct device_node *of_node, const char *name) in get_gpio() argument
404 int gpio = of_get_named_gpio(of_node, name, 0); in get_gpio()
408 gpio = of_get_named_gpio(of_node, name2, 0); in get_gpio()
425 struct device_node *of_node = dev->of_node; in hdmi_bind() local
428 match = of_match_node(dt_match, of_node); in hdmi_bind()
433 dev_err(dev, "unknown phy: %s\n", of_node->name); in hdmi_bind()
439 hdmi_cfg->ddc_clk_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-ddc-clk"); in hdmi_bind()
440 hdmi_cfg->ddc_data_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-ddc-data"); in hdmi_bind()
441 hdmi_cfg->hpd_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-hpd"); in hdmi_bind()
442 hdmi_cfg->mux_en_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-mux-en"); in hdmi_bind()
443 hdmi_cfg->mux_sel_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-mux-sel"); in hdmi_bind()
444 hdmi_cfg->mux_lpm_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-mux-lpm"); in hdmi_bind()