Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1701133 > unrolled thread
| Started by | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| First post | 2017-08-01 17:00 +0200 |
| Last post | 2017-08-07 15:20 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.kernel
[PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base Icenowy Zheng <icenowy@aosc.io> - 2017-08-01 17:00 +0200
Re: [linux-sunxi] [PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base Chen-Yu Tsai <wens@csie.org> - 2017-08-04 04:30 +0200
Re: [linux-sunxi] [PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base icenowy@aosc.io - 2017-08-04 05:50 +0200
Re: [PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base Linus Walleij <linus.walleij@linaro.org> - 2017-08-07 15:10 +0200
Re: [PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base icenowy@aosc.io - 2017-08-07 15:20 +0200
| From | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| Date | 2017-08-01 17:00 +0200 |
| Subject | [PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base |
| Message-ID | <u9GOm-5h7-19@gated-at.bofh.it> |
The V3s pin controller doesn't have the bank 0 (starts at address
0x200), which is like A33. However, this is not workarounded when
developing the driver, which makes IRQ not working.
Fix the IRQ bank base.
Fixes: 56d9e4a76039 ("pinctrl: sunxi: add driver for V3s SoC")
Cc: stable@vger.kernel.org
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c b/drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c
index c86d3c42a905..496ba34e1f5f 100644
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c
@@ -297,6 +297,7 @@ static const struct sunxi_pinctrl_desc sun8i_v3s_pinctrl_data = {
.pins = sun8i_v3s_pins,
.npins = ARRAY_SIZE(sun8i_v3s_pins),
.irq_banks = 2,
+ .irq_bank_base = 1,
.irq_read_needs_mux = true
};
--
2.13.0
[toc] | [next] | [standalone]
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Date | 2017-08-04 04:30 +0200 |
| Subject | Re: [linux-sunxi] [PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base |
| Message-ID | <uaAxb-Lm-3@gated-at.bofh.it> |
| In reply to | #1701133 |
On Tue, Aug 1, 2017 at 10:54 PM, Icenowy Zheng <icenowy@aosc.io> wrote:
> The V3s pin controller doesn't have the bank 0 (starts at address
> 0x200), which is like A33. However, this is not workarounded when
was not worked around
"Work around" is a verb phrase. "Workaround" is a noun.
> developing the driver, which makes IRQ not working.
broke the IRQs.
>
> Fix the IRQ bank base.
>
> Fixes: 56d9e4a76039 ("pinctrl: sunxi: add driver for V3s SoC")
> Cc: stable@vger.kernel.org
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Confirmed this is the same thing we saw on A33.
The fix is the same.
Apart from the typo / grammar errors above,
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
[toc] | [prev] | [next] | [standalone]
| From | icenowy@aosc.io |
|---|---|
| Date | 2017-08-04 05:50 +0200 |
| Subject | Re: [linux-sunxi] [PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base |
| Message-ID | <uaBMC-1A5-15@gated-at.bofh.it> |
| In reply to | #1703599 |
在 2017-08-04 10:23,Chen-Yu Tsai 写道:
> On Tue, Aug 1, 2017 at 10:54 PM, Icenowy Zheng <icenowy@aosc.io> wrote:
>> The V3s pin controller doesn't have the bank 0 (starts at address
>> 0x200), which is like A33. However, this is not workarounded when
>
> was not worked around
>
> "Work around" is a verb phrase. "Workaround" is a noun.
>
>> developing the driver, which makes IRQ not working.
>
> broke the IRQs.
>
>>
>> Fix the IRQ bank base.
>>
>> Fixes: 56d9e4a76039 ("pinctrl: sunxi: add driver for V3s SoC")
>> Cc: stable@vger.kernel.org
>> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
>
> Confirmed this is the same thing we saw on A33.
> The fix is the same.
>
> Apart from the typo / grammar errors above,
>
> Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Should I send a v2 now to fix the language errors?
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[toc] | [prev] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2017-08-07 15:10 +0200 |
| Message-ID | <ubPXd-bV-33@gated-at.bofh.it> |
| In reply to | #1701133 |
On Tue, Aug 1, 2017 at 4:54 PM, Icenowy Zheng <icenowy@aosc.io> wrote:
> The V3s pin controller doesn't have the bank 0 (starts at address
> 0x200), which is like A33. However, this is not workarounded when
> developing the driver, which makes IRQ not working.
>
> Fix the IRQ bank base.
>
> Fixes: 56d9e4a76039 ("pinctrl: sunxi: add driver for V3s SoC")
> Cc: stable@vger.kernel.org
This patch only applies on the devel branch so I don't see why it is tagged
for stable.
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Patch applied.
Yours,
Linus Walleij
[toc] | [prev] | [next] | [standalone]
| From | icenowy@aosc.io |
|---|---|
| Date | 2017-08-07 15:20 +0200 |
| Message-ID | <ubQ6T-fz-35@gated-at.bofh.it> |
| In reply to | #1705486 |
在 2017-08-07 21:09,Linus Walleij 写道:
> On Tue, Aug 1, 2017 at 4:54 PM, Icenowy Zheng <icenowy@aosc.io> wrote:
>
>> The V3s pin controller doesn't have the bank 0 (starts at address
>> 0x200), which is like A33. However, this is not workarounded when
>> developing the driver, which makes IRQ not working.
>>
>> Fix the IRQ bank base.
>>
>> Fixes: 56d9e4a76039 ("pinctrl: sunxi: add driver for V3s SoC")
>> Cc: stable@vger.kernel.org
>
> This patch only applies on the devel branch so I don't see why it is
> tagged
> for stable.
I can apply it on v4.12 tag.
The V3s pinctrl driver is introduced in 4.11.
>
>> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
>
> Patch applied.
>
> Yours,
> Linus Walleij
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web