On Thu, Oct 29, 2026 at 6:03 PM Brian Cain <[email protected]> wrote:
>
> Add a /soc/hmx node for HMX units.
>
> Signed-off-by: Brian Cain <[email protected]>
> ---
>  hw/hexagon/hex-board.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/hw/hexagon/hex-board.c b/hw/hexagon/hex-board.c
> index 3bf09e4e7c7..f38c244bb2b 100644
> --- a/hw/hexagon/hex-board.c
> +++ b/hw/hexagon/hex-board.c
> @@ -106,6 +106,12 @@ void hex_board_fdt_add_hvx(MachineState *ms,
>          qemu_fdt_setprop_cells(ms->fdt, "/soc/hvx", "qcom,hvx-vlength",
>                                 t->hvx_vec_log_length);
>      }
> +
> +    if (HEXAGON_CFGTABLE_HAS_HMX(t)) {
> +        qemu_fdt_add_subnode(ms->fdt, "/soc/hmx");
> +        qemu_fdt_setprop_string(ms->fdt, "/soc/hmx", "compatible",
> +                                "qcom,hexagon-hmx");
> +    }

Should HEXAGON_CFGTABLE_HAS_HMX check rev >= V75 too? As
it is right now using it will change machines older than V75 adding HMX.

Reply via email to