Re: [PATCH v2 1/2] dt-bindings: arm: qcom: Add Xiaomi Mi 8 family compatibles

From: David Heidelberg

Date: Wed Nov 25 2026 - 14:38:16 EST


On 18/09/2026 10:40, Krzysztof Kozlowski wrote:
On 17/09/2026 12:25, David Heidelberg wrote:
On 17/09/2026 12:21, Krzysztof Kozlowski wrote:
On Tue, Sep 15, 2026 at 04:32:24PM +0200, David Heidelberg wrote:
+ - description: Xiaomi Mi 8 family
+ items:
+ - enum:
+ - xiaomi,dipper
+ - xiaomi,equuleus
+ - xiaomi,ursa
+ - const: xiaomi,dipper-common

We do not make "common" compatibles.
git grep common -- Documentation/devicetree/bindings/arm/qcom.yaml

TBH I have mental issue with calling it xiaomi,dipper-dipper

All three devices are branded as own devices, just based on 99.9% same base.

I'm not aware of any internal name which group these devices.

I could call it like xiaomi,common, but there is the polaris and beryllium,
which aren't "that common" with these three.

Do you have idea what to do in this situation?

Just don't use "common" or "generic" or anything close to it, because it
confuses future contributors thinking "common" compatible is allowed.
It's not.

Hello Krzysztof,

since the rest of the generation uses Android codenames, to not complicate sdm845 gen, I would stay with these here.

The change would be such as:

- description: Xiaomi Mi 8 family
items:
- enum:
- xiaomi,dipper
- xiaomi,equuleus
- xiaomi,ursa
- - const: xiaomi,dipper-common
+ - const: xiaomi,mi8-family
- const: qcom,sdm845


The files like (because the dipper doesn't imply shared base):

-#include "sdm845-xiaomi-dipper-common.dtsi"
+#include "sdm845-xiaomi-mi8-common.dtsi"

firmwares would be:

- firmware-name = "qcom/sdm845/Xiaomi/dipper/ipa_fws.mbn";
+ firmware-name = "qcom/sdm845/Xiaomi/mi8/ipa_fws.mbn";

but for specific devices inside dipper/equuleus/ursa.

Would be that reasonable from your POV?

Thanks
David