Skip to contentSkip to conversation

Misc SOQuartz Enablement

PATCH Applied Nicolas Frattaroli 3 participants 8 messages Nov 16, 2022 – Nov 22, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover Misc SOQuartz Enablement

This series adds the following:
* SOQuartz Blade bindings (patch 1)
* SOQuartz Blade device tree (patch 2)
* SOQuartz Model A bindings (patch 3)
* SOQuartz Model A device tree (patch 4)

The name of this patch series is a bit inaccurate as it has evolved, now entirely consisting of new baseboards for the SOQuartz. Nevertheless I chose to keep it as to make it easier for maintainers to track what this is a follow-up to.

In V3, we add another official PINE64 baseboard (I'm sorry), as it depended on the now merged patches, and I didn't want to needlessly cause conflicts with the blade patches, so it goes in the same series. The added baseboard is the SOQuartz "Model A", which is not to be confused with the Quartz64 Model A.

This will be the last new board added through this series as I don't want to keep expanding it. Any prospective v4 will only contain fixes in response to reviews.

For anyone fancying a deeper dive during a review, the schematics for Blade[1] and Model A[2] are publicly available. The SoM schematics are also officially released[3].

[1]: https://files.pine64.org/doc/quartz64/SOQuartz-BLADE-Baseboard-Schematic-20220522.pdf
[2]: https://files.pine64.org/doc/quartz64/SOQuartz-Model-A-Baseboard-Schematic-20220522.pdf
[3]: https://files.pine64.org/doc/quartz64/SOQuartz_SOM_schematic_v1.1_20210816.pdf

Changes to v2:
- alphabetically sort blade binding
- add git commit message to blade binding
- add SOQuartz Model A bindings
- add SOQuartz Model A device tree
- drop patches that have been applied by Heiko
Changes to v1:
- added pcie-clkreq-h to soquartz pinctrl
- added blade base board (by Andrew "neggles" Powers-Holmes)

Andrew Powers-Holmes (2):
arm64: dts: rockchip: Add SOQuartz blade board
arm64: dts: rockchip: rk3566: Add SOQuartz Model A baseboard

Nicolas Frattaroli (2):
dt-bindings: arm: rockchip: Add SOQuartz Blade
dt-bindings: arm: rockchip: Add SOQuartz Model A

 .../devicetree/bindings/arm/rockchip.yaml     |   2 +
 arch/arm64/boot/dts/rockchip/Makefile         |   2 +
 .../dts/rockchip/rk3566-soquartz-blade.dts    | 194 +++++++++++++++
 .../dts/rockchip/rk3566-soquartz-model-a.dts  | 232 ++++++++++++++++++
 4 files changed, 430 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-soquartz-blade.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-soquartz-model-a.dts
Signature · 7 lines
2.38.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
#1 lore raw

PATCH v3 1/4 dt-bindings: arm: rockchip: Add SOQuartz Blade

This adds an enum for the SOQuartz Blade base board to the rockchip platforms binding.

The SOQuartz Blade is a PoE-capable carrier board for the CM4 SoM form factor, designed around the SOQuartz CM4 System-on-Module.

The board features the usual connectivity (GPIO, USB, HDMI, Ethernet) and an M.2 slot for SSDs. It may also be powered from a 5V barrel jack input, and has a 3.5mm jack for UART debug output.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +1 -0
index e40a3da90000..19797aca1fa0 100644
@@ -578,6 +578,7 @@ properties:
       - description: Pine64 SoQuartz SoM
         items:
           - enum:
+              - pine64,soquartz-blade
               - pine64,soquartz-cm4io
           - const: pine64,soquartz
           - const: rockchip,rk3566
Signature · 7 lines
2.38.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
Acked-by on v3 1/4
#2 lore raw

Re: [PATCH v3 1/4] dt-bindings: arm: rockchip: Add SOQuartz Blade

Quoted 1 line · Nicolas Frattaroli

This adds an enum for the SOQuartz Blade base board to the rockchip

Do not use "This commit/patch".
https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95

Quoted 1 line

platforms binding.

You do not add enum. You add compatible for the or document the SOQuartz Blade.

Best regards,
Krzysztof

#3 lore raw

PATCH v3 2/4 arm64: dts: rockchip: Add SOQuartz blade board

In reply to Nicolas Frattaroli

From: Andrew Powers-Holmes <[email protected]>

This adds a device tree for the PINE64 SOQuartz blade baseboard, a 1U rack mountable baseboard for the CM4 form factor with PoE support designed for the SOQuartz CM4 System-on-Module.

The board takes power from either PoE or a 5V DC input, and allows for mounting an M.2 SSD.

The board also features one USB 2.0 host port, one HDMI output, a 3.5mm jack for UART, and the aforementioned gigabit networking port.

[rebase, squash, reword, misc fixes]
---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3566-soquartz-blade.dts    | 194 ++++++++++++++++++
 2 files changed, 195 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-soquartz-blade.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 832613143030..528a02b11552 100644
@@ -71,6 +71,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinenote-v1.2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-a.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-b.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-roc-pc.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-blade.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-cm4.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
arch/arm64/boot/dts/rockchip/rk3566-soquartz-blade.dts new file +194 -0

194 lines not on this page · raw message

Signature · 7 lines
2.38.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
#4 lore raw

PATCH v3 3/4 dt-bindings: arm: rockchip: Add SOQuartz Model A

In reply to Nicolas Frattaroli

The SOQuartz Model A base board is a carrier board for the CM4 form factor, designed around the PINE64 SOQuartz CM4 SoM.

The board sports "Model A" dimensions like the Quartz64 Model A, but is not to be confused with that.

As for I/O, it features USB 2 ports, Gigabit Ethernet, a PCIe 2 x1 slot, HDMI, a 40-pin GPIO header, CSI/DSI connectors, an eDP flat-flex cable connector, a 12V DC barrel jack for power input and power/reset buttons as well as a microSD card slot.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +1 -0
index 19797aca1fa0..1eff0afc19a1 100644
@@ -580,6 +580,7 @@ properties:
           - enum:
               - pine64,soquartz-blade
               - pine64,soquartz-cm4io
+              - pine64,soquartz-model-a
           - const: pine64,soquartz
           - const: rockchip,rk3566
 
Signature · 7 lines
2.38.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
Acked-by on v3 3/4
#5 lore raw

Re: [PATCH v3 3/4] dt-bindings: arm: rockchip: Add SOQuartz Model A

Quoted 6 lines · Nicolas Frattaroli

The SOQuartz Model A base board is a carrier board for the CM4 form factor, designed around the PINE64 SOQuartz CM4 SoM.

The board sports "Model A" dimensions like the Quartz64 Model A, but is not to be confused with that.

Quoted 7 lines

As for I/O, it features USB 2 ports, Gigabit Ethernet, a PCIe 2 x1 slot, HDMI, a 40-pin GPIO header, CSI/DSI connectors, an eDP flat-flex cable connector, a 12V DC barrel jack for power input and power/reset buttons as well as a microSD card slot.

---

Best regards,
Krzysztof

#6 lore raw

PATCH v3 4/4 arm64: dts: rockchip: rk3566: Add SOQuartz Model A baseboard

In reply to Nicolas Frattaroli

From: Andrew Powers-Holmes <[email protected]>

This patch adds the device tree for the "Model A" baseboard for the SOQuartz CM4 SoM, which is not to be confused with the Quartz64 Model A, which is the same form factor and SoC, but is not a CM4 carrier board.

The board features a PCIe 2 x1 slot, USB 2 host ports, CSI/DSI connectors, an eDP FFC connector, gigabit ethernet, HDMI, and a 12V DC barrel jack. Also present is a microSD card slot, 40-pin GPIO, and a power and reset button.

[rebase, misc fixes, reword]
---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3566-soquartz-model-a.dts  | 232 ++++++++++++++++++
 2 files changed, 233 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-soquartz-model-a.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 528a02b11552..f78c0a935bce 100644
@@ -73,6 +73,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-b.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-roc-pc.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-blade.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-cm4.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-model-a.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
arch/arm64/boot/dts/rockchip/rk3566-soquartz-model-a.dts new file +232 -0

232 lines not on this page · raw message

Signature · 7 lines
2.38.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
maintainer Applied
#7 lore raw
In reply to Nicolas Frattaroli
Quoted 6 lines · Nicolas Frattaroli

This series adds the following:
* SOQuartz Blade bindings (patch 1)
* SOQuartz Blade device tree (patch 2)
* SOQuartz Model A bindings (patch 3)
* SOQuartz Model A device tree (patch 4)

Quoted 6 lines

The name of this patch series is a bit inaccurate as it has evolved, now entirely consisting of new baseboards for the SOQuartz. Nevertheless I chose to keep it as to make it easier for maintainers to track what this is a follow-up to.

[...]

Applied, thanks!

[1/4] dt-bindings: arm: rockchip: Add SOQuartz Blade

      commit: 8c84c2e51f3ee39b40e8078ebe3ad9c01fb17aff
[2/4] arm64: dts: rockchip: Add SOQuartz blade board
      commit: a5c826ecde5222f755e7d8a0c8d795189c5c1228
[3/4] dt-bindings: arm: rockchip: Add SOQuartz Model A
      commit: 7441d8c437883581dddfb616a087b399338244f0
[4/4] arm64: dts: rockchip: rk3566: Add SOQuartz Model A baseboard
      commit: afbaed737fb45bcae91e4606025fb31da71b9dfe

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>