Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2654606pxj; Mon, 31 May 2021 07:30:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxF9rkGOFkXBog1J9ATPx32Xo91+ckpH1sPcPfik0bJ8kZG8BFYn2LqabfplWunmF9ZaI97 X-Received: by 2002:aa7:c0d3:: with SMTP id j19mr1786301edp.196.1622471413917; Mon, 31 May 2021 07:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622471413; cv=none; d=google.com; s=arc-20160816; b=c04nmj3SeBmA/N7mkL3i/wZgUBIz8C9c/1B59aBp5c8mi6Cuy8XhEo17OhdlaS81g8 x8zSVkqJJNP6y2cY3Xgns4ijmaNJQ27l9h0qxmLUp56fcTS6TPSgPxR6K7z5GuyNsce5 wq3KMv1TkQO0ylHvmzcwDqCKb12a+fNdKK/YdpeL6pdkYAoBOqaLCSFjt+It4XeDtIAk By7iidZoOpjpcGpz7U1wCBV4pZ4MPu1djws+1pktiym99/V2bRtaabFyxWvIFszTANij 73XbolwnBMu1BLinna5c+A06p2r1CAtp/Dxjmfp9RrveB6ZG5uP2KsPNT5FYHn7kTSEq m5qg== 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=H8dAQL/FIm6LxQOzWhXWicEWDK/lg7fomJpV3ZyAv5CRZ4uPZXXsjyywqEXKhLHRig 6cruHqyoKIj/JKhLjr0Oroahd8lX47hqbf+eRCvhpv4VO0vlNYJxqZasA93lhwCAeIXr 9VohSAd6h6if4T+uSvbvwYniyrC4sVCooVYgyFFUT3v3kxcwi3sF6t+vWqjAIm9R3fpW N3rBQlD/gQ3+uFd0OJiVN9PcXttdPIyIeHO51JibD/uQH5ZK65N+kzbUx8c37ROCvJd9 VqgxZW5k++4b/mlaEKVznvmhh8Zjq8XA6a+ooE5BUHV7xJOW8raVI4LnuSBql7xlyYmj IWTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eIEdmzLK; 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 e6si8369977edz.576.2021.05.31.07.29.51; Mon, 31 May 2021 07:30:13 -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=eIEdmzLK; 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 S233529AbhEaO2x (ORCPT + 99 others); Mon, 31 May 2021 10:28:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:56076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232823AbhEaNws (ORCPT ); Mon, 31 May 2021 09:52:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 53E1261374; Mon, 31 May 2021 13:33:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622467980; bh=p4SeauKvWNvBbIefRbr7Lnfw2yPF1ndxnI34Ps1hVpg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eIEdmzLKpYexqJKOvUf8IcsRNuVt2GI1we5R6nJ3Oc8Vub91BB5PfExvtkscKQDr6 OKLHcH/XRV+staBZNJUvT+5M0H1kSuLWojBU53qZ9xevCG3w2LDSnfDDUKQA90OXFL FxWrSVpIDCzKbuuODtlZwA6TNX4fKVL9R14fL8ag= 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.10 071/252] serial: 8250_dw: Add device HID for new AMD UART controller Date: Mon, 31 May 2021 15:12:16 +0200 Message-Id: <20210531130700.402224806@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130657.971257589@linuxfoundation.org> References: <20210531130657.971257589@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 }, { },