2022-06-07 06:27:23

by Neal Liu

[permalink] [raw]
Subject: RE: [PATCH v2 3/5] ARM: dts: aspeed: Add HACE device controller node

> On 6/5/2022 11:49 PM, Neal Liu wrote:
> > diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi
> > b/arch/arm/boot/dts/aspeed-g6.dtsi
> > index 3d5ce9da42c3..371d2a6b56ef 100644
> > --- a/arch/arm/boot/dts/aspeed-g6.dtsi
> > +++ b/arch/arm/boot/dts/aspeed-g6.dtsi
> > @@ -304,6 +304,14 @@ apb {
> > #size-cells = <1>;
> > ranges;
> >
> > + hace: crypto@1e6d0000 {
> > + compatible = "aspeed,ast2600-hace";
> > + reg = <0x1e6d0000 0x200>;
> > + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&syscon ASPEED_CLK_GATE_YCLK>;
> > + resets = <&syscon ASPEED_RESET_HACE>;
>
> Shouldn't the left side be also 'crypto', see existing crypto nodes in
> arch/arm64/dts for example.
>
> crypto: crypto@1e6d0000 {
> ...
>
> Regards,
> Dhananjay

It's a naming preference. "hace" is our hash & crypto hardware engine naming.
And we also have other crypto engines will be upstream soon.
So I prefer to keep this part, is that okay for you?

Thanks