Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3483266imu; Sun, 11 Nov 2018 16:07:45 -0800 (PST) X-Google-Smtp-Source: AJdET5e2xeETNxpmVcJnFloDmZEbiRmrURfy58tANWpeu/r82MOmD/XRO19psHi0+c1pwb7hQY7W X-Received: by 2002:a63:63c3:: with SMTP id x186mr15519867pgb.330.1541981264968; Sun, 11 Nov 2018 16:07:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541981264; cv=none; d=google.com; s=arc-20160816; b=emOKfqyUOostI0HOGUzRSjZUTLz0tZaTGbnpjRqJOhqmhIaSKPyRybZFXVKh6niw5P yUXliDYrv0LRgdopZuSZ+rLsszL9W96bKIIrXTYe4KOqVCyLPbHUcSTNw5nqPoo8Gn3T /QJn+dT8SXroIzvWCNv9rt53vYyuVbUATAsBQITq6Hfc4PV+2MJPzcqQ0ckPITh7YO4o z6tpZLjnEMG43EV1ZtVI638iBnG4VtHUFFR5UUoG42kwBEG2Jjjy19NqKrFRhAMD0BvG UUflAXh0p8pt+Ykmn+inNJreJVq/5p/0GpIj+LnaUMJOEGkIIzUj2FhfBE4ZUO19iLwt YnTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=j4WpQ84wKvg/iyeOqOOuv1EuQu2PGkbNKW8IiUiHk3o=; b=a0K5M0yow2S3KAnxAMSbrLbPOZSKQFqVcX4zCJ8B4Z5RFX9L7O5h9Iwd5lEbU5OnET SZvIh16e70SN2T703iw98tHS88bs/CxLkYyjkkrxEHtlS1HklR7YX13lOJ8neM0moqDs bw1K/28qhJY0A3qRPUOBiLMB0KOKfDTzvmgbiPmJZDTEwB3eVpaRvjf5z3tZRTESZTmM acl6/teve7mS3ckY+5obIO/GWHYhgkxqgxx5x2ebCkkI2nvhyFApO6DUm/HrEB8sOc2h 4CQFjmtQwOpd8nLN25Bu1QyKgxh5b0PAgz6i0FLgWYK8QVNQpWEQyt5Eh2y2ql9xD5m0 4IcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="S/Bas0j7"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si748758pll.428.2018.11.11.16.07.30; Sun, 11 Nov 2018 16:07:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="S/Bas0j7"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731772AbeKLIRh (ORCPT + 99 others); Mon, 12 Nov 2018 03:17:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:33748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731660AbeKLIRf (ORCPT ); Mon, 12 Nov 2018 03:17:35 -0500 Received: from localhost (unknown [206.108.79.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DF53921707; Sun, 11 Nov 2018 22:27:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975259; bh=MLdflJ0CYPEJVlDEayceocFTJ+qbYw7J/6/yGjapFs8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S/Bas0j70SeP8qsI6dhAGGs4XTxKf5dV0+P3PBinIreNH7LA1x+9afwF/WqvyktZ8 zUeD66iv7s/YmPq0aDiVYt3E1Pu9r2k7XJBHh3/C1o4Qp7XUu37L2zy9zG3jwS7f6z KNGdA2tb3IQXxzrQHY2ej70gDTuKG2Pwwi9+8GWI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Andy Shevchenko , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 4.19 107/361] ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers Date: Sun, 11 Nov 2018 14:17:34 -0800 Message-Id: <20181111221634.629851582@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221619.915519183@linuxfoundation.org> References: <20181111221619.915519183@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede [ Upstream commit 240714061c58e6b1abfb3322398a7634151c06cb ] Bay and Cherry Trail DSTDs represent a different set of devices depending on which OS the device think it is booting. One set of decices for Windows and another set of devices for Android which targets the Android-x86 Linux kernel fork (which e.g. used to have its own display driver instead of using the i915 driver). Which set of devices we are actually going to get is out of our control, this is controlled by the ACPI OSID variable, which gets either set through an EFI setup option, or sometimes is autodetected. So we need to support both. This commit adds support for the 80862286 and 808622C0 ACPI HIDs which we get for the first resp. second DMA controller on Cherry Trail devices when OSID is set to Android. Signed-off-by: Hans de Goede Reviewed-by: Andy Shevchenko Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/acpi_lpss.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/acpi/acpi_lpss.c +++ b/drivers/acpi/acpi_lpss.c @@ -327,9 +327,11 @@ static const struct acpi_device_id acpi_ { "INT33FC", }, /* Braswell LPSS devices */ + { "80862286", LPSS_ADDR(lpss_dma_desc) }, { "80862288", LPSS_ADDR(bsw_pwm_dev_desc) }, { "8086228A", LPSS_ADDR(bsw_uart_dev_desc) }, { "8086228E", LPSS_ADDR(bsw_spi_dev_desc) }, + { "808622C0", LPSS_ADDR(lpss_dma_desc) }, { "808622C1", LPSS_ADDR(bsw_i2c_dev_desc) }, /* Broadwell LPSS devices */