2024-04-23 17:23:33

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v2 0/4] PCI: controller: Move to agnostic GPIO API

Convert the PCI controller drivers to use GPIO agnostic API.
While at it, remove of_gpio.h leftover from some of the drivers.

In v2:
- combined previously sent patches into a series (Manivannan)
- added tags (Rob, Manivannan)
- converted iMX.6 driver (Manivannan)
- dropped leftover in aadvark drivers (Manivannan)

Andy Shevchenko (4):
PCI: aardvark: Remove unused of_gpio.h
PCI: dwc: Remove unused of_gpio.h
PCI: imx6: Convert to agnostic GPIO API
PCI: kirin: Convert to agnostic GPIO API

drivers/pci/controller/dwc/pci-dra7xx.c | 1 -
drivers/pci/controller/dwc/pci-imx6.c | 37 +++-----
drivers/pci/controller/dwc/pci-meson.c | 1 -
drivers/pci/controller/dwc/pcie-kirin.c | 105 +++++++--------------
drivers/pci/controller/dwc/pcie-qcom.c | 1 -
drivers/pci/controller/dwc/pcie-tegra194.c | 2 -
drivers/pci/controller/pci-aardvark.c | 1 -
7 files changed, 49 insertions(+), 99 deletions(-)

--
2.43.0.rc1.1336.g36b5255a03ac



2024-04-23 23:32:32

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v2 1/4] PCI: aardvark: Remove unused of_gpio.h

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/pci/controller/pci-aardvark.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/pci/controller/pci-aardvark.c b/drivers/pci/controller/pci-aardvark.c
index 71ecd7ddcc8a..8b3e1a079cf3 100644
--- a/drivers/pci/controller/pci-aardvark.c
+++ b/drivers/pci/controller/pci-aardvark.c
@@ -23,7 +23,6 @@
#include <linux/platform_device.h>
#include <linux/msi.h>
#include <linux/of_address.h>
-#include <linux/of_gpio.h>
#include <linux/of_pci.h>

#include "../pci.h"
--
2.43.0.rc1.1336.g36b5255a03ac


2024-04-26 18:33:32

by Andy Shevchenko

[permalink] [raw]
Subject: Re: [PATCH v2 0/4] PCI: controller: Move to agnostic GPIO API

On Tue, Apr 23, 2024 at 08:19:03PM +0300, Andy Shevchenko wrote:
> Convert the PCI controller drivers to use GPIO agnostic API.
> While at it, remove of_gpio.h leftover from some of the drivers.

So, can we move forward with this series and its prerequisite?

--
With Best Regards,
Andy Shevchenko



2024-04-27 06:38:57

by Manivannan Sadhasivam

[permalink] [raw]
Subject: Re: [PATCH v2 1/4] PCI: aardvark: Remove unused of_gpio.h

On Tue, Apr 23, 2024 at 08:19:04PM +0300, Andy Shevchenko wrote:
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it, simply remove the unused header.
>
> Signed-off-by: Andy Shevchenko <[email protected]>

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

- Mani

> ---
> drivers/pci/controller/pci-aardvark.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pci/controller/pci-aardvark.c b/drivers/pci/controller/pci-aardvark.c
> index 71ecd7ddcc8a..8b3e1a079cf3 100644
> --- a/drivers/pci/controller/pci-aardvark.c
> +++ b/drivers/pci/controller/pci-aardvark.c
> @@ -23,7 +23,6 @@
> #include <linux/platform_device.h>
> #include <linux/msi.h>
> #include <linux/of_address.h>
> -#include <linux/of_gpio.h>
> #include <linux/of_pci.h>
>
> #include "../pci.h"
> --
> 2.43.0.rc1.1336.g36b5255a03ac
>

--
மணிவண்ணன் சதாசிவம்