Re: [PATCH 2/2] dt-bindings: crypto: ti,omap-sham: Add OMAP3 compatible and deprecate ti,hwmods

From: Andreas Kemnade

Date: Fri Sep 11 2026 - 02:31:20 EST


On Fri, 11 Sep 2026 03:41:58 +0530
Bhargav Joshi <j.bhargav.u@xxxxxxxxx> wrote:

> The OMAP SHAM driver supports OMAP3 SoCs, and "ti,omap3-sham" is
> actively used in existing dts. However, it was previously missing from
> binding. Add "ti,omap3-sham" to the list of valid compatibles.
>
> The legacy "ti,hwmods" property is no longer needed as TI OMAP mirgrated
> to "ti-sysc". Mark it as deprecated and remove it from the required
> properties.
>
> Signed-off-by: Bhargav Joshi <j.bhargav.u@xxxxxxxxx>

What about also removing ti,hwmods usage while you are deprecating it?

Regards,
Andreas
> ---
> Documentation/devicetree/bindings/crypto/ti,omap-sham.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/crypto/ti,omap-sham.yaml b/Documentation/devicetree/bindings/crypto/ti,omap-sham.yaml
> index d69b50228009..3ef05890e13a 100644
> --- a/Documentation/devicetree/bindings/crypto/ti,omap-sham.yaml
> +++ b/Documentation/devicetree/bindings/crypto/ti,omap-sham.yaml
> @@ -13,6 +13,7 @@ properties:
> compatible:
> enum:
> - ti,omap2-sham
> + - ti,omap3-sham
> - ti,omap4-sham
> - ti,omap5-sham
>
> @@ -32,6 +33,7 @@ properties:
> description: Name of the hwmod associated with the SHAM module
> $ref: /schemas/types.yaml#/definitions/string
> enum: [sham]
> + deprecated: true
>
> dependencies:
> dmas: [dma-names]
> @@ -40,7 +42,6 @@ additionalProperties: false
>
> required:
> - compatible
> - - ti,hwmods
> - reg
> - interrupts
>
>