arm64: dts: qcom: Add support for the Ayaneo Pocket S2
Subsystems (7)
v5 cover arm64: dts: qcom: Add support for the Ayaneo Pocket S2
The Ayaneo Pocket S2 is a gaming console based on the Qualcomm Snapdragon 8 Gen 3. It has an internal UFS storage, WiFi, Bluetooth, gaming buttons, SDCard, 2K display and USB-C connector.
Product Page [1].
The Initial linux port was done by KancyJoe (Sunflower2333) at [2].
[1] https://www.ayaneo.com/goods/9344082149621
[2] https://github.com/sunflower2333/linux/tree/master
---
Changes in v5:
- Rebased on -next
- Collected tags
- Rebased/renamed slot to generic based on changes from Bjorn
- Link to v4: https://patch.msgid.link/20260216-topic-sm8650-ayaneo-pocket-s2-base-v4-0-802c82795431@linaro.org
Changes in v4:
- Renamed slot to generic, in the code as well, fixed Kconfig & commit message
- Switched the UPD72020x bindings additionalProperties to true to allow devices subnodes
- Collected acks
- Link to v3: https://patch.msgid.link/20260206-topic-sm8650-ayaneo-pocket-s2-base-v3-0-5b79c5d61a03@linaro.org
Changes in v3:
- Made renesas,upd720201-pci bindings supplies required
- Fixed description and example of renesas,upd720201-pci bindings
- Renamed slot to generic, added renesas,upd720201-pci entry
- Used PMIC_GPIO_STRENGTH_LOW instead of numbers
- Removed all output-low in pinconf
- Link to v2: https://patch.msgid.link/20260127-topic-sm8650-ayaneo-pocket-s2-base-v2-0-c55ec1b5d8bf@linaro.org
Changes in v2:
- Add proper regulators for the USB controller, with bindings & power ctrl
- Add proper regulators for FAN
- Dropped support for headset over USB-C, audio is connected to a jack port
- Cleaned up Audio routing and fixed the DP endpoint index
- Added i2c clk frequencies
- Renamed fan node and used interrupts-extended
- Dropped the usb-c self-powered
- Reordered nodes alphabetically
- Renamed pcieport1 to pcie1_port0
- Link to v1: https://patch.msgid.link/20260121-topic-sm8650-ayaneo-pocket-s2-base-v1-0-bb3f95f1c085@linaro.org
---
KancyJoe (1):
arm64: dts: qcom: add basic devicetree for Ayaneo Pocket S2 gaming console
Neil Armstrong (8):
dt-bindings: usb: document the Renesas UPD720201/UPD720202 USB 3.0 xHCI Host Controller
pci: pwrctrl: slot: fix dev_err_probe() usage
pci: pwrctrl: rename pci-pwrctrl-slot as generic
pci: pwrctrl: generic: support for the UPD720201/UPD720202 USB 3.0 xHCI Host Controller
arm64: defconfig: enable pci-pwrctrl-generic as module
dt-binding: vendor-prefixes: document the Ayaneo brand
dt-bindings: arm: qcom: document the Ayaneo Pocket S2
arm64: dts: qcom: sm8650: Add sound DAI prefix for DP
Documentation/devicetree/bindings/arm/qcom.yaml | 1 + .../bindings/usb/renesas,upd720201-pci.yaml | 61 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8650-ayaneo-pocket-s2.dts | 1551 ++++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8650.dtsi | 47 +- arch/arm64/configs/defconfig | 1 + drivers/pci/controller/dwc/Kconfig | 4 +- drivers/pci/pwrctrl/Kconfig | 13 +- drivers/pci/pwrctrl/Makefile | 4 +- drivers/pci/pwrctrl/generic.c | 143 ++ drivers/pci/pwrctrl/slot.c | 140 -- 12 files changed, 1795 insertions(+), 173 deletions(-)
---
base-commit: df94cc5ccb88d2f6ebc0cac480a1b94162f4ff0f
change-id: 20260121-topic-sm8650-ayaneo-pocket-s2-base-05c348efd86d
Best regards,
Signature · 1 line
Neil Armstrong <[email protected]>
PATCH v5 1/9 dt-bindings: usb: document the Renesas UPD720201/UPD720202 USB 3.0 xHCI Host Controller
Document the Renesas UPD720201/UPD720202 USB 3.0 xHCI Host Controller, which connects over PCIe and requires specific power supplies to start up.
--- .../bindings/usb/renesas,upd720201-pci.yaml | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+)
Documentation/devicetree/bindings/usb/renesas,upd720201-pci.yaml new file +61 -0
@@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/renesas,upd720201-pci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: UPD720201/UPD720202 USB 3.0 xHCI Host Controller (PCIe) + +maintainers: + - Neil Armstrong <[email protected]> + +description: + UPD720201 USB 3.0 xHCI Host Controller via PCIe x1 Gen2 interface. + The UPD720202 supports up to two downstream ports, while UPD720201 + supports up to four downstream USB 3.0 rev1.0 ports. + +properties: + compatible: + const: pci1912,0014 + + reg: + maxItems: 1 + + avdd33-supply: + description: +3.3 V power supply for analog circuit + + vdd10-supply: + description: +1.05 V power supply + + vdd33-supply: + description: +3.3 V power supply + +required: + - compatible + - reg + - avdd33-supply + - vdd10-supply + - vdd33-supply + +allOf: + - $ref: usb-xhci.yaml + +additionalProperties: true + +examples: + - | + pcie@0 { + reg = <0x0 0x1000>; + ranges = <0x02000000 0x0 0x100000 0x10000000 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + + usb-controller@0 { + compatible = "pci1912,0014"; + reg = <0x0 0x0 0x0 0x0 0x0>; + avdd33-supply = <&avdd33_reg>; + vdd10-supply = <&vdd10_reg>; + vdd33-supply = <&vdd33_reg>; + }; + };
Signature · 1 line
2.34.1
PATCH v5 2/9 pci: pwrctrl: slot: fix dev_err_probe() usage
In reply to Neil ArmstrongThe code was not returning dev_err_probe() but dev_err_probe() returns the error code, so simplify the code.
--- drivers/pci/pwrctrl/slot.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
drivers/pci/pwrctrl/slot.c +3 -6
@@ -88,18 +88,15 @@ static int slot_pwrctrl_probe(struct platform_device *pdev) ret =of_regulator_bulk_get_all (dev,dev_of_node (dev), &slot->supplies); -if (ret <0 ) { -dev_err_probe (dev, ret,"Failed to get slot regulators\n" ); -return ret; - } +if (ret <0 ) +return dev_err_probe (dev, ret,"Failed to get slot regulators\n" ); slot->num_supplies = ret; slot->clk =devm_clk_get_optional (dev,NULL ); -if (IS_ERR (slot->clk)) { +if (IS_ERR (slot->clk))return dev_err_probe (dev,PTR_ERR (slot->clk),"Failed to enable slot clock\n" ); - } skip_resources: slot->pwrctrl.power_on = slot_pwrctrl_power_on;
Signature · 1 line
2.34.1
PATCH v5 3/9 pci: pwrctrl: rename pci-pwrctrl-slot as generic
In reply to Neil ArmstrongThe driver is pretty generic and would fit for either PCI Slots or endpoints connected to PCI ports, so rename the driver and module as pci-pwrctrl-generic.
--- drivers/pci/controller/dwc/Kconfig | 4 +- drivers/pci/pwrctrl/Kconfig | 13 ++-- drivers/pci/pwrctrl/Makefile | 4 +- drivers/pci/pwrctrl/generic.c | 139 +++++++++++++++++++++++++++++++++++++ drivers/pci/pwrctrl/slot.c | 137 ------------------------------------ 5 files changed, 150 insertions(+), 147 deletions(-)
drivers/pci/controller/dwc/Kconfig +2 -2
@@ -309,7 +309,7 @@ config PCIE_QCOM select CRC8 select PCIE_QCOM_COMMON select PCI_HOST_COMMON - select PCI_PWRCTRL_SLOT + select PCI_PWRCTRL_GENERIC help Say Y here to enable PCIe controller support on Qualcomm SoCs. The PCIe controller uses the DesignWare core plus Qualcomm-specific
@@ -431,7 +431,7 @@ config PCIE_SPACEMIT_K1 depends on ARCH_SPACEMIT || COMPILE_TEST depends on HAS_IOMEM select PCIE_DW_HOST - select PCI_PWRCTRL_SLOT + select PCI_PWRCTRL_GENERIC default ARCH_SPACEMIT help Enables support for the DesignWare based PCIe controller in
drivers/pci/pwrctrl/Kconfig +7 -6
@@ -11,17 +11,18 @@ config PCI_PWRCTRL_PWRSEQ select POWER_SEQUENCING select PCI_PWRCTRL -config PCI_PWRCTRL_SLOT - tristate "PCI Power Control driver for PCI slots" +config PCI_PWRCTRL_GENERIC + tristate "Generic PCI Power Control driver for PCI slots and endpoints" select POWER_SEQUENCING select PCI_PWRCTRL help - Say Y here to enable the PCI Power Control driver to control the power - state of PCI slots. + Say Y here to enable the generic PCI Power Control driver to control + the power state of PCI slots and endpoints. This is a generic driver that controls the power state of different - PCI slots. The voltage regulators powering the rails of the PCI slots - are expected to be defined in the devicetree node of the PCI bridge. + PCI slots and endpoints. The voltage regulators powering the rails + of the PCI slots or endpoints are expected to be defined in the + devicetree node of the PCI bridge. config PCI_PWRCTRL_TC9563 tristate "PCI Power Control driver for TC9563 PCIe switch"
drivers/pci/pwrctrl/Makefile +2 -2
@@ -5,7 +5,7 @@ pci-pwrctrl-core-y := core.o obj-$(CONFIG_PCI_PWRCTRL_PWRSEQ) += pci-pwrctrl-pwrseq.o -obj-$(CONFIG_PCI_PWRCTRL_SLOT) += pci-pwrctrl-slot.o -pci-pwrctrl-slot-y := slot.o +obj-$(CONFIG_PCI_PWRCTRL_GENERIC) += pci-pwrctrl-generic.o +pci-pwrctrl-generic-y := generic.o obj-$(CONFIG_PCI_PWRCTRL_TC9563) += pci-pwrctrl-tc9563.o
drivers/pci/pwrctrl/generic.c new file +139 -0
139 lines not on this page · raw message
drivers/pci/pwrctrl/slot.c deleted +0 -137
137 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH v5 3/9] pci: pwrctrl: rename pci-pwrctrl-slot as generic
Quoted 7 lines · Neil Armstrong
The driver is pretty generic and would fit for either PCI Slots or endpoints connected to PCI ports, so rename the driver and module as pci-pwrctrl-generic.
Suggested-by Manivannan Sadhasivam <[email protected]>Signed-off-by Neil Armstrong <[email protected]>---
Re: [PATCH v5 3/9] pci: pwrctrl: rename pci-pwrctrl-slot as generic
In reply to Neil ArmstrongQuoted 6 lines · Neil Armstrong
The driver is pretty generic and would fit for either PCI Slots or endpoints connected to PCI ports, so rename the driver and module as pci-pwrctrl-generic.
Suggested-by Manivannan Sadhasivam <[email protected]>Signed-off-by Neil Armstrong <[email protected]>
One comment below, but that can be fixed while applying. So,
Quoted 46 lines
--- drivers/pci/controller/dwc/Kconfig | 4 +- drivers/pci/pwrctrl/Kconfig | 13 ++-- drivers/pci/pwrctrl/Makefile | 4 +- drivers/pci/pwrctrl/generic.c | 139 +++++++++++++++++++++++++++++++++++++ drivers/pci/pwrctrl/slot.c | 137 ------------------------------------ 5 files changed, 150 insertions(+), 147 deletions(-)drivers/pci/controller/dwc/Kconfig +2
-2@@ -309,7 +309,7 @@ config PCIE_QCOM select CRC8 select PCIE_QCOM_COMMON select PCI_HOST_COMMON - select PCI_PWRCTRL_SLOT + select PCI_PWRCTRL_GENERIC help Say Y here to enable PCIe controller support on Qualcomm SoCs. The PCIe controller uses the DesignWare core plus Qualcomm-specific@@ -431,7 +431,7 @@ config PCIE_SPACEMIT_K1 depends on ARCH_SPACEMIT || COMPILE_TEST depends on HAS_IOMEM select PCIE_DW_HOST - select PCI_PWRCTRL_SLOT + select PCI_PWRCTRL_GENERIC default ARCH_SPACEMIT help Enables support for the DesignWare based PCIe controller indrivers/pci/pwrctrl/Kconfig +2
-3@@ -11,17 +11,18 @@ config PCI_PWRCTRL_PWRSEQ select POWER_SEQUENCING select PCI_PWRCTRL -config PCI_PWRCTRL_SLOT - tristate "PCI Power Control driver for PCI slots" +config PCI_PWRCTRL_GENERIC + tristate "Generic PCI Power Control driver for PCI slots and endpoints" select POWER_SEQUENCING select PCI_PWRCTRL help - Say Y here to enable the PCI Power Control driver to control the power
drivers/pci/pwrctrl/Kconfig config PCI_PWRCTRL_PWRSEQ · line 25
Quoted 10 lines
drivers/pci/pwrctrl/Kconfig +5
-3- state of PCI slots. + Say Y here to enable the generic PCI Power Control driver to control + the power state of PCI slots and endpoints. This is a generic driver that controls the power state of different - PCI slots. The voltage regulators powering the rails of the PCI slots - are expected to be defined in the devicetree node of the PCI bridge. + PCI slots and endpoints. The voltage regulators powering the rails + of the PCI slots or endpoints are expected to be defined in the + devicetree node of the PCI bridge.
'PCI bridge or endpoint'
- Mani
Signature · 1 line
மணிவண்ணன் சதாசிவம்
PATCH v5 4/9 pci: pwrctrl: generic: support for the UPD720201/UPD720202 USB 3.0 xHCI Host Controller
In reply to Neil ArmstrongEnable the generic pwrctrl driver to control the power of the PCIe UPD720201/UPD720202 USB 3.0 xHCI Host Controller.
--- drivers/pci/pwrctrl/generic.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/pci/pwrctrl/generic.c +4 -0
@@ -121,6 +121,10 @@ static const struct of_device_id generic_pwrctrl_of_match[] = { { .compatible = "pciclass,0604", }, +/* Renesas UPD720201/UPD720202 USB 3.0 xHCI Host Controller */ + { + .compatible = "pci1912,0014", + }, { } };MODULE_DEVICE_TABLE (of, generic_pwrctrl_of_match);
Signature · 1 line
2.34.1
PATCH v5 5/9 arm64: defconfig: enable pci-pwrctrl-generic as module
In reply to Neil ArmstrongEnable the generic power control driver module since it's required to power up the PCIe USB3 controller found on the Ayaneo Pocket S2 gaming console.
--- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
@@ -258,6 +258,7 @@ CONFIG_PCIE_LAYERSCAPE_GEN4=y CONFIG_PCI_ENDPOINT=y CONFIG_PCI_ENDPOINT_CONFIGFS=y CONFIG_PCI_EPF_TEST=m +CONFIG_PCI_PWRCTRL_GENERIC=m CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_FW_LOADER_USER_HELPER=y
Signature · 1 line
2.34.1
Re: [PATCH v5 5/9] arm64: defconfig: enable pci-pwrctrl-generic as module
Quoted 24 lines · Neil Armstrong
Enable the generic power control driver module since it's required to power up the PCIe USB3 controller found on the Ayaneo Pocket S2 gaming console.
Signed-off-by Neil Armstrong <[email protected]>--- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)arch/arm64/configs/defconfig +1
-1@@ -258,6 +258,7 @@ CONFIG_PCIE_LAYERSCAPE_GEN4=y CONFIG_PCI_ENDPOINT=y CONFIG_PCI_ENDPOINT_CONFIGFS=y CONFIG_PCI_EPF_TEST=m +CONFIG_PCI_PWRCTRL_GENERIC=m CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_FW_LOADER_USER_HELPER=y --
Quoted 3 lines
2.34.1
PATCH v5 6/9 dt-binding: vendor-prefixes: document the Ayaneo brand
In reply to Neil ArmstrongDocument the Ayaneo from the Anyun Intelligent Technology (Hong Kong) Co., Ltd company.
Website: https://www.ayaneo.com/product/ayaneobrand.html
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -221,6 +221,8 @@ patternProperties: description: Axiado Corporation "^axis,.*": description: Axis Communications AB + "^ayaneo,.*": + description: Anyun Intelligent Technology (Hong Kong) Co., Ltd "^azoteq,.*": description: Azoteq (Pty) Ltd "^azw,.*":
Signature · 1 line
2.34.1
PATCH v5 7/9 dt-bindings: arm: qcom: document the Ayaneo Pocket S2
In reply to Neil ArmstrongDocument the Qualcomm SM8650 based Ayaneo Pocket S2 gaming console.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -1057,6 +1057,7 @@ properties: - items: - enum: + - ayaneo,pocket-s2 - qcom,sm8650-hdk - qcom,sm8650-mtp - qcom,sm8650-qrd
Signature · 1 line
2.34.1
PATCH v5 8/9 arm64: dts: qcom: sm8650: Add sound DAI prefix for DP
In reply to Neil ArmstrongSound DAI devices exposing same set of mixers, e.g. each DisplayPort controller, need to add dedicated prefix for these mixers to avoid conflicts and to allow ALSA to properly configure given instance.
--- arch/arm64/boot/dts/qcom/sm8650.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sm8650.dtsi +1 -0
@@ -5960,6 +5960,7 @@ mdss_dp0: displayport-controller@af54000 { phy-names = "dp"; #sound-dai-cells = <0>; + sound-name-prefix = "DisplayPort0"; status = "disabled";
Signature · 1 line
2.34.1
Re: [PATCH v5 8/9] arm64: dts: qcom: sm8650: Add sound DAI prefix for DP
Quoted 25 lines · Neil Armstrong
Sound DAI devices exposing same set of mixers, e.g. each DisplayPort controller, need to add dedicated prefix for these mixers to avoid conflicts and to allow ALSA to properly configure given instance.
Reviewed-by Konrad Dybcio <[email protected]>Reviewed-by Dmitry Baryshkov <[email protected]>Signed-off-by Neil Armstrong <[email protected]>--- arch/arm64/boot/dts/qcom/sm8650.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm64/boot/dts/qcom/sm8650.dtsi +1
-1@@ -5960,6 +5960,7 @@ mdss_dp0: displayport-controller@af54000 { phy-names = "dp"; #sound-dai-cells = <0>; + sound-name-prefix = "DisplayPort0"; status = "disabled"; --
Quoted 3 lines
2.34.1
PATCH v5 9/9 arm64: dts: qcom: add basic devicetree for Ayaneo Pocket S2 gaming console
In reply to Neil ArmstrongFrom: KancyJoe <[email protected]>
Add initial Device Tree for the Ayaneo Pocket S2 gaming console based on the Qualcomm Snapdragon 8 Gen 3 platform.
The design is similar to a phone without the modem, the game control is handled via a standalone controller connected to a PCIe USB controller.
Display panel support will be added in a second time.
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8650-ayaneo-pocket-s2.dts | 1551 ++++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8650.dtsi | 46 +- 3 files changed, 1575 insertions(+), 23 deletions(-)
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -335,6 +335,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8550-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8550-qrd.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8550-samsung-q5q.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8550-sony-xperia-yodo-pdx234.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm8650-ayaneo-pocket-s2.dtb sm8650-hdk-display-card-dtbs := sm8650-hdk.dtb sm8650-hdk-display-card.dtbo sm8650-hdk-display-card-rear-camera-card-dtbs := sm8650-hdk.dtb sm8650-hdk-display-card.dtbo sm8650-hdk-rear-camera-card.dtbo
arch/arm64/boot/dts/qcom/sm8650-ayaneo-pocket-s2.dts new file +1551 -0
1,551 lines not on this page · raw message
arch/arm64/boot/dts/qcom/sm8650.dtsi +23 -23
184 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH v5 9/9] arm64: dts: qcom: add basic devicetree for Ayaneo Pocket S2 gaming console
Quoted 9 lines · Neil Armstrong
From: KancyJoe <[email protected]>
Add initial Device Tree for the Ayaneo Pocket S2 gaming console based on the Qualcomm Snapdragon 8 Gen 3 platform.
The design is similar to a phone without the modem, the game control is handled via a standalone controller connected to a PCIe USB controller.
Quoted 6 lines
Display panel support will be added in a second time.
Signed-off-by KancyJoe <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Neil Armstrong <[email protected]>---
Hi,
Quoted 5 lines · Neil Armstrong
The Ayaneo Pocket S2 is a gaming console based on the Qualcomm Snapdragon 8 Gen 3. It has an internal UFS storage, WiFi, Bluetooth, gaming buttons, SDCard, 2K display and USB-C connector.
Quoted 7 lines
Product Page [1].
The Initial linux port was done by KancyJoe (Sunflower2333) at [2].
[1] https://www.ayaneo.com/goods/9344082149621
[2] https://github.com/sunflower2333/linux/tree/master
@bjorn @Bartosz @mani what's the best way for get this merged ?
Should I send the pci pwrctrl as a separate patchset ?
Quoted 67 lines
Signed-off-by Neil Armstrong <[email protected]>---
Changes in v5:
- Rebased on -next
- Collected tags
- Rebased/renamed slot to generic based on changes from Bjorn
- Link to v4: https://patch.msgid.link/20260216-topic-sm8650-ayaneo-pocket-s2-base-v4-0-802c82795431@linaro.orgChanges in v4:
- Renamed slot to generic, in the code as well, fixedKconfig& commit message
- Switched the UPD72020x bindings additionalProperties to true to allow devices subnodes
- Collected acks
- Link to v3: https://patch.msgid.link/20260206-topic-sm8650-ayaneo-pocket-s2-base-v3-0-5b79c5d61a03@linaro.orgChanges in v3:
- Made renesas,upd720201-pci bindings supplies required
- Fixed description and example of renesas,upd720201-pci bindings
- Renamed slot to generic, added renesas,upd720201-pci entry
- UsedPMIC_GPIO_STRENGTH_LOWinstead of numbers
- Removed all output-low in pinconf
- Link to v2: https://patch.msgid.link/20260127-topic-sm8650-ayaneo-pocket-s2-base-v2-0-c55ec1b5d8bf@linaro.orgChanges in v2:
- Add proper regulators for the USB controller, with bindings & power ctrl
- Add proper regulators for FAN
- Dropped support for headset over USB-C, audio is connected to a jack port
- Cleaned up Audio routing and fixed the DP endpoint index
- Added i2c clk frequencies
- Renamed fan node and used interrupts-extended
- Dropped the usb-c self-powered
- Reordered nodes alphabetically
- Renamed pcieport1 topcie1_port0
- Link to v1: https://patch.msgid.link/20260121-topic-sm8650-ayaneo-pocket-s2-base-v1-0-bb3f95f1c085@linaro.org---
KancyJoe (1):
arm64: dts: qcom: add basic devicetree for Ayaneo Pocket S2 gaming consoleNeil Armstrong (8):
dt-bindings: usb: document the Renesas UPD720201/UPD720202 USB 3.0 xHCI Host Controller
pci: pwrctrl: slot: fixdev_err_probe()usage
pci: pwrctrl: rename pci-pwrctrl-slot as generic
pci: pwrctrl: generic: support for the UPD720201/UPD720202 USB 3.0 xHCI Host Controller
arm64: defconfig: enable pci-pwrctrl-generic as module
dt-binding: vendor-prefixes: document the Ayaneo brand
dt-bindings: arm: qcom: document the Ayaneo Pocket S2
arm64: dts: qcom: sm8650: Add sound DAI prefix for DPDocumentation/devicetree/bindings/arm/qcom.yaml | 1 + .../bindings/usb/renesas,upd720201-pci.yaml | 61 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8650-ayaneo-pocket-s2.dts | 1551 ++++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8650.dtsi | 47 +- arch/arm64/configs/defconfig | 1 + drivers/pci/controller/dwc/Kconfig | 4 +- drivers/pci/pwrctrl/Kconfig | 13 +- drivers/pci/pwrctrl/Makefile | 4 +- drivers/pci/pwrctrl/generic.c | 143 ++ drivers/pci/pwrctrl/slot.c | 140 -- 12 files changed, 1795 insertions(+), 173 deletions(-)---
base-commit:df94cc5ccb88d2f6ebc0cac480a1b94162f4ff0f
change-id: 20260121-topic-sm8650-ayaneo-pocket-s2-base-05c348efd86dBest regards,
Bjorn Helgaas
AppliedQuoted 51 lines · Neil Armstrong
The Ayaneo Pocket S2 is a gaming console based on the Qualcomm Snapdragon 8 Gen 3. It has an internal UFS storage, WiFi, Bluetooth, gaming buttons, SDCard, 2K display and USB-C connector.
Product Page [1].
The Initial linux port was done by KancyJoe (Sunflower2333) at [2].
[1] https://www.ayaneo.com/goods/9344082149621
[2] https://github.com/sunflower2333/linux/tree/masterSigned-off-by Neil Armstrong <[email protected]>---
Changes in v5:
- Rebased on -next
- Collected tags
- Rebased/renamed slot to generic based on changes from Bjorn
- Link to v4: https://patch.msgid.link/20260216-topic-sm8650-ayaneo-pocket-s2-base-v4-0-802c82795431@linaro.orgChanges in v4:
- Renamed slot to generic, in the code as well, fixedKconfig& commit message
- Switched the UPD72020x bindings additionalProperties to true to allow devices subnodes
- Collected acks
- Link to v3: https://patch.msgid.link/20260206-topic-sm8650-ayaneo-pocket-s2-base-v3-0-5b79c5d61a03@linaro.orgChanges in v3:
- Made renesas,upd720201-pci bindings supplies required
- Fixed description and example of renesas,upd720201-pci bindings
- Renamed slot to generic, added renesas,upd720201-pci entry
- UsedPMIC_GPIO_STRENGTH_LOWinstead of numbers
- Removed all output-low in pinconf
- Link to v2: https://patch.msgid.link/20260127-topic-sm8650-ayaneo-pocket-s2-base-v2-0-c55ec1b5d8bf@linaro.orgChanges in v2:
- Add proper regulators for the USB controller, with bindings & power ctrl
- Add proper regulators for FAN
- Dropped support for headset over USB-C, audio is connected to a jack port
- Cleaned up Audio routing and fixed the DP endpoint index
- Added i2c clk frequencies
- Renamed fan node and used interrupts-extended
- Dropped the usb-c self-powered
- Reordered nodes alphabetically
- Renamed pcieport1 topcie1_port0
- Link to v1: https://patch.msgid.link/20260121-topic-sm8650-ayaneo-pocket-s2-base-v1-0-bb3f95f1c085@linaro.org---
KancyJoe (1):
arm64: dts: qcom: add basic devicetree for Ayaneo Pocket S2 gaming console
Quoted 9 lines
Neil Armstrong (8):
dt-bindings: usb: document the Renesas UPD720201/UPD720202 USB 3.0 xHCI Host Controller
pci: pwrctrl: slot: fixdev_err_probe()usage
pci: pwrctrl: rename pci-pwrctrl-slot as generic
pci: pwrctrl: generic: support for the UPD720201/UPD720202 USB 3.0 xHCI Host Controller
arm64: defconfig: enable pci-pwrctrl-generic as module
dt-binding: vendor-prefixes: document the Ayaneo brand
dt-bindings: arm: qcom: document the Ayaneo Pocket S2
arm64: dts: qcom: sm8650: Add sound DAI prefix for DP
I applied the drivers/pci/pwrctrl patches to pci/pwrctrl for v7.1, thanks!
I reordered the rename to be first (and used "git mv") and updated the subject lines to match the history.
Quoted 21 lines
Documentation/devicetree/bindings/arm/qcom.yaml | 1 + .../bindings/usb/renesas,upd720201-pci.yaml | 61 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8650-ayaneo-pocket-s2.dts | 1551 ++++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8650.dtsi | 47 +- arch/arm64/configs/defconfig | 1 + drivers/pci/controller/dwc/Kconfig | 4 +- drivers/pci/pwrctrl/Kconfig | 13 +- drivers/pci/pwrctrl/Makefile | 4 +- drivers/pci/pwrctrl/generic.c | 143 ++ drivers/pci/pwrctrl/slot.c | 140 -- 12 files changed, 1795 insertions(+), 173 deletions(-)---
base-commit:df94cc5ccb88d2f6ebc0cac480a1b94162f4ff0f
change-id: 20260121-topic-sm8650-ayaneo-pocket-s2-base-05c348efd86dBest regards,
Signature · 1 line
Neil Armstrong <[email protected]>
Quoted 62 lines · Bjorn Helgaas
Quoted 51 lines · Neil Armstrong
The Ayaneo Pocket S2 is a gaming console based on the Qualcomm Snapdragon 8 Gen 3. It has an internal UFS storage, WiFi, Bluetooth, gaming buttons, SDCard, 2K display and USB-C connector.
Product Page [1].
The Initial linux port was done by KancyJoe (Sunflower2333) at [2].
[1] https://www.ayaneo.com/goods/9344082149621
[2] https://github.com/sunflower2333/linux/tree/masterSigned-off-by Neil Armstrong <[email protected]>---
Changes in v5:
- Rebased on -next
- Collected tags
- Rebased/renamed slot to generic based on changes from Bjorn
- Link to v4: https://patch.msgid.link/20260216-topic-sm8650-ayaneo-pocket-s2-base-v4-0-802c82795431@linaro.orgChanges in v4:
- Renamed slot to generic, in the code as well, fixedKconfig& commit message
- Switched the UPD72020x bindings additionalProperties to true to allow devices subnodes
- Collected acks
- Link to v3: https://patch.msgid.link/20260206-topic-sm8650-ayaneo-pocket-s2-base-v3-0-5b79c5d61a03@linaro.orgChanges in v3:
- Made renesas,upd720201-pci bindings supplies required
- Fixed description and example of renesas,upd720201-pci bindings
- Renamed slot to generic, added renesas,upd720201-pci entry
- UsedPMIC_GPIO_STRENGTH_LOWinstead of numbers
- Removed all output-low in pinconf
- Link to v2: https://patch.msgid.link/20260127-topic-sm8650-ayaneo-pocket-s2-base-v2-0-c55ec1b5d8bf@linaro.orgChanges in v2:
- Add proper regulators for the USB controller, with bindings & power ctrl
- Add proper regulators for FAN
- Dropped support for headset over USB-C, audio is connected to a jack port
- Cleaned up Audio routing and fixed the DP endpoint index
- Added i2c clk frequencies
- Renamed fan node and used interrupts-extended
- Dropped the usb-c self-powered
- Reordered nodes alphabetically
- Renamed pcieport1 topcie1_port0
- Link to v1: https://patch.msgid.link/20260121-topic-sm8650-ayaneo-pocket-s2-base-v1-0-bb3f95f1c085@linaro.org---
KancyJoe (1):
arm64: dts: qcom: add basic devicetree for Ayaneo Pocket S2 gaming consoleQuoted 9 lines
Neil Armstrong (8):
dt-bindings: usb: document the Renesas UPD720201/UPD720202 USB 3.0 xHCI Host Controller
pci: pwrctrl: slot: fixdev_err_probe()usage
pci: pwrctrl: rename pci-pwrctrl-slot as generic
pci: pwrctrl: generic: support for the UPD720201/UPD720202 USB 3.0 xHCI Host Controller
arm64: defconfig: enable pci-pwrctrl-generic as module
dt-binding: vendor-prefixes: document the Ayaneo brand
dt-bindings: arm: qcom: document the Ayaneo Pocket S2
arm64: dts: qcom: sm8650: Add sound DAI prefix for DP
Quoted 5 lines
I applied the
drivers/pci/pwrctrlpatches to pci/pwrctrl for v7.1, thanks!I reordered the rename to be first (and used "git mv") and updated the subject lines to match the history.
Thank you !
Neil
Quoted 22 lines
Quoted 22 lines
Documentation/devicetree/bindings/arm/qcom.yaml | 1 + .../bindings/usb/renesas,upd720201-pci.yaml | 61 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8650-ayaneo-pocket-s2.dts | 1551 ++++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8650.dtsi | 47 +- arch/arm64/configs/defconfig | 1 + drivers/pci/controller/dwc/Kconfig | 4 +- drivers/pci/pwrctrl/Kconfig | 13 +- drivers/pci/pwrctrl/Makefile | 4 +- drivers/pci/pwrctrl/generic.c | 143 ++ drivers/pci/pwrctrl/slot.c | 140 -- 12 files changed, 1795 insertions(+), 173 deletions(-)---
base-commit:df94cc5ccb88d2f6ebc0cac480a1b94162f4ff0f
change-id: 20260121-topic-sm8650-ayaneo-pocket-s2-base-05c348efd86dBest regards,
Signature · 1 line
Neil Armstrong <[email protected]>