summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/pinctrl-adi2.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-03-09 18:16:31 +0100
committerArnd Bergmann <arnd@arndb.de>2018-03-26 15:56:55 +0200
commitf59b2dc2de63652cad750efc2ad1012eb1bb342f (patch)
treeea47b5b335a989fb614dd705d9cc358ed32d43f6 /include/linux/platform_data/pinctrl-adi2.h
parent9a95e8d25a140ba95654b34b44f531d0c485c7a7 (diff)
downloadblackbird-op-linux-f59b2dc2de63652cad750efc2ad1012eb1bb342f.tar.gz
blackbird-op-linux-f59b2dc2de63652cad750efc2ad1012eb1bb342f.zip
pinctrl: remove adi2/blackfin drivers
The blackfin architecture is getting removed, so these are now obsolete. Acked-by: Aaron Wu <aaron.wu@analog.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/platform_data/pinctrl-adi2.h')
-rw-r--r--include/linux/platform_data/pinctrl-adi2.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/include/linux/platform_data/pinctrl-adi2.h b/include/linux/platform_data/pinctrl-adi2.h
deleted file mode 100644
index 8f91300617ec..000000000000
--- a/include/linux/platform_data/pinctrl-adi2.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Pinctrl Driver for ADI GPIO2 controller
- *
- * Copyright 2007-2013 Analog Devices Inc.
- *
- * Licensed under the GPLv2 or later
- */
-
-
-#ifndef PINCTRL_ADI2_H
-#define PINCTRL_ADI2_H
-
-#include <linux/io.h>
-#include <linux/platform_device.h>
-
-/**
- * struct adi_pinctrl_gpio_platform_data - Pinctrl gpio platform data
- * for ADI GPIO2 device.
- *
- * @port_gpio_base: Optional global GPIO index of the GPIO bank.
- * 0 means driver decides.
- * @port_pin_base: Pin index of the pin controller device.
- * @port_width: PIN number of the GPIO bank device
- * @pint_id: GPIO PINT device id that this GPIO bank should map to.
- * @pint_assign: The 32-bit GPIO PINT registers can be divided into 2 parts. A
- * GPIO bank can be mapped into either low 16 bits[0] or high 16
- * bits[1] of each PINT register.
- * @pint_map: GIOP bank mapping code in PINT device
- */
-struct adi_pinctrl_gpio_platform_data {
- unsigned int port_gpio_base;
- unsigned int port_pin_base;
- unsigned int port_width;
- u8 pinctrl_id;
- u8 pint_id;
- bool pint_assign;
- u8 pint_map;
-};
-
-#endif
OpenPOWER on IntegriCloud