Hi Bryan,
On 10/8/24 14:50, Bryan O'Donoghue wrote:
On 08/10/2024 12:37, Vladimir Zapolskiy wrote:
I don't have access to datasheets or hardware of sc8280xp powered board,
someone may either verify, if CAMSS level high type interrupts are
supported/working at all or not (obviously its current presence in dts is
insufficient), or check the SoC datasheet.
I've tested both as was submitted and your change.
let me give you a correction, whatever is found in the CAMSS device tree
node is ignored - unless you meet the problem fixed by this changeset.
All what you see and on any variant of CAMSS device tree node is
rising edge interrupt, this is the type requested by the driver, and
I believe you've tested the driver.
I _always_ test my patches. I'm not sure there's a datasheet which
spells this out to be honest.
Rising or High can both be justified, its really down to how your
interrupt controller latches the state change. However I personally am
fine with the change you've provided because I trust it fixes an error
for you.
Please share the change to the driver, which you've used to test
high level type of interrupts, shall it be send for upstream inclusion?
Such a change has never been a subject of discussion.
I didn't try loading and unloading that module but, since you did I'm
happy to Ack the change and trust your work.
--
Best wishes,
Vladimir