From patchwork Wed May 9 09:54:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 135238 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5426865lji; Wed, 9 May 2018 02:55:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpHpDXtJjTZ0PfB3jIJ6kN9Q0xE3b17DJG6MI+8d20xWBCoYt92TMhn/rnl/BHS7ojImgYA X-Received: by 2002:a63:a84f:: with SMTP id i15-v6mr35839775pgp.367.1525859710949; Wed, 09 May 2018 02:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525859710; cv=none; d=google.com; s=arc-20160816; b=DuQ6ocUCuJUef4D39lQ0QkiygMdtM21lqt4U6MOMOF/mZkP1GkvDGe50veZPptKQB2 vQJ14Nj/Qr/lHFshhj9OAHMDMyxAPh4lfLfNzhnRS0rqBR2SyanY3i9beSJQigbx11OB st32JgUJJ4ObsIsxY72Rx/1RR+7lmaGKrJQ4jYFZLx3sqHsUANqEWgihfApZKRrqpdqD Nl/HMtP8Lh09Tz6wCXnGPqBGvFU0p9eBGzWdYQjn1eWRC8mbmR23KjZkryHLZaKbxr+9 X8tqdZORaMYD3rPrVJ6WynpCAuMXG5PahlPB+jKKgTJvq4GgvKYeZGxuE4W9kAdqs14p ip9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=A76BRTeQym2kQqBltA5e2EuZwmtRitinLuXrHs3x8Ek=; b=v/w2vrZvoUYZp96PGOcL2CBxvVr4ySBUQmeRsS7Z/u9ZebBbGvsvp+ru3y6tX3kkDC AIcGT5zD7VupCCT9Pbt0JC+hUQhcNvpetHpjo4irMH5AkS+g0+b2FRaUvqYs6HPKbjou xXQB14+W79M46jd7owkFHOpaMIFyiVCe5ed2eqKCIbIOWI9mVko72ML6N4XN5UGnheO0 RBoY0IYa7mGsoQAo6dQBXPnqHhj0steCkwzbCnlI0vl5EulWEQUUtQuT/l3BaUHGLrMP Xw+tEOfUZd/hDJUmScqrGpxwfJgXPADlXBItwgRGt2WNlPT7WzBvcZDL4hbvw64v3j86 vfHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HI8Us+2v; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id k16si9881330pff.246.2018.05.09.02.55.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 02:55:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HI8Us+2v; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 6B32A203B85BF; Wed, 9 May 2018 02:55:10 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c00::22d; helo=mail-pf0-x22d.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x22d.google.com (mail-pf0-x22d.google.com [IPv6:2607:f8b0:400e:c00::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A6342203B85B8 for ; Wed, 9 May 2018 02:55:09 -0700 (PDT) Received: by mail-pf0-x22d.google.com with SMTP id o76so25377221pfi.5 for ; Wed, 09 May 2018 02:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=txm/stP2NBOO6QER2HhWSuKoqUdR41LexcH0mnvgVjw=; b=HI8Us+2vObvd211epbUUh+liCtfIOj8N9SDqba2axT5yJnkHOxnbIyy9wR64Om9MqE AMqffL9oiQEn9LeVwU2YYmBYe7VIXhAYonkGVC8cXDuypy/fdAowsrI7HNEXInXx3vZ8 oRPf6XclG+2Rfi73CTdsBRH2vlG5m+iU9z7s8= 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=txm/stP2NBOO6QER2HhWSuKoqUdR41LexcH0mnvgVjw=; b=AoWcqwzsIv1tYsEXdtR8MRWhVBk2kIAMU1UOJrp4wDwBzDs57KSIK63A0kDCr4XQqY PAfu7lQX5p5sz8Pgquk3slfaxqIrKt292SusRaUHEuyIgPY1bnDWM6Sr1PDfhIl91J5o 01KjTRxJpGZnYMsdcmhcClWzUi9bAIFhwvH1vKCKT/eAYLzpLp3KrD754zCx3SmafkoV /nYXgBg36vQrBj8E/PLRhzeynuF8h3bmHzaLPg5lYC3na/esv3EB7DUydXdZFqBWLhDQ ALsuJywTvivCdYMqi6dC0VSGrSD2onjEYFAihF0aDWRn57xpAvevkde0X0c+OBQ1js4Q y/tA== X-Gm-Message-State: ALQs6tC5XSlsssMS5x5p+1V5JDrPj405KdNDCoqDi9/B+6NgITr0v+xc 8WuhjW8+9FE87dEL90CMwnnCqfzeRpc= X-Received: by 2002:a63:77c9:: with SMTP id s192-v6mr35053417pgc.51.1525859708489; Wed, 09 May 2018 02:55:08 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.170]) by smtp.gmail.com with ESMTPSA id k1-v6sm17966139pgt.88.2018.05.09.02.55.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 02:55:07 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Wed, 9 May 2018 17:54:53 +0800 Message-Id: <1525859699-16888-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH edk2-platforms v2 0/6] enable virtual keyboard X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haojian Zhuang , Leif Lindholm , Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Changelog: v2: * Split HiKeyDxe & HiKey960Dxe into smaller patches. * Replace hardcoding register with macro. v1: * Enable GPIO driver. * Enable virtual keyboard driver. Haojian Zhuang (6): Platform/Hisilicon/HiKey960: add gpio platform driver Platform/HiKey960: initialize for board id Platform/HiKey960: enable virtual keyboard Platform/Hisilicon/HiKey: add gpio platform driver Platform/HiKey: do basic initialization on hikey Platform/HiKey: enable virtual keyboard Platform/Hisilicon/HiKey/HiKey.dsc | 8 + Platform/Hisilicon/HiKey/HiKey.fdf | 8 + Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.c | 217 ++++++++++ Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.inf | 45 +++ .../Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.c | 74 ++++ .../Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.inf | 36 ++ Platform/Hisilicon/HiKey960/HiKey960.dsc | 8 + Platform/Hisilicon/HiKey960/HiKey960.fdf | 8 + .../Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.c | 448 +++++++++++++++++++++ .../Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.h | 94 +++++ .../Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf | 48 +++ .../HiKey960/HiKey960GpioDxe/HiKey960GpioDxe.c | 83 ++++ .../HiKey960/HiKey960GpioDxe/HiKey960GpioDxe.inf | 35 ++ Silicon/Hisilicon/Hi3660/Hi3660.dec | 32 ++ Silicon/Hisilicon/Hi3660/Include/Hi3660.h | 175 ++++++++ Silicon/Hisilicon/Hi3660/Include/Hkadc.h | 68 ++++ Silicon/Hisilicon/Hi6220/Include/Hi6220.h | 6 + Silicon/Hisilicon/Hi6220/Include/Hi6220RegsPeri.h | 50 +++ 18 files changed, 1443 insertions(+) create mode 100644 Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.c create mode 100644 Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.inf create mode 100644 Platform/Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.c create mode 100644 Platform/Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.inf create mode 100644 Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.c create mode 100644 Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.h create mode 100644 Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf create mode 100644 Platform/Hisilicon/HiKey960/HiKey960GpioDxe/HiKey960GpioDxe.c create mode 100644 Platform/Hisilicon/HiKey960/HiKey960GpioDxe/HiKey960GpioDxe.inf create mode 100644 Silicon/Hisilicon/Hi3660/Hi3660.dec create mode 100644 Silicon/Hisilicon/Hi3660/Include/Hi3660.h create mode 100644 Silicon/Hisilicon/Hi3660/Include/Hkadc.h create mode 100644 Silicon/Hisilicon/Hi6220/Include/Hi6220RegsPeri.h Cc: Leif Lindholm Cc: Ard Biesheuvel -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel