- 09 4月, 2013 2 次提交
-
-
由 Shawn Guo 提交于
Currently, all imx pinctrl drivers maintain a big array of struct imx_pin_reg which hard-codes data like register offset and mux mode setting for each pin function. Every time a new imx SoC support is added, we need to add such a big mount of data. With moving to single kernel build, it's only matter of time to be blamed on memory consuming. With DTC pre-processor support in place, the patch moves all these data into device tree by redefining the PIN_FUNC_ID in imxXX-pinfunc.h and changing the PIN_FUNC_ID parsing code a little bit. The pin id gets re-numbered based on mux register offset, or config register offset if the pin has no mux register, so that kernel can identify the pin id from register offsets provided by device tree. As a bonus point of the change, those arbitrary magic numbers standing for particular PIN_FUNC_ID in device tree sources are now replaced by macros to improve the readability of dts files. Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Acked-by: NDong Aisheng <dong.aisheng@linaro.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Shawn Guo 提交于
Replace /include/ (dtc) with #include (C pre-processor) for all imx DT files, so that gcc -E handles the entire include tree, and hence any of those files can #include some other file e.g. for constant definitions. This allows future use of #defines and header files in order to define names for various constants, such as pinctrl settings. Use of those features will increase the readability of the device tree files. Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 10 2月, 2013 1 次提交
-
-
由 Shawn Guo 提交于
Following omap3-evm.dts way, it changes all imx dts files to use label in board dts to refer to nodes defined by soc dtsi. Thus, the board dts files become easier to read and edit with the least indentation levels. Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 16 11月, 2012 2 次提交
-
-
由 Fabio Estevam 提交于
Setup the GPIO7_11 pin as interrupt to the DA9053 and also rename the regulator nodes so that they match with the datasheet. This allows probing of DA9053 to succeed. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
由 Fabio Estevam 提交于
Since commit 8fe4554f (leds: leds-gpio: adopt pinctrl support) gpio-led driver has pinctrl support, so setup the gpio led pin via pinctrl and avoid the following warning: leds-gpio leds.2: pins are not configured from the driver Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Reviewed-by: NMarek Vasut <marex@denx.de> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 11 9月, 2012 1 次提交
-
-
由 Shawn Guo 提交于
Add pinctrl settings for existing devices in imx53-qsb.dts. Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 24 8月, 2012 2 次提交
-
-
由 Fabio Estevam 提交于
Instead of adding sdma-ram-script-name into each board dts file, move it to the SoC dtsi file instead. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Acked-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
由 Fabio Estevam 提交于
Instead of enabling the watchdog in each individual dts file, select in the SoC dtsi file instead. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 11 5月, 2012 4 次提交
-
-
由 Shawn Guo 提交于
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
由 Ying-Chun Liu (PaulLiu) 提交于
Add Dialog DA9053 regulators support for imx53-qsb (Loco board) Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Amit Kucheria <amit.kucheria@canonical.com> Cc: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> Cc: Russell King - ARM Linux <linux@arm.linux.org.uk> Signed-off-by: NYing-Chun Liu (PaulLiu) <paulliu@debian.org> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
由 Shawn Guo 提交于
It has been pointed out by device tree maintainer for several times that the generic names 'serial' and 'ethernet' should be used for those devices per ePAPR. Renames imx uart and fec device tree nodes to stop them being bad examples. Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
-
由 Fabio Estevam 提交于
Remove bootargs field as this information is retrieved from the bootloader. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 14 12月, 2011 2 次提交
-
-
由 Richard Zhao 提交于
UART1/UART2/... is more readable than UART0/UART1/... . Remove redundant UART comments. Signed-off-by: NRichard Zhao <richard.zhao@linaro.org> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
由 Richard Zhao 提交于
GPIO1/GPIO2/... is more readable than GPIO0/GPIO1/... . Remove redundant gpio comments. Signed-off-by: NRichard Zhao <richard.zhao@linaro.org> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 18 10月, 2011 1 次提交
-
-
由 Shawn Guo 提交于
It adds device tree support for imx53 boards. Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Acked-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
-