Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2434492pxu; Mon, 14 Dec 2020 02:09:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIIH13qJxP5voIlIMu3YfXxuoGyru7jstWcvmu/IcmldoQVYWBGUfkkAIap/WhVcCmaq3Y X-Received: by 2002:a17:906:391b:: with SMTP id f27mr21154412eje.195.1607940591051; Mon, 14 Dec 2020 02:09:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607940591; cv=none; d=google.com; s=arc-20160816; b=iOTijhOgPw9qjrdpoTw7MI0uEolBZEPep5MSm5vJ3RNMTj6UXGE/gcv/yYVBteK/U1 rtdtDnDS2p6zlp/O/7Zi3Vh71K+QoYJRXqCQOc6cQu/iBud9dmo8jCnk4QtT2AuCqMQ9 iwlK18RAnERxFUi60bBnTCKvPt67KpLQv6kyYTLVM8WfdqJiyIoRx9hZfROGXUrR9deR Chbis1DW+v2BllaLWGdIyTt/sQH4Jgckufq3Svil1kqG7pVGoSO8hYKN2n6ow/OyDUfR nu8JaYZolrRVedwT+gXXJXSnV1991IYyLzxF79HUBszi1a564vn4VTAjFp3nl4hMD14V E3wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=aYDhZBF/CNSI9LpwGRM7zL6NMJp2nHq0UvOiAV9k4Js=; b=zDNLAf4hB+s//A9IbMGn50W72cKLMfdQGs9U8zIsMPaGIfKghrrKVr0P8Quz9L5GV6 D/Oc4rFCRrSqPnjYakmE8GUF4QCBTt+GgIvX/n9bl0/U769iSz5ybW0xqRcJAViBm8XE BG2ijTSDvIh7IwV9sDfNFXIMCSS6MwWcstOWD9Oz//q6tLBlH4PB+AxUXvJVeVBu3TxM 5YUMSeWlT22HomKbeBk8F50sxCfOcwGZDk2FHnnKnQBpL3SwzIfk8+yVpexaBMDNxwIR y/boru+uDw593uebBQBE5P3qq+Lz7dWncoCW6KDpzRN9ikroW4u94CwxsBmMGO1+proa eYHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn20si10918885ejc.189.2020.12.14.02.09.28; Mon, 14 Dec 2020 02:09:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439248AbgLNIZL (ORCPT + 99 others); Mon, 14 Dec 2020 03:25:11 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:9599 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726241AbgLNIY6 (ORCPT ); Mon, 14 Dec 2020 03:24:58 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CvZCc12HGzM5T1; Mon, 14 Dec 2020 16:23:24 +0800 (CST) Received: from huawei.com (10.69.192.56) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 14 Dec 2020 16:24:04 +0800 From: Luo Jiaxing To: , , , , , CC: , , , Subject: [PATCH v2 0/3] gpio: gpio-hisi: Add HiSilicon GPIO support Date: Mon, 14 Dec 2020 16:24:12 +0800 Message-ID: <1607934255-52544-1-git-send-email-luojiaxing@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series is the GPIO driver for HiSilicon's ARM SoC. It provide patches for device driver, MAINTAINER file, and enable gpio-hisi at defconfig. Thanks Jiaxing --- v1->v2: 1. set (ARM64 || COMPILE_TEST) && ACPI at kconfig. 2. Delete some useless header files. 3. Replace "hisi-ngpio" with "ngpios", fix firmware too 4. Direction setting is modified to be handle by generic GPIO 5. Add error code print 6. Some tiny clean up --- Luo Jiaxing (3): gpio: gpio-hisi: Add HiSilicon GPIO support MAINTAINERS: Add maintainer for HiSilicon GPIO driver arm64: defconfig: enable GPIO_HISI MAINTAINERS | 7 + arch/arm64/configs/defconfig | 1 + drivers/gpio/Kconfig | 11 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-hisi.c | 328 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 348 insertions(+) create mode 100644 drivers/gpio/gpio-hisi.c -- 2.7.4