[PATCH v15 01/35] dt-bindings: crypto: amlogic,gxl-crypto: correct clk and interrupt lines
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Dec 2 02:19:16 PST 2026
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: crypto: interrupts listed before clocks in
gxl-crypto schema
--
commit 8ce95de18fb36c7a55753dd3491858707fd245b8
Author: Alexey Romanov <romanov.alexey2000 at gmail.com>
dt-bindings: crypto: amlogic,gxl-crypto: correct clk and interrupt lines
This commit removes the clock-names property and second interrupt entry
from the Amlogic GXL crypto binding schema and updates the example clock
to CLKID_CLK81.
> diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml
> index 948e11ebe4eeb..fdc39797a2a9c 100644
> --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml
> +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml
> @@ -20,20 +20,15 @@ properties:
> interrupts:
> items:
> - description: Interrupt for flow 0
> - - description: Interrupt for flow 1
>
> clocks:
> maxItems: 1
>
> - clock-names:
> - const: blkmv
> -
> required:
> - compatible
> - reg
> - interrupts
> - clocks
> - - clock-names
>
> additionalProperties: false
>
> @@ -46,7 +41,6 @@ examples:
> crypto: crypto-engine at c883e000 {
> compatible = "amlogic,gxl-crypto";
> reg = <0xc883e000 0x36>;
> - interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
> - clocks = <&clkc CLKID_BLKMV>;
> - clock-names = "blkmv";
> + interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>;
> + clocks = <&clkc CLKID_CLK81>;
> };
[Severity: Low]
Should clocks be listed before interrupts in the properties block, the
required list, and the example node to follow the standard DT binding
property ordering (compatible, reg, clocks, interrupts)?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202100714.115460-1-jnieto.alaber@gmail.com?part=1
More information about the linux-amlogic
mailing list