Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp312271ybk; Sat, 9 May 2020 03:42:12 -0700 (PDT) X-Google-Smtp-Source: APiQypKbOlxJVu527k0l43qIP+TF8DUdKFNyOzhswSR0zaT4JORQESgPho4oiaw4N2WVzOAhAi1b X-Received: by 2002:a05:6402:c87:: with SMTP id cm7mr3036038edb.285.1589020931886; Sat, 09 May 2020 03:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589020931; cv=none; d=google.com; s=arc-20160816; b=WoWCnGFmx6sfUxGYRSgKrZ2jyaQ7ynVp2wNZPu5gG95BSCBwP22RVtskyY/twkC+gq PZn0hHgCifcxM4/dv1wSWokBKwCFcIY5O55E2hIH8L4glpMRjKRXohf2xYN6TqXH3rd8 Tlpq8PTL2DDTGPD/jW6gZkqQMKh/ZTfzfJJbXWD4gpXC2tpOlt1QGm5M14DBvKMU8LyC JEStswcr4eUvCJvnsvGMPl1Nc83uc8rt9ONIYW2DeNtrw4+KhfSvBvz9rLRhwG5l5T5H JD4axF7fOqcJqz2HeHfUr7yG5E5L0coUiFLghz07jrpyiClzSRaEoJ1gMRZPNMFskoA2 /Y6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=9s4WWv0VWiJPaWdm8vwp0Ncu/qquZEX3CNgAMW3NHCM=; b=FQssZu29p0LtPM+7E9JVlXeh+hIRhJ0iq7M4G6Ed+mS5GUZJtjZMTd3FQR92/mDbfn Z07R0iuuqZ4Fk++AIYaqeAqgtq/2f5vgehpz9v3nZ58ovRkGfwQgNc3yM6m802zgTsoz g5Dkpba0pLfne+5tnnv8cLEUd3Fx5nZyFk2MN2UDIwmN0Ex9EXQwpaEkUaIeN98TzbMH q20fyI6leOGVicEFMQ/df6P0jvnp1kEN9n3EUf4Bbr+EZC7woeTXzW14dpX1txRoncw2 CXIiF7jh7XRiIMivb3uooSu2VHM5CopstAUNVZUVe1gnjckyBMWeXrNI80PIdgyoVIQC dKCg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l27si2671098edj.537.2020.05.09.03.41.49; Sat, 09 May 2020 03:42:11 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728206AbgEIKk1 (ORCPT + 99 others); Sat, 9 May 2020 06:40:27 -0400 Received: from inva021.nxp.com ([92.121.34.21]:44410 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726877AbgEIKkZ (ORCPT ); Sat, 9 May 2020 06:40:25 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9201B200102; Sat, 9 May 2020 12:40:24 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2638120032A; Sat, 9 May 2020 12:40:21 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 7DB0A40297; Sat, 9 May 2020 18:40:16 +0800 (SGT) From: Hui Song To: jagdish.gediya@nxp.com, priyanka.jain@nxp.com, pramod.kumar_1@nxp.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, "hui.song" Subject: [PATCH v1 2/3] armv8: gpio: add gpio feature Date: Sat, 9 May 2020 18:35:36 +0800 Message-Id: <20200509103537.22865-2-hui.song_1@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200509103537.22865-1-hui.song_1@nxp.com> References: <20200509103537.22865-1-hui.song_1@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "hui.song" add one struct mpc8xxx_gpio_plat to enable gpio feature. Signed-off-by: hui.song --- .../include/asm/arch-fsl-layerscape/gpio.h | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 arch/arm/include/asm/arch-fsl-layerscape/gpio.h diff --git a/arch/arm/include/asm/arch-fsl-layerscape/gpio.h b/arch/arm/include/asm/arch-fsl-layerscape/gpio.h new file mode 100644 index 0000000000..d8dd750a72 --- /dev/null +++ b/arch/arm/include/asm/arch-fsl-layerscape/gpio.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2014 Freescale Semiconductor, Inc. + */ + +/* + * Dummy header file to enable CONFIG_OF_CONTROL. + * If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled. + * It includes via , so those SoCs that enable + * OF_CONTROL must have arch/gpio.h. + */ + +#ifndef __ASM_ARCH_MX85XX_GPIO_H +#define __ASM_ARCH_MX85XX_GPIO_H + +struct mpc8xxx_gpio_plat { + ulong addr; + unsigned long size; + uint ngpios; +}; + +#endif -- 2.17.1