[PATCH RFC 1/2] ARM: imx6qdl: provide pinctrl configurations for DAT3 pull-down

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Oct 7 14:03:57 EDT 2013


On Mon, Oct 07, 2013 at 01:53:43PM +0800, Shawn Guo wrote:
> I think we can redefine only pad DAT3 in pinctrl_usdhc1_1_dat3cd, and
> overwrite the DAT3 configuration in pinctrl_usdhc1_1 to save the
> redundant data of other pads, something like the following.
> 
> pinctrl_usdhc1_1_dat3cd: usdhc1grp-3 {
> 	fsl,pins = <
> 		MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x13059
> 	>;
> };
> 
> &usdhc1 {
> 	pinctrl-names = "default";
> 	pinctrl-0 = <&pinctrl_usdhc1_1 &pinctrl_usdhc1_1_dat3cd>;
> 	...
> 	status = "okay";
> };

Are you sure that this will always be the case?  This would assume that
the pinctrl entries are always processed sequentially.



More information about the linux-arm-kernel mailing list