[PATCH v2 1/3] ARM: dts: mxs: add pinctrl header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Changes vs. v2:
- move header files to arch/arm/boot/dts
- update documentation file to use the defined names rather than
  numeric values and remove the pinmux-id list

These patches add header files for the MXS arch to
arch/arm/boot/dts and convert the DTS files to use the pad
definitions from thoose files rather than hardcoding the pinctrl
values.

The conversion from numerical representation to symbolic names has
been done with a perl script that checked the definitions for
consistency of the pin function comments and the numerical values
used.

This revealed an inconsistency in:
arch/arm/boot/dts/imx28-apx4devkit.dts, which pretended to use
MX28_PAD_SSP2_SS0__GPIO_2_19 in the comment (equivalent to 0x2133),
but actually was using MX28_PAD_SSP2_SS0__AUART3_TX by the numerical
value 0x2131.

I decided to use the (probably wrong) assignment
MX28_PAD_SSP2_SS0__AUART3_TX because that is what is actually
configured without this patch. A comment stating the old setup has
been added to the .dts file.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux