From patchwork Mon Feb 13 15:10:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 93897 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1139059qgi; Mon, 13 Feb 2017 07:10:38 -0800 (PST) X-Received: by 10.55.109.198 with SMTP id i189mr2496100qkc.242.1486998638281; Mon, 13 Feb 2017 07:10:38 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id m28si7425559qtm.165.2017.02.13.07.10.37; Mon, 13 Feb 2017 07:10:38 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A43A06090B; Mon, 13 Feb 2017 15:10:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7AE9D60820; Mon, 13 Feb 2017 15:10:34 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E00D260820; Mon, 13 Feb 2017 15:10:31 +0000 (UTC) Received: from mail-ot0-f176.google.com (mail-ot0-f176.google.com [74.125.82.176]) by lists.linaro.org (Postfix) with ESMTPS id CFCC56065A for ; Mon, 13 Feb 2017 15:10:30 +0000 (UTC) Received: by mail-ot0-f176.google.com with SMTP id 73so69474503otj.0 for ; Mon, 13 Feb 2017 07:10:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Fj2kqkneGwgFKyoQwDATSc5NKIYCyVfM9DQZ3HXo/mA=; b=BlZwijkgHtErZWSOpFmrY6zKESCtkDXAzDRHL1WTGoeICTV2TzKENFnWm2i7XaWxoc hmTahQNg0fc53mNo0wnIM8rtosyAsdkHTosLKcmpicdZKFE2TKRfXW4mXxdXgfi5rjjc TxTlwiw7gbIPUAWMPmzot2PTkZ1elc2yK7wdQl2l0Y35L60zU3kQ1DFMxHDqaNMOj9Rw peSm8u9oOu/tgruzOuheeZW/S/dJY5fCESpiI3USCNaBi+w4D35krwX/wQwfSLQGreOz KWpadQp8NvlIBdi8fvjCQA2e3kh6Rpb3GWkdczXZJwzGQsoe/YVpn4alHqRNW2Dord0S l0BA== X-Gm-Message-State: AMke39lhe5eax5QTiyDFqkAGUGhwtCl5Lvzf58ImECylI2v4JuYDw+LFeWBYnUQBxv2LU0JY2CY= X-Received: by 10.99.247.83 with SMTP id f19mr27008906pgk.158.1486998630180; Mon, 13 Feb 2017 07:10:30 -0800 (PST) Received: from localhost.localdomain ([45.56.159.191]) by smtp.gmail.com with ESMTPSA id z70sm21666857pff.26.2017.02.13.07.10.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Feb 2017 07:10:29 -0800 (PST) From: Haojian Zhuang To: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, linaro-uefi@lists.linaro.org Date: Mon, 13 Feb 2017 23:10:16 +0800 Message-Id: <1486998621-30420-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [Linaro-uefi] [PATCH v3 0/5] add drivers for Android Fastboot App on HiKey X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" v3: * Squash HiKeyVariable head file into Fastboot driver patch. * Fix with the comments. * Remove platform boot manager. Since Ard is working on figure out a common platform boot manager. * Remove the patch of enabling platform boot manager and android fastboot app for #3. v2: * Fix the register offset sequence in Hi6220 head file. * Remove the unnecessary dependency. Set them in DSC & FDF file instead. v1: * Enable Android Fastboot App on HiKey platform. Haojian Zhuang (5): Platforms/Hisilicon/HiKey: append more register definitions Drivers/Usb/DwUsb: support designware usb Platforms/Hisilicon/HiKey: support all GPIO controller Platforms/Hisilicon/HiKey: support designware USB controller Platforms/Hisilicon/HiKey: add fastboot driver Chips/Hisilicon/Hi6220/Include/Hi6220.h | 51 ++ Drivers/Usb/DwUsbDxe/DwUsbDxe.c | 796 +++++++++++++++++++++ Drivers/Usb/DwUsbDxe/DwUsbDxe.dec | 46 ++ Drivers/Usb/DwUsbDxe/DwUsbDxe.h | 627 ++++++++++++++++ Drivers/Usb/DwUsbDxe/DwUsbDxe.inf | 52 ++ Include/Protocol/DwUsb.h | 81 +++ Platforms/Hisilicon/HiKey/HiKey.dec | 1 + .../HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.c | 667 +++++++++++++++++ .../HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.inf | 61 ++ .../Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.c | 96 +++ .../Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.inf | 38 + .../Hisilicon/HiKey/HiKeyUsbDxe/HiKeyUsbDxe.c | 271 +++++++ .../Hisilicon/HiKey/HiKeyUsbDxe/HiKeyUsbDxe.inf | 46 ++ .../Hisilicon/HiKey/Include/Guid/HiKeyVariable.h | 24 + 14 files changed, 2857 insertions(+) create mode 100644 Drivers/Usb/DwUsbDxe/DwUsbDxe.c create mode 100644 Drivers/Usb/DwUsbDxe/DwUsbDxe.dec create mode 100644 Drivers/Usb/DwUsbDxe/DwUsbDxe.h create mode 100644 Drivers/Usb/DwUsbDxe/DwUsbDxe.inf create mode 100644 Include/Protocol/DwUsb.h create mode 100644 Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.c create mode 100644 Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastbootDxe.inf create mode 100644 Platforms/Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.c create mode 100644 Platforms/Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.inf create mode 100644 Platforms/Hisilicon/HiKey/HiKeyUsbDxe/HiKeyUsbDxe.c create mode 100644 Platforms/Hisilicon/HiKey/HiKeyUsbDxe/HiKeyUsbDxe.inf create mode 100644 Platforms/Hisilicon/HiKey/Include/Guid/HiKeyVariable.h