Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0+ */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Samsung Platform - Keypad platform data definitions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright (C) 2010 Samsung Electronics Co.Ltd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Author: Joonyoung Shim <jy0922.shim@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #ifndef __PLAT_SAMSUNG_KEYPAD_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define __PLAT_SAMSUNG_KEYPAD_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <linux/input/samsung-keypad.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) /**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  * samsung_keypad_set_platdata - Set platform data for Samsung Keypad device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  * @pd: Platform data to register to device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)  * Register the given platform data for use with Samsung Keypad device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  * The call will copy the platform data, so the board definitions can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  * make the structure itself __initdata.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) extern void samsung_keypad_set_platdata(struct samsung_keypad_platdata *pd);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) /* defined by architecture to configure gpio. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) extern void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #endif /* __PLAT_SAMSUNG_KEYPAD_H */