Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751894AbbLUOv5 (ORCPT ); Mon, 21 Dec 2015 09:51:57 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:36064 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751843AbbLUOvy (ORCPT ); Mon, 21 Dec 2015 09:51:54 -0500 From: Aleksey Makarov To: linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aleksey Makarov , Graeme Gregory , Russell King , Greg Kroah-Hartman , "Rafael J . Wysocki" , Shannon Zhao Subject: [PATCH v2 0/3] Add AMBA bus probing support to ACPI Date: Mon, 21 Dec 2015 17:49:54 +0300 Message-Id: <1450709399-7246-1-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.6.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1832 Lines: 48 As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers. http://comments.gmane.org/gmane.linux.ports.arm.kernel/431364 1) Adds basic AMBA device probing support to ACPI, it uses a whitelist of device IDs as the number of AMBA devices is limited. Currently the two ids present are those used in QEMU for arm64. 2) Adds the plumbing into ACPI probe sequence. 3) From ACPI pl011 is only defined (SBSA document) to be in SBSA mode which has reduced functionality. There may be a better method to do this that I have overlooked. v2: - A new ACPI scan handler for AMBA devices has been implemented - The order of `if` branches in amba-pl011.c has been changed - A couple of `static`s have been added - The compilation of the acpi_amba.c unit has made conditional - A comment on SBSA UART has been added v1: https://lkml.kernel.org/g/1443609530-21524-1-git-send-email-graeme.gregory@linaro.org Graeme Gregory (3): ACPI: amba bus probing support ACPI: scan add in amba probing serial: amba-pl011: add ACPI support to AMBA probe drivers/acpi/Makefile | 1 + drivers/acpi/acpi_amba.c | 149 ++++++++++++++++++++++++++++++++++++++++ drivers/acpi/internal.h | 5 ++ drivers/acpi/scan.c | 1 + drivers/tty/serial/amba-pl011.c | 37 +++++++--- 5 files changed, 182 insertions(+), 11 deletions(-) create mode 100644 drivers/acpi/acpi_amba.c -- 2.6.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/