lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201118105511.GM50232@vkoul-mobl>
Date:   Wed, 18 Nov 2020 16:25:11 +0530
From:   Vinod Koul <vkoul@...nel.org>
To:     Paul Cercueil <paul@...pouillou.net>
Cc:     周琰杰 <zhouyanjie@...yeetech.com>,
        Zubair.Kakakhel@...tec.com, robh+dt@...nel.org,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
        dmaengine@...r.kernel.org, dongsheng.qiu@...enic.com,
        aric.pzqi@...enic.com, rick.tyliu@...enic.com,
        yanfei.li@...enic.com, sernia.zhou@...mail.com,
        zhenwenjin@...il.com
Subject: Re: [PATCH RESEND 0/2] Add dmaengine bindings for the JZ4775 and the
 X2000 SoCs.

On 10-11-20, 08:54, Paul Cercueil wrote:
> Hi Zhou,
> 
> Le sam. 7 nov. 2020 à 20:20, 周琰杰 (Zhou Yanjie)
> <zhouyanjie@...yeetech.com> a écrit :
> > Add the dmaengine bindings for the JZ4775 SoC and the X2000 SoC from
> > Ingenic.
> > 
> > 周琰杰 (Zhou Yanjie) (2):
> >   dt-bindings: dmaengine: Add JZ4775 bindings.
> >   dt-bindings: dmaengine: Add X2000 bindings.
> > 
> >  include/dt-bindings/dma/jz4775-dma.h | 44 +++++++++++++++++++++++++++++
> >  include/dt-bindings/dma/x2000-dma.h  | 54
> > ++++++++++++++++++++++++++++++++++++
> 
> If that's up to me, these macros aren't really needed, and you can put the
> values directly in the dma cells. This is done already in jz4740.dtsi,
> jz4725b.dtsi and jz4770.dtsi.

But that is not really nice, it is good to define these rather than put
numbers, the include/dt-bindings exists for this sole reason!

-- 
~Vinod

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ