1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/input/allwinner,sun4i-a10-lradc-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 LRADC Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - const: allwinner,sun4i-a10-lradc-keys
17 - const: allwinner,sun8i-a83t-r-lradc
19 - const: allwinner,sun50i-a64-lradc
20 - const: allwinner,sun8i-a83t-r-lradc
30 Regulator for the LRADC reference voltage
37 $ref: /schemas/types.yaml#/definitions/string
38 description: Descriptive name of the key
41 $ref: /schemas/types.yaml#/definitions/uint32
42 description: Keycode to emit
45 $ref: /schemas/types.yaml#/definitions/uint32
47 description: ADC Channel this key is attached to
50 $ref: /schemas/types.yaml#/definitions/uint32
52 Voltage in microvolts at LRADC input when this key is
61 additionalProperties: false
69 additionalProperties: false
73 lradc: lradc@1c22800 {
74 compatible = "allwinner,sun4i-a10-lradc-keys";
75 reg = <0x01c22800 0x100>;
77 vref-supply = <®_vcc3v0>;
87 label = "Volume Down";