* [PATCH] pinctrl: tegra: add valid function name on DT document
@ 2013-07-30 11:04 Laxman Dewangan
2013-07-30 18:16 ` Stephen Warren
0 siblings, 1 reply; 3+ messages in thread
From: Laxman Dewangan @ 2013-07-30 11:04 UTC (permalink / raw)
To: swarren
Cc: grant.likely, rob.herring, linus.walleij, linux-doc, linux-tegra,
linux-kernel, devicetree, Laxman Dewangan
Add valid property name for the property "nvidia,function" in
DT binding document of Tegra pincontrol.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
.../bindings/pinctrl/nvidia,tegra114-pinmux.txt | 10 ++++++++++
.../bindings/pinctrl/nvidia,tegra20-pinmux.txt | 11 +++++++++++
.../bindings/pinctrl/nvidia,tegra30-pinmux.txt | 11 +++++++++++
3 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt
index e204d00..b28bdee 100644
--- a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt
+++ b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt
@@ -69,6 +69,16 @@ Valid values for pin and group names are:
gpio_w2_aud_pw2, gpio_w3_aud_pw3, usb_vbus_en0_pn4, usb_vbus_en1_pn5,
sdmmc3_clk_lb_in_pee5, sdmmc3_clk_lb_out_pee4, reset_out_n.
+The valid names for the nvidia,functions are:
+ blink, cec, cldvfs, clk12, cpu, dap, dap1, dap2, dev3, displaya,
+ displaya_alt, displayb, dtv, emc_dll, extperiph1, extperiph2,
+ extperiph3, gmi, gmi_alt, hda, hsi, i2c1, i2c2, i2c3, i2c4, i2cpwr,
+ i2s0, i2s1, i2s2, i2s3, i2s4, irda, kbc, nand, nand_alt, owr, pmi,
+ pwm0, pwm1, pwm2, pwm3, pwron, reset_out_n, rsvd1, rsvd2, rsvd3,
+ rsvd4, sdmmc1, sdmmc2, sdmmc3, sdmmc4, soc, spdif, spi1, spi2, spi3,
+ spi4, spi5, spi6, sysclk, trace, uarta, uartb, uartc, uartd, ulpi,
+ usb, vgp1, vgp2, vgp3, vgp4, vgp5, vgp6, vi, vi_alt1, vi_alt3
+
drive groups:
These all support nvidia,pull-down-strength, nvidia,pull-up-strength,
diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt
index 683fde9..ba6f2c4 100644
--- a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt
+++ b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt
@@ -82,6 +82,7 @@ Valid values for pin and group names are:
spdo, spia, spib, spic, spid, spie, spif, spig, spih, uaa, uab, uac, uad,
uca, ucb, uda.
+
tristate groups:
These only support nvidia,pull.
@@ -103,6 +104,16 @@ Valid values for pin and group names are:
drive_gma, drive_gmb, drive_gmc, drive_gmd, drive_gme, drive_owr,
drive_uda.
+The valid names for the nvidia,functions are:
+ ahb_clk, apb_clk, audio_sync, crt, dap1, dap2, dap3, dap4, dap5,
+ displaya, displayb, emc_test0_dll, emc_test1_dll, gmi, gmi_int,
+ hdmi, i2cp, i2c1, i2c2, i2c3, ide, irda, kbc, mio, mipi_hs, nand,
+ osc, owr, pcie, plla_out, pllc_out1, pllm_out1, pllp_out2, pllp_out3,
+ pllp_out4, pwm, pwr_intr, pwr_on, rsvd1, rsvd2, rsvd3, rsvd4, rtck,
+ sdio1, sdio2, sdio3, sdio4, sflash, spdif, spi1, spi2, spi2_alt,
+ spi3, spi4, trace, twc, uarta, uartb, uartc, uartd, uarte, ulpi,
+ vi, vi_sensor_clk, xio
+
Example:
pinctrl@70000000 {
diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.txt
index 6f426ed..909d491 100644
--- a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.txt
+++ b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.txt
@@ -80,6 +80,17 @@ Valid values for pin and group names are:
clk1_req_pee2, hdmi_cec_pee3, clk_32k_in, core_pwr_req, cpu_pwr_req, owr,
pwr_int_n.
+The valid names for the nvidia,functions are:
+ blink, cec, clk_12m_out, clk_32k_in, core_pwr_req, cpu_pwr_req, crt,
+ dap, ddr, dev3, displaya, displayb, dtv, extperiph1, extperiph2,
+ extperiph3, gmi, gmi_alt, hda, hdcp, hdmi, hsi, i2c1, i2c2, i2c3,
+ i2c4, i2cpwr, i2s0, i2s1, i2s2, i2s3, i2s4, invalid, kbc, mio, nand,
+ nand_alt, owr, pcie, pwm0, pwm1, pwm2, pwm3, pwr_int_n, rsvd1, rsvd2,
+ rsvd3, rsvd4, rtck, sata, sdmmc1, sdmmc2, sdmmc3, sdmmc4, spdif, spi1,
+ spi2, spi2_alt, spi3, spi4, spi5, spi6, sysclk, test, trace, uarta,
+ uartb, uartc, uartd, uarte, ulpi, vgp1, vgp2, vgp3, vgp4, vgp5, vgp6,
+ vi, vi_alt1, vi_alt2, vi_alt3
+
drive groups:
These all support nvidia,pull-down-strength, nvidia,pull-up-strength,
--
1.7.1.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] pinctrl: tegra: add valid function name on DT document
2013-07-30 11:04 [PATCH] pinctrl: tegra: add valid function name on DT document Laxman Dewangan
@ 2013-07-30 18:16 ` Stephen Warren
2013-07-31 6:24 ` Laxman Dewangan
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2013-07-30 18:16 UTC (permalink / raw)
To: Laxman Dewangan
Cc: grant.likely, rob.herring, linus.walleij, linux-doc, linux-tegra,
linux-kernel, devicetree
On 07/30/2013 05:04 AM, Laxman Dewangan wrote:
> Add valid property name for the property "nvidia,function" in
> DT binding document of Tegra pincontrol.
I have applied this to Tegra's for-3.12/dt branch, but I fixed up quite
a few issues along the way...
> diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt
> @@ -69,6 +69,16 @@ Valid values for pin and group names are:
> gpio_w2_aud_pw2, gpio_w3_aud_pw3, usb_vbus_en0_pn4, usb_vbus_en1_pn5,
> sdmmc3_clk_lb_in_pee5, sdmmc3_clk_lb_out_pee4, reset_out_n.
>
> +The valid names for the nvidia,functions are:
> + blink, cec, cldvfs, clk12, cpu, dap, dap1, dap2, dev3, displaya,
For consistency with other lists in the document, I added a blank line
between those two lines, and reworded the first of those lines to be
written in the same style as equivalent text for other lists.
> + displaya_alt, displayb, dtv, emc_dll, extperiph1, extperiph2,
> + extperiph3, gmi, gmi_alt, hda, hsi, i2c1, i2c2, i2c3, i2c4, i2cpwr,
> + i2s0, i2s1, i2s2, i2s3, i2s4, irda, kbc, nand, nand_alt, owr, pmi,
> + pwm0, pwm1, pwm2, pwm3, pwron, reset_out_n, rsvd1, rsvd2, rsvd3,
> + rsvd4, sdmmc1, sdmmc2, sdmmc3, sdmmc4, soc, spdif, spi1, spi2, spi3,
> + spi4, spi5, spi6, sysclk, trace, uarta, uartb, uartc, uartd, ulpi,
> + usb, vgp1, vgp2, vgp3, vgp4, vgp5, vgp6, vi, vi_alt1, vi_alt3
> +
> drive groups:
There is a list of valid pin/group names in the document, and that list
is divided into two sub-lists, for mux and drive groups. You inserted
the list of function names between the two sub-lists rather than after
the top-level list. Hence, I moved your additions to the correct place,
and also removed 2 characters of indent, since it's a top-level list,
not a sub-list of pin groups.
> diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt
> @@ -82,6 +82,7 @@ Valid values for pin and group names are:
> spdo, spia, spib, spic, spid, spie, spif, spig, spih, uaa, uab, uac, uad,
> uca, ucb, uda.
>
> +
> tristate groups:
I undid that change.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] pinctrl: tegra: add valid function name on DT document
2013-07-30 18:16 ` Stephen Warren
@ 2013-07-31 6:24 ` Laxman Dewangan
0 siblings, 0 replies; 3+ messages in thread
From: Laxman Dewangan @ 2013-07-31 6:24 UTC (permalink / raw)
To: Stephen Warren
Cc: grant.likely@linaro.org, rob.herring@calxeda.com,
linus.walleij@linaro.org, linux-doc@vger.kernel.org,
linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
On Tuesday 30 July 2013 11:46 PM, Stephen Warren wrote:
> On 07/30/2013 05:04 AM, Laxman Dewangan wrote:
>> Add valid property name for the property "nvidia,function" in
>> DT binding document of Tegra pincontrol.
> I have applied this to Tegra's for-3.12/dt branch, but I fixed up quite
> a few issues along the way...
>
Thank you very much for taking care.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-31 6:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30 11:04 [PATCH] pinctrl: tegra: add valid function name on DT document Laxman Dewangan
2013-07-30 18:16 ` Stephen Warren
2013-07-31 6:24 ` Laxman Dewangan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).