[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220411105810.GB33220@9a2d8922b8f1>
Date: Mon, 11 Apr 2022 16:28:10 +0530
From: Kuldeep Singh <singh.kuldeep87k@...il.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Vinod Koul <vkoul@...nel.org>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-msm@...r.kernel.org,
dmaengine@...r.kernel.org
Subject: Re: [PATCH v2 6/6] dt-bindings: dma: Convert Qualcomm BAM DMA
binding to json format
> This is something new and it seems only one SoC defines it (not even one
> BAM version). I wonder whether this is actually correct or this
> particular version of BAM is slightly different. Maybe someone could
> clarify it, but if no - looks ok.
Yes, sdm845.dtsi uses 4 entries and rest 1.
>
> > +
> > + num-channels:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > + description:
> > + Indicates supported number of DMA channels in a remotely controlled bam.
> > +
> > + qcom,controlled-remotely:
> > + $ref: /schemas/types.yaml#/definitions/flag
>
> type: boolean
Boolean comes under flag in types.yaml
definitions:
flag:
oneOf:
- type: boolean
const: true
- type: 'null'
I have seen other boolean properties(spi-cpol, spi-cpha and bunch of
others) using type flag. I think we should keep flag here.
>
> > + description:
> > + Indicates that the bam is controlled by remote proccessor i.e. execution
> > + environment.
> > +
> > + qcom,ee:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > + description:
> > + Indicates the active Execution Environment identifier (0-7) used in the
> > + secure world.
>
> maximum: 7
ok.
> > +required:
> > + - compatible
> > + - "#dma-cells"
> > + - interrupts
> > + - reg
>
> clocks, clock-names, qcom-ee - these are required according to old bindings.
I missed qcom,ee. Will add in v3.
For clocks and clock-names , there are two platforms(msm8996.dtsi,
sdm845.dtsi) where these properties are missing. And I don't want to add
some random values. Shall I skip them here? and let board owners add
them later.
Powered by blists - more mailing lists