From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751574AbdIEHje (ORCPT ); Tue, 5 Sep 2017 03:39:34 -0400 Received: from mail-wr0-f176.google.com ([209.85.128.176]:36264 "EHLO mail-wr0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751376AbdIEHjb (ORCPT ); Tue, 5 Sep 2017 03:39:31 -0400 X-Google-Smtp-Source: ADKCNb4bqWHl7f8p3DdqbEpCyuvsehEifCoDKbk/PnMyf2aqA8uakaQZF3jyUkvTiVmJM7Gl5hG1KA== Date: Tue, 5 Sep 2017 08:39:27 +0100 From: Lee Jones To: Hans de Goede Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH resend 2/2] mfd: intel_soc_pmic: Differentiate between Bay and Cherry Trail CRC variants Message-ID: <20170905073927.i7y6yhnn4tx5frtc@dell> References: <20170904132242.14214-1-hdegoede@redhat.com> <20170904132242.14214-2-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170904132242.14214-2-hdegoede@redhat.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 04 Sep 2017, Hans de Goede wrote: > Both Bay and Cherry Trail devices may be used together with a Crystal Cove > PMIC. Each platform has its own variant of the PMIC, which both use the > same ACPI HID, but they are not 100% compatible. > > This commits makes the intel_soc_pmic_core code check the _HRV of the > ACPI-firmware-node and selects intel_soc_pmic_config_byt_crc resp. > intel_soc_pmic_config_cht_crc based on this. > > This fixes the Bay Trail specific ACPI OpRegion code causing problems > on Cherry Trail devices. Specifically this was causing the external > microsd slot on a Dell Venue 8 5855 (Cherry Trail version) to not work > and the eMMC to become unreliable and throw lots of errors. > > Fixes: 5165238460 ("mfd: intel_soc_pmic: Core driver") > Reported-and-tested-by: russianneuromancer > Signed-off-by: Hans de Goede > Reviewed-by: Andy Shevchenko > Acked-for-MFD-by: Lee Jones > --- > drivers/mfd/Kconfig | 4 ++-- > drivers/mfd/intel_soc_pmic_core.c | 34 ++++++++++++++++++++++++++++------ > 2 files changed, 30 insertions(+), 8 deletions(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog