提交 9456688f 编写于 作者: K Kris Bahnsen 提交者: Zheng Zengkai

ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count

stable inclusion
from stable-v5.10.132
commit d8d42c92fe564ed9dad36a5b0dcfc3b12bfb7965
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5YS3T

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d8d42c92fe564ed9dad36a5b0dcfc3b12bfb7965

--------------------------------

[ Upstream commit e95ea0f6 ]

Device-tree incorrectly used "ngpio" which caused the driver to
fallback to 32 ngpios.

This platform has 62 GPIO registers.

Fixes: 9ff8e9fc ("ARM: dts: TS-7970: add basic device tree")
Signed-off-by: NKris Bahnsen <kris@embeddedTS.com>
Reviewed-by: NFabio Estevam <festevam@gmail.com>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 40a45749
......@@ -226,7 +226,7 @@
reg = <0x28>;
#gpio-cells = <2>;
gpio-controller;
ngpio = <32>;
ngpios = <62>;
};
sgtl5000: codec@a {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册