All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] pinctrl: qcom-pmic-gpio: Add support for pm8450
@ 2022-03-15  9:11 Dmitry Baryshkov
  2022-03-15 10:33 ` Krzysztof Kozlowski
  2022-03-24 22:31 ` Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Baryshkov @ 2022-03-15  9:11 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Linus Walleij, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-gpio, devicetree

PM8450 provides 4 GPIOs. Add a compatible entry for this GPIO block.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Changes since v1:
 - Added dt-bindings entry to the pinctrl/qcom,pmic-gpio.yaml
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 1 +
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c                      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
index 9400b665a46f..fe2bcf0694d9 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
@@ -36,6 +36,7 @@ properties:
           - qcom,pm8350-gpio
           - qcom,pm8350b-gpio
           - qcom,pm8350c-gpio
+          - qcom,pm8450-gpio
           - qcom,pm8916-gpio
           - qcom,pm8917-gpio
           - qcom,pm8921-gpio
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index f2eac3b05d67..4fbf8d3938ef 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1164,6 +1164,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
 	{ .compatible = "qcom,pm8350-gpio", .data = (void *) 10 },
 	{ .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 },
 	{ .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 },
+	{ .compatible = "qcom,pm8450-gpio", .data = (void *) 4 },
 	{ .compatible = "qcom,pm8916-gpio", .data = (void *) 4 },
 	{ .compatible = "qcom,pm8941-gpio", .data = (void *) 36 },
 	/* pm8950 has 8 GPIOs with holes on 3 */
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] pinctrl: qcom-pmic-gpio: Add support for pm8450
  2022-03-15  9:11 [PATCH v2] pinctrl: qcom-pmic-gpio: Add support for pm8450 Dmitry Baryshkov
@ 2022-03-15 10:33 ` Krzysztof Kozlowski
  2022-03-15 11:06   ` Dmitry Baryshkov
  2022-03-24 22:31 ` Linus Walleij
  1 sibling, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-15 10:33 UTC (permalink / raw)
  To: Dmitry Baryshkov, Andy Gross, Bjorn Andersson, Linus Walleij,
	Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-gpio, devicetree

On 15/03/2022 10:11, Dmitry Baryshkov wrote:
> PM8450 provides 4 GPIOs. Add a compatible entry for this GPIO block.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> Changes since v1:
>  - Added dt-bindings entry to the pinctrl/qcom,pmic-gpio.yaml

This should be a separate patch.


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] pinctrl: qcom-pmic-gpio: Add support for pm8450
  2022-03-15 10:33 ` Krzysztof Kozlowski
@ 2022-03-15 11:06   ` Dmitry Baryshkov
  2022-03-15 12:10     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Baryshkov @ 2022-03-15 11:06 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Linus Walleij,
	Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-gpio, devicetree

On 15/03/2022 13:33, Krzysztof Kozlowski wrote:
> On 15/03/2022 10:11, Dmitry Baryshkov wrote:
>> PM8450 provides 4 GPIOs. Add a compatible entry for this GPIO block.
>>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> ---
>> Changes since v1:
>>   - Added dt-bindings entry to the pinctrl/qcom,pmic-gpio.yaml
> 
> This should be a separate patch.

Quoting Linus Wallej:
 > I am fine with bindings being fixed in the same patch for this type
 > of oneliners.

So, I added it to the same patch.

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] pinctrl: qcom-pmic-gpio: Add support for pm8450
  2022-03-15 11:06   ` Dmitry Baryshkov
@ 2022-03-15 12:10     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-15 12:10 UTC (permalink / raw)
  To: Dmitry Baryshkov, Andy Gross, Bjorn Andersson, Linus Walleij,
	Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-gpio, devicetree

On 15/03/2022 12:06, Dmitry Baryshkov wrote:
> On 15/03/2022 13:33, Krzysztof Kozlowski wrote:
>> On 15/03/2022 10:11, Dmitry Baryshkov wrote:
>>> PM8450 provides 4 GPIOs. Add a compatible entry for this GPIO block.
>>>
>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>> ---
>>> Changes since v1:
>>>   - Added dt-bindings entry to the pinctrl/qcom,pmic-gpio.yaml
>>
>> This should be a separate patch.
> 
> Quoting Linus Wallej:
>  > I am fine with bindings being fixed in the same patch for this type
>  > of oneliners.
> 
> So, I added it to the same patch.

ok, then:

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] pinctrl: qcom-pmic-gpio: Add support for pm8450
  2022-03-15  9:11 [PATCH v2] pinctrl: qcom-pmic-gpio: Add support for pm8450 Dmitry Baryshkov
  2022-03-15 10:33 ` Krzysztof Kozlowski
@ 2022-03-24 22:31 ` Linus Walleij
  1 sibling, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2022-03-24 22:31 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, linux-gpio, devicetree

On Tue, Mar 15, 2022 at 10:11 AM Dmitry Baryshkov
<dmitry.baryshkov@linaro.org> wrote:

> PM8450 provides 4 GPIOs. Add a compatible entry for this GPIO block.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-24 22:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15  9:11 [PATCH v2] pinctrl: qcom-pmic-gpio: Add support for pm8450 Dmitry Baryshkov
2022-03-15 10:33 ` Krzysztof Kozlowski
2022-03-15 11:06   ` Dmitry Baryshkov
2022-03-15 12:10     ` Krzysztof Kozlowski
2022-03-24 22:31 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.