]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/ingenic: Add support for the Ingenic X1000 OST.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Wed, 22 Jul 2020 17:18:04 +0000 (01:18 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 23 Jul 2020 14:58:09 +0000 (16:58 +0200)
commit834d6bf72805bb1253fcade0f85581b724648d51
tree56576d8580df0215b418905df1652c59f5e91900
parentbdb0d02d4e6d878133ab3aad115108c437d5848c
clocksource/drivers/ingenic: Add support for the Ingenic X1000 OST.

X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate
OST, it no longer belongs to TCU. This driver will register both a
clocksource and a sched_clock to the system.

Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com>
Co-developed-by: 漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com>
Signed-off-by: 漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com>
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200722171804.97559-3-zhouyanjie@wanyeetech.com
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/ingenic-sysost.c [new file with mode: 0644]