13 Jan, 2016
1 commit
-
Commit 6aa7dbfa2877 ("gpio: mm-lantiq: use gpiochip data pointer") replaces
the use of container_of() with gpiochip_get_data(). However, the data
pointer is not yet set by the time the save_regs function is called.Fixes: 6aa7dbfa2877 ("gpio: mm-lantiq: use gpiochip data pointer")
Cc: Ricardo Ribalda Delgado
Cc: John Crispin
Signed-off-by: Guenter Roeck
Signed-off-by: Linus Walleij
05 Jan, 2016
1 commit
-
This makes the driver use the data pointer added to the gpio_chip
to store a pointer to the state container instead of relying on
container_of().Cc: Ricardo Ribalda Delgado
Cc: John Crispin
Signed-off-by: Linus Walleij
20 Jan, 2015
4 commits
-
Since d621e8bae5ac9c67 (Create of_mm_gpiochip_remove), there is a
counterpart for of_mm_gpiochip_add.This patch implements the remove function of the driver making use of
it.Cc: Alexandre Courbot
Cc: John Crispin
Signed-off-by: Ricardo Ribalda Delgado
Signed-off-by: Linus Walleij -
Instead of parsing manually the shadow content, use the much simpler
helper of_property_read_u32.Cc: Alexandre Courbot
Cc: Grant Likely
Cc: Rob Herring
Cc: John Crispin
Cc: devicetree@vger.kernel.org
Cc: Mark Rutland
Signed-off-by: Ricardo Ribalda Delgado
Signed-off-by: Linus Walleij -
Do not replicate code from of_mm_gpiochip_add.
Cc: Alexandre Courbot
Cc: John Crispin
Signed-off-by: Ricardo Ribalda Delgado
Signed-off-by: Linus Walleij -
Replace kzalloc with the device managed devm_kzalloc
Cc: Alexandre Courbot
Cc: John Crispin
Signed-off-by: Ricardo Ribalda Delgado
Signed-off-by: Linus Walleij
20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
21 May, 2012
2 commits
-
Implements OF support and convert to of_mm_gpio.
By attaching hardware latches to the External Bus Unit (EBU) on Lantiq SoC, it
is possible to create output only gpios. This driver configures a special
memory address, which when written to, outputs 16 bit to the latches.Signed-off-by: John Crispin
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Acked-by: Grant Likely
Patchwork: https://patchwork.linux-mips.org/patch/3840/
Signed-off-by: Ralf Baechle -
Move the 2 drivers from arch/mips/lantiq/xway/ to the subsystem and make them
buildable.The following 2 patches will convert the drivers to OF.
Signed-off-by: John Crispin
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Acked-by: Grant Likely
Patchwork: https://patchwork.linux-mips.org/patch/3838/
Signed-off-by: Ralf Baechle