On Thu, May 12, 2022 at 4:29 PM Dinh Nguyen dinguyen@kernel.org wrote:
update documentation to correctly state the interrupt-cells to be 2.
Cc: stable@vger.kernel.org Fixes: 4fd9bbc6e071 ("drivers/gpio: Altera soft IP GPIO driver devicetree binding") Signed-off-by: Dinh Nguyen dinguyen@kernel.org
(...)
-- #interrupt-cells : Should be 1. The interrupt type is fixed in the hardware. +- #interrupt-cells : Should be 2. The interrupt type is fixed in the hardware.
- The first cell is the GPIO offset number within the GPIO controller.
- The second cell is the interrupt trigger type and level flags.
So now this says (A) that the interrupt type is fixed in hardware, and (B) that you should specify it.
This is confusing, I think something is wrong?
Yours, Linus Walleij