tpm: Use livetree and allow children
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:27 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commitc89d32a7b1acc6a16b1e749e93844f7364ceacbf
treeabffe71f73c667fd8cd5234aaaa262f9ddd6e24e
parentc6ebd011bb27750263e8dd62e33ed5cdd49dc88e
tpm: Use livetree and allow children

Adjust the TPM drivers to use livetree (only one does not). Also,
sometimes TPMs can have child devices if they provide a service to the
system (such as storing secure data), so permit that.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/tpm/tpm-uclass.c
drivers/tpm/tpm_tis_lpc.c