Re: [PATCH v3 6/7] i2c: ChromeOS EC tunnel driver
From: Rahul Sharma <hidden>
Date: 2014-05-06 10:55:54
Hi Doug, On 30 April 2014 23:14, Doug Anderson [off-list ref] wrote:
On ARM Chromebooks we have a few devices that are accessed by both the AP (the main "Application Processor") and the EC (the Embedded Controller). These are:
[snip]
+ .remove = ec_i2c_remove,
+ .driver = {
+ .name = "cros-ec-i2c-tunnel",
+ },
+};
+
+module_platform_driver(ec_i2c_tunnel_driver);In peach-pit, tps65090 is connected to i2c tunnel which provides regulators for lcd, led and hdmi. We need to make all regulators available before platform devices get probed. Shall it be changed to subsys_initcall like other i2c controllers ? Regards, Rahul Sharma
quoted hunk ↗ jump to hunk
+ +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("EC I2C tunnel driver"); +MODULE_ALIAS("platform:cros-ec-i2c-tunnel");diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c index c58ab96..61bc909 100644 --- a/drivers/mfd/cros_ec.c +++ b/drivers/mfd/cros_ec.c@@ -90,6 +90,11 @@ static const struct mfd_cell cros_devs[] = { .id = 1, .of_compatible = "google,cros-ec-keyb", }, + { + .name = "cros-ec-i2c-tunnel", + .id = 2, + .of_compatible = "google,cros-ec-i2c-tunnel", + }, }; int cros_ec_register(struct cros_ec_device *ec_dev) --1.9.1.423.g4596e3a -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html