OSDN Git Service

clk: ingenic: Handle setting the Low-Power Mode bit
authorPaul Cercueil <paul@crapouillou.net>
Tue, 11 Jun 2019 18:07:54 +0000 (20:07 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 25 Jun 2019 22:43:15 +0000 (15:43 -0700)
commit2ee93e3c953b7263c21ce61e7c42e33d0539bef9
treec6dd6351f5350bb9724f2fcc6f13a1b0335b5d22
parentdbc38ad0e7390162c500210f96ebf1d6a8738899
clk: ingenic: Handle setting the Low-Power Mode bit

The Low-Power Mode, when enabled, will make the "wait" MIPS instruction
suspend the system.

This is not really clock-related, but this bit happens to be in the
register set of the CGU.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ingenic/Makefile
drivers/clk/ingenic/jz4725b-cgu.c
drivers/clk/ingenic/jz4740-cgu.c
drivers/clk/ingenic/jz4770-cgu.c
drivers/clk/ingenic/jz4780-cgu.c
drivers/clk/ingenic/pm.c [new file with mode: 0644]
drivers/clk/ingenic/pm.h [new file with mode: 0644]