Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp158820yba; Thu, 25 Apr 2019 20:21:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9yF9PrXrZEbXdDMplP93sqlQiEVX5f6qkSFatjSEAxuq96jTVFTVIFsS0gdmFr+4YW8mS X-Received: by 2002:a63:750c:: with SMTP id q12mr41225550pgc.133.1556248870868; Thu, 25 Apr 2019 20:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556248870; cv=none; d=google.com; s=arc-20160816; b=omEWb1tlhpVoOPC78litn8A9MSviCJRVp2NXqHwM5VcS9cjwHMJce9afxt6UNIfNLj ovGpq7iS45iwO6SrZuKbvah+vYYAeWYgGHYdOHKwme8Q0yyohgDg2tY6CY3+bUpdjAHc bbG+qdtgV9RTJ8ppt/wqaAZ2KOHFeV5c4Cbs08I5WeBy7/Q0F2qBT03ufm908+leFGPg mML8Nk2fpKavwdymB2nKabcsw3cFpZ78UbxPIuMDM1fqMRkGo0s+AIn5PN2QyX8rJlRM SZ8xKFnCWXjTtSszEYOp4bGifksWD6bOcT29r9aSOohqIGcHweip5582oQ+HSvDyylwT ilag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=gttAJcs6P3kaq53FjEVB4CsAbUUe3aO+wz7HAYhiBKA=; b=I4YNS1/tjuhCGMJQj/X3xuWGQEj+hBXR8Kz+zn8FErjtfQpFPDBf4AhkIWxlGPNTl9 37Pyez2yFVvDvzuJ+nuMaPOBaBAUKhnFWSvEGIqInMv88+VZ7gjJoyP7n3vScDr4ayNe RE2XHVBkASVOngkNySVlzY1CtFGqXJ/CoWcJtdxt6eZPQAbzfOxtBlc59MVeTSr3r68l W5sSKbv22VKl7TQ1I+9bRz0o6k0v+EU1/LeZ1F8gzEDP9paio3ugTqb1/1tK7CTLXUu7 Xpi7/CZ/ucZZCl7a0YQrlnb6ysCC3+i0ovA4oQTle87WtzwA091kuL/0g9K82mzoesO0 FXrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=DbFctEFq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si16214575pgj.369.2019.04.25.20.20.55; Thu, 25 Apr 2019 20:21:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=DbFctEFq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729647AbfDZC4b (ORCPT + 99 others); Thu, 25 Apr 2019 22:56:31 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:12638 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727360AbfDZC4a (ORCPT ); Thu, 25 Apr 2019 22:56:30 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 25 Apr 2019 19:56:26 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 25 Apr 2019 19:56:29 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 25 Apr 2019 19:56:29 -0700 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 26 Apr 2019 02:56:29 +0000 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 26 Apr 2019 02:56:29 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 26 Apr 2019 02:56:29 +0000 Received: from kyarlagadda-linux.nvidia.com (Not Verified[10.19.64.169]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Thu, 25 Apr 2019 19:56:28 -0700 From: Krishna Yarlagadda To: , , , , , , CC: , , , , , Krishna Yarlagadda Subject: [PATCH 1/2] dt-binding: Tegra194 pinctrl support Date: Fri, 26 Apr 2019 08:26:17 +0530 Message-ID: <1556247378-3335-1-git-send-email-kyarlagadda@nvidia.com> X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1556247386; bh=gttAJcs6P3kaq53FjEVB4CsAbUUe3aO+wz7HAYhiBKA=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=DbFctEFqfwNsTYvKpdtBZlV/8EMymGVR0Rj8+XlA0rUlujU3fsiVbxcsCwKO1GV0W eusrZG/5bRC8fjSRokGsQUFfCTuvaB6Wt/RKabFAeYWesL2ggFWVSt6oV7EJzOXcNc Q68Frah8AzYYGGeetDWsQ82k+lBhshPBdM8aI0H18En0Yj8ht9EsyvGuXQTMkM8DUU r4xbqr3hShEcIUJ6es2m+1SwPdVcLJ9diPNH1xWT8llHPbmyLYsr2R2Cf/VCTJbD3n BRt7yt9azt+2Tz7ZsELHSZ5CYXOqlLq+W3faEHT/y5CEIAI3JG07jGkCQ0anQ2ioZB ObVpSXYasn+cA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add new compatible string and other fields used in pinctrl driver for Tegra194 in nvidia,tegra210-pinmux.txt Signed-off-by: Krishna Yarlagadda --- .../bindings/pinctrl/nvidia,tegra210-pinmux.txt | 43 +++++++++++++++++++--- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.txt index 85f2114..c4e802d 100644 --- a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.txt +++ b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.txt @@ -1,7 +1,7 @@ -NVIDIA Tegra210 pinmux controller +NVIDIA Tegra210/194 pinmux controller Required properties: -- compatible: "nvidia,tegra210-pinmux" +- compatible: "nvidia,tegra210-pinmux" or "nvidia,tegra194-pinmux" - reg: Should contain a list of base address and size pairs for: - first entry: The APB_MISC_GP_*_PADCTRL registers (pad control) - second entry: The PINMUX_AUX_* registers (pinmux) @@ -83,6 +83,10 @@ Valid values for pin and group names (nvidia,pin) are: These correspond to Tegra PINMUX_AUX_* (pinmux) registers. Any property that exists in those registers may be set for the following pin names. + Tegra194: + pex_l5_clkreq_n_pgg0, pex_l5_rst_n_pgg1 + + Tegra210: In Tegra210, many pins also have a dedicated APB_MISC_GP_*_PADCTRL register. Where that is true, and property that exists in that register may also be set on the following pin names. @@ -127,12 +131,15 @@ Valid values for pin and group names (nvidia,pin) are: registers. Note that where one of these registers controls a single pin for which a PINMUX_AUX_* exists, see the list above for the pin name to use when configuring the pinmux. - + Tegra210: pa6, pcc7, pe6, pe7, ph6, pk0, pk1, pk2, pk3, pk4, pk5, pk6, pk7, pl0, pl1, pz0, pz1, pz2, pz3, pz4, pz5, sdmmc1, sdmmc2, sdmmc3, sdmmc4 + Tegra194: + pex_l5_clkreq_n_pgg0, pex_l5_rst_n_pgg1 Valid values for nvidia,functions are: + Tegra210: aud, bcl, blink, ccla, cec, cldvfs, clk, core, cpu, displaya, displayb, dmic1, dmic2, dmic3, dp, dtv, extperiph3, i2c1, i2c2, i2c3, i2cpmu, i2cvi, i2s1, i2s2, i2s3, i2s4a, i2s4b, i2s5a, i2s5b, iqc0, iqc1, jtag, pe, pe0, @@ -140,9 +147,12 @@ Valid values for nvidia,functions are: sdmmc1, sdmmc3, shutdown, soc, sor0, sor1, spdif, spi1, spi2, spi3, spi4, sys, touch, uart, uarta, uartb, uartc, uartd, usb, vgp1, vgp2, vgp3, vgp4, vgp5, vgp6, vimclk, vimclk2 + Tegra194: + pe5 -Example: +Examples: + Tegra210: pinmux: pinmux@70000800 { compatible = "nvidia,tegra210-pinmux"; reg = <0x0 0x700008d4 0x0 0x2a8>, /* Pad control registers */ @@ -163,4 +173,27 @@ Example: }; }; }; -}; + + Tegra194: + tegra_pinctrl: pinmux: pinmux@2430000 { + compatible = "nvidia,tegra194-pinmux"; + reg = <0x2430000 0x17000 + 0xc300000 0x4000>; + #gpio-range-cells = <2>; + pex_rst_c5_out_state: pex_rst_c5_out { + pex_rst { + nvidia,pins = "pex_l5_rst_n_pgg1"; + nvidia,schmitt = ; + nvidia,lpdr = ; + nvidia,enable-input = ; + nvidia,io-high-voltage = ; + nvidia,tristate = ; + nvidia,pull = ; + }; + }; + }; + pinmuxtest@0 { + compatible = "nvidia,tegra194-pinmux-test"; + pinctrl-names = "pex_rst"; + pinctrl-0 = <&pex_rst_c5_out_state>; + }; -- 2.7.4