History log of /rk3399_rockchip-uboot/include/key.h (Results 1 – 17 of 17)
Revision Date Author Comments
# 15da1b50 27-Mar-2023 Joseph Chen <chenjh@rock-chips.com>

dm: key: Use half range mechanism for adc keys

Following the upstream adc-button.c file.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0b59eff483310601adfac9724fb4ac43307cafb3


# 18fdcbce 28-Apr-2022 Joseph Chen <chenjh@rock-chips.com>

dm: key: Add key_exist()

It just find but not probe the key device.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I84b9924496ebc70c5f6c027f247ca75d5062f025


# 0f9d23ea 27-Jul-2019 Joseph Chen <chenjh@rock-chips.com>

dm: key: allow power key to skip irq handler init

At sometime, its parent driver would setup the main interrupt(e.g. PMIC).

Change-Id: I8d24266c48f515fc92c3529a5b6aa7a18d181af1
Signed-off-by: Josep

dm: key: allow power key to skip irq handler init

At sometime, its parent driver would setup the main interrupt(e.g. PMIC).

Change-Id: I8d24266c48f515fc92c3529a5b6aa7a18d181af1
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 1a9c8b1b 11-Jun-2019 Joseph Chen <chenjh@rock-chips.com>

dm: key: add pwrkey download support

User can press and release pwrkey for times to enter download mode,
set it disabled by default.

Change-Id: Id2fd9d12756bb1584a4d25b6df0c16a8a85d1e9a
Signed-off-

dm: key: add pwrkey download support

User can press and release pwrkey for times to enter download mode,
set it disabled by default.

Change-Id: Id2fd9d12756bb1584a4d25b6df0c16a8a85d1e9a
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# c2e7a0d4 11-Jun-2019 Joseph Chen <chenjh@rock-chips.com>

dm: key: add irq thread for key drivers

- only power key can request irq thread;
- this makes key framework be able to manage all key interrupt event;

Change-Id: I9f99607ed7ff9bcd261d3918150e4a4489

dm: key: add irq thread for key drivers

- only power key can request irq thread;
- this makes key framework be able to manage all key interrupt event;

Change-Id: I9f99607ed7ff9bcd261d3918150e4a4489e0f472
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 5a54baa7 03-Apr-2019 Joseph Chen <chenjh@rock-chips.com>

dm: key: refactor code

- use standard dm framework to implement all key drivers;
- all key node to be children and attach to key bus;
- dm key uclass takes over most work;
- reduce a lot of driver c

dm: key: refactor code

- use standard dm framework to implement all key drivers;
- all key node to be children and attach to key bus;
- dm key uclass takes over most work;
- reduce a lot of driver code size;

Change-Id: I9ea4515249d493eb4434890b90350f694c07404f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 9f1dd9df 18-Dec-2018 Joseph Chen <chenjh@rock-chips.com>

dm: key: make kernel dtb key has higher priority than U-Boot keys

We add recovery key node with property "u-boot,dm-pre-reloc"
in uboot dts in order to make sure recovery key works normally
even whe

dm: key: make kernel dtb key has higher priority than U-Boot keys

We add recovery key node with property "u-boot,dm-pre-reloc"
in uboot dts in order to make sure recovery key works normally
even when kernel dtb is load failed. But There are too many
boards for a platform(eg. RK3399/RK3399PRO), which may cause
a mistake key match between boards via U-Boot dts key nodes,
so that we make kernel dtb key has higher priority.

Change-Id: I771d72860aa626e4a6a1638117cb1876fe5d1a44
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 68995a9b 21-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

dm: key: remove deprecated platform_read_key()

Change-Id: I88af911581b94f59504124786cb1adaa82dae12f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 64048c53 19-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

dm: key: optimise framework and update drivers

1. dm key framework takes over more generic jobs;
2. key drivers remove unused codes and match new framework;
3. only power key is registered as interr

dm: key: optimise framework and update drivers

1. dm key framework takes over more generic jobs;
2. key drivers remove unused codes and match new framework;
3. only power key is registered as interrupt key;

Change-Id: Icdda86f588af721b685f801ed251581f2fd85793
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# deedd356 20-Mar-2018 Joseph Chen <chenjh@rock-chips.com>

include: key.h: remove unused definition

Change-Id: I9797dba18237cd31aee2cc232af75a623e2ee9c2
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 0abc3779 06-Mar-2018 Joseph Chen <chenjh@rock-chips.com>

include: key.h: use linux-event-codes.h

linux-event-codes.h defines more key code than
input.h

Change-Id: Ib9c9946bb78420fdd6b1dbcdad48e46007cc4752
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 3fb84000 28-Feb-2018 Joseph Chen <chenjh@rock-chips.com>

dm: key: add universal interface to parse gpio and adc key event

Change-Id: I9a1b9d0a36d8fe34ea68bb4f15bf217cae407bf0
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 6d82ce07 22-Feb-2018 Joseph Chen <chenjh@rock-chips.com>

include: key.h: clean up

Change-Id: Id5cec38070c09494643bad2244d14633b93d4d0f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# a2df9606 30-Jan-2018 Joseph Chen <chenjh@rock-chips.com>

dm: key: provide universal key read interface

clean up code.

Change-Id: I532be111dc971ff0fdd9014e7e01a13ea50483fd
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# c315aab8 28-Nov-2017 Joseph Chen <chenjh@rock-chips.com>

dm: key.h: add key state

add KEY_PRESS_LONG_DOWN and KEY_LONG_DOWN_MS.

Change-Id: I3877a3562779a44b29c31820c583f187530778f8
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 6e14addf 27-Oct-2017 Joseph Chen <chenjh@rock-chips.com>

dm: key: add key type and key name interface

Change-Id: Ifd054c609d92557b15acb8e53580dddd72325ff8
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# b398a9a7 18-Sep-2017 Joseph Chen <chenjh@rock-chips.com>

dm: input: add implementation of driver model key uclass

Change-Id: I379b694dfaee14ed23cc7abfa05aff77933bb725
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>