arm64: dts: qcom: Support AYN QCS8550 Devices
v2 cover arm64: dts: qcom: Support AYN QCS8550 Devices
This specifically includes:
* Odin 2 Mini
* Odin 2 Portal
* Thor
The original Odin 2 dtso is not currently included as it has not yet been verified.
The initial port was done by Teguh Sobirin for ROCKNIX and was made available on the AYN github [0].
Support has been removed for things not yet supported by the upstream kernel, these will be added later when the related drivers are submitted and picked up. Such includes:
* All panels
* The Odin 2 Mini backlight and touch
* All rgb leds
* The built-in uart gamepad
This series depends on one other series as described in b4 deps. Namely, the one adding the AYN vendor [1]. This must be merged first for schema checks to succeed.
[0] https://github.com/AYNTechnologies/linux/commits/sm8550/v6.17.5/
[1] https://lore.kernel.org/all/[email protected]/
---
Changes in v2:
- Drop awinic bindings dep as a duplicated patch already exists
- Change Co-authored-by tags to Co-developed-by
- Drop alias to currently unused uart15 in patch 2
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Aaron Kling (1):
dt-bindings: arm: qcom: Add AYN QCS8550 Devices
Teguh Sobirin (4):
arm64: dts: qcom: Add AYN QCS8550 Common
arm64: dts: qcom: Add AYN Odin 2 Mini
arm64: dts: qcom: Add AYN Odin 2 Portal
arm64: dts: qcom: Add AYN Thor
Documentation/devicetree/bindings/arm/qcom.yaml | 10 + arch/arm64/boot/dts/qcom/Makefile | 7 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++ .../boot/dts/qcom/qcs8550-ayntec-odin2mini.dtso | 147 ++ .../boot/dts/qcom/qcs8550-ayntec-odin2portal.dtso | 79 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-thor.dtso | 223 +++ 6 files changed, 2243 insertions(+)
---
base-commit: f90aadf1c67c8b4969d1e5e6d4fd7227adb6e4d7
change-id: 20260217-ayn-qcs8550-16c07b63de26
prerequisite-change-id: 20260220-ayn-vendor-a153168c29b2:v1
prerequisite-patch-id: 042cab8f04748207ba5395dd0f23c445955aaa2b
Best regards,
Signature · 1 line
Aaron Kling <[email protected]>
PATCH v2 1/5 dt-bindings: arm: qcom: Add AYN QCS8550 Devices
Namely:
* Odin 2
* Odin 2 Mini
* Odin 2 Portal
* Thor
--- Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/arm/qcom.yaml +10 -0
@@ -1075,6 +1075,16 @@ properties: - const: qcom,qcs8550 - const: qcom,sm8550 + - items: + - enum: + - ayntec,odin2 + - ayntec,odin2mini + - ayntec,odin2portal + - ayntec,qcs8550-common + - ayntec,thor + - const: qcom,qcs8550 + - const: qcom,sm8550 + - items: - enum: - qcom,sm8650-hdk
Signature · 1 line
2.53.0
Re: [PATCH v2 1/5] dt-bindings: arm: qcom: Add AYN QCS8550 Devices
Quoted 16 lines · Aaron Kling
Namely:
* Odin 2
* Odin 2 Mini
* Odin 2 Portal
* ThorSigned-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)Documentation/devicetree/bindings/arm/qcom.yaml +0
-0
Documentation/devicetree/bindings/arm/qcom.yaml properties: · line 1083
Quoted 9 lines
Documentation/devicetree/bindings/arm/qcom.yaml +6
-0@@ -1075,6 +1075,16 @@ properties: - const: qcom,qcs8550 - const: qcom,sm8550 + - items: + - enum: + - ayntec,odin2 + - ayntec,odin2mini + - ayntec,odin2portal + - ayntec,qcs8550-common
There is no such product as qcs8550-common. Drop.
Best regards,
Krzysztof
PATCH v2 2/5 arm64: dts: qcom: Add AYN QCS8550 Common
In reply to Aaron KlingFrom: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++ 2 files changed, 1778 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -163,6 +163,7 @@ qcs8300-ride-el2-dtbs := qcs8300-ride.dtb monaco-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += qcs8300-ride-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb +dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-common.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-r3.dtb
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +1777 -0
1,777 lines not on this page · raw message
Signature · 1 line
2.53.0
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 13 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++ 2 files changed, 1778 insertions(+)[…]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 30
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+/ { + model = "AYN QCS8550 Common"; + compatible = "ayntec,qcs8550-common", "qcom,qcs8550", "qcom,sm8550";
Huh?.. All existing -common files are .dtsi includes without their own model/compatible, and the compile-time "dtbo" support is only used for EL2 where we want to apply the same thing to many many devices without polluting the tree with extra glue files. I don't see why this should be a "common device" with its own compatible string, and not just a dtsi.
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1201
Quoted 8 lines
[…]
+&gpu {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+ status = "okay"; + + zap-shader { + firmware-name = "qcom/sm8550/a740_zap.mbn"; + }; +};
Please use the &gpu_zap_shader label.
And does the generic zap actually just work?
Quoted 5 lines
[…]
+&i2c0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+ clock-frequency = <400000>; + status = "okay"; +};
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1216
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +10
-0+ +&i2c4 { + clock-frequency = <400000>; + status = "okay"; +}; + +&i2c12 { + clock-frequency = <400000>; + status = "okay"; +};
If the individual devices actually use these busses, better to enable them inside of their .dts as well I think?
Review
Quoted 3 lines
+&iris {
(quoted diff) +2
-0+ status = "okay"; +};
Works with generic firmware?
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1330
Quoted 4 lines
[…]
+&pcie0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +2
-0+ wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; + perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
Current binding is to put these inside of the &pcieportN (renaming 'perst' to 'reset' which I just noticed I failed to do for one of my own files :D), see x1e78100-lenovo-thinkpad-t14s.dtsi for an example.
Quoted 1 line
[…]
Thanks for this work, very cool overall!
~val
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 20 lines · Val Packett
Quoted 13 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++ 2 files changed, 1778 insertions(+)[…]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 30
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+/ { + model = "AYN QCS8550 Common"; + compatible = "ayntec,qcs8550-common", "qcom,qcs8550", "qcom,sm8550";
Quoted 5 lines
Huh?.. All existing -common files are .dtsi includes without their own model/compatible, and the compile-time "dtbo" support is only used for EL2 where we want to apply the same thing to many many devices without polluting the tree with extra glue files. I don't see why this should be a "common device" with its own compatible string, and not just a dtsi.
My use case for these devices is Android, using a single base dtb and variant dtbo's in a single software build. Given the aosp boot image v4 setup, using individual dtb's would require different vendor_boot images, which would require multiple build targets. This setup allows for my use case, while also having individual dtb targets for a standard Linux use case. To my knowledge, the final device specific dtb from this is the same as a dtb using a common dtsi.
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1201
Quoted 8 lines
[…]
+&gpu {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+ status = "okay"; + + zap-shader { + firmware-name = "qcom/sm8550/a740_zap.mbn"; + }; +};Please use the
&gpu_zap_shaderlabel.
Ack.
Quoted 1 line
And does the generic zap actually just work?
The devices boot and the gpu works, so whatever code path is being used works. These devices are unfused, and based on what I understand a zap shader to be, switching a gpu from secure mode to non-secure, I'm not sure it's needed at all. I have not tested just not setting, though.
Quoted 9 lines
Quoted 9 lines
[…]
+&i2c0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +7
-0+ clock-frequency = <400000>; + status = "okay"; +}; + +&i2c4 { + clock-frequency = <400000>; + status = "okay";
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1216
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+}; + +&i2c12 { + clock-frequency = <400000>; + status = "okay"; +};If the individual devices actually use these busses, better to enable them inside of their .dts as well I think?
I can move them. I think the idea was that all variants do use these, but for different hardware, so might as well commonize this part. This part existed before I started working on the devices, so I can't say for sure.
Quoted 4 lines
Review
Quoted 3 lines
+&iris {
(quoted diff) +2
-0+ status = "okay"; +};Works with generic firmware?
I have not been able to verify this. Unfortunately, there is not an aidl v4l2 c2 hal for aosp. If the expectation is that device specific firmware is needed, even for unfused devices, I can drop this section until I am able to use it. Or maybe Teguh could chime in if this works on ROCKNIX.
Quoted 7 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1330
Quoted 4 lines
[…]
+&pcie0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +2
-0+ wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; + perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;Current binding is to put these inside of the &pcieportN (renaming 'perst' to 'reset' which I just noticed I failed to do for one of my own files :D), see
x1e78100-lenovo-thinkpad-t14s.dtsifor an example.
Ack.
Quoted 5 lines
Quoted 1 line
[…]
Thanks for this work, very cool overall!
~val
Aaron
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 27 lines · Aaron Kling
Quoted 20 lines · Val Packett
Quoted 13 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++ 2 files changed, 1778 insertions(+)[…]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 30
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+/ { + model = "AYN QCS8550 Common"; + compatible = "ayntec,qcs8550-common", "qcom,qcs8550", "qcom,sm8550";Quoted 5 lines
Huh?.. All existing -common files are .dtsi includes without their own model/compatible, and the compile-time "dtbo" support is only used for EL2 where we want to apply the same thing to many many devices without polluting the tree with extra glue files. I don't see why this should be a "common device" with its own compatible string, and not just a dtsi.
Quoted 7 lines
My use case for these devices is Android, using a single base dtb and variant dtbo's in a single software build. Given the aosp boot image v4 setup, using individual dtb's would require different
vendor_bootimages, which would require multiple build targets. This setup allows for my use case, while also having individual dtb targets for a standard Linux use case. To my knowledge, the final device specific dtb from this is the same as a dtb using a common dtsi.
This needs to be explained in the commit message. But do you need then a model/compatible in the default dtb?
Quoted 19 lines
Quoted 10 lines
Quoted 10 lines
[…]
+&i2c0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +7
-0+ clock-frequency = <400000>; + status = "okay"; +}; + +&i2c4 { + clock-frequency = <400000>; + status = "okay";Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1216
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+}; + +&i2c12 { + clock-frequency = <400000>; + status = "okay"; +};If the individual devices actually use these busses, better to enable them inside of their .dts as well I think?
Quoted 4 lines
I can move them. I think the idea was that all variants do use these, but for different hardware, so might as well commonize this part. This part existed before I started working on the devices, so I can't say for sure.
Well, the only common part is the frequency & status, so not so much.
BTW: could you please uniformly add an empty line before the status properties?
Quoted 11 lines
Quoted 5 lines
Review
Quoted 4 lines
+&iris {
(quoted diff) +2
-0+ status = "okay"; +};Works with generic firmware?
I have not been able to verify this. Unfortunately, there is not an aidl v4l2 c2 hal for aosp. If the expectation is that device specific firmware is needed, even for unfused devices, I can drop this section until I am able to use it. Or maybe Teguh could chime in if this works on ROCKNIX.
You can use ffmpeg to verify the unit. It has v4l2m2m codecs.
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 10 lines · Dmitry Baryshkov
Quoted 9 lines · Aaron Kling
Quoted 8 lines · Val Packett
Quoted 5 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++
Common is not a board, NAK. This could only be DTSI if you provide some sort of HARDWARE arguments explaining the common parts of schematics or hardware design.
Quoted 20 lines
Quoted 12 lines
Quoted 11 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 30
Quoted 5 lines
2 files changed, 1778 insertions(+)[…]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+/ { + model = "AYN QCS8550 Common"; + compatible = "ayntec,qcs8550-common", "qcom,qcs8550", "qcom,sm8550";Huh?.. All existing -common files are .dtsi includes without their own model/compatible, and the compile-time "dtbo" support is only used for EL2 where we want to apply the same thing to many many devices without polluting the tree with extra glue files. I don't see why this should be a "common device" with its own compatible string, and not just a dtsi.
Quoted 7 lines
My use case for these devices is Android, using a single base dtb and variant dtbo's in a single software build. Given the aosp boot image v4 setup, using individual dtb's would require different
vendor_bootimages, which would require multiple build targets. This setup allows for my use case, while also having individual dtb targets for a standard Linux use case. To my knowledge, the final device specific dtb from this is the same as a dtb using a common dtsi.
Quoted 2 lines
This needs to be explained in the commit message. But do you need then a model/compatible in the default dtb?
Not enough. We do not add compatibles not representing actual hardware, just to streamline boot image handling.
Plus this code is not even truly correct.
We do not write DTS to fulfill broken Android boot process.
Best regards,
Krzysztof
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 19 lines · Krzysztof Kozlowski
Quoted 10 lines · Dmitry Baryshkov
Quoted 9 lines · Aaron Kling
Quoted 8 lines · Val Packett
Quoted 5 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++
Quoted 26 lines
Common is not a board, NAK. This could only be DTSI if you provide some sort of HARDWARE arguments explaining the common parts of schematics or hardware design.
Quoted 22 lines
Quoted 12 lines
Quoted 11 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 30
Quoted 5 lines
2 files changed, 1778 insertions(+)[…]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+/ { + model = "AYN QCS8550 Common"; + compatible = "ayntec,qcs8550-common", "qcom,qcs8550", "qcom,sm8550";Huh?.. All existing -common files are .dtsi includes without their own model/compatible, and the compile-time "dtbo" support is only used for EL2 where we want to apply the same thing to many many devices without polluting the tree with extra glue files. I don't see why this should be a "common device" with its own compatible string, and not just a dtsi.
Quoted 7 lines
My use case for these devices is Android, using a single base dtb and variant dtbo's in a single software build. Given the aosp boot image v4 setup, using individual dtb's would require different
vendor_bootimages, which would require multiple build targets. This setup allows for my use case, while also having individual dtb targets for a standard Linux use case. To my knowledge, the final device specific dtb from this is the same as a dtb using a common dtsi.This needs to be explained in the commit message. But do you need then a model/compatible in the default dtb?
This was added because schema checks failed without model and compatible.
Quoted 6 lines
Not enough. We do not add compatibles not representing actual hardware, just to streamline boot image handling.
Plus this code is not even truly correct.
We do not write DTS to fulfill broken Android boot process.
I have been trying rather hard to find a reasonable compromise between mainline requirements and a normal Android use case, something I can actually ship to normal users. This seemed fairly reasonable to me, since it can generate standalone dtb's transparently. But if my use case can never meet submission requirements, then why am I even here, getting shamed for working on Android? If I have to fork the device-tree anyways to fit my requirements, then there's no reason for me to put the time and effort in to submitting something I can't use. I'd be better off just keeping everything out of tree as googles kernel-platform supports. And never look at mainline qcom again.
Frustratedly,
Aaron
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 13 lines · Aaron Kling
Quoted 2 lines
We do not write DTS to fulfill broken Android boot process.
I have been trying rather hard to find a reasonable compromise between mainline requirements and a normal Android use case, something I can actually ship to normal users. This seemed fairly reasonable to me, since it can generate standalone dtb's transparently. But if my use case can never meet submission requirements, then why am I even here, getting shamed for working on Android? If I have to fork the device-tree anyways to fit my requirements, then there's no reason for me to put the time and effort in to submitting something I can't use. I'd be better off just keeping everything out of tree as googles kernel-platform supports. And never look at mainline qcom again.
In one of the previous threads there were ideas how to solve it, e.g. chain loading bootloader or ditching ABL. The true problem is here Google and its Android policy which hinders any real world upstream usage. The solution is to Android to change (yeah, good luck :) ) or ditch Android in favor of other modern solutions. I think you want to have cookie and eat cookie...
Best regards,
Krzysztof
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
In reply to Aaron KlingQuoted 32 lines · Aaron Kling
Quoted 24 lines · Krzysztof Kozlowski
Quoted 10 lines · Dmitry Baryshkov
Quoted 9 lines · Aaron Kling
Quoted 8 lines · Val Packett
Quoted 5 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++Common is not a board, NAK. This could only be DTSI if you provide some sort of HARDWARE arguments explaining the common parts of schematics or hardware design.
Quoted 6 lines
Not enough. We do not add compatibles not representing actual hardware, just to streamline boot image handling.
Plus this code is not even truly correct.
We do not write DTS to fulfill broken Android boot process.
Quoted 10 lines
I have been trying rather hard to find a reasonable compromise between mainline requirements and a normal Android use case, something I can actually ship to normal users. This seemed fairly reasonable to me, since it can generate standalone dtb's transparently. But if my use case can never meet submission requirements, then why am I even here, getting shamed for working on Android? If I have to fork the device-tree anyways to fit my requirements, then there's no reason for me to put the time and effort in to submitting something I can't use. I'd be better off just keeping everything out of tree as googles kernel-platform supports. And never look at mainline qcom again.
Well... It's a tough argument. Getting your DTs into mainline would help occasional users that would like to run something else than Android (PmOS or some other distro). Also it ensures that you can run Android even when Google (Qualcomm) EOL the current SM8550 msm-something tree.
Speaking about the boot process. I remember that historically it was possible to pass several DTBs in the the Android boot image. Is it no longer the case? Is there any way to identify the boards (I think historical code was using qcom,board-id for that)? Then you would be able to squash all your DTBs in a single boot image.
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 45 lines · Dmitry Baryshkov
Quoted 32 lines · Aaron Kling
Quoted 24 lines · Krzysztof Kozlowski
Quoted 10 lines · Dmitry Baryshkov
Quoted 9 lines · Aaron Kling
Quoted 8 lines · Val Packett
Quoted 5 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++Common is not a board, NAK. This could only be DTSI if you provide some sort of HARDWARE arguments explaining the common parts of schematics or hardware design.
Quoted 6 lines
Not enough. We do not add compatibles not representing actual hardware, just to streamline boot image handling.
Plus this code is not even truly correct.
We do not write DTS to fulfill broken Android boot process.
Quoted 10 lines
I have been trying rather hard to find a reasonable compromise between mainline requirements and a normal Android use case, something I can actually ship to normal users. This seemed fairly reasonable to me, since it can generate standalone dtb's transparently. But if my use case can never meet submission requirements, then why am I even here, getting shamed for working on Android? If I have to fork the device-tree anyways to fit my requirements, then there's no reason for me to put the time and effort in to submitting something I can't use. I'd be better off just keeping everything out of tree as googles kernel-platform supports. And never look at mainline qcom again.
Quoted 4 lines
Well... It's a tough argument. Getting your DTs into mainline would help occasional users that would like to run something else than Android (PmOS or some other distro). Also it ensures that you can run Android even when Google (Qualcomm) EOL the current SM8550 msm-something tree.
Oh, I'm not working on the downstream kernel either way. The question is whether device support gets mainlined or if I keep all support out of tree and only update when Google forks the ack from a new lts.
Quoted 5 lines
Speaking about the boot process. I remember that historically it was possible to pass several DTBs in the the Android boot image. Is it no longer the case? Is there any way to identify the boards (I think historical code was using qcom,board-id for that)? Then you would be able to squash all your DTBs in a single boot image.
That functionality is still there, the concatenated dtb slot in the vendor_boot image. Unfortunately for this context, the odm did not change those ids per hardware variant. I think they just left them at the hdk or qrd default that came with the bsp. I do have to jump some software hoops to slot in the correct dtbo to the dtbo partition during inline updates because of this, but it's not terrible. And that's not something I can reasonably do for the vendor_boot image. To my knowledge, there is no way for the bootloader to tell these devices apart and any attempt to do so would require a custom abl build, probably per variant, which would then desync the boot firmware from the official OS, plus make first install more difficult for users, both of which I'm trying not to do.
Aaron
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 62 lines · Aaron Kling
Quoted 45 lines · Dmitry Baryshkov
Quoted 32 lines · Aaron Kling
Quoted 24 lines · Krzysztof Kozlowski
Quoted 10 lines · Dmitry Baryshkov
Quoted 9 lines · Aaron Kling
Quoted 8 lines · Val Packett
Quoted 5 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++Common is not a board, NAK. This could only be DTSI if you provide some sort of HARDWARE arguments explaining the common parts of schematics or hardware design.
Quoted 6 lines
Not enough. We do not add compatibles not representing actual hardware, just to streamline boot image handling.
Plus this code is not even truly correct.
We do not write DTS to fulfill broken Android boot process.
Quoted 10 lines
I have been trying rather hard to find a reasonable compromise between mainline requirements and a normal Android use case, something I can actually ship to normal users. This seemed fairly reasonable to me, since it can generate standalone dtb's transparently. But if my use case can never meet submission requirements, then why am I even here, getting shamed for working on Android? If I have to fork the device-tree anyways to fit my requirements, then there's no reason for me to put the time and effort in to submitting something I can't use. I'd be better off just keeping everything out of tree as googles kernel-platform supports. And never look at mainline qcom again.
Quoted 4 lines
Well... It's a tough argument. Getting your DTs into mainline would help occasional users that would like to run something else than Android (PmOS or some other distro). Also it ensures that you can run Android even when Google (Qualcomm) EOL the current SM8550 msm-something tree.
Oh, I'm not working on the downstream kernel either way. The question is whether device support gets mainlined or if I keep all support out of tree and only update when Google forks the ack from a new lts.
Quoted 5 lines
Speaking about the boot process. I remember that historically it was possible to pass several DTBs in the the Android boot image. Is it no longer the case? Is there any way to identify the boards (I think historical code was using qcom,board-id for that)? Then you would be able to squash all your DTBs in a single boot image.
Quoted 12 lines
That functionality is still there, the concatenated dtb slot in the
vendor_bootimage. Unfortunately for this context, the odm did not change those ids per hardware variant. I think they just left them at the hdk or qrd default that came with the bsp. I do have to jump some software hoops to slot in the correct dtbo to the dtbo partition during inline updates because of this, but it's not terrible. And that's not something I can reasonably do for thevendor_bootimage. To my knowledge, there is no way for the bootloader to tell these devices apart and any attempt to do so would require a custom abl build, probably per variant, which would then desync the boot firmware from the official OS, plus make first install more difficult for users, both of which I'm trying not to do.
Adding Amit to cc, maybe he'd have any recommendations.
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
In reply to Aaron KlingQuoted 40 lines · Aaron Kling
Quoted 38 lines · Dmitry Baryshkov
Quoted 37 lines · Aaron Kling
Quoted 20 lines · Krzysztof Kozlowski
Quoted 9 lines · Dmitry Baryshkov
Quoted 8 lines · Aaron Kling
Quoted 7 lines · Val Packett
Quoted 5 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++Common is not a board, NAK. This could only be DTSI if you provide some sort of HARDWARE arguments explaining the common parts of schematics or hardware design.
Quoted 6 lines
Not enough. We do not add compatibles not representing actual hardware, just to streamline boot image handling.
Plus this code is not even truly correct.
We do not write DTS to fulfill broken Android boot process.
I have been trying rather hard to find a reasonable compromise between mainline requirements and a normal Android use case, something I can actually ship to normal users. This seemed fairly reasonable to me, since it can generate standalone dtb's transparently. But if my use case can never meet submission requirements, then why am I even here, getting shamed for working on Android? If I have to fork the device-tree anyways to fit my requirements, then there's no reason for me to put the time and effort in to submitting something I can't use. I'd be better off just keeping everything out of tree as googles kernel-platform supports. And never look at mainline qcom again.
Quoted 7 lines
Quoted 4 lines
Well... It's a tough argument. Getting your DTs into mainline would help occasional users that would like to run something else than Android (PmOS or some other distro). Also it ensures that you can run Android even when Google (Qualcomm) EOL the current SM8550 msm-something tree.
Oh, I'm not working on the downstream kernel either way. The question is whether device support gets mainlined or if I keep all support out of tree and only update when Google forks the ack from a new lts.
IMO landing everything with proper upstream style and having minimal customization/patching during your Android build process to convert it into a base dtb + dtbos setup (or a blank base + everything as dtbos one?) during would already be really valuable.
Quoted 5 lines
Quoted 5 lines
Speaking about the boot process. I remember that historically it was possible to pass several DTBs in the the Android boot image. Is it no longer the case? Is there any way to identify the boards (I think historical code was using qcom,board-id for that)? Then you would be able to squash all your DTBs in a single boot image.
Quoted 12 lines
That functionality is still there, the concatenated dtb slot in the
vendor_bootimage. Unfortunately for this context, the odm did not change those ids per hardware variant. I think they just left them at the hdk or qrd default that came with the bsp. I do have to jump some software hoops to slot in the correct dtbo to the dtbo partition during inline updates because of this, but it's not terrible. And that's not something I can reasonably do for thevendor_bootimage. To my knowledge, there is no way for the bootloader to tell these devices apart and any attempt to do so would require a custom abl build, probably per variant, which would then desync the boot firmware from the official OS, plus make first install more difficult for users, both of which I'm trying not to do.
Leaving the default board ID is a classic… but on many old Android phones you (read: an intermediate bootloader) can use the cmdline injected by ABL to distinguish between models. Nothing like that here?
~val
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 47 lines · Val Packett
Quoted 44 lines · Aaron Kling
Quoted 42 lines · Dmitry Baryshkov
Quoted 27 lines · Aaron Kling
Quoted 20 lines · Krzysztof Kozlowski
Quoted 9 lines · Dmitry Baryshkov
Quoted 8 lines · Aaron Kling
Quoted 7 lines · Val Packett
Quoted 5 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++Common is not a board, NAK. This could only be DTSI if you provide some sort of HARDWARE arguments explaining the common parts of schematics or hardware design.
Quoted 6 lines
Not enough. We do not add compatibles not representing actual hardware, just to streamline boot image handling.
Plus this code is not even truly correct.
We do not write DTS to fulfill broken Android boot process.
Quoted 10 lines
I have been trying rather hard to find a reasonable compromise between mainline requirements and a normal Android use case, something I can actually ship to normal users. This seemed fairly reasonable to me, since it can generate standalone dtb's transparently. But if my use case can never meet submission requirements, then why am I even here, getting shamed for working on Android? If I have to fork the device-tree anyways to fit my requirements, then there's no reason for me to put the time and effort in to submitting something I can't use. I'd be better off just keeping everything out of tree as googles kernel-platform supports. And never look at mainline qcom again.
Well... It's a tough argument. Getting your DTs into mainline would help occasional users that would like to run something else than Android (PmOS or some other distro). Also it ensures that you can run Android even when Google (Qualcomm) EOL the current SM8550 msm-something tree.
Quoted 8 lines
Quoted 3 lines
Oh, I'm not working on the downstream kernel either way. The question is whether device support gets mainlined or if I keep all support out of tree and only update when Google forks the ack from a new lts.
IMO landing everything with proper upstream style and having minimal customization/patching during your Android build process to convert it into a base dtb + dtbos setup (or a blank base + everything as dtbos one?) during would already be really valuable.
The end goal was to get everything possible merged before the 7.x lts and use Googles Android Common Kernel repo as-is from that version on, no vendor specific fork. Perhaps overly idealistic, but still the goal. There would be a few android specific device tree things needed in out of tree extensions, but that's trivial with the kernel-platform build setup. Including a common dtsi and extending that out of tree to a base dtb is trivial, if said dtsi doesn't get nack'ed as was already threatened if I don't provide documentation I can't possibly obtain. But if the device specific parts are a dts that already include the common dtsi, extending those, cutting out the common include, and turning it into a dtso is potentially not possible. And even if it is, the method would probably be approaching a crime against humanity. And if I have to fork the main kernel anyways, I'm losing a large piece of why I'm trying to upstream things in the first place: cutting direct maintenance of that repo out of my workflow and only needing to push fixes when new issues are found.
An empty base dtb is an interesting thought, but I don't think it will work with abl. There's been this whole back and forth in other threads about how abl will fail to apply any dtbo, even an empty one, if it can't find certain labels in the base dtb to apply changes to. I would expect even more of those to pop up if I tried to minimize the base dtb. And then there's still the issue of extending a dts into a dtso that might not be possible. Which brings things back around to having to fork at least the device specific parts out of tree to make dtso's, if they can't be a dtso in-tree.
Quoted 18 lines
Quoted 5 lines
Quoted 5 lines
Speaking about the boot process. I remember that historically it was possible to pass several DTBs in the the Android boot image. Is it no longer the case? Is there any way to identify the boards (I think historical code was using qcom,board-id for that)? Then you would be able to squash all your DTBs in a single boot image.
Quoted 12 lines
That functionality is still there, the concatenated dtb slot in the
vendor_bootimage. Unfortunately for this context, the odm did not change those ids per hardware variant. I think they just left them at the hdk or qrd default that came with the bsp. I do have to jump some software hoops to slot in the correct dtbo to the dtbo partition during inline updates because of this, but it's not terrible. And that's not something I can reasonably do for thevendor_bootimage. To my knowledge, there is no way for the bootloader to tell these devices apart and any attempt to do so would require a custom abl build, probably per variant, which would then desync the boot firmware from the official OS, plus make first install more difficult for users, both of which I'm trying not to do.
Quoted 3 lines
Leaving the default board ID is a classic… but on many old Android phones you (read: an intermediate bootloader) can use the cmdline injected by ABL to distinguish between models. Nothing like that here?
Maybe something like the panel params, but two of the variants share a ddic, so that might not even be sufficient. But if I add u-boot to the boot sequence, then I lose a lot of things that abl handles and have to set them up in u-boot. Things like loading init_boot and vendor_boot ramdisks, handling bootconfig, avb parameters, etc etc. Or drastically change the aosp device tree configs to disable those things and in doing so become non-compliant with current aosp expectations. Long story short: chainloading another bootloader and staying compliant with vts is a *lot* of effort I really don't want to do. Booting android on qcom via u-boot is certainly possible and I've seen others doing so, but those have deviated a lot from the OS expectations, and the more deviations there are, the larger the chance that unexpected things go horribly wrong.
Aaron
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
In reply to Dmitry BaryshkovQuoted 75 lines · Dmitry Baryshkov
Quoted 27 lines · Aaron Kling
Quoted 20 lines · Val Packett
Quoted 13 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++ 2 files changed, 1778 insertions(+)[…]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 30
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+/ { + model = "AYN QCS8550 Common"; + compatible = "ayntec,qcs8550-common", "qcom,qcs8550", "qcom,sm8550";Quoted 5 lines
Huh?.. All existing -common files are .dtsi includes without their own model/compatible, and the compile-time "dtbo" support is only used for EL2 where we want to apply the same thing to many many devices without polluting the tree with extra glue files. I don't see why this should be a "common device" with its own compatible string, and not just a dtsi.
Quoted 7 lines
My use case for these devices is Android, using a single base dtb and variant dtbo's in a single software build. Given the aosp boot image v4 setup, using individual dtb's would require different
vendor_bootimages, which would require multiple build targets. This setup allows for my use case, while also having individual dtb targets for a standard Linux use case. To my knowledge, the final device specific dtb from this is the same as a dtb using a common dtsi.This needs to be explained in the commit message. But do you need then a model/compatible in the default dtb?
Quoted 19 lines
Quoted 10 lines
Quoted 10 lines
[…]
+&i2c0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +7
-0+ clock-frequency = <400000>; + status = "okay"; +}; + +&i2c4 { + clock-frequency = <400000>; + status = "okay";Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1216
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+}; + +&i2c12 { + clock-frequency = <400000>; + status = "okay"; +};If the individual devices actually use these busses, better to enable them inside of their .dts as well I think?
Quoted 4 lines
I can move them. I think the idea was that all variants do use these, but for different hardware, so might as well commonize this part. This part existed before I started working on the devices, so I can't say for sure.
Well, the only common part is the frequency & status, so not so much.
BTW: could you please uniformly add an empty line before the status properties?
Quoted 6 lines
Quoted 5 lines
Review
Quoted 4 lines
+&iris {
(quoted diff) +2
-0+ status = "okay"; +};Works with generic firmware?
Quoted 7 lines
Quoted 5 lines
I have not been able to verify this. Unfortunately, there is not an aidl v4l2 c2 hal for aosp. If the expectation is that device specific firmware is needed, even for unfused devices, I can drop this section until I am able to use it. Or maybe Teguh could chime in if this works on ROCKNIX.
You can use ffmpeg to verify the unit. It has v4l2m2m codecs.
I did get a static ffmpeg binary to run and transcoding using v4l2m2m hw codecs were working. So the generic firmware is fine.
Aaron
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
In reply to Val PackettQuoted 59 lines · Val Packett
Quoted 13 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++ 2 files changed, 1778 insertions(+)[…]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 30
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+/ { + model = "AYN QCS8550 Common"; + compatible = "ayntec,qcs8550-common", "qcom,qcs8550", "qcom,sm8550";Huh?.. All existing -common files are .dtsi includes without their own model/compatible, and the compile-time "dtbo" support is only used for EL2 where we want to apply the same thing to many many devices without polluting the tree with extra glue files. I don't see why this should be a "common device" with its own compatible string, and not just a dtsi.
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1201
Quoted 8 lines
[…]
+&gpu {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+ status = "okay"; + + zap-shader { + firmware-name = "qcom/sm8550/a740_zap.mbn"; + }; +};Please use the
&gpu_zap_shaderlabel.And does the generic zap actually just work?
Quoted 5 lines
[…]
+&i2c0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+ clock-frequency = <400000>; + status = "okay"; +};arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1216
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +10
-0+ +&i2c4 { + clock-frequency = <400000>; + status = "okay"; +}; + +&i2c12 { + clock-frequency = <400000>; + status = "okay"; +};If the individual devices actually use these busses, better to enable them inside of their .dts as well I think?
Review
Quoted 3 lines
+&iris {
(quoted diff) +2
-0+ status = "okay"; +};
Quoted 8 lines
Works with generic firmware?
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1330
Quoted 4 lines
[…]
+&pcie0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +2
-0+ wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; + perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;Current binding is to put these inside of the &pcieportN (renaming 'perst' to 'reset' which I just noticed I failed to do for one of my own files :D), see
x1e78100-lenovo-thinkpad-t14s.dtsifor an example.
I tried making this change, but the pcie port failed to probe. I also notice that all existing sm8550 devices still use the 'old' syntax.
Aaron
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 65 lines · Aaron Kling
Quoted 64 lines · Val Packett
Quoted 13 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts | 1777 ++++++++++++++++++++ 2 files changed, 1778 insertions(+)[…]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 30
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+/ { + model = "AYN QCS8550 Common"; + compatible = "ayntec,qcs8550-common", "qcom,qcs8550", "qcom,sm8550";Huh?.. All existing -common files are .dtsi includes without their own model/compatible, and the compile-time "dtbo" support is only used for EL2 where we want to apply the same thing to many many devices without polluting the tree with extra glue files. I don't see why this should be a "common device" with its own compatible string, and not just a dtsi.
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1201
Quoted 8 lines
[…]
+&gpu {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+ status = "okay"; + + zap-shader { + firmware-name = "qcom/sm8550/a740_zap.mbn"; + }; +};Please use the
&gpu_zap_shaderlabel.And does the generic zap actually just work?
Quoted 5 lines
[…]
+&i2c0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+ clock-frequency = <400000>; + status = "okay"; +};arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1216
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +10
-0+ +&i2c4 { + clock-frequency = <400000>; + status = "okay"; +}; + +&i2c12 { + clock-frequency = <400000>; + status = "okay"; +};If the individual devices actually use these busses, better to enable them inside of their .dts as well I think?
Review
Quoted 3 lines
+&iris {
(quoted diff) +2
-0+ status = "okay"; +};Works with generic firmware?
Quoted 4 lines
[…]
+&pcie0 {arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +2
-0+ wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; + perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
Quoted 6 lines
Quoted 3 lines
Current binding is to put these inside of the &pcieportN (renaming 'perst' to 'reset' which I just noticed I failed to do for one of my own files :D), see
x1e78100-lenovo-thinkpad-t14s.dtsifor an example.I tried making this change, but the pcie port failed to probe. I also notice that all existing sm8550 devices still use the 'old' syntax.
There's a ""feature"" in the parsing code that will only let this work if both 'phys' and 'xxx-gpios' are under the same node (i.e. both under PCIe OR both under the root port), I think this may be changed by a single big change later on
Konrad
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
In reply to Aaron KlingQuoted 9 lines · On 3/11/26 6:44 PM, Aaron Kling via B4 Relay wrote:
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>---
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 108
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +8
-0+ pwm_fan: pwm-fan { + compatible = "pwm-fan"; + + fan-supply = <&vdd_fan_5v0>; + pwms = <&pm8550_pwm 3 50000>; + + pinctrl-names = "default"; + pinctrl-0 = <&fan_pwm_active>, <&fan_int>;
property-n
property-names
in this order, everywhere, please
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 112
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+ + pulses-per-revolution = <4>; + interrupt-parent = <&tlmm>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
interrupts-extended = <&tlmm 13 IRQ_...>;
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 207
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+ model = "AYN-Odin2"; + audio-routing = + "IN1_HPHL", "HPHL_OUT",
Let's drop this empty linebreak
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 217
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +10
-0+ "IN2_HPHR", "HPHR_OUT", + "AMIC2", "MIC BIAS2", + "TX SWR_INPUT1", "ADC2_OUTPUT"; + + speaker-i2s-dai-link { + link-name = "Primary MI2S Playback"; + + cpu { + sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>; + };
'co'dec < 'cp'u, please resort
[...]
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+ vdd_fan_5v0: vdd-fan-5v0-regulator { + compatible = "regulator-fixed"; + regulator-name = "vdd_fan_5v0"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>;
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 696
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +10
-0+ + gpio = <&tlmm 109 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&fan_pwr_active>; + + regulator-state-mem { + regulator-off-in-suspend; + };
oh, I didn't know this binding existed.. but it seems valid indeed!
[...]
Review
Quoted 3 lines
+&i2c12 {
(quoted diff) +2
-0+ clock-frequency = <400000>; + status = "okay";
Let's uniformly keep a \n before status
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1219
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+}; + +&i2c_master_hub_0 { + status = "okay";
Please add a clock-frequency
(you can read it back at runtime running a vendor kernel if you don't have a better source)
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1226
Quoted 1 line
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +1
-0+ spk_amp_l: spk_amp_l@34 {
underscores are no bueno in node names (between ':' and '@'), and they should be generic, let's try amplifier@
[...]
Review
Quoted 2 lines
+&iris {
(quoted diff) +1
-0+ status = "okay";
firmware-name?
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1490
Quoted 8 lines
+&sdhc_2 {
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +7
-0+ cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_LOW>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_default &sdc2_card_det_n>; + pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>; + vmmc-supply = <&vreg_l9b_2p9>; + vqmmc-supply = <&vreg_l8b_1p8>; + max-sd-hs-hz = <37500000>;
It's already in 8550.dtsi, you can drop it
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1494
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+ no-sdio; + no-mmc; + + qcom,dll-config = <0x0007442c>;
Is that changed in your downstream tree?
[...]
Review
Quoted 3 lines
+&swr1 {
(quoted diff) +2
-0+ status = "okay"; + wcd_rx: codec@0,4 {
Let's keep a \n between properties and the subsequent subnodes, also file-wide
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1525
Quoted 5 lines
+&tlmm {
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+ gpio-reserved-ranges = <32 8>; + + dsi_p_rst_active: dsi-p-rst-active-state { + pins = "gpio133";
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html
Let's order them by the pin index (it's a fairly new development so other 8550 devices don't really have that)
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1766
Quoted 5 lines
+&usb_dp_qmpphy {
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+ vdda-phy-supply = <&vreg_l3e_1p2>; + vdda-pll-supply = <&vreg_l3f_0p88>; + + mode-switch;
Already present in sm8550.dtsi
Konrad
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 26 lines · Konrad Dybcio
Quoted 9 lines · On 3/11/26 6:44 PM, Aaron Kling via B4 Relay wrote:
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>---
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 108
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +8
-0+ pwm_fan: pwm-fan { + compatible = "pwm-fan"; + + fan-supply = <&vdd_fan_5v0>; + pwms = <&pm8550_pwm 3 50000>; + + pinctrl-names = "default"; + pinctrl-0 = <&fan_pwm_active>, <&fan_int>;property-n
property-names
Quoted 1 line
in this order, everywhere, please
Ack
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 112
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+ + pulses-per-revolution = <4>; + interrupt-parent = <&tlmm>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>;interrupts-extended = <&tlmm 13
IRQ_...>;
Ack
Quoted 7 lines
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 207
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +3
-0+ model = "AYN-Odin2"; + audio-routing = + "IN1_HPHL", "HPHL_OUT",Let's drop this empty linebreak
Ack
Quoted 13 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 217
Quoted 11 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +10
-0+ "IN2_HPHR", "HPHR_OUT", + "AMIC2", "MIC BIAS2", + "TX SWR_INPUT1", "ADC2_OUTPUT"; + + speaker-i2s-dai-link { + link-name = "Primary MI2S Playback"; + + cpu { + sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>; + };'co'dec < 'cp'u, please resort
Ack
Quoted 21 lines
[...]
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +6
-0+ vdd_fan_5v0: vdd-fan-5v0-regulator { + compatible = "regulator-fixed"; + regulator-name = "vdd_fan_5v0"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>;arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 696
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +10
-0+ + gpio = <&tlmm 109 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&fan_pwr_active>; + + regulator-state-mem { + regulator-off-in-suspend; + };oh, I didn't know this binding existed.. but it seems valid indeed!
Quoted 7 lines
[...]
Review
Quoted 3 lines
+&i2c12 {
(quoted diff) +2
-0+ clock-frequency = <400000>; + status = "okay";Let's uniformly keep a \n before status
Ack
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1219
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+}; + +&i2c_master_hub_0 { + status = "okay";Please add a clock-frequency
(you can read it back at runtime running a vendor kernel if you don't have a better source)
Mmm. I'll see if I can find that. But I don't see any of the existing sm8550 devices setting this either.
Quoted 6 lines
[...]
Quoted 1 line
+
spk_amp_l: spk_amp_l@34 {underscores are no bueno in node names (between ':' and '@'), and they should be generic, let's try amplifier@
Ack
Quoted 6 lines
[...]
Quoted 2 lines
+&iris {
+ status = "okay";firmware-name?
Not needed. These devices are unfused and can use the generic firmware like the devkits. I have verified this as noted in another response on this change.
Quoted 11 lines
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1490
Quoted 8 lines
+&sdhc_2 {
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +7
-0+ cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_LOW>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_default &sdc2_card_det_n>; + pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>; + vmmc-supply = <&vreg_l9b_2p9>; + vqmmc-supply = <&vreg_l8b_1p8>; + max-sd-hs-hz = <37500000>;
Quoted 1 line
It's already in 8550.dtsi, you can drop it
Ack
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1494
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+ no-sdio; + no-mmc; + + qcom,dll-config = <0x0007442c>;Is that changed in your downstream tree?
I honestly don't know. This existed in the mainline port dtsi mirrored by the vendor and I picked it up as-is. I grepped the downstream source release and I don't see anything named 'dll-config' in the sm8550 dt at all, only in older soc's brought in by the kernel fork. I know the fork I based on was chasing the issues with high speed sd cards that seem to have been recently fixed upstream. Maybe this was part of that. I can drop it given no one knows why it's here.
Quoted 9 lines
[...]
Review
Quoted 3 lines
+&swr1 {
(quoted diff) +2
-0+ status = "okay"; + wcd_rx: codec@0,4 {Let's keep a \n between properties and the subsequent subnodes, also file-wide
Ack
Quoted 8 lines
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1525
Quoted 5 lines
+&tlmm {
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+ gpio-reserved-ranges = <32 8>; + + dsi_p_rst_active: dsi-p-rst-active-state { + pins = "gpio133";
Quoted 4 lines
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html
Let's order them by the pin index (it's a fairly new development so other 8550 devices don't really have that)
Ack
Quoted 9 lines
[...]
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts line 1766
Quoted 5 lines
+&usb_dp_qmpphy {
arch/arm64/boot/dts/qcom/qcs8550-ayntec-common.dts new file +4
-0+ vdda-phy-supply = <&vreg_l3e_1p2>; + vdda-pll-supply = <&vreg_l3f_0p88>; + + mode-switch;Already present in
sm8550.dtsi
Ack
Aaron
Re: [PATCH v2 2/5] arm64: dts: qcom: Add AYN QCS8550 Common
Quoted 13 lines · Aaron Kling
Quoted 11 lines · Konrad Dybcio
Quoted 9 lines · On 3/11/26 6:44 PM, Aaron Kling via B4 Relay wrote:
From: Teguh Sobirin <[email protected]>
This adds a base dtb of everything common between the AYN QCS8550 devices. It is intended to be extended by device specific overlays.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>---
[...]
Quoted 11 lines
Quoted 3 lines
Quoted 1 line
+ qcom,dll-config = <
0x0007442c>;Is that changed in your downstream tree?
I honestly don't know. This existed in the mainline port dtsi mirrored by the vendor and I picked it up as-is. I grepped the downstream source release and I don't see anything named 'dll-config' in the sm8550 dt at all, only in older soc's brought in by the kernel fork. I know the fork I based on was chasing the issues with high speed sd cards that seem to have been recently fixed upstream. Maybe this was part of that. I can drop it given no one knows why it's here.
FWIW downstream has this data under the qcom,dll-hsr-list property
Konrad
PATCH v2 3/5 arm64: dts: qcom: Add AYN Odin 2 Mini
In reply to Aaron KlingFrom: Teguh Sobirin <[email protected]>
The AYN Odin 2 Mini is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring a 5-inch mini-led touchscreen.
--- arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/qcs8550-ayntec-odin2mini.dtso | 147 +++++++++++++++++++++ 2 files changed, 149 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +2 -0
@@ -164,6 +164,8 @@ qcs8300-ride-el2-dtbs := qcs8300-ride.dtb monaco-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += qcs8300-ride-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-common.dtb +qcs8550-ayntec-odin2mini-dtbs := qcs8550-ayntec-common.dtb qcs8550-ayntec-odin2mini.dtbo +dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-odin2mini.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-r3.dtb
arch/arm64/boot/dts/qcom/qcs8550-ayntec-odin2mini.dtso new file +147 -0
147 lines not on this page · raw message
Signature · 1 line
2.53.0
Re: [PATCH v2 3/5] arm64: dts: qcom: Add AYN Odin 2 Mini
Quoted 6 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
The AYN Odin 2 Mini is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring a 5-inch mini-led touchscreen.
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/qcs8550-ayntec-odin2mini.dtso | 147 +++++++++++++++++++++
NAK
overlays are not for boards. I think I was clear in the past.
Please carry:
Best regards,
Krzysztof
Re: [PATCH v2 3/5] arm64: dts: qcom: Add AYN Odin 2 Mini
Quoted 14 lines · Krzysztof Kozlowski
Quoted 6 lines · Aaron Kling
From: Teguh Sobirin <[email protected]>
The AYN Odin 2 Mini is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring a 5-inch mini-led touchscreen.
Quoted 6 lines
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/qcs8550-ayntec-odin2mini.dtso | 147 +++++++++++++++++++++
Quoted 3 lines
NAK
overlays are not for boards. I think I was clear in the past.
Here for example - response to your posting:
https://lore.kernel.org/all/[email protected]/
I don't accept changing known and widely accepted DTS style to match broken Android boot processes. We don't take that downstream approach here. We pushed against such Android crap in the past and we will be pushing further, till Android finally starts working with upstream.
Quoted 4 lines
Please carry:
Nacked-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
PATCH v2 4/5 arm64: dts: qcom: Add AYN Odin 2 Portal
In reply to Aaron KlingFrom: Teguh Sobirin <[email protected]>
The AYN Odin 2 Portal is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring a 7-inch OLED touchscreen.
--- arch/arm64/boot/dts/qcom/Makefile | 2 + .../boot/dts/qcom/qcs8550-ayntec-odin2portal.dtso | 79 ++++++++++++++++++++++ 2 files changed, 81 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +2 -0
@@ -166,6 +166,8 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-common.dtb qcs8550-ayntec-odin2mini-dtbs := qcs8550-ayntec-common.dtb qcs8550-ayntec-odin2mini.dtbo dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-odin2mini.dtb +qcs8550-ayntec-odin2portal-dtbs := qcs8550-ayntec-common.dtb qcs8550-ayntec-odin2portal.dtbo +dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-odin2portal.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-r3.dtb
arch/arm64/boot/dts/qcom/qcs8550-ayntec-odin2portal.dtso new file +79 -0
79 lines not on this page · raw message
Signature · 1 line
2.53.0
PATCH v2 5/5 arm64: dts: qcom: Add AYN Thor
In reply to Aaron KlingFrom: Teguh Sobirin <[email protected]>
The AYN Thor is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring dual AMOLED touchscreens.
--- arch/arm64/boot/dts/qcom/Makefile | 2 + arch/arm64/boot/dts/qcom/qcs8550-ayntec-thor.dtso | 223 ++++++++++++++++++++++ 2 files changed, 225 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +2 -0
@@ -168,6 +168,8 @@ qcs8550-ayntec-odin2mini-dtbs := qcs8550-ayntec-common.dtb qcs8550-ayntec-odin2m dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-odin2mini.dtb qcs8550-ayntec-odin2portal-dtbs := qcs8550-ayntec-common.dtb qcs8550-ayntec-odin2portal.dtbo dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-odin2portal.dtb +qcs8550-ayntec-thor-dtbs := qcs8550-ayntec-common.dtb qcs8550-ayntec-thor.dtbo +dtb-$(CONFIG_ARCH_QCOM) += qcs8550-ayntec-thor.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-r3.dtb
arch/arm64/boot/dts/qcom/qcs8550-ayntec-thor.dtso new file +223 -0
223 lines not on this page · raw message
Signature · 1 line
2.53.0
Re: [PATCH v2 5/5] arm64: dts: qcom: Add AYN Thor
Quoted 10 lines · On 3/11/26 6:44 PM, Aaron Kling via B4 Relay wrote:
From: Teguh Sobirin <[email protected]>
The AYN Thor is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring dual AMOLED touchscreens.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>---
[...]
Review
Quoted 2 lines
+&spk_amp_r {
(quoted diff) +1
-0+ firmware-name = "qcom/sm8550/ayntec/thor/aw883xx_acf.bin";
That's perhaps a dumb question, but are they actually different between the devices?
Konrad
Re: [PATCH v2 5/5] arm64: dts: qcom: Add AYN Thor
Quoted 13 lines · Konrad Dybcio
Quoted 10 lines · On 3/11/26 6:44 PM, Aaron Kling via B4 Relay wrote:
From: Teguh Sobirin <[email protected]>
The AYN Thor is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring dual AMOLED touchscreens.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>---
Quoted 7 lines
[...]
Quoted 2 lines
+&spk_amp_r {
+ firmware-name = "qcom/sm8550/ayntec/thor/aw883xx_acf.bin";That's perhaps a dumb question, but are they actually different between the devices?
To my consternation, yes they are all different. Most of them are even different file sizes, it's not just header or signature differences. I am assuming they contain tuning differences per device, but I really don't know much about what they're doing.
Aaron
Re: [PATCH v2 5/5] arm64: dts: qcom: Add AYN Thor
Quoted 20 lines · Aaron Kling
Quoted 18 lines · Konrad Dybcio
Quoted 10 lines · On 3/11/26 6:44 PM, Aaron Kling via B4 Relay wrote:
From: Teguh Sobirin <[email protected]>
The AYN Thor is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring dual AMOLED touchscreens.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>---
[...]
Quoted 2 lines
+&spk_amp_r {
+ firmware-name = "qcom/sm8550/ayntec/thor/aw883xx_acf.bin";
Quoted 7 lines
Quoted 2 lines
That's perhaps a dumb question, but are they actually different between the devices?
To my consternation, yes they are all different. Most of them are even different file sizes, it's not just header or signature differences. I am assuming they contain tuning differences per device, but I really don't know much about what they're doing.
Yeah I would assume they contain device-specific tuning or whatnot, but I was curious whether the vendor actually did that
Konrad
Re: [PATCH v2 5/5] arm64: dts: qcom: Add AYN Thor
Yes the firmware contain DSP calibration for frequency response based on speaker type, dimension and size used in the device.
Regards,
Teguh.
Quoted 35 lines · Konrad Dybcio
Quoted 20 lines · Aaron Kling
Quoted 20 lines
On Thu, Mar 19, 2026 at 6:32 AM Konrad Dybcio
<[email protected]> wrote:Quoted 10 lines · On 3/11/26 6:44 PM, Aaron Kling via B4 Relay wrote:
From: Teguh Sobirin <[email protected]>
The AYN Thor is a high-performance Android-based handheld gaming console powered by the Qualcomm Snapdragon 8 Gen 2 processor featuring dual AMOLED touchscreens.
Signed-off-by Teguh Sobirin <[email protected]>Co-developed-by Aaron Kling <[email protected]>Signed-off-by Aaron Kling <[email protected]>---
[...]
Quoted 2 lines
+&spk_amp_r {
+ firmware-name = "qcom/sm8550/ayntec/thor/aw883xx_acf.bin";Quoted 7 lines
Quoted 2 lines
That's perhaps a dumb question, but are they actually different between the devices?
To my consternation, yes they are all different. Most of them are even different file sizes, it's not just header or signature differences. I am assuming they contain tuning differences per device, but I really don't know much about what they're doing.
Yeah I would assume they contain device-specific tuning or whatnot, but I was curious whether the vendor actually did that
Konrad