Skip to contentSkip to conversation

arm64: defconfig: Enable CIX Sky1 pinctrl, PCIe host, and Cadence GPIO

PATCH In review Peter Chen 3 participants 4 messages Mar 27 – May 21

lore
Share & tools
lore

Peter Chen

author
#0 lore raw

PATCH v3 1/1 arm64: defconfig: Enable CIX Sky1 pinctrl, PCIe host, and Cadence GPIO

Enable the CIX Sky1 pinctrl driver (PINCTRL_SKY1), CIX Sky1 PCIe host controller (PCI_SKY1_HOST), and Cadence GPIO controller (GPIO_CADENCE) for the Radxa Orion O6 board which uses the CIX Sky1 SoC.

The pinctrl driver is a dependency for other on-SoC peripherals. The Cadence-based PCIe host controller enables use of PCIe peripherals on the board. The Cadence GPIO controller provides GPIO support for the SoC.

---
Changes for v3:
- Use specific driver names (CIX Sky1 pinctrl, CIX Sky1 PCIe host controller, Cadence GPIO) in subject and commit message instead of generic terms.
- Remove external Debian bug reference; explain rationale directly.
- Remove NVMe mention since only PCIe host controller is enabled.

Changes for v2:
- Delete CIX HDA configurations due to it is not used at current Orion O6 board device tree.

 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +3 -0
index b67d5b1fc45b..f9be52484008 100644
@@ -241,6 +241,7 @@ CONFIG_PCIE_XILINX_DMA_PL=y
 CONFIG_PCIE_XILINX_NWL=y
 CONFIG_PCIE_XILINX_CPM=y
 CONFIG_PCI_J721E_HOST=m
+CONFIG_PCI_SKY1_HOST=m
 CONFIG_PCI_IMX6_HOST=y
 CONFIG_PCI_LAYERSCAPE=y
 CONFIG_PCI_HISI=y
@@ -676,6 +677,7 @@ CONFIG_PINCTRL_SDM660=y
 CONFIG_PINCTRL_SDM670=y
 CONFIG_PINCTRL_SDM845=y
 CONFIG_PINCTRL_SDX75=y
+CONFIG_PINCTRL_SKY1=y
 CONFIG_PINCTRL_SM4450=y
 CONFIG_PINCTRL_SM6115=y
 CONFIG_PINCTRL_SM6125=y
@@ -701,6 +703,7 @@ CONFIG_PINCTRL_SM8550_LPASS_LPI=m
 CONFIG_PINCTRL_SM8650_LPASS_LPI=m
 CONFIG_PINCTRL_SOPHGO_SG2000=y
 CONFIG_GPIO_ALTERA=m
+CONFIG_GPIO_CADENCE=m
 CONFIG_GPIO_DAVINCI=y
 CONFIG_GPIO_DWAPB=y
 CONFIG_GPIO_MB86S7X=y
Signature · 1 line
2.50.1
Reviewed-by on v3 1/1
#1 lore raw
Quoted 11 lines · Peter Chen

Enable the CIX Sky1 pinctrl driver (PINCTRL_SKY1), CIX Sky1 PCIe host controller (PCI_SKY1_HOST), and Cadence GPIO controller (GPIO_CADENCE) for the Radxa Orion O6 board which uses the CIX Sky1 SoC.

The pinctrl driver is a dependency for other on-SoC peripherals. The Cadence-based PCIe host controller enables use of PCIe peripherals on the board. The Cadence GPIO controller provides GPIO support for the SoC.

Best regards,
Krzysztof

#2 lore raw
In reply to Peter Chen
Quoted 31 lines · Peter Chen

Enable the CIX Sky1 pinctrl driver (PINCTRL_SKY1), CIX Sky1 PCIe host controller (PCI_SKY1_HOST), and Cadence GPIO controller (GPIO_CADENCE) for the Radxa Orion O6 board which uses the CIX Sky1 SoC.

The pinctrl driver is a dependency for other on-SoC peripherals. The Cadence-based PCIe host controller enables use of PCIe peripherals on the board. The Cadence GPIO controller provides GPIO support for the SoC.

---
Changes for v3:
- Use specific driver names (CIX Sky1 pinctrl, CIX Sky1 PCIe host controller, Cadence GPIO) in subject and commit message instead of generic terms.
- Remove external Debian bug reference; explain rationale directly.
- Remove NVMe mention since only PCIe host controller is enabled.

Changes for v2:
- Delete CIX HDA configurations due to it is not used at current Orion O6 board device tree.

 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +0 -0
index b67d5b1fc45b..f9be52484008 100644

arch/arm64/configs/defconfig CONFIG_PCIE_XILINX_DMA_PL=y · line 244

Quoted 4 lines
arch/arm64/configs/defconfig +1 -0
@@ -241,6 +241,7 @@ CONFIG_PCIE_XILINX_DMA_PL=y
 CONFIG_PCIE_XILINX_NWL=y
 CONFIG_PCIE_XILINX_CPM=y
 CONFIG_PCI_J721E_HOST=m
+CONFIG_PCI_SKY1_HOST=m

This is not correctly placed and caused issues later - conflicts with my cleanup patch.

Please fix it up before you send the patch to soc@.

Best regards,
Krzysztof

#3 lore raw
Quoted 15 lines · Krzysztof Kozlowski

arch/arm64/configs/defconfig CONFIG_PCIE_XILINX_DMA_PL=y · line 244

Quoted 10 lines · Peter Chen
arch/arm64/configs/defconfig +1 -0
index b67d5b1fc45b..f9be52484008 100644
@@ -241,6 +241,7 @@ CONFIG_PCIE_XILINX_DMA_PL=y
 CONFIG_PCIE_XILINX_NWL=y
 CONFIG_PCIE_XILINX_CPM=y
 CONFIG_PCI_J721E_HOST=m
+CONFIG_PCI_SKY1_HOST=m

This is not correctly placed and caused issues later - conflicts with my cleanup patch.

Quoted 1 line

Please fix it up before you send the patch to soc@.

The problem was my merge, and I've fixed it up now, thanks for pointing it out.

I don't think there was anything that Peter could have done differently here, as the merge conflicts were to be expected.

Arnd