Re: [PATCH v2 2/4] spi: Add devicetree bindings documentation for Loongson SPI

From: zhangqing
Date: Tue Dec 08 2020 - 20:22:33 EST




On 12/08/2020 09:58 PM, Mark Brown wrote:
On Tue, Dec 08, 2020 at 06:47:10PM +0800, zhangqing wrote:
On 12/08/2020 04:40 PM, Sergei Shtylyov wrote:
+Required properties:
+- #interrupts: No hardware interrupt.
You say it's a required prop, yet yuoe example doesn't have it...
I want to emphasize here that LS7A SPI has no hardware interrupts,
and DT is not actually used.
There is no need to do this, and documenting the property as required
just makes things confusing here.
Thanks for your suggestion,

I will remove the #interrupt attribute in the third edition.

Thanks,

-Qing