arch/sh/boards/mach-highlander/pinmux-r7785rp.c

Source file repositories/reference/linux-study-clean/arch/sh/boards/mach-highlander/pinmux-r7785rp.c

File Facts

System
Linux kernel
Corpus path
arch/sh/boards/mach-highlander/pinmux-r7785rp.c
Extension
.c
Size
442 bytes
Lines
19
Domain
Architecture Layer
Bucket
arch/sh
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2008 Paul Mundt
 */
#include <linux/init.h>
#include <linux/gpio.h>
#include <cpu/sh7785.h>
#include <mach/highlander.h>

void __init highlander_plat_pinmux_setup(void)
{
	/* SCIF0 */
	gpio_request(GPIO_FN_SCIF0_CTS, NULL);
	gpio_request(GPIO_FN_SCIF0_RTS, NULL);
	gpio_request(GPIO_FN_SCIF0_SCK, NULL);
	gpio_request(GPIO_FN_SCIF0_RXD, NULL);
	gpio_request(GPIO_FN_SCIF0_TXD, NULL);
}

Annotation

Implementation Notes