[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d7b965cf-dc83-47dd-5e84-2796229fdfb9@linaro.org>
Date: Thu, 6 Apr 2023 20:53:46 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Florian Fainelli <f.fainelli@...il.com>,
Jim Quinlan <jim2101024@...il.com>,
Stefan Wahren <stefan.wahren@...e.com>
Cc: linux-pci@...r.kernel.org,
Nicolas Saenz Julienne <nsaenz@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Cyril Brulebois <kibi@...ian.org>,
Phil Elwell <phil@...pberrypi.com>,
bcm-kernel-feedback-list@...adcom.com, james.quinlan@...adcom.com,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof WilczyĆski <kw@...ux.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
"moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE"
<linux-rpi-kernel@...ts.infradead.org>,
"moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE"
<linux-arm-kernel@...ts.infradead.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 1/3] dt-bindings: PCI: brcmstb: Add two optional props
On 06/04/2023 20:47, Florian Fainelli wrote:
>>>>> +
>>>>> + brcm,completion-timeout-msecs:
>>>>> + description: Number of msecs before completion timeout
>>>>> + abort occurs.
>>>>> + $ref: /schemas/types.yaml#/definitions/uint32
>>>>
>>>> According to the driver at least 0 is not allowed, maybe we should
>>>> define minimum and maximum here and let dtbs_check take care of invalid
>>>> values?
>>> I'm not sure I follow what you mean about a zero value; the property
>>> may have any value but the driver will clamp it
>>> to a minimum of ~30msec. Regardless, I can add a "minimum: 30" line
>>> to the YAML.
>>
>> If "completion" means Linux completion, then it is not suitable for DT
>> and entire property should be removed. If it is something else, then
>> explain here and commit msg. So far both refer to some completion...
>
> This is a PCIe root complex binding so completion needs to be understood
> in the context of PCIe, that is the time needed for the root complex to
> complete/finish/proceed with a PCIe transaction layer packet (TLP).
OK, so I assume keyword "completion" is well known term in PCI (although
for some reason no other bindings mention it).
Best regards,
Krzysztof
Powered by blists - more mailing lists