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_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()
[all …]