Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8786128ybl; Fri, 17 Jan 2020 00:52:44 -0800 (PST) X-Google-Smtp-Source: APXvYqw4iARAQ+iqKV40jpKyUgwWQdFGdnYUmPlNNQ4AmAGpu7Q8+TddAaCiVQ6Fi9FqOcoD6Oo7 X-Received: by 2002:aca:d903:: with SMTP id q3mr2659691oig.12.1579251164573; Fri, 17 Jan 2020 00:52:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579251164; cv=none; d=google.com; s=arc-20160816; b=ho/GM06l/+3eRLIJxNy31Y8nV1Xqogwjn+U22FkrltaTUVT8JeBrgt6FOrZV+2VHb9 Ag8OHg+z9DZfhO+MC4lqzBzQfn9VUeuIHRV1LyrndbumBTbR7Ex8GkFdCesOhtSf0T3u Oa8qjlxm4dhF1M2hG5M8BFGD3gZaUKi77zEW37jqkCu+QDWvo2L74o5c5pOQfp6WeCWD OdbWUizPXeDhp2nZVrsCmhoKlBpbXINkClkyXEnRMNRNE6ZzmBpTjCWB5ypr2uzyYxng u6w/R2CtfO/obRrTuXJz7Pf9Ijt4klGA1hEj4MzZux+2wriWNAB51gybcPhr4wGqWitY niwQ== 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=+CX+lAz33p4FSE78mB0y8m10ufT3R/KqrRCZdTHoZ6E=; b=sChECDis07SaJJ/4PI3pTP073KvQFZfSWipV5cwdUIn2Y2trK0YLZYvq+QzBqBxq/g u+VeCZ3ri441ri6RjZ7S90CpM1ziUGTEVVgOiK9XBDAQDVChHIcY3urg7MXs8V2aXzbj fKP6BqBjRlJCRw8KgcB6S+OzbtOA2W0FiHF12BTwo0JZ4UMz6GaUG9Wb1fqS/FswawEo QiuhHGlbMUXzXX4q69G99XIgmIoraJjVJoV1UAp0jR4qBQj4DnU6TPiZLb4IOnEINQPl 1oudpLd18noWIdr+POgnpdAtx5hJfLovtI95VFYcooNoZVEZFT7f6+59M9WhsMee4sbB dfmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si15413597oti.249.2020.01.17.00.52.32; Fri, 17 Jan 2020 00:52:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729547AbgAQIOF (ORCPT + 99 others); Fri, 17 Jan 2020 03:14:05 -0500 Received: from lucky1.263xmail.com ([211.157.147.130]:45950 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729196AbgAQIOF (ORCPT ); Fri, 17 Jan 2020 03:14:05 -0500 Received: from localhost (unknown [192.168.167.69]) by lucky1.263xmail.com (Postfix) with ESMTP id E65477DB6F; Fri, 17 Jan 2020 16:14:01 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-ABS-CHECKED: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P20995T139699247118080S1579248839183075_; Fri, 17 Jan 2020 16:14:01 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <9d948a519d0607bb5c4ec2e2624034b1> X-RL-SENDER: jay.xu@rock-chips.com X-SENDER: xjq@rock-chips.com X-LOGIN-NAME: jay.xu@rock-chips.com X-FST-TO: linus.walleij@linaro.org X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Jianqun Xu To: linus.walleij@linaro.org, heiko@sntech.de, david.wu@rock-chips.com, kever.yang@rock-chips.com Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rockchip@lists.infradead.org, jay.xu@rock-chips.com Subject: [PATCH 1/2] pinctrl: rockchip: new rockchip dir for pinctrl-rockchip Date: Fri, 17 Jan 2020 16:13:57 +0800 Message-Id: <20200117081358.5772-2-jay.xu@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200117081358.5772-1-jay.xu@rock-chips.com> References: <20200117081358.5772-1-jay.xu@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Create a new direcoty "rockchip" under pinctrl for pinctrl-rockchip. This is base patch which prepares for spliting driver by SoC types. Signed-off-by: Jianqun Xu --- drivers/pinctrl/Kconfig | 7 ------- drivers/pinctrl/rockchip/Kconfig | 12 ++++++++++++ drivers/pinctrl/rockchip/Makefile | 2 ++ drivers/pinctrl/{ => rockchip}/pinctrl-rockchip.c | 0 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 drivers/pinctrl/rockchip/Kconfig create mode 100644 drivers/pinctrl/rockchip/Makefile rename drivers/pinctrl/{ => rockchip}/pinctrl-rockchip.c (100%) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 3bfbf2ff6e2b..5a16020c733d 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -186,13 +186,6 @@ config PINCTRL_OXNAS select GPIOLIB_IRQCHIP select MFD_SYSCON -config PINCTRL_ROCKCHIP - bool - select PINMUX - select GENERIC_PINCONF - select GENERIC_IRQ_CHIP - select MFD_SYSCON - config PINCTRL_RZA1 bool "Renesas RZ/A1 gpio and pinctrl driver" depends on OF diff --git a/drivers/pinctrl/rockchip/Kconfig b/drivers/pinctrl/rockchip/Kconfig new file mode 100644 index 000000000000..7a0077ca32dd --- /dev/null +++ b/drivers/pinctrl/rockchip/Kconfig @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0 + +if (ARCH_ROCKCHIP || COMPILE_TEST) + +config PINCTRL_ROCKCHIP + bool + select PINMUX + select GENERIC_PINCONF + select GENERIC_IRQ_CHIP + select MFD_SYSCON + +endif diff --git a/drivers/pinctrl/rockchip/Makefile b/drivers/pinctrl/rockchip/Makefile new file mode 100644 index 000000000000..50568f4b6667 --- /dev/null +++ b/drivers/pinctrl/rockchip/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/rockchip/pinctrl-rockchip.c similarity index 100% rename from drivers/pinctrl/pinctrl-rockchip.c rename to drivers/pinctrl/rockchip/pinctrl-rockchip.c -- 2.17.1