2020-10-08 21:57:17

by Cristian Ciocaltea

[permalink] [raw]
Subject: [PATCH 3/3] 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 <[email protected]>
Signed-off-by: Cristian Ciocaltea <[email protected]>
---
drivers/i2c/busses/i2c-owl.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/i2c-owl.c b/drivers/i2c/busses/i2c-owl.c
index 547132768119..ed3942051845 100644
--- a/drivers/i2c/busses/i2c-owl.c
+++ b/drivers/i2c/busses/i2c-owl.c
@@ -521,6 +521,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);
--
2.28.0


2020-10-11 18:07:02

by Manivannan Sadhasivam

[permalink] [raw]
Subject: Re: [PATCH 3/3] i2c: owl: Enable asynchronous probing

On Fri, Oct 09, 2020 at 12:44:41AM +0300, Cristian Ciocaltea wrote:
> 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 <[email protected]>
> Signed-off-by: Cristian Ciocaltea <[email protected]>

Reviewed-by: Manivannan Sadhasivam <[email protected]>

Thanks,
Mani

> ---
> drivers/i2c/busses/i2c-owl.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/i2c/busses/i2c-owl.c b/drivers/i2c/busses/i2c-owl.c
> index 547132768119..ed3942051845 100644
> --- a/drivers/i2c/busses/i2c-owl.c
> +++ b/drivers/i2c/busses/i2c-owl.c
> @@ -521,6 +521,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);
> --
> 2.28.0
>

2020-10-12 20:25:40

by Cristian Ciocaltea

[permalink] [raw]
Subject: Re: [PATCH 3/3] i2c: owl: Enable asynchronous probing

On Sun, Oct 11, 2020 at 07:36:45PM +0530, Manivannan Sadhasivam wrote:
> On Fri, Oct 09, 2020 at 12:44:41AM +0300, Cristian Ciocaltea wrote:
> > 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 <[email protected]>
> > Signed-off-by: Cristian Ciocaltea <[email protected]>
>
> Reviewed-by: Manivannan Sadhasivam <[email protected]>
>
> Thanks,
> Mani

Thanks for reviewing,
Cristi

2020-11-03 21:34:35

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH 3/3] i2c: owl: Enable asynchronous probing

On Fri, Oct 09, 2020 at 12:44:41AM +0300, Cristian Ciocaltea wrote:
> 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 <[email protected]>
> Signed-off-by: Cristian Ciocaltea <[email protected]>

Applied to for-next, thanks!


Attachments:
(No filename) (474.00 B)
signature.asc (849.00 B)
Download all attachments