[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2b98460e-d258-e785-fb8e-3dd03746352e@quicinc.com>
Date: Wed, 21 Aug 2024 10:24:15 +0530
From: Md Sadre Alam <quic_mdalam@...cinc.com>
To: Bjorn Andersson <andersson@...nel.org>
CC: <vkoul@...nel.org>, <robh@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>, <konradybcio@...nel.org>,
<thara.gopinath@...il.com>, <herbert@...dor.apana.org.au>,
<davem@...emloft.net>, <gustavoars@...nel.org>,
<u.kleine-koenig@...gutronix.de>, <kees@...nel.org>,
<agross@...nel.org>, <linux-arm-msm@...r.kernel.org>,
<dmaengine@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-crypto@...r.kernel.org>,
<quic_srichara@...cinc.com>, <quic_varada@...cinc.com>,
<quic_utiwari@...cinc.com>
Subject: Re: [PATCH v2 01/16] dt-bindings: dma: qcom,bam: Add bam pipe lock
On 8/16/2024 9:23 PM, Bjorn Andersson wrote:
> On Thu, Aug 15, 2024 at 02:27:10PM GMT, Md Sadre Alam wrote:
>> BAM having pipe locking mechanism. The Lock and Un-Lock bit
>> should be set on CMD descriptor only. Upon encountering a
>> descriptor with Lock bit set, the BAM will lock all other
>> pipes not related to the current pipe group, and keep
>> handling the current pipe only until it sees the Un-Lock
>> set.
>
> This describes the mechanism for mutual exclusion, but not really what
> the patch does.
Ok, will update in next patch.
>
> https://docs.kernel.org/process/submitting-patches.html#the-canonical-patch-format
> states that you have 75 characters for your commit message, use them.
ok, will update in next patch.
>
>>
>> Signed-off-by: Md Sadre Alam <quic_mdalam@...cinc.com>
>> ---
>>
>> Change in [v2]
>>
>> * Added initial support for dt-binding
>>
>> Change in [v1]
>>
>> * This patch was not included in [v1]
>>
>> Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
>> index 3ad0d9b1fbc5..91cc2942aa62 100644
>> --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
>> +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
>> @@ -77,6 +77,12 @@ properties:
>> Indicates that the bam is powered up by a remote processor but must be
>> initialized by the local processor.
>>
>> + qcom,bam_pipe_lock:
>
> '_' is not a valid character in node names or properties.
Ok, will update in next patch.
>
>> + type: boolean
>> + description:
>> + Indicates that the bam pipe needs locking or not based on client driver
>> + sending the LOCK or UNLOK bit set on command descriptor.
>
> Missing 'C'?
Ok, will fix in next patch.
>
> Regards,
> Bjorn
>
>> +
>> reg:
>> maxItems: 1
>>
>> @@ -92,6 +98,8 @@ anyOf:
>> - qcom,powered-remotely
>> - required:
>> - qcom,controlled-remotely
>> + - required:
>> + - qcom,bam_pipe_lock
>> - required:
>> - clocks
>> - clock-names
>> --
>> 2.34.1
>>
Powered by blists - more mailing lists