[1/2] dt-bindings: arm64: dts: mediatek: add mt8390-evk board

Message ID 20230912140613.6528-1-macpaul.lin@mediatek.com
State New
Headers
Series [1/2] dt-bindings: arm64: dts: mediatek: add mt8390-evk board |

Commit Message

Macpaul Lin Sept. 12, 2023, 2:06 p.m. UTC
  1. Add compatible for MT8390.
2. Add bindings for the MediaTek mt8390-evk board, also known
as the "Genio 700-EVK".

The MT8390 and MT8188 belong to the same SoC family,
with only minor differences in their physical characteristics.
They utilize unique efuse values for differentiation.

The booting process and configurations are managed by boot
loaders, firmware, and TF-A. Consequently, the part numbers
and procurement channels vary.

Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

dependencies for v1:
 - This patch should be applied after the following patch set
  - mt8365's bindings
   - https://lore.kernel.org/linux-arm-kernel/20230912092444.31635-1-macpaul.lin@mediatek.com/T/
  - mt8395's bindings
   - https://lore.kernel.org/lkml/20230911115717.26184-1-macpaul.lin@mediatek.com/T/
  - mt8188's bindings
   - https://lore.kernel.org/lkml/a4e1a80ebd19896410f50b0297e05dce06fb47cc.camel@mediatek.com/T/
  

Comments

Krzysztof Kozlowski Sept. 12, 2023, 2:31 p.m. UTC | #1
On 12/09/2023 16:06, Macpaul Lin wrote:
> 1. Add compatible for MT8390.
> 2. Add bindings for the MediaTek mt8390-evk board, also known
> as the "Genio 700-EVK".
> 
> The MT8390 and MT8188 belong to the same SoC family,
> with only minor differences in their physical characteristics.
> They utilize unique efuse values for differentiation.
> 
> The booting process and configurations are managed by boot
> loaders, firmware, and TF-A. Consequently, the part numbers
> and procurement channels vary.
> 
> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
> ---
>  Documentation/devicetree/bindings/arm/mediatek.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> dependencies for v1:
>  - This patch should be applied after the following patch set
>   - mt8365's bindings
>    - https://lore.kernel.org/linux-arm-kernel/20230912092444.31635-1-macpaul.lin@mediatek.com/T/
>   - mt8395's bindings
>    - https://lore.kernel.org/lkml/20230911115717.26184-1-macpaul.lin@mediatek.com/T/
>   - mt8188's bindings
>    - https://lore.kernel.org/lkml/a4e1a80ebd19896410f50b0297e05dce06fb47cc.camel@mediatek.com/T/
> 
> diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
> index d8e449c6a7d7..047204a4aff5 100644
> --- a/Documentation/devicetree/bindings/arm/mediatek.yaml
> +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
> @@ -251,6 +251,12 @@ properties:
>        - items:
>            - const: mediatek,mt8365-evk
>            - const: mediatek,mt8365
> +      - description: MediaTek Genio 700 Boards (Genio 700 EVK)

We had a long discussion, so again: drop description.



Best regards,
Krzysztof
  
Macpaul Lin Sept. 13, 2023, 3:24 a.m. UTC | #2
On 9/12/23 22:31, Krzysztof Kozlowski wrote:
> 
> External email : Please do not click links or open attachments until you 
> have verified the sender or the content.
> 
> On 12/09/2023 16:06, Macpaul Lin wrote:
>> 1. Add compatible for MT8390.
>> 2. Add bindings for the MediaTek mt8390-evk board, also known
>> as the "Genio 700-EVK".
>> 
>> The MT8390 and MT8188 belong to the same SoC family,
>> with only minor differences in their physical characteristics.
>> They utilize unique efuse values for differentiation.
>> 
>> The booting process and configurations are managed by boot
>> loaders, firmware, and TF-A. Consequently, the part numbers
>> and procurement channels vary.
>> 
>> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
>> ---
>>  Documentation/devicetree/bindings/arm/mediatek.yaml | 6 ++++++
>>  1 file changed, 6 insertions(+)
>> 
>> dependencies for v1:
>>  - This patch should be applied after the following patch set
>>   - mt8365's bindings
>>    - https://lore.kernel.org/linux-arm-kernel/20230912092444.31635-1-macpaul.lin@mediatek.com/T/
>>   - mt8395's bindings
>>    - https://lore.kernel.org/lkml/20230911115717.26184-1-macpaul.lin@mediatek.com/T/
>>   - mt8188's bindings
>>    - https://lore.kernel.org/lkml/a4e1a80ebd19896410f50b0297e05dce06fb47cc.camel@mediatek.com/T/
>> 
>> diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
>> index d8e449c6a7d7..047204a4aff5 100644
>> --- a/Documentation/devicetree/bindings/arm/mediatek.yaml
>> +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
>> @@ -251,6 +251,12 @@ properties:
>>        - items:
>>            - const: mediatek,mt8365-evk
>>            - const: mediatek,mt8365
>> +      - description: MediaTek Genio 700 Boards (Genio 700 EVK)
> 
> We had a long discussion, so again: drop description.
> 

Okay, will drop description and send v2 series.

> Best regards,
> Krzysztof

Thanks
Macpaul Lin
  

Patch

diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
index d8e449c6a7d7..047204a4aff5 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
@@ -251,6 +251,12 @@  properties:
       - items:
           - const: mediatek,mt8365-evk
           - const: mediatek,mt8365
+      - description: MediaTek Genio 700 Boards (Genio 700 EVK)
+        items:
+          - enum:
+              - mediatek,mt8390-evk
+          - const: mediatek,mt8390
+          - const: mediatek,mt8188
       - description: MediaTek Genio 1200 Boards (Genio 1200 EVK)
         items:
           - enum: