From: Jarkko Sakkinen Subject: Re: [PATCH v2 3/3] tpm_tis: Consolidate the platform and acpi probe flow Date: Tue, 9 May 2017 17:04:25 +0300 Message-ID: <20170509140425.zr5hrxpjiytp6hpd@intel.com> References: <1493913205-18276-1-git-send-email-jgunthorpe@obsidianresearch.com> <1493913205-18276-4-git-send-email-jgunthorpe@obsidianresearch.com> <20170508235033.qcq6my5dvpyvwrwx@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20170508235033.qcq6my5dvpyvwrwx-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Jason Gunthorpe Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net On Tue, May 09, 2017 at 02:50:33AM +0300, Jarkko Sakkinen wrote: > On Thu, May 04, 2017 at 09:53:25AM -0600, Jason Gunthorpe wrote: > > Now that the platform device was merged for OF support we can use the > > platform device to match ACPI devices as well and run everything > > through tpm_tis_init. > > > > pnp_acpi_device is replaced with ACPI_COMPANION, and ACPI_HANDLE is > > pushed further down. > > > > platform_get_resource is used instead of acpi_dev_get_resources. > > > > The itpm global module parameter is no longer changed during itpm > > detection, instead the phy specific bit is set directly. > > > > Tested-by: Jerry Snitselaar > > Signed-off-by: Jason Gunthorpe > > Reviewed-by: Jarkko Sakkinen Tested-by: Jarkko Sakkinen /Jarkko ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot