Lines Matching refs:of_node
245 hdmi->irq = irq_of_parse_and_map(pdev->dev.of_node, 0); in hdmi_modeset_init()
342 static int get_gpio(struct device *dev, struct device_node *of_node, const char *name) in get_gpio() argument
344 int gpio = of_get_named_gpio(of_node, name, 0); in get_gpio()
348 gpio = of_get_named_gpio(of_node, name2, 0); in get_gpio()
366 struct device_node *of_node = dev->of_node; in hdmi_bind() local
369 match = of_match_node(dt_match, of_node); in hdmi_bind()
374 dev_err(dev, "unknown phy: %s\n", of_node->name); in hdmi_bind()
379 hdmi_cfg->ddc_clk_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-ddc-clk"); in hdmi_bind()
380 hdmi_cfg->ddc_data_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-ddc-data"); in hdmi_bind()
381 hdmi_cfg->hpd_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-hpd"); in hdmi_bind()
382 hdmi_cfg->mux_en_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-mux-en"); in hdmi_bind()
383 hdmi_cfg->mux_sel_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-mux-sel"); in hdmi_bind()
384 hdmi_cfg->mux_lpm_gpio = get_gpio(dev, of_node, "qcom,hdmi-tx-mux-lpm"); in hdmi_bind()