linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/11] Initial Fairphone 4 support
@ 2021-10-07 21:24 Luca Weiss
  2021-10-07 21:24 ` [PATCH v2 04/11] dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350 Luca Weiss
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Luca Weiss @ 2021-10-07 21:24 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, konrad.dybcio, Luca Weiss,
	AngeloGioacchino Del Regno, Bjorn Andersson, David Collins,
	Greg Kroah-Hartman, Hector Martin, Lorenzo Pieralisi, Mark Brown,
	Rob Herring, Stephen Boyd, Stephen Boyd, Sudeep Holla, Vinod Koul,
	Viresh Kumar, devicetree, linux-clk, linux-gpio, linux-kernel

This series adds basic support for the recently announced Fairphone 4
smartphone, based on the Snapdragon 750G (sm7225).

This adds support for UART, power & volume buttons, screen based on
simple-framebuffer, regulators and USB.

v2 fixes some stylistic problems in dts and corrects the situation with
pm6350 regulator supplies.

Luca Weiss (11):
  clk: qcom: add select QCOM_GDSC for SM6350
  dt-bindings: regulator: qcom,rpmh: Add compatible for PM6350
  regulator: qcom-rpmh: Add PM6350 regulators
  dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350
  pinctrl: qcom: spmi-gpio: Add compatible for PM6350
  arm64: dts: qcom: Add PM6350 PMIC
  arm64: dts: qcom: sm6350: add debug uart
  dt-bindings: arm: cpus: Add Kryo 570 CPUs
  dt-bindings: arm: qcom: Document sm7225 and fairphone,fp4 board
  arm64: dts: qcom: Add SM7225 device tree
  arm64: dts: qcom: sm7225: Add device tree for Fairphone 4

 .../devicetree/bindings/arm/cpus.yaml         |   1 +
 .../devicetree/bindings/arm/qcom.yaml         |   6 +
 .../bindings/pinctrl/qcom,pmic-gpio.yaml      |   2 +
 .../regulator/qcom,rpmh-regulator.yaml        |   2 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 arch/arm64/boot/dts/qcom/pm6350.dtsi          |  54 +++
 arch/arm64/boot/dts/qcom/sm6350.dtsi          |  31 ++
 .../boot/dts/qcom/sm7225-fairphone-fp4.dts    | 320 ++++++++++++++++++
 arch/arm64/boot/dts/qcom/sm7225.dtsi          |  16 +
 drivers/clk/qcom/Kconfig                      |   1 +
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c      |   1 +
 drivers/regulator/qcom-rpmh-regulator.c       |  32 ++
 12 files changed, 467 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/pm6350.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
 create mode 100644 arch/arm64/boot/dts/qcom/sm7225.dtsi

-- 
2.33.0


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

* [PATCH v2 04/11] dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350
  2021-10-07 21:24 [PATCH v2 00/11] Initial Fairphone 4 support Luca Weiss
@ 2021-10-07 21:24 ` Luca Weiss
  2021-10-12 23:48   ` Linus Walleij
  2021-10-07 21:24 ` [PATCH v2 05/11] pinctrl: qcom: spmi-gpio: " Luca Weiss
  2021-10-22  0:52 ` (subset) [PATCH v2 00/11] Initial Fairphone 4 support Mark Brown
  2 siblings, 1 reply; 6+ messages in thread
From: Luca Weiss @ 2021-10-07 21:24 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, konrad.dybcio, Luca Weiss, Andy Gross,
	Bjorn Andersson, Linus Walleij, Rob Herring, linux-gpio,
	devicetree, linux-kernel

Add pmic-gpio compatible string for pm6350 pmic.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
index 9bd01db37dcd..1e5153f10ca1 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
@@ -21,6 +21,7 @@ properties:
           - qcom,pm660l-gpio
           - qcom,pm6150-gpio
           - qcom,pm6150l-gpio
+          - qcom,pm6350-gpio
           - qcom,pm7325-gpio
           - qcom,pm8005-gpio
           - qcom,pm8008-gpio
@@ -103,6 +104,7 @@ $defs:
           this subnode.  Valid pins are
                  - gpio1-gpio10 for pm6150
                  - gpio1-gpio12 for pm6150l
+                 - gpio1-gpio9 for pm6350
                  - gpio1-gpio10 for pm7325
                  - gpio1-gpio4 for pm8005
                  - gpio1-gpio2 for pm8008
-- 
2.33.0


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

* [PATCH v2 05/11] pinctrl: qcom: spmi-gpio: Add compatible for PM6350
  2021-10-07 21:24 [PATCH v2 00/11] Initial Fairphone 4 support Luca Weiss
  2021-10-07 21:24 ` [PATCH v2 04/11] dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350 Luca Weiss
@ 2021-10-07 21:24 ` Luca Weiss
  2021-10-12 23:48   ` Linus Walleij
  2021-10-22  0:52 ` (subset) [PATCH v2 00/11] Initial Fairphone 4 support Mark Brown
  2 siblings, 1 reply; 6+ messages in thread
From: Luca Weiss @ 2021-10-07 21:24 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, konrad.dybcio, Luca Weiss,
	Bjorn Andersson, Andy Gross, Linus Walleij, linux-gpio,
	linux-kernel

Add support for the GPIO controller in the pm6350 PMIC.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 98bf0e2a2a8d..55a9227a87fd 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1110,6 +1110,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
 	{ .compatible = "qcom,pm660l-gpio", .data = (void *) 12 },
 	{ .compatible = "qcom,pm6150-gpio", .data = (void *) 10 },
 	{ .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 },
+	{ .compatible = "qcom,pm6350-gpio", .data = (void *) 9 },
 	{ .compatible = "qcom,pm7325-gpio", .data = (void *) 10 },
 	{ .compatible = "qcom,pm8005-gpio", .data = (void *) 4 },
 	{ .compatible = "qcom,pm8008-gpio", .data = (void *) 2 },
-- 
2.33.0


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

* Re: [PATCH v2 04/11] dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350
  2021-10-07 21:24 ` [PATCH v2 04/11] dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350 Luca Weiss
@ 2021-10-12 23:48   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2021-10-12 23:48 UTC (permalink / raw)
  To: Luca Weiss
  Cc: MSM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS <devicetree@vger.kernel.org>, Hans de Goede <hdegoede@redhat.com>, Andy Shevchenko <andy.shevchenko@gmail.com>,,
	Konrad Dybcio, Andy Gross, Bjorn Andersson, Rob Herring,
	open list:GPIO SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-kernel

On Thu, Oct 7, 2021 at 11:25 PM Luca Weiss <luca@z3ntu.xyz> wrote:

> Add pmic-gpio compatible string for pm6350 pmic.
>
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>

Patch applied as obviously uncontroversial.
No need to resend this one.

Yours,
Linus Walleij

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

* Re: [PATCH v2 05/11] pinctrl: qcom: spmi-gpio: Add compatible for PM6350
  2021-10-07 21:24 ` [PATCH v2 05/11] pinctrl: qcom: spmi-gpio: " Luca Weiss
@ 2021-10-12 23:48   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2021-10-12 23:48 UTC (permalink / raw)
  To: Luca Weiss
  Cc: MSM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS <devicetree@vger.kernel.org>, Hans de Goede <hdegoede@redhat.com>, Andy Shevchenko <andy.shevchenko@gmail.com>,,
	Konrad Dybcio, Bjorn Andersson, Andy Gross,
	open list:GPIO SUBSYSTEM, linux-kernel

On Thu, Oct 7, 2021 at 11:25 PM Luca Weiss <luca@z3ntu.xyz> wrote:

> Add support for the GPIO controller in the pm6350 PMIC.
>
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>

Patch applied as obviously uncontroversial.
No need to resend this one.

Yours,
Linus Walleij

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

* Re: (subset) [PATCH v2 00/11] Initial Fairphone 4 support
  2021-10-07 21:24 [PATCH v2 00/11] Initial Fairphone 4 support Luca Weiss
  2021-10-07 21:24 ` [PATCH v2 04/11] dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350 Luca Weiss
  2021-10-07 21:24 ` [PATCH v2 05/11] pinctrl: qcom: spmi-gpio: " Luca Weiss
@ 2021-10-22  0:52 ` Mark Brown
  2 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2021-10-22  0:52 UTC (permalink / raw)
  To: linux-arm-msm, Luca Weiss
  Cc: Mark Brown, ~postmarketos/upstreaming, AngeloGioacchino Del Regno,
	Viresh Kumar, Sudeep Holla, David Collins, linux-gpio,
	Lorenzo Pieralisi, Bjorn Andersson, Rob Herring, linux-clk,
	Vinod Koul, devicetree, Stephen Boyd, konrad.dybcio, linux-kernel,
	Hector Martin, Greg Kroah-Hartman, Stephen Boyd

On Thu, 7 Oct 2021 23:24:27 +0200, Luca Weiss wrote:
> This series adds basic support for the recently announced Fairphone 4
> smartphone, based on the Snapdragon 750G (sm7225).
> 
> This adds support for UART, power & volume buttons, screen based on
> simple-framebuffer, regulators and USB.
> 
> v2 fixes some stylistic problems in dts and corrects the situation with
> pm6350 regulator supplies.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[02/11] dt-bindings: regulator: qcom,rpmh: Add compatible for PM6350
        commit: 12271ba94530e7476eff09e98a7de10c31f5d474
[03/11] regulator: qcom-rpmh: Add PM6350 regulators
        commit: 0adafd62505ccb4787d4918fd0b4ca126b754453

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

end of thread, other threads:[~2021-10-22  0:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-07 21:24 [PATCH v2 00/11] Initial Fairphone 4 support Luca Weiss
2021-10-07 21:24 ` [PATCH v2 04/11] dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for PM6350 Luca Weiss
2021-10-12 23:48   ` Linus Walleij
2021-10-07 21:24 ` [PATCH v2 05/11] pinctrl: qcom: spmi-gpio: " Luca Weiss
2021-10-12 23:48   ` Linus Walleij
2021-10-22  0:52 ` (subset) [PATCH v2 00/11] Initial Fairphone 4 support Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).