Laurent Pinchart
ccda552eb1
sh-pfc: Add sh7203 pinmux support
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:26 +09:00
Laurent Pinchart
5d5166dc39
sh-pfc: Add sh73a0 pinmux support
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:26 +09:00
Laurent Pinchart
6e5469a6b1
sh-pfc: Add sh7372 pinmux support
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:26 +09:00
Laurent Pinchart
881023d28b
sh-pfc: Add r8a7779 pinmux support
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:26 +09:00
Laurent Pinchart
d5b1521a94
sh-pfc: Add r8a7740 pinmux support
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:26 +09:00
Laurent Pinchart
19bb7fe369
sh-pfc: Support pinmux info in driver data instead of platform data
...
Pinmux information should be provided by the pinmux driver, not arch
code. Make it possible to do so by supporting pinmux information passed
through the driver_data field in the platform ID table. Platform data
will remain supported until all arch code has been converted.
Rename the sh_pfc_platform_data structure to sh_pfc_soc_info to reflect
this.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:26 +09:00
Laurent Pinchart
6e54d8d252
sh-pfc: Move driver from drivers/sh/ to drivers/pinctrl/
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:25 +09:00
Laurent Pinchart
56dc04af3b
sh-pfc: Remove unused resource and num_resources platform data fields
...
The fields are now unused, remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:25 +09:00
Laurent Pinchart
8682b3c522
sh-pfc: Remove platform device registration
...
The PFC platform device is now registered by arch code, remove the
legacy registration mechanism.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:25 +09:00
Laurent Pinchart
3e347f08aa
sh: shx3: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:25 +09:00
Laurent Pinchart
c0fdbff91b
sh: sh7786: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:25 +09:00
Laurent Pinchart
77bd27b240
sh: sh7785: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:25 +09:00
Laurent Pinchart
eb61b772af
sh: sh7757: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:25 +09:00
Laurent Pinchart
2c17218257
sh: sh7734: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:24 +09:00
Laurent Pinchart
18ebd22884
sh: sh7724: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:24 +09:00
Laurent Pinchart
16941a892a
sh: sh7723: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:24 +09:00
Laurent Pinchart
ef97c3c139
sh: sh7722: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:24 +09:00
Laurent Pinchart
85db6bff7e
sh: sh7720: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:24 +09:00
Laurent Pinchart
fb872fcc71
sh: sh7269: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:24 +09:00
Laurent Pinchart
5946e7bb44
sh: sh7264: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:24 +09:00
Laurent Pinchart
b768ecbc51
sh: sh7203: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:23 +09:00
Laurent Pinchart
8fdff1dc26
sh: Add PFC platform device registration helper function
...
The sh_pfc_register() function can be called by boards or SoC setup code
to register the PFC platform device.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:23 +09:00
Laurent Pinchart
c2a163c830
ARM: shmobile: sh73a0: Add pin control resources
...
Add memory resources for the pin control platform device to let the
sh-pfc driver ioremap() registers properly instead of evily casting
register physical addresses to virtual addresses.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:23 +09:00
Laurent Pinchart
3bdd190670
ARM: shmobile: sh7372: Add pin control resources
...
Add memory resources for the pin control platform device to let the
sh-pfc driver ioremap() registers properly instead of evily casting
register physical addresses to virtual addresses.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:23 +09:00
Laurent Pinchart
38e9623e26
ARM: shmobile: r8a7740: Add pin control resources
...
Add memory resources for the pin control platform device to let the
sh-pfc driver ioremap() registers properly instead of evily casting
register physical addresses to virtual addresses.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:23 +09:00
Laurent Pinchart
49a8dd66c5
ARM: shmobile: sh73a0: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:23 +09:00
Laurent Pinchart
5812e8d493
ARM: shmobile: sh7372: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:23 +09:00
Laurent Pinchart
74494117a5
ARM: shmobile: r8a7779: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:22 +09:00
Laurent Pinchart
e48d1988ee
ARM: shmobile: r8a7740: Register PFC platform device
...
Add arch code to register the PFC platform device instead of calling the
driver directly. Platform device registration in the sh-pfc driver will
be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:22 +09:00
Laurent Pinchart
a47029c16a
ARM: shmobile: Select PINCTRL
...
The pin control framework is required by mach-shmobile. Select it in
Kconfig.
This will be required when the sh-pfc driver will move to
drivers/pinctrl/.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:22 +09:00
Laurent Pinchart
973931ae0a
sh-pfc: Support passing resources through platform device
...
Resources should be passed through the platform device, not through
platform data. Default to platform device resources and fall back to
platform data resources if not available.
Support for platform data resources will be removed when arch code will
be converted.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:22 +09:00
Laurent Pinchart
40ee6fce7a
sh-pfc: Split platform device and platform driver registration
...
Move platform driver registration to a static postcore initcall. This
prepares the move of platform device registration to arch code.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:22 +09:00
Laurent Pinchart
4aeacd5bd5
sh-pfc: Use sh_pfc_ namespace prefix through the whole driver
...
Most of the function and structure names are prefixed by sh_pfc_. Fix
the ones that are not to avoid namespace clashes (especially for
functions that start with gpio_).
Not included in this patch are the platform data structures, those will
be reworked later.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:22 +09:00
Laurent Pinchart
90efde223d
sh-pfc: Sort headers alphabetically
...
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:22 +09:00
Laurent Pinchart
a99ebec16c
sh-pfc: Remove check for impossible error condition
...
The pfc pointer can't be NULL in the get and set value functions, remove
the error check.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:21 +09:00
Laurent Pinchart
4a2e0d18f9
sh-pfc: Let the compiler decide whether to inline functions
...
The compiler should be smart enough to automatically inline static
functions that are called from a single location.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:21 +09:00
Laurent Pinchart
c9fa88e23a
sh-pfc: Use devm_ioremap_nocache()
...
Replace probe-time ioremap_nocache() call with devm_ioremap_nocache()
and get rid of the corresponding iounmap() call.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:21 +09:00
Laurent Pinchart
1724acfd59
sh-pfc: Use devm_kzalloc()
...
Replace probe-time kmalloc()/kzalloc() calls with devm_kzalloc() and get
rid of the corresponding kfree() calls.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:21 +09:00
Laurent Pinchart
c6193eacda
sh-pfc: Move platform device and driver to the core
...
The pinctrl module registers both a platform device and a platform
driver. The only purpose of this awkward construction is to have a
device to pass to the pinctrl registration function.
As a first step to get rid of this hack, move the platform device and
driver from the pinctrl module to the core. The platform device will
then be moved to arch code.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:21 +09:00
Laurent Pinchart
6f6a4a683b
sh-pfc: Merge PFC core and gpio
...
The PFC core calls the gpio module gpiochip registration in its
register_sh_pfc() function, itself called at arch initialization time.
If the gpio module isn't present then the gpiochip will never be
registered.
As the gpio module can only be present at arch initialization time if
it's builtin, there's no point in allowing to build it as a module. Make
it a boolean option, and initialize it synchronously with the core if
selected.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:21 +09:00
Laurent Pinchart
f9492fda70
sh-pfc: Merge PFC core and pinctrl
...
The PFC core is only used by the pinctrl and gpio modules. As the gpio
module depends on the pinctrl module, the pinctrl module will always be
present if the core gets used. There is thus no point in keeping core
and pinctrl in two seperate modules. Merge them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:21 +09:00
Laurent Pinchart
f9165132c5
sh-pfc: Move private definitions and declarations to private header
...
Move all private structure definitions and function declarations from
include/linux/sh_pfc.h to drivers/sh/pfc/core.h.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:20 +09:00
Laurent Pinchart
d4e62d0094
sh-pfc: Split platform data from the sh_pfc structure
...
Create a sh_pfc_platform_data structure to store platform data and
reference it from the core sh_pfc structure.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Paul Mundt <lethal@linux-sh.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:20 +09:00
Laurent Pinchart
e62ebcdbce
sh: shx3: Fix last GPIO index
...
A careless look at the code shows that the last entry in the
pinmux_gpios seems to be GPIO_FN_IRQOUT. However, entries are ordered by
the GPIO number, as the PINMUX_GPIO macro is expended to an indexed
array initializer. The last entry in the array is thus GPIO_FN_STATUS0.
Set the pinmux_info last_gpio field accordingly.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:20 +09:00
Laurent Pinchart
451d0a9044
sh: sh7786: Fix last GPIO index
...
A careless look at the code shows that the last entry in the
pinmux_gpios seems to be GPIO_FN_FSE. However, entries are ordered by
the GPIO number, as the PINMUX_GPIO macro is expended to an indexed
array initializer. The last entry in the array is thus GPIO_FN_IRL4. Set
the pinmux_info last_gpio field accordingly.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:20 +09:00
Laurent Pinchart
cc88ec4875
sh: sh7786: Fix port E, G and J GPIOs
...
The port E, G and J GPIOs don't match the SoC datasheet (they seem to
have been copied from the SH7785). Fix them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:19 +09:00
Laurent Pinchart
ffacb6a3f6
sh: sh7757: Fix GPIO_FN_ET0_MDIO and GPIO_FN_ET1_MDIO GPIO entries
...
The GPIO_FN_ET0_MDIO and GPIO_FN_ET1_MDIO GPIO entries incorrectly
reference the ET0_MDC_MARK and ET1_MDC_MARK marks instead of the
ET0_MDIO_MARK and ET1_MDIO_MARK marks. Fix them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:19 +09:00
Laurent Pinchart
54cbac8188
sh: sh7723: Rename GPIO_FN_SIUOSPD to GPIO_FN_SIUAOSPD
...
The GPIO was incorrectly named. As it has no user in the whole kernel
tree, just rename it.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:19 +09:00
Laurent Pinchart
bcdccf9e28
sh: sh7269: Rename CRX0CRX1(CRX2) marks to match GPIO names
...
Rename CRX0CRX1_MARK and CRX0CRX1CRX2_MARK to CRX0_CRX1_MARK and
CRX0_CRX1_CRX2_MARK respectively to match the GPIO_FN_CRX0_CRX1 and
GPIO_FN_CRX0_CRX1_CRX2 GPIO names.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:19 +09:00
Laurent Pinchart
38357e647f
sh: sh7264: Rename CRX0CRX1 mark to match GPIO names
...
Rename CRX0CRX1_MARK to CRX0_CRX1_MARK to match the GPIO_FN_CRX0_CRX1
name.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Simon Horman <horms+renesas@verge.net.au >
2013-01-25 09:24:19 +09:00