From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 A1E16CA9EBB for ; Thu, 24 Oct 2019 20:27:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6E1D021A4A for ; Thu, 24 Oct 2019 20:27:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="vKpGLy4D" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727580AbfJXU1O (ORCPT ); Thu, 24 Oct 2019 16:27:14 -0400 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:59796 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727563AbfJXU1N (ORCPT ); Thu, 24 Oct 2019 16:27:13 -0400 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 51734891A9; Fri, 25 Oct 2019 09:27:09 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1571948829; bh=TzDk+b26arhZ49teYJMAkw6XfZatjK6lDIP138sg0hw=; h=From:To:Cc:Subject:Date; b=vKpGLy4DUFGKsKvFoeBuAX7I/uu8cwliyFbFMFUrGs7H+PfigBEOvQKcvyjl2rQTJ c3m4Ut63NcgQ5C1jU1uCqItuOpVj9KYkpegm+5WnvYmghdtFC4dTmrZKutIqxj538d 7rDdTNGNeh4qcDmTgXYsVWpYlBgISGue5YwCLWFpcQ3v8QivWhdpmQLhRXNhkPs+AO RsN6NsAxFfyMP+9sICbiq1i9Nw/kjPg8XtJGnR6VzXymfK1to2gm7cWEwstJMYOZgg zR2EZZHbtsZw5ImWkr6LwNYffC/2mkMwjLgSf86sOpi+kxTmrV6VU1dZOMWDS2SNyC HrcNQm4PTTPqQ== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Fri, 25 Oct 2019 09:27:08 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id F192D13EEEB; Fri, 25 Oct 2019 09:27:09 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id B7E7D28005C; Fri, 25 Oct 2019 09:27:05 +1300 (NZDT) From: Chris Packham To: linus.walleij@linaro.org, bgolaszewski@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH v4 0/2] gpio: brcm: XGS iProc GPIO driver Date: Fri, 25 Oct 2019 09:27:01 +1300 Message-Id: <20191024202703.8017-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This is ported this from Broadcom's XLDK (now heavily modified). There se= em to be 3 different IP blocks for 3 separate banks of GPIOs in the iProc chips= . I've dropped everything except support for the Chip Common A GPIO controller because the other blocks actually seem to be supportable with other drivers. The driver itself is halfway between pinctrl-nsp-gpio.c and pinctrl-iproc-gpio.c. Chris Packham (2): dt-bindings: gpio: brcm: Add bindings for xgs-iproc gpio: Add xgs-iproc driver .../bindings/gpio/brcm,xgs-iproc-gpio.yaml | 70 ++++ drivers/gpio/Kconfig | 9 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-xgs-iproc.c | 321 ++++++++++++++++++ 4 files changed, 401 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/brcm,xgs-iproc= -gpio.yaml create mode 100644 drivers/gpio/gpio-xgs-iproc.c --=20 2.23.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 5D0CECA9EBE for ; Thu, 24 Oct 2019 20:27:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 28C1C21A4A for ; Thu, 24 Oct 2019 20:27:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wcrobkc1"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="vKpGLy4D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 28C1C21A4A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alliedtelesis.co.nz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.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=Qxe3BPig9OWzO73HyG2MFHa8TsM6o4YGYO3HhNbM6vA=; b=Wcrobkc1ZfN4Xe E8DAZBsnu9CpYHtv9h3Nm3L8qOTN+vxGjlUHN2G562Mep1zAsXI/XtP/Xuo8YU+E8kGUlFyjYf0Zs 3GlhO0thNFYk8Iy6tGbB37l5SU4ydzUfH1qj9UQA9GEDMHjZqf4ucAaYQIcXlXcymIeCAXFM/Ernz CNQ6YkzZVJO85zLcZEtqZs/wioIWE8KrsUmFczTf2cIBycFlJJHQZIgREa/uI50ZWSKztQR9t7nq8 /4wvmnAIEdBJNxRCV2oKfgKGZIPNDge4IubkScKe3liO8Z98TuLL3BFEOY5vS96Dy/9cu6+LHGhjy keOHV2SR2q7VEqxCcEng==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNjhU-0007zY-VH; Thu, 24 Oct 2019 20:27:16 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNjhR-0007xy-74 for linux-arm-kernel@lists.infradead.org; Thu, 24 Oct 2019 20:27:15 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 51734891A9; Fri, 25 Oct 2019 09:27:09 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1571948829; bh=TzDk+b26arhZ49teYJMAkw6XfZatjK6lDIP138sg0hw=; h=From:To:Cc:Subject:Date; b=vKpGLy4DUFGKsKvFoeBuAX7I/uu8cwliyFbFMFUrGs7H+PfigBEOvQKcvyjl2rQTJ c3m4Ut63NcgQ5C1jU1uCqItuOpVj9KYkpegm+5WnvYmghdtFC4dTmrZKutIqxj538d 7rDdTNGNeh4qcDmTgXYsVWpYlBgISGue5YwCLWFpcQ3v8QivWhdpmQLhRXNhkPs+AO RsN6NsAxFfyMP+9sICbiq1i9Nw/kjPg8XtJGnR6VzXymfK1to2gm7cWEwstJMYOZgg zR2EZZHbtsZw5ImWkr6LwNYffC/2mkMwjLgSf86sOpi+kxTmrV6VU1dZOMWDS2SNyC HrcNQm4PTTPqQ== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 8, 10121) id ; Fri, 25 Oct 2019 09:27:08 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id F192D13EEEB; Fri, 25 Oct 2019 09:27:09 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id B7E7D28005C; Fri, 25 Oct 2019 09:27:05 +1300 (NZDT) From: Chris Packham To: linus.walleij@linaro.org, bgolaszewski@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH v4 0/2] gpio: brcm: XGS iProc GPIO driver Date: Fri, 25 Oct 2019 09:27:01 +1300 Message-Id: <20191024202703.8017-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191024_132713_650066_105DCF7E X-CRM114-Status: UNSURE ( 9.31 ) 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: linux-gpio@vger.kernel.org, Chris Packham , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is ported this from Broadcom's XLDK (now heavily modified). There seem to be 3 different IP blocks for 3 separate banks of GPIOs in the iProc chips. I've dropped everything except support for the Chip Common A GPIO controller because the other blocks actually seem to be supportable with other drivers. The driver itself is halfway between pinctrl-nsp-gpio.c and pinctrl-iproc-gpio.c. Chris Packham (2): dt-bindings: gpio: brcm: Add bindings for xgs-iproc gpio: Add xgs-iproc driver .../bindings/gpio/brcm,xgs-iproc-gpio.yaml | 70 ++++ drivers/gpio/Kconfig | 9 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-xgs-iproc.c | 321 ++++++++++++++++++ 4 files changed, 401 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/brcm,xgs-iproc-gpio.yaml create mode 100644 drivers/gpio/gpio-xgs-iproc.c -- 2.23.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel