All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kathpalia, Tanmay" <tanmay.kathpalia@altera.com>
To: sashiko-reviews@lists.linux.dev
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v4 3/8] dt-bindings: arm: altera: add Agilex5 SOCDK eMMC board variant
Date: Tue, 11 Aug 2026 00:48:14 +0530	[thread overview]
Message-ID: <0163efe2-1db2-4fa8-adf8-fe1e622ea637@altera.com> (raw)
In-Reply-To: <20260810191040.535A31F000E9@smtp.kernel.org>


On 8/11/2026 12:40 AM, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Low] Device Tree compilation will fail due to the undefined macro `COMBOPHY_RESET` in the `emmc` node.
> --
>
> --- Patch [3]: [PATCH v4 3/8] dt-bindings: arm: altera: add Agilex5 SOCDK eMMC board variant ---
> commit a686e27903fc966d624926fbeae5d10fa6638ad7
> Author: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
>
> dt-bindings: arm: altera: add Agilex5 SOCDK eMMC board variant
>
> Document the Agilex5 SoCDK with the eMMC daughter card, which uses the
> shared HPS SD/eMMC host for onboard eMMC instead of an SD slot.
>
>> diff --git a/Documentation/devicetree/bindings/arm/altera.yaml b/Documentation/devicetree/bindings/arm/altera.yaml
>> index 0b418d9d60dbd..ce3a8c1679e57 100644
>> --- a/Documentation/devicetree/bindings/arm/altera.yaml
>> +++ b/Documentation/devicetree/bindings/arm/altera.yaml
>> @@ -112,6 +112,7 @@ properties:
>>                 - intel,socfpga-agilex5-socdk
>>                 - intel,socfpga-agilex5-socdk-013b
>>                 - intel,socfpga-agilex5-socdk-debug
>> +              - intel,socfpga-agilex5-socdk-emmc
> [Severity: Low]
> Does this new variant introduce a regression when compiling the emmc node in
> socfpga_agilex5.dtsi?
>
> It appears that Device Tree compilation will fail due to the undefined macro
> COMBOPHY_RESET in the emmc node.
>
> In arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi:
>
> 		emmc: mmc@10808000 {
> 			compatible = "altr,agilex5-sd6hc", "cdns,sd6hc";
> 			...
> 			resets = <&rst SDMMC_RESET>, <&rst COMBOPHY_RESET>,
> 				 <&rst SDMMC_OCP_RESET>;
>
> The resets property uses the COMBOPHY_RESET macro which is not defined in
> dt-bindings/reset/altr,rst-mgr-s10.h or anywhere else in the tree. Because
> the C preprocessor leaves undefined macros unexpanded, executing the dtbs make
> target will result in a syntax error when the compiler expects integer cell
> references.
>
> Should this macro be added to the reset bindings, or is a different reset
> intended here?

This comment applies to patch 2/8 (arm64: dts: agilex5: add SD/eMMC host
controller), which adds the emmc node.

COMBOPHY_RESET is already defined. It was added by:
commit ab45ecfab540 ("dt-bindings: reset: altr: add COMBOPHY_RESET for 
Agilex5")
which is in mainline via the reset tree:
   #define COMBOPHY_RESET        38
in include/dt-bindings/reset/altr,rst-mgr-s10.h.

That commit is not yet in mmc/next, which is why DT builds against mmc/next
alone can fail. The dependency is called out in the cover letter and in the
patch 2/8.


>>                 - intel,socfpga-agilex5-socdk-modular
>>                 - intel,socfpga-agilex5-socdk-nand
>>             - const: intel,socfpga-agilex5

  reply	other threads:[~2026-08-10 19:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10 19:00 [PATCH v4 0/8] mmc: sdhci-cadence: add SD6HC support and Agilex5 enablement Tanmay Kathpalia
2026-08-10 19:00 ` [PATCH v4 1/8] dt-bindings: mmc: add Cadence SD6HC binding Tanmay Kathpalia
2026-08-10 19:00 ` [PATCH v4 2/8] arm64: dts: agilex5: add SD/eMMC host controller Tanmay Kathpalia
2026-08-10 19:00 ` [PATCH v4 3/8] dt-bindings: arm: altera: add Agilex5 SOCDK eMMC board variant Tanmay Kathpalia
2026-08-10 19:10   ` sashiko-bot
2026-08-10 19:18     ` Kathpalia, Tanmay [this message]
2026-08-10 19:00 ` [PATCH v4 4/8] arm64: dts: agilex5: add SOCDK eMMC daughter board Tanmay Kathpalia
2026-08-10 19:00 ` [PATCH v4 5/8] mmc: sdhci-cadence: rename SD4HC symbols for SD6HC groundwork Tanmay Kathpalia
2026-08-10 19:00 ` [PATCH v4 6/8] mmc: sdhci-cadence: refactor driver structure for V6 controller support Tanmay Kathpalia
2026-08-10 19:00 ` [PATCH v4 7/8] mmc: sdhci-cadence: add Cadence SD6HC support Tanmay Kathpalia
2026-08-10 19:18   ` sashiko-bot
2026-08-10 19:00 ` [PATCH v4 8/8] mmc: sdhci-cadence: add Altera Agilex5 " Tanmay Kathpalia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0163efe2-1db2-4fa8-adf8-fe1e622ea637@altera.com \
    --to=tanmay.kathpalia@altera.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.