Laurent Pinchart
e854547bfa
sh: Remove unused sh_pfc_register_info() function
...
All boards use sh_pfc_register() directly, remove the unused
sh_pfc_register_info() function.
Make the name argument to sh_pfc_register() mandatory as it's now
supplied by all callers.
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:30 +09:00
Laurent Pinchart
d9b8f244b9
sh: shx3: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:30 +09:00
Laurent Pinchart
afd831b403
sh: sh7786: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:30 +09:00
Laurent Pinchart
bf3db194d5
sh: sh7785: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:30 +09:00
Laurent Pinchart
d0831feb18
sh: sh7757: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:30 +09:00
Laurent Pinchart
5e9e63715c
sh: sh7734: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:30 +09:00
Laurent Pinchart
33675063af
sh: sh7724: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:30 +09:00
Laurent Pinchart
525354fab3
sh: sh7723: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:29 +09:00
Laurent Pinchart
5b574e29b1
sh: sh7722: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:29 +09:00
Laurent Pinchart
9f27bac5ab
sh: sh7720: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:29 +09:00
Laurent Pinchart
40fe892eae
sh: sh7269: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:29 +09:00
Laurent Pinchart
0b36eb6da8
sh: sh7264: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:29 +09:00
Laurent Pinchart
676e427802
sh: sh7203: pinmux: Use driver-provided pinmux info
...
Pinmux info for the sh machines is now provided by pinmux drivers.
Remove the duplicate copy in arch code.
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:29 +09:00
Laurent Pinchart
994d66a4c2
ARM: shmobile: sh73a0: Use driver-provided pinmux info
...
Pinmux info for the sh73a0 is now provided by pinmux drivers. Remove the
duplicate copy in arch code.
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:29 +09:00
Laurent Pinchart
5967fe0905
ARM: shmobile: sh7372: Use driver-provided pinmux info
...
Pinmux info for the sh7372 is now provided by pinmux drivers. Remove the
duplicate copy in arch code.
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:28 +09:00
Laurent Pinchart
8b6edf3622
ARM: shmobile: r8a7779: Use driver-provided pinmux info
...
Pinmux info for the r8a7779 is now provided by pinmux drivers. Remove
the duplicate copy in arch code.
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:28 +09:00
Laurent Pinchart
02b01adb92
ARM: shmobile: r8a7740: Use driver-provided pinmux info
...
Pinmux info for the r8a7740 is now provided by pinmux drivers. Remove
the duplicate copy in arch code.
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:28 +09:00
Laurent Pinchart
d5d9a818b8
sh-pfc: Add shx3 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:28 +09:00
Laurent Pinchart
d2a31bddbd
sh-pfc: Add sh7786 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:28 +09:00
Laurent Pinchart
a56398e969
sh-pfc: Add sh7785 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:28 +09:00
Laurent Pinchart
0bb92677ab
sh-pfc: Add sh7757 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:28 +09:00
Laurent Pinchart
ac1ebc2190
sh-pfc: Add sh7734 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:27 +09:00
Laurent Pinchart
0ff25baba0
sh-pfc: Add sh7724 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:27 +09:00
Laurent Pinchart
d05afa0afc
sh-pfc: Add sh7723 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:27 +09:00
Laurent Pinchart
f5e25ae52f
sh-pfc: Add sh7722 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:27 +09:00
Laurent Pinchart
74cad60549
sh-pfc: Add sh7720 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:27 +09:00
Laurent Pinchart
f5e811f2a4
sh-pfc: Add sh7269 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:27 +09:00
Laurent Pinchart
a8d42fc421
sh-pfc: Add sh7264 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:27 +09:00
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