Skip to contentSkip to conversation

arm64: defconfig: Enable pinctrl/gpio/pcie for CIX Sky1 SoC

PATCH Superseded Peter Chen 2 participants 4 messages Mar 27

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Peter Chen

author
#0 lore raw

PATCH v2 1/1 arm64: defconfig: Enable pinctrl/gpio/pcie for CIX Sky1 SoC

Pinctrl, PCIe, and GPIO device are used at Radxa Orion O6 board.
- Pinctrl is the base for peripheral IP and peripheral device.
- PCIe NVMe is needed for Debian boot.
- GPIO is added due to Debian bug report[1].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1131772

---
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
#1 lore raw
Quoted 3 lines · Peter Chen

Pinctrl, PCIe, and GPIO device are used at Radxa Orion O6 board.
- Pinctrl is the base for peripheral IP and peripheral device.
- PCIe NVMe is needed for Debian boot.

I don't see NVMe there, only PCI controller.

Quoted 1 line

- GPIO is added due to Debian bug report[1].

Rationale must be here, not in external references - this explicitly requested in submitting patches.

This entire Debian reference does not really matter. It is enough to explain what hardware you are enabling it for, so the board, its contents, and SoC.

This is as simple as - does board use it or not? Does SoC with this board has it or not?

Best regards,
Krzysztof

author
#2 lore raw

On 26-03-27 11:22:33, Krzysztof Kozlowski wrote:

Krzysztof, thanks for reviewing.

Quoted 11 lines
Quoted 3 lines

Pinctrl, PCIe, and GPIO device are used at Radxa Orion O6 board.
- Pinctrl is the base for peripheral IP and peripheral device.
- PCIe NVMe is needed for Debian boot.

I don't see NVMe there, only PCI controller.

Quoted 1 line

- GPIO is added due to Debian bug report[1].

Rationale must be here, not in external references - this explicitly requested in submitting patches.

Quoted 6 lines

This entire Debian reference does not really matter. It is enough to explain what hardware you are enabling it for, so the board, its contents, and SoC.

This is as simple as - does board use it or not? Does SoC with this board has it or not?

So, I just only keep the below summary, is it right?

Pinctrl, PCIe, and GPIO device are used at Radxa Orion O6 board which Sky1 SoC is on it.

Peter

Quoted 4 lines

Best regards,
Krzysztof

Signature · 2 lines
Best regards,
Peter
#3 lore raw
Quoted 19 lines · Peter Chen

On 26-03-27 11:22:33, Krzysztof Kozlowski wrote:

Krzysztof, thanks for reviewing.

Quoted 15 lines
Quoted 3 lines

Pinctrl, PCIe, and GPIO device are used at Radxa Orion O6 board.
- Pinctrl is the base for peripheral IP and peripheral device.
- PCIe NVMe is needed for Debian boot.

I don't see NVMe there, only PCI controller.

Quoted 1 line

- GPIO is added due to Debian bug report[1].

Rationale must be here, not in external references - this explicitly requested in submitting patches.

This entire Debian reference does not really matter. It is enough to explain what hardware you are enabling it for, so the board, its contents, and SoC.

Quoted 8 lines
Quoted 2 lines

This is as simple as - does board use it or not? Does SoC with this board has it or not?

So, I just only keep the below summary, is it right?

Pinctrl, PCIe, and GPIO device are used at Radxa Orion O6 board which Sky1 SoC is on it.

Which pinctrl? Which PCIe? Which GPIO device? Read it again and follow its meaning and tell me if following understanding is correct:
"Pinctrl is used on Radxa Orion O6 board which Sky1 therefore I enable Pinctrl Samsung".

Did you look at existing history for this type of changes? This is triviality so I don't understand why we keep bugging for that simple answer to describe WHY you are doing something.

Best regards,
Krzysztof