Skip to content
Commit 49b5b5bf authored by Henning Schild's avatar Henning Schild Committed by Greg Kroah-Hartman
Browse files

gpio-f7188x: fix chip name and pin count on Nuvoton chip



[ Upstream commit 3002b864 ]

In fact the device with chip id 0xD283 is called NCT6126D, and that is
the chip id the Nuvoton code was written for. Correct that name to avoid
confusion, because a NCT6116D in fact exists as well but has another
chip id, and is currently not supported.

The look at the spec also revealed that GPIO group7 in fact has 8 pins,
so correct the pin count in that group as well.

Fixes: d0918a84 ("gpio-f7188x: Add GPIO support for Nuvoton NCT6116")
Reported-by: default avatarXing Tong Wu <xingtong.wu@siemens.com>
Signed-off-by: default avatarHenning Schild <henning.schild@siemens.com>
Acked-by: default avatarSimon Guinot <simon.guinot@sequanux.org>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 085f27f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment