Lines Matching full:anx7688

3  * CrOS EC ANX7688 HDMI->DP bridge driver
101 struct cros_ec_anx7688 *anx7688; in cros_ec_anx7688_bridge_probe() local
106 anx7688 = devm_kzalloc(dev, sizeof(*anx7688), GFP_KERNEL); in cros_ec_anx7688_bridge_probe()
107 if (!anx7688) in cros_ec_anx7688_bridge_probe()
110 anx7688->client = client; in cros_ec_anx7688_bridge_probe()
111 i2c_set_clientdata(client, anx7688); in cros_ec_anx7688_bridge_probe()
113 anx7688->regmap = devm_regmap_init_i2c(client, &cros_ec_anx7688_regmap_config); in cros_ec_anx7688_bridge_probe()
114 if (IS_ERR(anx7688->regmap)) { in cros_ec_anx7688_bridge_probe()
115 ret = PTR_ERR(anx7688->regmap); in cros_ec_anx7688_bridge_probe()
121 ret = regmap_bulk_read(anx7688->regmap, ANX7688_VENDOR_ID_REG, in cros_ec_anx7688_bridge_probe()
136 ret = regmap_bulk_read(anx7688->regmap, ANX7688_FW_VERSION_REG, in cros_ec_anx7688_bridge_probe()
144 dev_info(dev, "ANX7688 firmware version 0x%04x\n", fw_version); in cros_ec_anx7688_bridge_probe()
146 anx7688->bridge.of_node = dev->of_node; in cros_ec_anx7688_bridge_probe()
150 anx7688->filter = true; in cros_ec_anx7688_bridge_probe()
153 DRM_WARN("Old ANX7688 FW version (0x%04x), not filtering\n", in cros_ec_anx7688_bridge_probe()
156 anx7688->bridge.funcs = &cros_ec_anx7688_bridge_funcs; in cros_ec_anx7688_bridge_probe()
157 drm_bridge_add(&anx7688->bridge); in cros_ec_anx7688_bridge_probe()
164 struct cros_ec_anx7688 *anx7688 = i2c_get_clientdata(client); in cros_ec_anx7688_bridge_remove() local
166 drm_bridge_remove(&anx7688->bridge); in cros_ec_anx7688_bridge_remove()
170 { .compatible = "google,cros-ec-anx7688" },
179 .name = "cros-ec-anx7688-bridge",
186 MODULE_DESCRIPTION("ChromeOS EC ANX7688 HDMI->DP bridge driver");