History log of /rk3399_rockchip-uboot/drivers/input/key-uclass.c (Results 1 – 25 of 26)
Revision Date Author Comments
# 6c92fe84 14-Apr-2025 Joseph Chen <chenjh@rock-chips.com>

dm: key: Fix time calucation

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


# a6c9ff86 18-Feb-2024 Joseph Chen <chenjh@rock-chips.com>

drivers: adc: Add alias name "adc" for "saradc"

rk3576/rk3588 upstream kernel may use either of them.

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

drivers: adc: Add alias name "adc" for "saradc"

rk3576/rk3588 upstream kernel may use either of them.

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

show more ...


# 9b0d00c5 16-Jun-2023 Joseph Chen <chenjh@rock-chips.com>

dm: key: Fix 'uV' to 'mV'

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


# 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


# eb104afc 08-Mar-2023 Joseph Chen <chenjh@rock-chips.com>

dm: key: Fix compile error when CONFIG_ADC is disabled

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


# b40ac3b4 10-Oct-2022 Joseph Chen <chenjh@rock-chips.com>

dm: key: Use 'download' command

It covers rockusb and rbrom download mode.

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


# 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


# b08714cb 15-Dec-2021 Joseph Chen <chenjh@rock-chips.com>

input: keys: update adc range and margin

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


# 7cef7918 16-Jul-2021 Joseph Chen <chenjh@rock-chips.com>

irq: simplify the #if expression

Use CONFIG_IS_ENABLED() is better.

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


# e1e9b173 28-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# cd4d895a 12-Mar-2020 Jason Zhu <jason.zhu@rock-chips.com>

dm: key: isolate the unused irq code in spl

Since the irq is not planned to use in spl.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ia6433f3d9c3b2cc9862ddff781b6fe71b3bec0f0


# b8dc613c 19-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 930ceb12 24-Oct-2019 Joseph Chen <chenjh@rock-chips.com>

driver: core/input: treat 'u-boot,dm-spl' as 'u-boot,dm-pre-reloc'

It works when CONFIG_USING_KERNEL_DTB is enabled, because we can
set either 'u-boot,dm-spl' or 'u-boot,dm-pre-reloc' for the node
t

driver: core/input: treat 'u-boot,dm-spl' as 'u-boot,dm-pre-reloc'

It works when CONFIG_USING_KERNEL_DTB is enabled, because we can
set either 'u-boot,dm-spl' or 'u-boot,dm-pre-reloc' for the node
that we can to leave in the u-boot.dtb.

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

show more ...


# 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 ...


# adba3792 17-Dec-2018 Joseph Chen <chenjh@rock-chips.com>

dm: key: support register multiple same key code

Due to some board use the same u-boot rkxx-evb.dts, dm key had
better support parse same key code for times.

Change-Id: Ifeeb75bef90e52e2747ef2858ce

dm: key: support register multiple same key code

Due to some board use the same u-boot rkxx-evb.dts, dm key had
better support parse same key code for times.

Change-Id: Ifeeb75bef90e52e2747ef2858cec500a928c806d
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 ...


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

dm: key: fix compile error with DEBUG enabled

Change-Id: I3e5aeb6598c8601efb669329203ad59a825c2b32
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>


# 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>


# 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>


12