aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorGravatar Cristian Ciocaltea <cristian.ciocaltea@gmail.com> 2020-10-09 00:44:41 +0300
committerGravatar Wolfram Sang <wsa@kernel.org> 2020-11-03 21:57:11 +0100
commit46f8bfebf3a2ddfe949d45a1b63556de4354e706 (patch)
treed66698382b7b20fc140d07c6c3505c518d1c1948 /drivers/i2c
parenti2c: owl: Add support for atomic transfers (diff)
downloadlinux-46f8bfebf3a2ddfe949d45a1b63556de4354e706.tar.gz
linux-46f8bfebf3a2ddfe949d45a1b63556de4354e706.tar.bz2
linux-46f8bfebf3a2ddfe949d45a1b63556de4354e706.zip
i2c: owl: Enable asynchronous probing
Speed up the boot process by using the asynchronous probing feature supported by the recent kernels. For SBCs based on the Actions Semi S500 SoC, the overall boot time is expected to be reduced by 200-300 ms. Suggested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-owl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-owl.c b/drivers/i2c/busses/i2c-owl.c
index de3e107ab8d2..5cf5a119a6ad 100644
--- a/drivers/i2c/busses/i2c-owl.c
+++ b/drivers/i2c/busses/i2c-owl.c
@@ -519,6 +519,7 @@ static struct platform_driver owl_i2c_driver = {
.driver = {
.name = "owl-i2c",
.of_match_table = of_match_ptr(owl_i2c_of_match),
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
},
};
module_platform_driver(owl_i2c_driver);