Home
last modified time | relevance | path

Searched refs:anx7688 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/bridge/
H A Dcros-ec-anx7688.c101 struct cros_ec_anx7688 *anx7688; in cros_ec_anx7688_bridge_probe() local
106 anx7688 = devm_drm_bridge_alloc(dev, struct cros_ec_anx7688, bridge, in cros_ec_anx7688_bridge_probe()
108 if (IS_ERR(anx7688)) in cros_ec_anx7688_bridge_probe()
109 return PTR_ERR(anx7688); in cros_ec_anx7688_bridge_probe()
111 anx7688->client = client; in cros_ec_anx7688_bridge_probe()
112 i2c_set_clientdata(client, anx7688); in cros_ec_anx7688_bridge_probe()
114 anx7688->regmap = devm_regmap_init_i2c(client, &cros_ec_anx7688_regmap_config); in cros_ec_anx7688_bridge_probe()
115 if (IS_ERR(anx7688->regmap)) { in cros_ec_anx7688_bridge_probe()
116 ret = PTR_ERR(anx7688->regmap); in cros_ec_anx7688_bridge_probe()
122 ret = regmap_bulk_read(anx7688->regmap, ANX7688_VENDOR_ID_REG, in cros_ec_anx7688_bridge_probe()
[all …]