2021-04-01 18:47:00

by Satya Priya

[permalink] [raw]
Subject: [PATCH V2 0/3] Add GPIO support for PM7325, PM8350c, PMK8350 and PMR735A

satya priya (3):
pinctrl: qcom: spmi-gpio: Add support for four variants
dt-bindings: pinctrl: qcom-pmic-gpio: Update the binding to add four
new variants
dt-bindings: pinctrl: qcom-pmic-gpio: Convert qcom pmic gpio bindings
to YAML

.../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 272 --------------------
.../bindings/pinctrl/qcom,pmic-gpio.yaml | 281 +++++++++++++++++++++
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4 +
3 files changed, 285 insertions(+), 272 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


2021-04-01 18:48:12

by Satya Priya

[permalink] [raw]
Subject: [PATCH V2 1/3] pinctrl: qcom: spmi-gpio: Add support for four variants

Add PM7325, PM8350c, PMK8350 and PMR735A compatibles for GPIO
support.

Signed-off-by: satya priya <[email protected]>
Acked-by: Bjorn Andersson <[email protected]>
---
Changes in V2:
- No change.

drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 9801c71..90f4f78 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1131,6 +1131,10 @@ static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 },
/* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */
{ .compatible = "qcom,pmx55-gpio", .data = (void *) 11 },
+ { .compatible = "qcom,pm7325-gpio", .data = (void *) 10 },
+ { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 },
+ { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 },
+ { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 },
{ },
};

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

2021-04-08 13:51:18

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH V2 0/3] Add GPIO support for PM7325, PM8350c, PMK8350 and PMR735A

On Thu, Apr 1, 2021 at 2:36 PM satya priya <[email protected]> wrote:

> satya priya (3):
> pinctrl: qcom: spmi-gpio: Add support for four variants
> dt-bindings: pinctrl: qcom-pmic-gpio: Update the binding to add four
> new variants
> dt-bindings: pinctrl: qcom-pmic-gpio: Convert qcom pmic gpio bindings
> to YAML

Please collect the ACKs and rebase like Björn says, sort stuff alphabetically
and resend so I can try to apply it! The YAML conversion may need a nod from
the DT people as well.

Yours,
Linus Walleij

2021-04-09 08:21:34

by Satya Priya

[permalink] [raw]
Subject: Re: [PATCH V2 0/3] Add GPIO support for PM7325, PM8350c, PMK8350 and PMR735A

On 2021-04-08 19:18, Linus Walleij wrote:
> On Thu, Apr 1, 2021 at 2:36 PM satya priya <[email protected]>
> wrote:
>
>> satya priya (3):
>> pinctrl: qcom: spmi-gpio: Add support for four variants
>> dt-bindings: pinctrl: qcom-pmic-gpio: Update the binding to add four
>> new variants
>> dt-bindings: pinctrl: qcom-pmic-gpio: Convert qcom pmic gpio
>> bindings
>> to YAML
>
> Please collect the ACKs and rebase like Björn says, sort stuff
> alphabetically
> and resend so I can try to apply it! The YAML conversion may need a nod
> from
> the DT people as well.
>

Sure, will address the comments and resend.

> Yours,
> Linus Walleij

Thanks,
Satya Priya