mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
spi: rockchip-slave: Support dma cyclic for misc devices
Change-Id: I46ad77c9879f1d89dcc682ac201ff6aac5f46bbe Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
This commit is contained in:
15
include/uapi/linux/spi/rk-spi-slave.h
Normal file
15
include/uapi/linux/spi/rk-spi-slave.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||
/*
|
||||
* Copyright (c) 2025 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#ifndef RK_SPI_SLAVE_H
|
||||
#define RK_SPI_SLAVE_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define SPI_SLAVE_BASE 's'
|
||||
#define SPI_SLAVE_INIT_CYCLIC _IOW(SPI_SLAVE_BASE, 0, int)
|
||||
#define SPI_SLAVE_DEINIT_CYCLIC _IOW(SPI_SLAVE_BASE, 1, int)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user