Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965565AbbBCCAq (ORCPT ); Mon, 2 Feb 2015 21:00:46 -0500 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:48156 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964865AbbBCCAl (ORCPT ); Mon, 2 Feb 2015 21:00:41 -0500 X-IronPort-AV: E=Sophos;i="5.09,509,1418112000"; d="scan'208";a="56312357" From: Ray Jui To: Linus Walleij , Stephen Warren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "Grant Likely" , Christian Daudt , Matt Porter , Florian Fainelli , Russell King CC: Scott Branden , Dmitry Torokhov , Anatol Pomazau , , , , , , "Ray Jui" Subject: [PATCH v3 0/4] Add pinctrl support to Broadcom Cygnus SoC Date: Mon, 2 Feb 2015 18:01:30 -0800 Message-ID: <1422928894-20716-1-git-send-email-rjui@broadcom.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2739 Lines: 55 This patchset contains the initial pinctrl (IOMUX) support for the Broadcom Cygnus SoC. The Cygnus IOMUX controller supports group based mux configuration and allows certain pins to be muxed to GPIO function individually Changes from v2: - Consolidate all Broadcom pinctrl drivers into drivers/pinctrl/bcm/* - Change the Cygnus IOMUX driver to use standard Linux pinctrl subnode properties such as "function" and "groups" for pinmux configuration, instead of non-standard properties such as "brcm,function" and "brcm,group" - Use real function names like "spi0", "lcd", "key", and etc. instead of HW specific mux names like "alt1", "alt2", "alt3", and etc. - Add suffix "grp" to all group names - Add support to allow individual pins to be muxed to GPIO function through subsystem callbacks "gpio_request_enable" and "gpio_disable_free", and get rid of all GPIO groups - Other minor improvements in the driver Changes from v1: - Fix a typo in device tree binding document Ray Jui (4): pinctrl: bcm: consolidate Broadcom pinctrl drivers pinctrl: Broadcom Cygnus pinctrl device tree binding pinctrl: cygnus: add initial IOMUX driver support ARM: dts: enable IOMUX for Broadcom Cygnus .../bindings/pinctrl/brcm,cygnus-pinmux.txt | 159 +++ arch/arm/boot/dts/bcm-cygnus.dtsi | 6 + drivers/pinctrl/Kconfig | 19 +- drivers/pinctrl/Makefile | 4 +- drivers/pinctrl/bcm/Kconfig | 34 + drivers/pinctrl/bcm/Makefile | 5 + drivers/pinctrl/bcm/pinctrl-bcm281xx.c | 1455 ++++++++++++++++++++ drivers/pinctrl/bcm/pinctrl-bcm2835.c | 1072 ++++++++++++++ drivers/pinctrl/bcm/pinctrl-cygnus-mux.c | 1087 +++++++++++++++ drivers/pinctrl/pinctrl-bcm281xx.c | 1455 -------------------- drivers/pinctrl/pinctrl-bcm2835.c | 1072 -------------- 11 files changed, 3821 insertions(+), 2547 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,cygnus-pinmux.txt create mode 100644 drivers/pinctrl/bcm/Kconfig create mode 100644 drivers/pinctrl/bcm/Makefile create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm281xx.c create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm2835.c create mode 100644 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c delete mode 100644 drivers/pinctrl/pinctrl-bcm281xx.c delete mode 100644 drivers/pinctrl/pinctrl-bcm2835.c -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/