Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2729153pxj; Mon, 31 May 2021 09:15:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2tMEx3yhzLCcdKnkkFrQO/v07Dbrlgi264D94/8PWnTGeGPt0k7S33SVQz+3p++ijaPlG X-Received: by 2002:a17:907:2bd6:: with SMTP id gv22mr6775237ejc.431.1622477737470; Mon, 31 May 2021 09:15:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622477737; cv=none; d=google.com; s=arc-20160816; b=Y1WqqkF8TGXOGSNnOAmQ+8AK0MdQs91DFWmEzddvewOFm9ZZORUSXNF9eagV7VuGpq 0LvbGqwKgcxQmWYrgVZMooDQwYB+t6lXaHG3MRU1iGX/Hhe9gcQ2329hVahQZWv5Wa+0 AYIQdaRS6Y1T74lSVZ/Rh18Skmmrkue83ELvD++hz5aQ3+Fqcl2N4Z9lNDRS+yIt4cHg T30914T0p7EAao4uBSL7sn8IWekYtFV3UAfI/LEoF0KB5K2dglanIInbYC3jp48aMmA7 MFdmlrbM12Ywwtwz49Flkmf7ZXN11ZXqS6MppQDR2uqGpnbhREfqqvomRSQu03gkNakL kxvg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=a6tP4wQ2Qoy3zLJrYcOqplEfCBy2v5BljB3r21DXzi4=; b=u2wXFzpOBUqHqjhZTjf1Ipt735EjeZtY64EBNbFR/GrrqEoR10ir8EaimIBsACvKYV SpkrS539QIZGXWVDLlBwQF1OiZSvqGz1ZmBj0MM8x4DZjQKVqiMuZBnDcMyMKq+9ms7h gt9DSyrkfd+sJHAo9VKfqyUhvmwTWSJQcoNCoejWaSJWh8+qcG0NBMQ4DagaufGgVc5W bQqQ8hve751fAGKUrkuOof6Np2Yinx/TbxLrbhlaFHCdTLwWmFQcPNNIQvQX6Og51JuC RbqMiRumYSilOtt7hD76bNUOMllVKxC0NKJdx9lTcqnsGm+9e/oMYgmVVW+qxZrxtEyD U1jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ZOqJ/m+A"; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m5si6475127edr.557.2021.05.31.09.15.14; Mon, 31 May 2021 09:15:37 -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=@linuxfoundation.org header.s=korg header.b="ZOqJ/m+A"; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230381AbhEaQNu (ORCPT + 99 others); Mon, 31 May 2021 12:13:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:37860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234077AbhEaOjT (ORCPT ); Mon, 31 May 2021 10:39:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 808EA61876; Mon, 31 May 2021 13:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622469148; bh=p4SeauKvWNvBbIefRbr7Lnfw2yPF1ndxnI34Ps1hVpg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZOqJ/m+AAEA/CfaWEc7PLNoYm5yIvXTWfkDEeFAQ+pFBXuK/UXGos/JDN4bC27ZmI CFu6UHYjzTdj1clmiyvVT5JZ3EcwrjxVDZ8HvlGJQDzEztqLcSM2Y8uBEuGxFuzFWh 4BKol+JkOT+r/iY4v0Cnq35fTRlOx7gvHImn/b1k= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sachi King , Maximilian Luz , Andy Shevchenko Subject: [PATCH 5.12 086/296] serial: 8250_dw: Add device HID for new AMD UART controller Date: Mon, 31 May 2021 15:12:21 +0200 Message-Id: <20210531130706.773522388@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130703.762129381@linuxfoundation.org> References: <20210531130703.762129381@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maximilian Luz commit 3c35d2a960c0077a4cb09bf4989f45d289332ea0 upstream. Add device HID AMDI0022 to the AMD UART controller driver match table and create a platform device for it. This controller can be found on Microsoft Surface Laptop 4 devices and seems similar enough that we can just copy the existing AMDI0020 entries. Cc: # 5.10+ Tested-by: Sachi King Acked-by: Andy Shevchenko # for 8250_dw part Signed-off-by: Maximilian Luz Link: https://lore.kernel.org/r/20210512210413.1982933-1-luzmaximilian@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/acpi_apd.c | 1 + drivers/tty/serial/8250/8250_dw.c | 1 + 2 files changed, 2 insertions(+) --- a/drivers/acpi/acpi_apd.c +++ b/drivers/acpi/acpi_apd.c @@ -226,6 +226,7 @@ static const struct acpi_device_id acpi_ { "AMDI0010", APD_ADDR(wt_i2c_desc) }, { "AMD0020", APD_ADDR(cz_uart_desc) }, { "AMDI0020", APD_ADDR(cz_uart_desc) }, + { "AMDI0022", APD_ADDR(cz_uart_desc) }, { "AMD0030", }, { "AMD0040", APD_ADDR(fch_misc_desc)}, { "HYGO0010", APD_ADDR(wt_i2c_desc) }, --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -714,6 +714,7 @@ static const struct acpi_device_id dw825 { "APMC0D08", 0}, { "AMD0020", 0 }, { "AMDI0020", 0 }, + { "AMDI0022", 0 }, { "BRCM2032", 0 }, { "HISI0031", 0 }, { },