From patchwork Sat Jul 1 16:25:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 783094 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3x0Jf64hPXz9t2W for ; Sun, 2 Jul 2017 02:25:18 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b="V/GhBsZy"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751892AbdGAQZP (ORCPT ); Sat, 1 Jul 2017 12:25:15 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36520 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751871AbdGAQZL (ORCPT ); Sat, 1 Jul 2017 12:25:11 -0400 Received: by mail-wm0-f66.google.com with SMTP id y5so12951899wmh.3; Sat, 01 Jul 2017 09:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=kYCYzlEa/+bPXmcFN9NFg39EllQ3zfIshoISjQBGE0M=; b=V/GhBsZyZrPTEJOtMLLgiwOSBj+oy/IcEUs8cmokJwRlkfakTJRbB+4LDTxf2sj0B3 /mduDfOBYxBlgEuhWcQ2heIqdaL8lEuc1EutXXiZu6fo7luD9giJBZgEYvnsrexwc4t/ +x8zcdUAyJ43clE4o1ijTS3K4HnZJWmsisOHZRS0kNkVuqkj36PxDjHOR6/z+FKOHUkv EgazvILHQxYKIYI7GENWMftTPM3FnCQ7BsErn6/4G+0gUcVtaY/FfTHd3vhvKIH6R1Cs AmmV4blxQb5LS0XlpQDAflj43FygUFLsjCsFqf9kj0O7lyTUwaYT8lg7C5rNyK1LX8nY mhgg== 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=kYCYzlEa/+bPXmcFN9NFg39EllQ3zfIshoISjQBGE0M=; b=nCgqNXOL3cwmLaVBXUYgiPgxx3gbbXqLg+Nk76r7Q6bAiI7G8+ASPBASOrWB0E/AG/ unqTqVTfs5tov7dRYw062GSa2pwUgmjqZRXTVUMnHIOoBUfpRDcEHhy+eAzJscFltcPf Lj3DTW89yhspcRjL2iLitGird0C37TPzd5tx/AYK8Ymu1CG+wfSkppfhaMjsgJbhwpd2 w5tCb6N1767h16gxod3TqWMlXw7BfWRqMK3BSakHMchBRZAG08fTOuzANOqqokVMq3+e kcQeGSrQn0zK7akm/dWavLVdPD34wmUstbIDNUjp/+v7lLNPcW40bJGbRwH4ng3E2Ec4 aFuQ== X-Gm-Message-State: AKS2vOx19K9C5NeaxkBWx0M/hwTM/6ho3uqs7XPhu6IPueHz1QXsGB7f nY/mWfP9pSrV7ZI3 X-Received: by 10.28.134.11 with SMTP id i11mr18347927wmd.77.1498926309953; Sat, 01 Jul 2017 09:25:09 -0700 (PDT) Received: from debian64.daheim (p200300D5FBCE86FCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbce:86fc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id z101sm16304746wrb.41.2017.07.01.09.25.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Jul 2017 09:25:09 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.89) (envelope-from ) id 1dRLCl-0006EX-DF; Sat, 01 Jul 2017 18:25:07 +0200 From: Christian Lamparter To: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Cc: Linus Walleij , Rob Herring , Mark Rutland , Varadarajan Narayanan , Bjorn Andersson , Ram Chandra Jangir , John Crispin Subject: [PATCH v2 1/3] dt-bindings: pinctrl: add most other IPQ4019 pin functions and groups Date: Sat, 1 Jul 2017 18:25:05 +0200 Message-Id: <73f822f3f969fa2c9ed25097ab8c70826b265491.1498925339.git.chunkeey@googlemail.com> X-Mailer: git-send-email 2.13.2 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds the remaining pin functions and mux groups. All unknown and debug functions are omitted. Existing functions for qpic, sdio, rgmii, rmii, wifi/d are squashed together as much as possible. And only in case of a clash, the individually named functions have been kept. The exceptions are: led0-11 i2s_rx, i2s_tx, i2s_td, i2s_spdif_in, i2s_spdif_out, smart0-3 wifiX_uart Ram Chandra Jangir explained that: wifi0_uart0 and wifi0_uart1 are different functions and they are mapped as below: wifi0_uart --> wifi0 uart RTS wifi0_uart0 --> wifi0 uart RxD wifi0_uart1 --> wifi0 uart CTS wifi1_uart --> wifi1 uart TxD wifi1_uart0 --> wifi1 uart RxD wifi1_uart1 --> wifi1 uart CTS Cc: Varadarajan Narayanan Cc: Bjorn Andersson Cc: Ram Chandra Jangir Cc: John Crispin Acked-by: Rob Herring Signed-off-by: Christian Lamparter Reviewed-by: Bjorn Andersson --- I've seen that ipq8074 is ready. I've been sitting on this patches for a while. So, I'm happy to post the series. I've included the "Acked-by: Rob Herring " from V1. Although I changed quite a bit, most of it was cleanup and squashing. I think the original ACK is still good: . If something does come up, please let me know. --- Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt index cfb8500dd56b..c30642b086b2 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt @@ -50,7 +50,12 @@ Valid values for qcom,pins are: Supports mux, bias and drive-strength Valid values for qcom,function are: -gpio, blsp_uart1, blsp_i2c0, blsp_i2c1, blsp_uart0, blsp_spi1, blsp_spi0 +aud_pin, audio_pwm, blsp_i2c0, blsp_i2c1, blsp_spi0, blsp_spi1, blsp_uart0, +blsp_uart1, chip_rst, gpio, i2s_rx, i2s_spdif_in, i2s_spdif_out, i2s_td, i2s_tx, +jtag, led0, led1, led2, led3, led4, led5, led6, led7, led8, led9, led10, led11, +mdc, mdio, pcie, pmu, prng_rosc, qpic, rgmii, rmii, sdio, smart0, smart1, +smart2, smart3, tm, wifi0, wifi0_uart, wifi0_uart0, wifi0_uart1, wifi1, +wifi1_uart, wifi1_uart0, wifi1_uart1 Example: