gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
Subsystems (2)
PATCH RESEND v3 1/1 gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
This patch seems to have got lost when all the other CS47L24 patches were applied. I don't care whether it goes through the GPIO tree or the MFD tree with the rest of the patches, but note that it has a build dependency on the MFD patches for CS47L24.
Richard Fitzgerald (1):
gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
drivers/gpio/gpio-arizona.c | 4 ++++ 1 file changed, 4 insertions(+)
Signature · 1 line
1.9.1
PATCH RESEND v3 1/1 gpio: arizona: Support Cirrus Logic CS47L24 and WM1831
The CS47L24 and WM1831 codecs only have two GPIO lines, but are otherwise similar to the WM8280.
--- drivers/gpio/gpio-arizona.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpio/gpio-arizona.c +4 -0
@@ -122,6 +122,10 @@ static int arizona_gpio_probe(struct platform_device *pdev)case WM1814 : arizona_gpio->gpio_chip.ngpio =5 ;break ; +case WM1831 : +case CS47L24 : + arizona_gpio->gpio_chip.ngpio =2 ; +break ;default :dev_err (&pdev->dev,"Unknown chip variant %d\n" , arizona->type);
Signature · 1 line
1.9.1
Quoted 5 lines · Richard Fitzgerald
The CS47L24 and WM1831 codecs only have two GPIO lines, but are otherwise similar to the WM8280.
Signed-off-by Richard Fitzgerald <[email protected]>Acked-by Linus Walleij <[email protected]>
OK I guess it should just be optimistically merged to the MFD tree where the dependency is (I guess?). Else I can take it once the MFD changes are upstream.
Yours,
Linus Walleij
Quoted 6 lines · Linus Walleij
Quoted 3 lines · Richard Fitzgerald
The CS47L24 and WM1831 codecs only have two GPIO lines, but are otherwise similar to the WM8280.
Quoted 6 lines
Quoted 2 lines
Signed-off-by Richard Fitzgerald <[email protected]>Acked-by Linus Walleij <[email protected]>OK I guess it should just be optimistically merged to the MFD tree where the dependency is (I guess?). Else I can take it once the MFD changes are upstream.
I just applied it.
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog