From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754052AbaIAPGp (ORCPT ); Mon, 1 Sep 2014 11:06:45 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:57882 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753438AbaIAPGo (ORCPT ); Mon, 1 Sep 2014 11:06:44 -0400 From: Hanjun Guo To: Catalin Marinas , "Rafael J. Wysocki" , Mark Rutland , Olof Johansson , Grant Likely Cc: Graeme Gregory , Arnd Bergmann , Sudeep Holla , Will Deacon , Jason Cooper , Marc Zyngier , Bjorn Helgaas , Daniel Lezcano , Mark Brown , Rob Herring , Robert Richter , Lv Zheng , Robert Moore , Lorenzo Pieralisi , Liviu Dudau , Randy Dunlap , Charles.Garcia-Tobin@arm.com, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [RFC PATCH for Juno 0/2] Drivers for Juno to boot from ACPI Date: Mon, 1 Sep 2014 23:05:59 +0800 Message-Id: <1409583961-7466-1-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set is example of the sort of driver changes needed to boot Juno using ACPI tables, which using the ACPI tables devloped for MS Windows and published by ARM [1]. For the smsc911x driver, it is based on the following ASL fragment which is part of DSDT for Juno: // LAN9118 Ethernet // Device(ETH0) { Name(_HID, "ARMH9118") Name(_UID, Zero) Name(_CRS, ResourceTemplate() { Memory32Fixed(ReadWrite, 0x1A000000, 0x1000) Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) { 192 } }) } UART driver is just for review purpose, ARM is working on a more functional UART driver that does not poll to transmit. But it shows how to initialise SBSA compatible UART without clock definitions in DSDT. You also can refer to the boot log from [2]. [1]: https://github.com/ARM-software/edk2/tree/juno-acpi/ArmPlatformPkg/ArmJunoPkg/AcpiTables [2]: http://www.xora.org.uk/2014/08/29/juno-booting-from-acpi-tables/ Graeme Gregory (2): net: smsc911x add support for probing from ACPI tty: SBSA compatible UART drivers/net/ethernet/smsc/smsc911x.c | 38 ++++ drivers/tty/Kconfig | 6 + drivers/tty/Makefile | 1 + drivers/tty/sbsauart.c | 328 ++++++++++++++++++++++++++++++++++ 4 files changed, 373 insertions(+) create mode 100644 drivers/tty/sbsauart.c -- 1.7.9.5