[PATCH v3 0/9] arm64: dts: qcom: Add support for the Ayaneo Pocket S2

Neil Armstrong posted 9 patches 2 days, 20 hours ago
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/pwrctrl/Kconfig                        |    8 +-
drivers/pci/pwrctrl/Makefile                       |    4 +-
drivers/pci/pwrctrl/{slot.c => generic.c}          |   16 +-
10 files changed, 1655 insertions(+), 37 deletions(-)
[PATCH v3 0/9] arm64: dts: qcom: Add support for the Ayaneo Pocket S2
Posted by Neil Armstrong 2 days, 20 hours ago
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

Signed-off-by: Neil Armstrong <neil.armstrong@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/pwrctrl/Kconfig                        |    8 +-
 drivers/pci/pwrctrl/Makefile                       |    4 +-
 drivers/pci/pwrctrl/{slot.c => generic.c}          |   16 +-
 10 files changed, 1655 insertions(+), 37 deletions(-)
---
base-commit: 8efd812b03edcd5fff1b3a36c0277b2d1397712d
change-id: 20260121-topic-sm8650-ayaneo-pocket-s2-base-05c348efd86d

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>
Re: [PATCH v3 0/9] arm64: dts: qcom: Add support for the Ayaneo Pocket S2
Posted by Bjorn Helgaas 2 days, 13 hours ago
On Fri, Feb 06, 2026 at 03:50:28PM +0100, Neil Armstrong wrote:
> 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.

>       pci: pwrctrl: slot: fix dev_err_probe() usage
>       pci: pwrctrl: rename pci-pwrctrl-slot as generic

These look fine (but please update subject lines to follow past
history).

>       pci: pwrctrl: generic: support for the UPD720201/UPD720202 USB 3.0 xHCI Host Controller

I don't see anything here specific to UPD720201/UPD720202.  I don't
want a stream of patches to add more devices in the future.  Is there
any better design?
Re: [PATCH v3 0/9] arm64: dts: qcom: Add support for the Ayaneo Pocket S2
Posted by Neil Armstrong an hour ago
On 2/6/26 22:35, Bjorn Helgaas wrote:
> On Fri, Feb 06, 2026 at 03:50:28PM +0100, Neil Armstrong wrote:
>> 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.
> 
>>        pci: pwrctrl: slot: fix dev_err_probe() usage
>>        pci: pwrctrl: rename pci-pwrctrl-slot as generic
> 
> These look fine (but please update subject lines to follow past
> history).

Ack will do

> 
>>        pci: pwrctrl: generic: support for the UPD720201/UPD720202 USB 3.0 xHCI Host Controller
> 
> I don't see anything here specific to UPD720201/UPD720202.  I don't
> want a stream of patches to add more devices in the future.  Is there
> any better design?

Not really, I don't see how we can avoid changing the driver compatible list
here, I don't think we can use fallbacks here.

Neil