Jonas Gorski
53a02272e4
MIPS: BCM63xx: Remove !RUNTIME_DETECT code from gpio code
...
Signed-off-by: Jonas Gorski <[email protected] >
Cc: [email protected]
Cc: John Crispin <[email protected] >
Cc: Maxime Bizon <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: Kevin Cernekee <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/7269/
Signed-off-by: Ralf Baechle <[email protected] >
2014-07-30 15:23:06 +02:00
Florian Fainelli
92d9ae2026
MIPS: BCM63xx: Fix GPIO set/get for BCM6345
...
On BCM6345, the register offsets for the set/get GPIO registers is wrong.
Use the same logic as the one present in arch/mips/bcm63xx/irq.c to
define the correct gpio_out_low_reg value when support for BCM6345
is compiled in.
Signed-off-by: Florian Fainelli <[email protected] >
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/3010/
Signed-off-by: Ralf Baechle <[email protected] >
2011-12-07 22:03:04 +00:00
Florian Fainelli
3e1bf29f73
MIPS: BCM63xx: Avoid namespace clash on GPIO_DIR_{IN,OUT}
...
This is too generic a name, so prefix it with BCM63XX_ to avoid potential
namespace clashes when including <asm/gpio.h>.
Signed-off-by: Florian Fainelli <[email protected] >
To: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/1171/
Signed-off-by: Ralf Baechle <[email protected] >
2010-05-21 21:31:22 +01:00
Maxime Bizon
9538ca636f
MIPS: BCM63xx: Initialize gpio_out_low & out_high to current value at boot.
...
To avoid a glitch during GPIO initialisation read GPIO output register
values left by the firmware.
Signed-off-by: Maxime Bizon <[email protected] >
To: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/903/
Signed-off-by: Ralf Baechle <[email protected] >
2010-04-12 17:26:19 +01:00
Maxime Bizon
97befcf4f0
MIPS: BCM63xx: Fix double gpio registration.
...
bcm63xx_gpio_init is already called from prom_init to allow board to use
them early, so we can remove the unneeded arch_initcall.
Signed-off-by: Maxime Bizon <[email protected] >
To: [email protected]
Cc: Maxime Bizon <[email protected] >
Patchwork: http://patchwork.linux-mips.org/patch/899/
Signed-off-by: Ralf Baechle <[email protected] >
2010-04-12 17:26:17 +01:00
Maxime Bizon
e7300d04bd
MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs.
...
Signed-off-by: Maxime Bizon <[email protected] >
Signed-off-by: Florian Fainelli <[email protected] >
Signed-off-by: Ralf Baechle <[email protected] >
2009-09-17 20:07:52 +02:00