Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2329412pxj; Sun, 9 May 2021 23:37:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJB+t2NtZAbkDM6ZdhAisUP6Wm0NCZ+btr3pUClYzO3IGk8DBzgBgTTrOzpWEdP3OISKMk X-Received: by 2002:a92:ab01:: with SMTP id v1mr21146124ilh.190.1620628646451; Sun, 09 May 2021 23:37:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620628646; cv=none; d=google.com; s=arc-20160816; b=cYaB+5/SCm0MXg5Cj3NFu1n1n6WbOeZRNn/NghetsqjhnZHHzoObVgDqIJvH2sN6+G lEvlsuaUvMIBvYjnlvOKzEvb/o8fiDUBNGUAaWa50esZWHjAdrLcdlEUARDFDIrUzDEB I99ZDpnzfBi5z9Jps01Q+B3HJLHXV9H041ELVJQHEjkFaYdGIQPcteKlKwP66pDprPUH KbcehPIsGUUpOPTR//3/6dKauzZGX8eZLkfhowVLTz86PH+eFTplmqleAgqT1R5bJFgl IepxxVKQ0UCfsmByLDBgE32zI//BQophW2VbKbJjK02Vv8PayJYPN/z3rec5Ah3NbnlQ bTUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GyuOi6BS9kLA3efnLlkGB2kK16BGyX4Q/NGJtYf/0n0=; b=pVwKPdeoSJs0hhDJ/TZhrJpTG/m/uMs/ggTktVX71mqJCica4NVTC32P1kEJYYOPV+ ofbaTJ24jFyPnAdAq3vnjoOtkAdUrbuOa6CDB5d6odxz/cPbkJqZq4On+Uwt14ykIsrN y8TXfFSmriOQX0hc6/bBRR8XZIpvpN98CgoA/KDqmrop6Io2qSi1PCx4vvAxydddBDXe p/BsaSDABx77/cbspLb9qyqi66GmUwFT8reNQae+BUdsMOuTgfKFAE9pE3sXb2d98kNK bxswH5KFbHYBm4TeZF6RI/gDWhrF1eGAzCIhJERHkcvPmp24dqbZKvjDyzzU+2Xg+9Mf xNhA== 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 q3si485766ilu.88.2021.05.09.23.37.14; Sun, 09 May 2021 23:37:26 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbhEJGhi (ORCPT + 99 others); Mon, 10 May 2021 02:37:38 -0400 Received: from lucky1.263xmail.com ([211.157.147.133]:57780 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbhEJGh3 (ORCPT ); Mon, 10 May 2021 02:37:29 -0400 Received: from localhost (unknown [192.168.167.235]) by lucky1.263xmail.com (Postfix) with ESMTP id 2513FCD444; Mon, 10 May 2021 14:36:05 +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 P2750T140649254856448S1620628564034882_; Mon, 10 May 2021 14:36:05 +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: heiko@sntech.de X-RCPT-COUNT: 7 X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 From: Jianqun Xu To: heiko@sntech.de, linus.walleij@linaro.org, robh+dt@kernel.org Cc: linux-gpio@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jianqun Xu Subject: [PATCH v4 0/7] gpio-rockchip driver Date: Mon, 10 May 2021 14:35:55 +0800 Message-Id: <20210510063602.505829-1-jay.xu@rock-chips.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Separate gpio driver from pinctrl driver, and support v2 controller. Jianqun Xu (7): 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 gpio/rockchip: use struct rockchip_gpio_regs for gpio controller gpio/rockchip: support next version gpio controller gpio/rockchip: always enable clock for gpio controller gpio/rockchip: drop irq_gc_lock/irq_gc_unlock for irq set type drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-rockchip.c | 758 ++++++++++++++++++++++++ drivers/pinctrl/pinctrl-rockchip.c | 910 +---------------------------- drivers/pinctrl/pinctrl-rockchip.h | 287 +++++++++ 5 files changed, 1073 insertions(+), 891 deletions(-) create mode 100644 drivers/gpio/gpio-rockchip.c create mode 100644 drivers/pinctrl/pinctrl-rockchip.h -- v5: - change to devel branch 2.25.1