From patchwork Thu May 24 00:46:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 136683 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1555814lji; Wed, 23 May 2018 17:46:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqKEGP2fNGNTa8yhkmGYPsljmaAc1bDnnqmQxgRB0eCCcUq2uN2lvtOZVzFBiXVnMfvAh7k X-Received: by 2002:a17:902:bd93:: with SMTP id q19-v6mr2585490pls.231.1527122804081; Wed, 23 May 2018 17:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527122804; cv=none; d=google.com; s=arc-20160816; b=enEAeMYeh/L+Ue1IBPF0NoJkUl/g0eJQFnDMhCJtDbJDlulWXSigdVy6zcsbOOOdgG Z5ac7Rp8bAvNDlOZ2wYvznLmgsoWcdJvmYfD+iZWQIPLQmKhoIMvhz10LZI6VX/Z/Yhb Th7AklD1tpDWg8M5sKgN/GuWlvLZMxA+TJ9SKht7T8B0IwEludq/cAqCdJJ+ci9DgMwO bQypdtHzJXefn5NIVPWeG/Oy2ZD8qaJmBUkpWkYEpO/QSCVqVU6CW1z8dQyouW6JzmNo 8aM3TziDmwXVqFRQFsVYhAw9rzx/wIniaC1gVldz1L7VjuTvuPKw7OKAIrcCMaGw0PvA lw0A== 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=X3o2UOt94L6gL9alD0XA6qTsm/P+BIPv65o5SQJVEHM=; b=xzD8MUp/kgSuYR9s8Z8q0wfg8ouUxSNgEISgCK2JjO3f7E8/oByJT/77ZrpHcpPu4H ns9edFz8TGJsGNUdDFLMyuUVnT3AKC0Nyfiq37K5ax/gdn0DQaeuUXul8VZs+mGwV4dI o4Z1/RNqyewe6iEI835FpN+CT38C4D+zpKgCumgMgDsDKgwtu7smUzUyMtXc66M9Ivsx vApclCOE3DV5vnR0gn5eKj4jSNq8xoWeq+MdZQSeXbCprCaLDvEoSOLDDDOXExx2aXBN U45pM7Ho1+x0SAMUQHIL0SHRJa9fU9h4cufoz2p6TUGcFX6DqIflSB86b9GWWuouvmto oM7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RG5S2wvy; 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 u5-v6si8254657pgc.335.2018.05.23.17.46.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 17:46:44 -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=RG5S2wvy; 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 2EA39207E6356; Wed, 23 May 2018 17:46:43 -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:c01::244; helo=mail-pl0-x244.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) (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 616E2207E4E10 for ; Wed, 23 May 2018 17:46:42 -0700 (PDT) Received: by mail-pl0-x244.google.com with SMTP id t12-v6so14035298plo.7 for ; Wed, 23 May 2018 17:46:42 -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=kMDGssDIzBFLhgLa+vI27A61X0XJmNpoaLSpc7LS5q0=; b=RG5S2wvyIUQkDaYu8asJQXOgRy0DGeICVDHSO3hDycpdh0EB/1F3ISuxO+OqET1ggu /cyx9xkVAUhkqYBOpgllTbuM9PeB9gyj6tmnA82wyWvf0BbVP4iwfysINrOmtm2hIJ7q Ky1YLrtjUxXpF+/jor7h4kaiAzFq4xBEjOkMg= 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=kMDGssDIzBFLhgLa+vI27A61X0XJmNpoaLSpc7LS5q0=; b=f9oKz9YhmoGNPpDQI1erEJpVYD0YAWYbZMoYWE4ytZKTZLqp2mWAbZ6O3MdTs3LL7d pTXg1NVVzO26Bw18ZBQSbWvwIe/O70zocXtY5VOsRQFn9iba1GWnpJhEPNlOB7dq7Mcj D7eSFhYCbaXE2hplqW/4e8KHm27RTLul9sflCr2+WjMw1eBZcN+4os5/rxtUUupAfD1U nssHmeFue5oyV9NhSA41PTc2ejojNGSBw/yBYQawOPUNyh7zzfQ5RwVW9Fzd3ry/GaXa DJUd74TfTX8Ebvsphd8q79Ztye7W3Av4nJn0EehuWjEohBfBAzWSslWRlG3Y/1jn8jN1 bHFg== X-Gm-Message-State: ALKqPweQa+N12H0tCYydyrV0zTCNNbmeryp+vaQSUn6bMhzaVFyEd2Rv GJ/N4pRB+5/MzY9Us8EzN14GWaZReHk= X-Received: by 2002:a17:902:aa4b:: with SMTP id c11-v6mr5056487plr.17.1527122801471; Wed, 23 May 2018 17:46:41 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.105]) by smtp.gmail.com with ESMTPSA id y29-v6sm48817471pff.42.2018.05.23.17.46.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 May 2018 17:46:40 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Thu, 24 May 2018 08:46:24 +0800 Message-Id: <1527122790-23592-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v6 edk2-platforms 0/6] enable virtual keyboards 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: v6: * Append missing HiKey960Gpio files in v5. v5: * Remove unused functions and definitions. * Add commit comments for hardcoding values. v4: * Fix hard-coding value. * Remove unused functions. v3: * Remove ADC and boardid, since it's not really used yet. * Add more comments. 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: do basic initialization Platform/HiKey960: enable virtual keyboard Platform/Hisilicon/HiKey: add gpio platform driver Platform/HiKey: do basic initialization on hikey Platform/HiKey: enable virtual keyboard Silicon/Hisilicon/Hi3660/Hi3660.dec | 32 +++ Platform/Hisilicon/HiKey/HiKey.dsc | 8 + Platform/Hisilicon/HiKey960/HiKey960.dsc | 8 + Platform/Hisilicon/HiKey/HiKey.fdf | 8 + Platform/Hisilicon/HiKey960/HiKey960.fdf | 8 + Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.inf | 45 +++ Platform/Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.inf | 36 +++ Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf | 48 ++++ Platform/Hisilicon/HiKey960/HiKey960GpioDxe/HiKey960GpioDxe.inf | 35 +++ Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.h | 36 +++ Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.h | 47 ++++ Silicon/Hisilicon/Hi3660/Include/Hi3660.h | 195 +++++++++++++ Silicon/Hisilicon/Hi6220/Include/Hi6220.h | 6 + Silicon/Hisilicon/Hi6220/Include/Hi6220RegsPeri.h | 50 ++++ Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.c | 195 +++++++++++++ Platform/Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.c | 74 +++++ Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.c | 295 ++++++++++++++++++++ Platform/Hisilicon/HiKey960/HiKey960GpioDxe/HiKey960GpioDxe.c | 83 ++++++ 18 files changed, 1209 insertions(+) create mode 100644 Silicon/Hisilicon/Hi3660/Hi3660.dec create mode 100644 Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.inf create mode 100644 Platform/Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.inf create mode 100644 Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf create mode 100644 Platform/Hisilicon/HiKey960/HiKey960GpioDxe/HiKey960GpioDxe.inf create mode 100644 Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.h create mode 100644 Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.h create mode 100644 Silicon/Hisilicon/Hi3660/Include/Hi3660.h create mode 100644 Silicon/Hisilicon/Hi6220/Include/Hi6220RegsPeri.h create mode 100644 Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.c create mode 100644 Platform/Hisilicon/HiKey/HiKeyGpioDxe/HiKeyGpioDxe.c create mode 100644 Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.c create mode 100644 Platform/Hisilicon/HiKey960/HiKey960GpioDxe/HiKey960GpioDxe.c 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