]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/clk/clk-versaclock5.c
clk: vc5: Add properties for configuring SD/OE behavior
authorSean Anderson <sean.anderson@seco.com>
Mon, 9 Aug 2021 22:38:13 +0000 (18:38 -0400)
committerStephen Boyd <sboyd@kernel.org>
Sun, 29 Aug 2021 06:46:21 +0000 (23:46 -0700)
commitd83e561d43bc71e5404e277b0263774ecd1d1f40
tree218e57eb558ee4bfd2596092a7d5a912e8c06672
parent2ef162548a53085499c08485228daa968d66dc5a
clk: vc5: Add properties for configuring SD/OE behavior

The SD/OE pin may be configured to enable output when high or low, and
to shutdown the device when high. This behavior is controller by the SH
and SP bits of the Primary Source and Shutdown Register (and to a lesser
extent the OS and OE bits). By default, both bits are 0 (unless set by
OTP memory), but they may need to be configured differently, depending
on the external circuitry controlling the SD/OE pin.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20210809223813.3766204-3-sean.anderson@seco.com
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-versaclock5.c