1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 3 #ifndef _UAPI_LINUX_RK_IOMUX_H 4 #define _UAPI_LINUX_RK_IOMUX_H 5 6 #include <linux/ioctl.h> 7 #include <linux/types.h> 8 9 struct iomux_ioctl_data { 10 __u32 bank; 11 __u32 pin; 12 __u32 mux; 13 }; 14 15 #define IOMUX_IOC_MAGIC 'P' 16 17 #define IOMUX_IOC_MUX_SET _IOWR(IOMUX_IOC_MAGIC, 0, struct iomux_ioctl_data) 18 #define IOMUX_IOC_MUX_GET _IOWR(IOMUX_IOC_MAGIC, 1, struct iomux_ioctl_data) 19 20 #endif 21