From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Hovold Subject: Re: [PATCH v3 1/2] serdev: Add ACPI support Date: Wed, 11 Oct 2017 10:43:59 +0200 Message-ID: <20171011084359.GR4269@localhost> References: <1507710734-32520-1-git-send-email-frederic.danis.oss@gmail.com> <1507710734-32520-2-git-send-email-frederic.danis.oss@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from mail-lf0-f65.google.com ([209.85.215.65]:44386 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756608AbdJKIoA (ORCPT ); Wed, 11 Oct 2017 04:44:00 -0400 Content-Disposition: inline In-Reply-To: <1507710734-32520-2-git-send-email-frederic.danis.oss@gmail.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: =?iso-8859-1?Q?Fr=E9d=E9ric?= Danis Cc: robh@kernel.org, marcel@holtmann.org, sre@kernel.org, loic.poulain@gmail.com, johan@kernel.org, lukas@wunner.de, hdegoede@redhat.com, rafael@kernel.org, greg@kroah.com, linux-bluetooth@vger.kernel.org, linux-serial@vger.kernel.org, linux-acpi@vger.kernel.org On Wed, Oct 11, 2017 at 10:32:13AM +0200, Frédéric Danis wrote: > This patch allows SerDev module to manage serial devices declared as > attached to an UART in ACPI table. > > acpi_serdev_add_device() callback will only take into account entries > without enumerated flag set. This flags is set for all entries during > ACPI scan, except for SPI and I2C serial devices, and for UART with > 2nd patch in the series. > > Check if a serdev device as been allocated during acpi_walk_namespace() > to prevent serdev controller registration instead of the tty-class device. > > Signed-off-by: Frédéric Danis > Reviewed-by: Rob Herring > Reviewed-by: Sebastian Reichel > Acked-by: Greg Kroah-Hartman Reviewed-by: Johan Hovold Thanks for doing this work. Johan