ltq-atm/ltq-ptm: re-enable/fix reset_ppe() functionality for VR9
authorMartin Schiller <ms@dev.tdt.de>
Wed, 5 Dec 2018 07:51:13 +0000 (08:51 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 10 Mar 2019 15:49:31 +0000 (16:49 +0100)
commitff3cfe084885662843a6cc95a547eb9f8ef48fa5
treeba59b42001269fb03490e5d5b03cbd706b66bbdd
parenteae6cac6a30b95bef04d033ed8a303b7e35a078b
ltq-atm/ltq-ptm: re-enable/fix reset_ppe() functionality for VR9

This patch re-enables the reset_ppe() functionality for VR9 targets by using
the new lantiq rcu subsystem. The reset sequence in the reset_ppe() function
was taken from the ppa datapath driver of lantiq UGW 7.4.1.

Additionally it adds the required reset definitions to the vr9 dtsi file.

It also prepares the reset_ppe() function calls for the other lantiq targets.

This feature is needed to be able to switch between ltq-atm/ltq-ptm driver
in ATM/PTM Auto-Mode at runtime.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
15 files changed:
package/kernel/lantiq/ltq-atm/src/ifxmips_atm_amazon_se.c
package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ar9.c
package/kernel/lantiq/ltq-atm/src/ifxmips_atm_core.h
package/kernel/lantiq/ltq-atm/src/ifxmips_atm_danube.c
package/kernel/lantiq/ltq-atm/src/ifxmips_atm_vr9.c
package/kernel/lantiq/ltq-atm/src/ltq_atm.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.h
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_amazon_se.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ar9.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_danube.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vr9.c
target/linux/lantiq/files-4.14/arch/mips/boot/dts/vr9.dtsi