From patchwork Mon Mar 22 10:43:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianqun Xu X-Patchwork-Id: 407163 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 454C3C433DB for ; Mon, 22 Mar 2021 10:44:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E7996191E for ; Mon, 22 Mar 2021 10:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230231AbhCVKnf (ORCPT ); Mon, 22 Mar 2021 06:43:35 -0400 Received: from lucky1.263xmail.com ([211.157.147.132]:53762 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbhCVKnU (ORCPT ); Mon, 22 Mar 2021 06:43:20 -0400 Received: from localhost (unknown [192.168.167.235]) by lucky1.263xmail.com (Postfix) with ESMTP id BA41AF3227; Mon, 22 Mar 2021 18:43:13 +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 P24306T139685293258496S1616409792243826_; Mon, 22 Mar 2021 18:43:13 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: 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: huangtao@rock-chips.com X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 From: Jianqun Xu To: huangtao@rock-chips.com, kever.yang@rock-chips.com, linus.walleij@linaro.org, heiko@sntech.de Cc: linux-gpio@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jianqun Xu Subject: [PATCH 0/3] gpio-rockchip driver Date: Mon, 22 Mar 2021 18:43:07 +0800 Message-Id: <20210322104310.863029-1-jay.xu@rock-chips.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Separate gpio driver from pinctrl driver. Jianqun Xu (3): pinctrl/rockchip: separate struct rockchip_pin_bank to a head file pinctrl/pinctrl-rockchip.h: add pinctrl device to gpio bank struct gpio: separate gpio driver from pinctrl-rockchip driver drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-rockchip.c | 650 +++++++++++++++++++++ drivers/pinctrl/pinctrl-rockchip.c | 909 +---------------------------- drivers/pinctrl/pinctrl-rockchip.h | 246 ++++++++ 5 files changed, 924 insertions(+), 890 deletions(-) create mode 100644 drivers/gpio/gpio-rockchip.c create mode 100644 drivers/pinctrl/pinctrl-rockchip.h