Re: [PATCH] TPM: Provide a tpm_tis OF driver

2012-10-01 Thread Kent Yoder
> +/* irq == 0 -> autoprobe, -1 ->forced no interrupt, > + others -> irq line to use */ > static int tpm_tis_init(struct device *dev, resource_size_t start, > - resource_size_t len, unsigned int irq) > + resource_size_t len, int irq) > { > u32 vendo

[PATCH] TPM: Provide a tpm_tis OF driver

2012-09-30 Thread Jason Gunthorpe
This provides an open firwmare driver binding for tpm_tis. OF is useful on arches where PNP is not used. Allow the tpm_tis driver to be selected if PNP or OF are compiled in. Signed-off-by: Jason Gunthorpe --- drivers/char/tpm/Kconfig |2 +- drivers/char/tpm/tpm_tis.c | 56 +