[PATCH 1/2] dt-bindings: altera: document Stratix 10 eMMC compatible

tzeyee.ng@altera.com posted 2 patches 2 weeks, 6 days ago
There is a newer version of this series
[PATCH 1/2] dt-bindings: altera: document Stratix 10 eMMC compatible
Posted by tzeyee.ng@altera.com 2 weeks, 6 days ago
From: Ng Tze Yee <tzeyee.ng@altera.com>

Stratix 10 devkit support a separate eMMC daughter card. Document
Stratix 10 eMMC daughter board compatible.

Signed-off-by: Ng Tze Yee <tzeyee.ng@altera.com>
---
 Documentation/devicetree/bindings/arm/altera.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/altera.yaml b/Documentation/devicetree/bindings/arm/altera.yaml
index db61537b7115..2a8bc85e9be9 100644
--- a/Documentation/devicetree/bindings/arm/altera.yaml
+++ b/Documentation/devicetree/bindings/arm/altera.yaml
@@ -78,6 +78,7 @@ properties:
         items:
           - enum:
               - altr,socfpga-stratix10-socdk
+              - altr,socfpga-stratix10-socdk-emmc
               - altr,socfpga-stratix10-swvp
           - const: altr,socfpga-stratix10
 
-- 
2.25.1
Re: [PATCH 1/2] dt-bindings: altera: document Stratix 10 eMMC compatible
Posted by Conor Dooley 2 weeks, 6 days ago
On Tue, Jan 20, 2026 at 05:54:45AM -0800, tzeyee.ng@altera.com wrote:
> From: Ng Tze Yee <tzeyee.ng@altera.com>
> 
> Stratix 10 devkit support a separate eMMC daughter card. Document
> Stratix 10 eMMC daughter board compatible.

This makes it seem like stratix10-socdk should be a fallback for this
emmc device, if the new compatible only describes the combination
device.

> 
> Signed-off-by: Ng Tze Yee <tzeyee.ng@altera.com>
> ---
>  Documentation/devicetree/bindings/arm/altera.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/altera.yaml b/Documentation/devicetree/bindings/arm/altera.yaml
> index db61537b7115..2a8bc85e9be9 100644
> --- a/Documentation/devicetree/bindings/arm/altera.yaml
> +++ b/Documentation/devicetree/bindings/arm/altera.yaml
> @@ -78,6 +78,7 @@ properties:
>          items:
>            - enum:
>                - altr,socfpga-stratix10-socdk
> +              - altr,socfpga-stratix10-socdk-emmc
>                - altr,socfpga-stratix10-swvp
>            - const: altr,socfpga-stratix10
>  
> -- 
> 2.25.1
> 
Re: [PATCH 1/2] dt-bindings: altera: document Stratix 10 eMMC compatible
Posted by Ng, Tze Yee 2 weeks, 5 days ago
On 21/1/2026 3:46 am, Conor Dooley wrote:
> [You don't often get email from conor@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> [CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
Hi Conor,

Just to confirm I understand correctly, would you like me to update both:

1. The binding schema (altera.yaml) to split the Stratix 10 boards into 
two patterns, with the eMMC variant having a fallback chain?

       - description: Stratix 10 boards
         items:
           - enum:
               - altr,socfpga-stratix10-socdk
               - altr,socfpga-stratix10-swvp
           - const: altr,socfpga-stratix10

       - description: Stratix 10 SoCDK eMMC variant
         items:
           - const: altr,socfpga-stratix10-socdk-emmc
           - const: altr,socfpga-stratix10-socdk
           - const: altr,socfpga-stratix10

2. The device tree (socfpga_stratix10_socdk_emmc.dts) to update the 
compatible property

from:
compatible = "altr,socfpga-stratix10-socdk-emmc", "altr,socfpga-stratix10";

to:
compatible = "altr,socfpga-stratix10-socdk-emmc",
"altr,socfpga-stratix10-socdk",
"altr,socfpga-stratix10";

Please let me know if this is the expected approach, or if you had 
something different in mind.
Re: [PATCH 1/2] dt-bindings: altera: document Stratix 10 eMMC compatible
Posted by Conor Dooley 2 weeks, 5 days ago
On Wed, Jan 21, 2026 at 08:39:47AM +0000, Ng, Tze Yee wrote:
> On 21/1/2026 3:46 am, Conor Dooley wrote:
> > [You don't often get email from conor@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> > 
> > [CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
> Hi Conor,
> 
> Just to confirm I understand correctly, would you like me to update both:
> 
> 1. The binding schema (altera.yaml) to split the Stratix 10 boards into 
> two patterns, with the eMMC variant having a fallback chain?
> 
>        - description: Stratix 10 boards
>          items:
>            - enum:
>                - altr,socfpga-stratix10-socdk
>                - altr,socfpga-stratix10-swvp
>            - const: altr,socfpga-stratix10
> 
>        - description: Stratix 10 SoCDK eMMC variant
>          items:
>            - const: altr,socfpga-stratix10-socdk-emmc
>            - const: altr,socfpga-stratix10-socdk
>            - const: altr,socfpga-stratix10
> 
> 2. The device tree (socfpga_stratix10_socdk_emmc.dts) to update the 
> compatible property
> 
> from:
> compatible = "altr,socfpga-stratix10-socdk-emmc", "altr,socfpga-stratix10";
> 
> to:
> compatible = "altr,socfpga-stratix10-socdk-emmc",
> "altr,socfpga-stratix10-socdk",
> "altr,socfpga-stratix10";
> 
> Please let me know if this is the expected approach, or if you had 
> something different in mind.

Yes, that's effectively what I had in mind.