From patchwork Thu Nov 12 08:40:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 11898717 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=-4.8 required=3.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 D965EC388F9 for ; Wed, 11 Nov 2020 23:42:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 579E82076E for ; Wed, 11 Nov 2020 23:42:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="0BlNBExC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 579E82076E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=kuPcfEzq959HQ42nIXbRN5ooRaPcu+m7d7SKCuGItJY=; b=0BlNBExCFxgoJ8GpAs7qgcZNy1 16VU1z9p6UN3LIBdb90wweelxd4bDsGc4jXILrfYTcpku9fBc1zFXrPOD1xa0EzFzVz23dbZSz64z H9CoNfZIy6cWGJ9cOJk3FuAG+SZ6m+0eWg+a+rG+vxB/RGipMYZj9yFWor51KHEPFKkGQxrKhq3/X ZadsWZMNpehEtz4xSYZVDmyOFdKeVL4282VVAYtm8SudGFoMkvoa6q/6k0S1h+PNAlax9qsGVA5rq vydC0NCqjn6JDsp1kUKWAoztb9vlyKox9r6HpyxZNkAHtscjcAt6AUv/3KN//krjanY3IqdMqNLRH P8rEDWDw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kczkp-00078i-R0; Wed, 11 Nov 2020 23:42:19 +0000 Received: from mo-csw1514.securemx.jp ([210.130.202.153] helo=mo-csw.securemx.jp) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kczkj-00076j-G1 for linux-arm-kernel@lists.infradead.org; Wed, 11 Nov 2020 23:42:15 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 0ABNg6XI010993; Thu, 12 Nov 2020 08:42:06 +0900 X-Iguazu-Qid: 34treOZZE3LXD5VUw6 X-Iguazu-QSIG: v=2; s=0; t=1605138126; q=34treOZZE3LXD5VUw6; m=8iSl3CzsGk7z8gybTMgzP7sPlqhzerHJH3xjuyEO0Po= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1512) id 0ABNg5RC009502; Thu, 12 Nov 2020 08:42:05 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id 0ABNg5Dw002645; Thu, 12 Nov 2020 08:42:05 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 0ABNg48Q007923; Thu, 12 Nov 2020 08:42:04 +0900 From: Nobuhiro Iwamatsu To: Rob Herring , Linus Walleij Subject: [PATCH v2 0/4] gpio: visoconti: Add Toshiba Visconti GPIO support Date: Thu, 12 Nov 2020 17:40:53 +0900 X-TSB-HOP: ON Message-Id: <20201112084057.1399983-1-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201111_184213_953735_0D628DFA X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, punit1.agrawal@toshiba.co.jp, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Nobuhiro Iwamatsu , yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This series is the GPIO driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation, device driver, MAINTAINER files, and updates to DT files. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html dt-bindings: gpio: Add bindings for Toshiba Visconti GPIO Controller: v1 -> v2: Fix typo. gpio: visoconti: Add Toshiba Visconti GPIO support: v1 -> v2: No update. MAINTAINERS: Add entries for Toshiba Visconti GPIO controller: v1 -> v2: No update. arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver: v1 -> v2: No update. Nobuhiro Iwamatsu (4): dt-bindings: gpio: Add bindings for Toshiba Visconti GPIO Controller gpio: visoconti: Add Toshiba Visconti GPIO support MAINTAINERS: Add entries for Toshiba Visconti GPIO controller arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver .../bindings/gpio/toshiba,gpio-visconti.yaml | 85 ++++++ MAINTAINERS | 2 + .../boot/dts/toshiba/tmpv7708-rm-mbrc.dts | 4 + arch/arm64/boot/dts/toshiba/tmpv7708.dtsi | 27 ++ drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-visconti.c | 287 ++++++++++++++++++ drivers/pinctrl/visconti/pinctrl-common.c | 23 ++ 8 files changed, 437 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml create mode 100644 drivers/gpio/gpio-visconti.c