From patchwork Sat Jul 15 17:50:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 107854 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2461884qge; Sat, 15 Jul 2017 10:51:21 -0700 (PDT) X-Received: by 10.84.231.204 with SMTP id g12mr22114542pln.233.1500141081220; Sat, 15 Jul 2017 10:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500141081; cv=none; d=google.com; s=arc-20160816; b=pXOs3WqBHKR7Jf8GsgIWkMRCVrXDHITkybhoa9HUX2Z2klRAySfBc4DPDRO092NJr6 48Kz3zmFIxAyJElE/xvHGrNADJ9vLqJhXTXtX6iI0O+4B8dJyq0/HxdVECCEiOpUKXB3 JguK7W7HYv8m7cdo05c93kxZwxDGmGeOSYJamQeU056M6+u1Hi/ua7qL1mExReAYra73 V6EAjluCNYqZKIz6z+XEqca8tQFFY6c2MSbOKYGGCOOgh1Y+rPPwVme/lknN9MfuS24X s+i5/pla/5u8kzm8RXoUBEv8PosuC4EO/g593jC2cwvOJUXyOJCAoy1fxQElkVsOop7Q vrnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=UlYw7wW4NaLFMZme43QCzEXgE28acXv2jGEX8SnYYyA=; b=pf11smK6e8cIMdmB3hyWjLhgb5+851XVuUHETtF+UxfD1uqAh//EXyzaeeStyDUSY9 pt0TqymuHtRTBecs2mBPmai9HaXwylD/yFTAxzUOLaZXslRZ3UXz/OtHgzOTtWLq2vhD ynnhUc9ty3nDPhU3uANYV1qPTbDrlVdVWnr0V1PGsk6uHmS2oSJMqKOgiyTeEvS3C5fl w13tmlfEFUa9zxlcpCBX8Hw6lBFK2EyW+ZGRy6n5PFPm31FwMFeGvEHD3JtkCXMMihL7 mO1adaLGL05+47U4N2+T40v1VwVw+uhA3sqEENYYikciHfI9ugqRBZ0Hv9sEbbGi/zxJ UA/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=Klrqc0v/; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6si7601853pla.314.2017.07.15.10.51.20; Sat, 15 Jul 2017 10:51:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=Klrqc0v/; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751140AbdGORvL (ORCPT + 7 others); Sat, 15 Jul 2017 13:51:11 -0400 Received: from mail-lf0-f41.google.com ([209.85.215.41]:35528 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbdGORvL (ORCPT ); Sat, 15 Jul 2017 13:51:11 -0400 Received: by mail-lf0-f41.google.com with SMTP id w198so246122lff.2 for ; Sat, 15 Jul 2017 10:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=30VchFZguChji8VCohAnalbEMJaPehuVxccb4BlvJsM=; b=Klrqc0v/+u8ff6ANBP16CNi1MN9z50qwrzpEtPfI83eIg0uerBOz1bwGiMyMGKbaEA dTnPBqjV8d7GZeQiiEx794Nn/4iIQnXgCKVLkjWk32EreILJSoTXohCvlIXopCjI2Pbz QNU5GYKZnhy/Gs5hcMdujHa7wE9msOiDoCHYQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=30VchFZguChji8VCohAnalbEMJaPehuVxccb4BlvJsM=; b=ddo16iR1pPxouYJOL3IMc2zYs/LBRrqpQd8iMhL9Aa3IvlmWxDu7o4IFEIHh/TjUR8 MmoBznJM+rVTYiRWyYQXJPlSn3sm23a3pa51kJEIalS8IdyiLhYxXOlfpcxx1mwRpIv4 bvSaiIJF/bES1gLSFiQ3yzDT71v50Zu6vkj+q1QXtOEuvTGyKHl5zBrFZL1GZG8e6XXy TQwgQIHCx20bQaz8vqq2KKBahJHTsPJTLDgBVNHXLISELhBnt608d/tPA5JArJHMhAQI aHJkSnJQX2R9QirlqmO3kUl+bfDSU117zfWI4ffoRIiuvilnnB27e9WKPxH6+72fhPcX K5Tw== X-Gm-Message-State: AIVw113xSmMc+4OUAjST/DU++xWBVUBuI919H+rlvf4bZC/5ewvn6CG0 liyKCIi97KU/d7C6 X-Received: by 10.46.92.196 with SMTP id q187mr2482790ljb.132.1500141069352; Sat, 15 Jul 2017 10:51:09 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-8d7271d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.114.141]) by smtp.gmail.com with ESMTPSA id r203sm2704846lff.67.2017.07.15.10.51.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Jul 2017 10:51:07 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Hans Ulli Kroll , Florian Fainelli Cc: Janos Laube , Paulius Zaleckas , linux-arm-kernel@lists.infradead.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/5] pinctrl: Add DT bindings for Cortina Gemini Date: Sat, 15 Jul 2017 19:50:52 +0200 Message-Id: <20170715175056.13040-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Cortina Gemini pin controller uses the standard pin control bindings for muxing functions with groups so these bindings should be entirely uncontroversial. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../bindings/pinctrl/cortina,gemini-pinctrl.txt | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt -- 2.9.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt new file mode 100644 index 000000000000..2ef3e8a65559 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt @@ -0,0 +1,54 @@ +Cortina Systems Gemini pin controller + +This pin controller is found in the Cortina Systems Gemini SoC family, +see further arm/gemini.txt. It is a purely group-based multiplexing pin +controller. + +Required properties: +- compatible: "cortina,gemini-pinctrl" +- regmap: phandle to the system controller node + +Subnodes of the pin controller contain pin control multiplexing set-up. +Please refer to pinctrl-bindings.txt for generic pin multiplexing nodes. + +Example: + +pinctrl { + compatible = "cortina,gemini-pinctrl"; + regmap = <&syscon>; + pinctrl-names = "default"; + pinctrl-0 = <&dram_default_pins>, <&system_default_pins>, + <&vcontrol_default_pins>; + + dram_default_pins: pinctrl-dram { + mux { + function = "dram"; + groups = "dramgrp"; + }; + }; + rtc_default_pins: pinctrl-rtc { + mux { + function = "rtc"; + groups = "rtcgrp"; + }; + }; + power_default_pins: pinctrl-power { + mux { + function = "power"; + groups = "powergrp"; + }; + }; + system_default_pins: pinctrl-system { + mux { + function = "system"; + groups = "systemgrp"; + }; + }; + (...) + uart_default_pins: pinctrl-uart { + mux { + function = "uart"; + groups = "uartrxtxgrp"; + }; + }; +};