]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - include/linux/serial_max3100.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2007 Christian Pellegrin
8 #ifndef _LINUX_SERIAL_MAX3100_H
9 #define _LINUX_SERIAL_MAX3100_H 1
13 * struct plat_max3100 - MAX3100 SPI UART platform data
14 * @loopback: force MAX3100 in loopback
15 * @crystal: 1 for 3.6864 Mhz, 0 for 1.8432
16 * @max3100_hw_suspend: MAX3100 has a shutdown pin. This is a hook
17 * called on suspend and resume to activate it.
18 * @poll_time: poll time for CTS signal in ms, 0 disables (so no hw
19 * flow ctrl is possible but you have less CPU usage)
21 * You should use this structure in your machine description to specify
22 * how the MAX3100 is connected. Example:
24 * static struct plat_max3100 max3100_plat_data = {
30 * static struct spi_board_info spi_board_info[] = {
32 * .modalias = "max3100",
33 * .platform_data = &max3100_plat_data,
35 * .max_speed_hz = 5*1000*1000,
44 void (*max3100_hw_suspend
) (int suspend
);