mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
791d3ef2e1
'interrupt-parent' is often documented as part of define bindings, but it is really outside the scope of a device binding. It's never required in a given node as it is often inherited from a parent node. Or it can be implicit if a parent node is an 'interrupt-controller' node. So remove it from all the binding files. Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
Holtek ht16k33 RAM mapping 16*8 LED controller driver with keyscan
|
|
-------------------------------------------------------------------------------
|
|
|
|
Required properties:
|
|
- compatible: "holtek,ht16k33"
|
|
- reg: I2C slave address of the chip.
|
|
- interrupts: Interrupt specification for the key pressed interrupt.
|
|
- refresh-rate-hz: Display update interval in HZ.
|
|
- debounce-delay-ms: Debouncing interval time in milliseconds.
|
|
- linux,keymap: The keymap for keys as described in the binding
|
|
document (devicetree/bindings/input/matrix-keymap.txt).
|
|
|
|
Optional properties:
|
|
- linux,no-autorepeat: Disable keyrepeat.
|
|
- default-brightness-level: Initial brightness level [0-15] (default: 15).
|
|
|
|
Example:
|
|
|
|
&i2c1 {
|
|
ht16k33: ht16k33@70 {
|
|
compatible = "holtek,ht16k33";
|
|
reg = <0x70>;
|
|
refresh-rate-hz = <20>;
|
|
debounce-delay-ms = <50>;
|
|
interrupt-parent = <&gpio4>;
|
|
interrupts = <5 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
|
|
linux,keymap = <
|
|
MATRIX_KEY(2, 0, KEY_F6)
|
|
MATRIX_KEY(3, 0, KEY_F8)
|
|
MATRIX_KEY(4, 0, KEY_F10)
|
|
MATRIX_KEY(5, 0, KEY_F4)
|
|
MATRIX_KEY(6, 0, KEY_F2)
|
|
MATRIX_KEY(2, 1, KEY_F5)
|
|
MATRIX_KEY(3, 1, KEY_F7)
|
|
MATRIX_KEY(4, 1, KEY_F9)
|
|
MATRIX_KEY(5, 1, KEY_F3)
|
|
MATRIX_KEY(6, 1, KEY_F1)
|
|
>;
|
|
};
|
|
};
|