Linux Audio

Check our new training course

Loading...
v3.15
 
 1/*
 2 * Copyright (C) 2008 Paul Mundt
 3 *
 4 * This file is subject to the terms and conditions of the GNU General Public
 5 * License.  See the file "COPYING" in the main directory of this archive
 6 * for more details.
 7 */
 8#include <linux/init.h>
 9#include <linux/gpio.h>
10#include <cpu/sh7785.h>
11
12void __init highlander_plat_pinmux_setup(void)
13{
14	/* SCIF0 */
15	gpio_request(GPIO_FN_SCIF0_CTS, NULL);
16	gpio_request(GPIO_FN_SCIF0_RTS, NULL);
17	gpio_request(GPIO_FN_SCIF0_SCK, NULL);
18	gpio_request(GPIO_FN_SCIF0_RXD, NULL);
19	gpio_request(GPIO_FN_SCIF0_TXD, NULL);
20}
v6.8
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * Copyright (C) 2008 Paul Mundt
 
 
 
 
 4 */
 5#include <linux/init.h>
 6#include <linux/gpio.h>
 7#include <cpu/sh7785.h>
 8
 9void __init highlander_plat_pinmux_setup(void)
10{
11	/* SCIF0 */
12	gpio_request(GPIO_FN_SCIF0_CTS, NULL);
13	gpio_request(GPIO_FN_SCIF0_RTS, NULL);
14	gpio_request(GPIO_FN_SCIF0_SCK, NULL);
15	gpio_request(GPIO_FN_SCIF0_RXD, NULL);
16	gpio_request(GPIO_FN_SCIF0_TXD, NULL);
17}