Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 //
0003 // Copyright (C) 2011 Samsung Electronics Ltd.
0004 //      http://www.samsung.com/
0005 
0006 #include <linux/gpio.h>
0007 #include <linux/platform_data/spi-s3c64xx.h>
0008 #include "gpio-cfg.h"
0009 #include "gpio-samsung.h"
0010 
0011 #ifdef CONFIG_S3C64XX_DEV_SPI0
0012 int s3c64xx_spi0_cfg_gpio(void)
0013 {
0014     s3c_gpio_cfgall_range(S3C64XX_GPC(0), 3,
0015                 S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP);
0016     return 0;
0017 }
0018 #endif