diff mbox series

[2/4] dt-bindings: arm: qcom,ids: Add QRD board ID

Message ID 20230104115348.25046-3-stephan@gerhold.net (mailing list archive)
State Not Applicable
Headers show
Series soc: qcom: socinfo: Add a bunch of older SoCs | expand

Commit Message

Stephan Gerhold Jan. 4, 2023, 11:53 a.m. UTC
QRD (Qualcomm Reference Design) = 0xb = 11 is used on many devices that
were originally derived from some reference design provided by Qualcomm.

Examples of existing devices in Linux would be:
  - msm8916-longcheer-l8150/l8910, msm8916-wingtech-wt88047
  - msm8953-xiaomi-daisy/tissot/vince
  - msm8998-fxtec-pro1
  - sm4250-oneplus-billie2

Add it to qcom,ids.h so the qcom,board-id properties can be rewritten
more clearly using the macros in a future patch set, i.e.

  qcom,board-id = <QCOM_BOARD_ID(QRD, 1, 0) 0> instead of
  qcom,board-id = <0x1000b 0x00>

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 include/dt-bindings/arm/qcom,ids.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring (Arm) Jan. 8, 2023, 9:36 p.m. UTC | #1
On Wed, 04 Jan 2023 12:53:46 +0100, Stephan Gerhold wrote:
> QRD (Qualcomm Reference Design) = 0xb = 11 is used on many devices that
> were originally derived from some reference design provided by Qualcomm.
> 
> Examples of existing devices in Linux would be:
>   - msm8916-longcheer-l8150/l8910, msm8916-wingtech-wt88047
>   - msm8953-xiaomi-daisy/tissot/vince
>   - msm8998-fxtec-pro1
>   - sm4250-oneplus-billie2
> 
> Add it to qcom,ids.h so the qcom,board-id properties can be rewritten
> more clearly using the macros in a future patch set, i.e.
> 
>   qcom,board-id = <QCOM_BOARD_ID(QRD, 1, 0) 0> instead of
>   qcom,board-id = <0x1000b 0x00>
> 
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
>  include/dt-bindings/arm/qcom,ids.h | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index f7aef3f310d7..18746bd3e595 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -165,6 +165,7 @@ 
 
 #define QCOM_BOARD_ID_MTP			8
 #define QCOM_BOARD_ID_DRAGONBOARD		10
+#define QCOM_BOARD_ID_QRD			11
 #define QCOM_BOARD_ID_SBC			24
 
 #endif /* _DT_BINDINGS_ARM_QCOM_IDS_H */