Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1038504pxb; Fri, 1 Oct 2021 01:58:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLxpaaNk+NUoW2MOMllQJhFyy+TJr2cZbVMHogNzMLmN/W+xEr/a3zZPQ0gYbCOQPLPENa X-Received: by 2002:a17:906:5282:: with SMTP id c2mr5026164ejm.162.1633078689549; Fri, 01 Oct 2021 01:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633078689; cv=none; d=google.com; s=arc-20160816; b=Gq+d5j6yYuhot4szEg7I/dYZufkzn8yED0yq96VtDeEChvEfmqAGa4WQY6FsPixrxz /cky+pRmZi83Qdg//HUj7kHUrGEDt3rcquC0Qa3Y1aVVtGr2FpbQSxkvuJ8lQNYwOFxS 0VVs5t2vKag6VwamcUS/ZdZrniBqFvumEkIYUCM87+axCfjfRYn3e4Kclji/7aGeKH1R 02mEHB7bc2dWAVhXqfjXfaIFNDgrIRQTIy+i589NT/oU1F0td4fg798j32PiL+wOsDOe SCuIb0xlXIvuWkBaca6wamdTPkxozd9qKuBXE47c8H80WIsl2e2iOvsnSXr4uquI5UPM n0jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=hVVQvf/RTNnxE8jmEe0cunnlVp2WTO4uuOUaOBl9ux0=; b=XPyEgy8wUgnkc2f1PgFZGTqIbWZ3l509uhOdRd9q6e34Q0X0+dTscFaJ0tXq/sgHKu zqidvKil9Qo/9aoB3Dgu9bGIEFzxAoZYW6pOPcPn7TL7q9ERc35ZgmhQnLa0yezXQ0Oq RILoMztg3igvZurjNhKW0wZL+hLO3YrMcHyTsjO8vv7YFU1ukUq5dBihQKs4ieunD8mW dnjdl2suOOoQWI755u50DD96j+0BqvErDd9RlgY4orGW4CTIHgBDAPz5HcqBJDITxiW1 AEZCgSF89gyu/i05pVpOcomEkPjNlPQskiPiSuJmK/zlp6o6w15uGBGXlr9wNRgtDUc0 pZyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=G5KmcYoh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w18si5808177edu.157.2021.10.01.01.57.44; Fri, 01 Oct 2021 01:58:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=G5KmcYoh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352762AbhJAIxi (ORCPT + 99 others); Fri, 1 Oct 2021 04:53:38 -0400 Received: from mail-4319.protonmail.ch ([185.70.43.19]:47525 "EHLO mail-4319.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbhJAIxh (ORCPT ); Fri, 1 Oct 2021 04:53:37 -0400 Date: Fri, 01 Oct 2021 08:51:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633078309; bh=hVVQvf/RTNnxE8jmEe0cunnlVp2WTO4uuOUaOBl9ux0=; h=Date:To:From:Cc:Reply-To:Subject:From; b=G5KmcYohfnVYfjs4YK+rJWJSKUX4im7Vt8rI3dgBgDc1B2wK4uetI8vWmIubfTMVl 8OcP5Q4LEsnIFi6zpNWMG4THSh6KG7NroKC0IOQoaWgcOAN6I9CBPmUqOppePLfAjy NiFM2U0M/ou6OdPW9fiDTNzxUffiN0iWsTxQpG2s= To: andriy.shevchenko@linux.intel.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org From: Orlando Chamberlain Cc: Orlando Chamberlain Reply-To: Orlando Chamberlain Subject: [PATCH] mfd: intel-lpss: Add support for MacBookPro16,2 UART Message-ID: <20211001084905.4133-1-redecorating@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MacBookPro16,2 has a UART controller with pci id 8086:38a8. Added this device to the intel_lpss_pci driver. This allows access to its Bluetooth controller. The name of this device is not known, however as it appears to only be found on the one model (MacBookPro16,2), labelling it with that model's name should be sufficient to identify it. (Unless some folks from Intel know what to call it and what its section should be called.) Records here indicate that this device is only present on the one model: https://linux-hardware.org/?id=3Dpci:8086-38a8-8086-7270 Signed-off-by: Orlando Chamberlain --- drivers/mfd/intel-lpss-pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c index c54d19fb184c..e02bb7026520 100644 --- a/drivers/mfd/intel-lpss-pci.c +++ b/drivers/mfd/intel-lpss-pci.c @@ -253,6 +253,8 @@ static const struct pci_device_id intel_lpss_pci_ids[] = =3D { =09{ PCI_VDEVICE(INTEL, 0x34ea), (kernel_ulong_t)&bxt_i2c_info }, =09{ PCI_VDEVICE(INTEL, 0x34eb), (kernel_ulong_t)&bxt_i2c_info }, =09{ PCI_VDEVICE(INTEL, 0x34fb), (kernel_ulong_t)&spt_info }, +=09/* MacBookPro16,2 */ +=09{ PCI_VDEVICE(INTEL, 0x38a8), (kernel_ulong_t)&bxt_uart_info }, =09/* TGL-H */ =09{ PCI_VDEVICE(INTEL, 0x43a7), (kernel_ulong_t)&bxt_uart_info }, =09{ PCI_VDEVICE(INTEL, 0x43a8), (kernel_ulong_t)&bxt_uart_info }, --=20 2.33.0