Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp175068imd; Wed, 31 Oct 2018 16:50:02 -0700 (PDT) X-Google-Smtp-Source: AJdET5eIB0A4M2Eh5r/TLQl2IY7S+oGXJOSL3TAQE7ZcIATIHCaIANObKZCJ5X0XZwVCBQP4T+Gp X-Received: by 2002:a63:7154:: with SMTP id b20mr5050635pgn.342.1541029802315; Wed, 31 Oct 2018 16:50:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541029802; cv=none; d=google.com; s=arc-20160816; b=ql46Q//sduCDP/d5ifep/c4jEwcbSe/f1B9bvkkxzPbMyVBm5UNSJiLNcSTtZ63liN xKiOy8FAj8AALBO4tL/OC+jrqpZqkEfLAlMccG3jXidKbNRYIULTnG3IzVXGQ/xk/rMr iC6t0WKoU0L7wpVb+3yV0GZL32m762hlm4psjre3vFfkEGWalg/C6s0JiK52NBcGaOM3 fcdLVd8bs0FgJVstNuWuVUbUFTrVYXm7dSb0gQ9FNd0xAwfHieesJKdau9o1KKSPXiD/ klz6Mcj+L+TP5+KR1Ytd6s5+JNEyuTXQR7Trh2ecQt0ZU6E5YX7eW1BZZqU6PbzsuKwT Kgew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=lrvrXbfKVsZAMozPizgAbP2LeJPn834Wem8/iGtLiak=; b=MC4So+qEAUJQyrJzg/ykAW6Uky2swY4mtp4qXGRP9bTS1G3BPw1SfF9BscPMQ9R+Z1 x0AkrVU2DmqhnSTsRjrMNDBzmg/yka2IKjyrzLuTvZ5pKZtjeQ7CDYdRf6FnB0pOhuBw aULIN7AQ/PF6h6dj89aK2VO4TPAaqaEi/kbcsQ5GCsPv7YznoLjCLXUH/+QZPTSsYi8B juqjp1P+WTSGeDp/6oI/PvU/C5kXoE8MfPf4u4mAjZ7yYfDFvdLVj8uolPVG0RjwIvMB NnsikKbKbKABb3UMOtMBq3c+N7bBJ+U6xjgRbtJDRZAB11+XBFbqCb4KFxdWJ4iS0Nm3 oxqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AgBKmrXM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m17-v6si30143928pgj.155.2018.10.31.16.49.47; Wed, 31 Oct 2018 16:50:02 -0700 (PDT) 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=AgBKmrXM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728394AbeKAIGu (ORCPT + 99 others); Thu, 1 Nov 2018 04:06:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:54024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728362AbeKAIGt (ORCPT ); Thu, 1 Nov 2018 04:06:49 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4EEC520823; Wed, 31 Oct 2018 23:06:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541027198; bh=2Hgx14Sui0rTxICiZtVqJ812vE5fhOiozRwac0iJpcc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AgBKmrXMPwsC2/BJP2KUJPhb73E/0Z4tSGDc2GqGv5/AcEfnL9fqUtBCHBVh/2zsm +Ai6aBdyt6MukeqxIcBbvXLSkclK4MhSzkWqSw47KSR0EBCwf2MI9dNkz5LFtJo91f DGkVVq+qyEyCVhFhnNbAXKUpDmT4ZvbSg6wM+zEQ= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Hans de Goede , "Rafael J . Wysocki" , Sasha Levin Subject: [PATCH AUTOSEL 4.19 062/146] ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers Date: Wed, 31 Oct 2018 19:04:17 -0400 Message-Id: <20181031230541.28822-62-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181031230541.28822-1-sashal@kernel.org> References: <20181031230541.28822-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/acpi/acpi_lpss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c index bf64cfa30feb..969bf8d515c0 100644 --- a/drivers/acpi/acpi_lpss.c +++ b/drivers/acpi/acpi_lpss.c @@ -327,9 +327,11 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = { { "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 */ -- 2.17.1