Linux Audio

Check our new training course

Loading...
v3.15
 
 1/*
 2 * SH7269 Pinmux
 3 *
 4 * Copyright (C) 2012  Renesas Electronics Europe Ltd
 5 * Copyright (C) 2012  Phil Edworthy
 6 *
 7 * This file is subject to the terms and conditions of the GNU General Public
 8 * License.  See the file "COPYING" in the main directory of this archive
 9 * for more details.
10 */
11
12#include <linux/bug.h>
13#include <linux/init.h>
14#include <linux/ioport.h>
15#include <linux/kernel.h>
16#include <cpu/pfc.h>
17
18static struct resource sh7269_pfc_resources[] = {
19	[0] = {
20		.start	= 0xfffe3800,
21		.end	= 0xfffe391f,
22		.flags	= IORESOURCE_MEM,
23	},
24};
25
26static int __init plat_pinmux_setup(void)
27{
28	return sh_pfc_register("pfc-sh7269", sh7269_pfc_resources,
29			       ARRAY_SIZE(sh7269_pfc_resources));
30}
31arch_initcall(plat_pinmux_setup);
v5.14.15
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * SH7269 Pinmux
 4 *
 5 * Copyright (C) 2012  Renesas Electronics Europe Ltd
 6 * Copyright (C) 2012  Phil Edworthy
 
 
 
 
 7 */
 8
 9#include <linux/bug.h>
10#include <linux/init.h>
11#include <linux/ioport.h>
12#include <linux/kernel.h>
13#include <cpu/pfc.h>
14
15static struct resource sh7269_pfc_resources[] = {
16	[0] = {
17		.start	= 0xfffe3800,
18		.end	= 0xfffe391f,
19		.flags	= IORESOURCE_MEM,
20	},
21};
22
23static int __init plat_pinmux_setup(void)
24{
25	return sh_pfc_register("pfc-sh7269", sh7269_pfc_resources,
26			       ARRAY_SIZE(sh7269_pfc_resources));
27}
28arch_initcall(plat_pinmux_setup);