hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/Documentation/devicetree/bindings/input/lpc32xx-key.txt
....@@ -8,6 +8,7 @@
88 - reg: Physical base address of the controller and length of memory mapped
99 region.
1010 - interrupts: The interrupt number to the cpu.
11
+- clocks: phandle to clock controller plus clock-specifier pair
1112 - nxp,debounce-delay-ms: Debounce delay in ms
1213 - nxp,scan-delay-ms: Repeated scan period in ms
1314 - linux,keymap: the key-code to be reported when the key is pressed
....@@ -22,7 +23,9 @@
2223 key@40050000 {
2324 compatible = "nxp,lpc3220-key";
2425 reg = <0x40050000 0x1000>;
25
- interrupts = <54 0>;
26
+ clocks = <&clk LPC32XX_CLK_KEY>;
27
+ interrupt-parent = <&sic1>;
28
+ interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
2629 keypad,num-rows = <1>;
2730 keypad,num-columns = <1>;
2831 nxp,debounce-delay-ms = <3>;