<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/arm/include/asm/imx-common, branch v2016.09</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/arm/include/asm/imx-common?h=v2016.09</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/arm/include/asm/imx-common?h=v2016.09'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-05-24T12:59:55Z</updated>
<entry>
<title>imx-common: introduce simpler macros for runtime dection</title>
<updated>2016-05-24T12:59:55Z</updated>
<author>
<name>Peng Fan</name>
<email>van.freenix@gmail.com</email>
</author>
<published>2016-05-23T10:35:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=32ff58bb2e1f66aa0fc9d0e9913cdca54eb819a9'/>
<id>urn:sha1:32ff58bb2e1f66aa0fc9d0e9913cdca54eb819a9</id>
<content type='text'>
Introduce simpler macros for runtime cpu dection.

Signed-off-by: Peng Fan &lt;van.freenix@gmail.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>dm: i2c: mxc_i2c: implement i2c_idle_bus</title>
<updated>2016-03-28T07:22:58Z</updated>
<author>
<name>Peng Fan</name>
<email>van.freenix@gmail.com</email>
</author>
<published>2016-03-11T08:47:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e1bed8027223121254fc3d975ab6684a7b57200c'/>
<id>urn:sha1:e1bed8027223121254fc3d975ab6684a7b57200c</id>
<content type='text'>
Implement i2c_idle_bus in driver, then setup_i2c can
be dropped for boards which enable DM_I2C/DM_GPIO/PINCTRL.
The i2c_idle_bus force bus idle flow follows setup_i2c in
arch/arm/imx-common/i2c-mxv7.c

This patch is an implementation following linux kernel patch:
"
commit 1c4b6c3bcf30d0804db0d0647d8ebeb862c6f7e5
Author: Gao Pan &lt;b54642@freescale.com&gt;
Date:   Fri Oct 23 20:28:54 2015 +0800

    i2c: imx: implement bus recovery

    Implement bus recovery methods for i2c-imx so we can recover from
    situations where SCL/SDA are stuck low.

    Once i2c bus SCL/SDA are stuck low during transfer, config the i2c
    pinctrl to gpio mode by calling pinctrl sleep set function, and then
    use GPIO to emulate the i2c protocol to send nine dummy clock to recover
    i2c device. After recovery, set i2c pinctrl to default group setting.
"

See Documentation/devicetree/bindings/i2c/i2c-imx.txt for detailed
description.
1. Introuduce scl_gpio/sda_gpio/bus in mxc_i2c_bus.
2. Discard the __weak attribute for i2c_idle_bus and implement it,
   since we have pinctrl driver/driver model gpio driver. We can
   use device tree, but not let board code to do this.
3. gpio state for mxc_i2c is not a must, but it is recommended. If
   there is no gpio state, driver will give tips, but not fail.
4. The i2c controller was first probed, default pinctrl state will
   be used, so when need to use gpio function, need to do
   "pinctrl_select_state(dev, "gpio")" and after force bus idle,
   need to switch back "pinctrl_select_state(dev, "default")".

This is example about how to use the gpio force bus
idle function:
"
 &amp;i2c1 {
 	clock-frequency = &lt;100000&gt;;
	pinctrl-names = "default", "gpio";
 	pinctrl-0 = &lt;&amp;pinctrl_i2c1&gt;;
	pinctrl-1 = &lt;&amp;pinctrl_i2c1_gpio&gt;;
	scl-gpios = &lt;&amp;gpio1 28 GPIO_ACTIVE_HIGH&gt;;
	sda-gpios = &lt;&amp;gpio1 29 GPIO_ACTIVE_HIGH&gt;;
	status = "okay";
	[....]
 };

[.....]

	pinctrl_i2c1_gpio: i2c1grp_gpio {
		fsl,pins = &lt;
			MX6UL_PAD_UART4_TX_DATA__GPIO1_IO28 0x1b8b0
			MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x1b8b0
		&gt;;
	};
"

Signed-off-by: Peng Fan &lt;van.freenix@gmail.com&gt;
Cc: Albert Aribaud &lt;albert.u.boot@aribaud.net&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>imx: imx-common: introduce Resource Domain Controller support</title>
<updated>2016-02-21T10:46:26Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2016-01-28T08:55:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=de09c43bbfeeae767a8561d2810df55675e8b1a4'/>
<id>urn:sha1:de09c43bbfeeae767a8561d2810df55675e8b1a4</id>
<content type='text'>
Introduce Resource Domain Controller support for i.MX.
Now i.MX6SX and i.MX7D supports this feature to assign masters
and peripherals to different domains.

Signed-off-by: Ye.Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>imx: nand: update GPMI NAND driver to support MX7</title>
<updated>2016-01-24T11:09:32Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2015-12-22T09:04:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bedaa842ae5dda78fe4d67a7d27618653c94d775'/>
<id>urn:sha1:bedaa842ae5dda78fe4d67a7d27618653c94d775</id>
<content type='text'>
Update GPMI NAND driver and BCH head file to support i.MX7

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>imx: apbh_dma: Update APBH-DMA for MX7D</title>
<updated>2016-01-24T11:09:16Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2015-12-22T09:04:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1fc4f80495a494f8277987fa0f3976d1ffe81dc7'/>
<id>urn:sha1:1fc4f80495a494f8277987fa0f3976d1ffe81dc7</id>
<content type='text'>
Update APBH-DMA driver and head files to support i.MX7D

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>iomux-v3: Take MX6D in consideration for imx_iomux_v3_setup_pad()</title>
<updated>2015-11-25T08:41:29Z</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2015-11-19T21:02:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3c8dcf0eacda531724ed83af0f54ffb4b98bc799'/>
<id>urn:sha1:3c8dcf0eacda531724ed83af0f54ffb4b98bc799</id>
<content type='text'>
We should also take MX6D option in consideration when defining
imx_iomux_v3_setup_pad().

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Reviewed-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
</content>
</entry>
<entry>
<title>video: mxsfb: introduce lcdif_power_down</title>
<updated>2015-11-12T16:40:53Z</updated>
<author>
<name>Peng Fan</name>
<email>Peng.Fan@freescale.com</email>
</author>
<published>2015-10-29T07:54:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a3c252d6d68f9038106e0c11298438a2e50ab50f'/>
<id>urn:sha1:a3c252d6d68f9038106e0c11298438a2e50ab50f</id>
<content type='text'>
Introudce a new function lcdif_power_down.

1. Waits for a VSYNC interrupt to guarantee the reset is done at the
   VSYNC edge, which somehow makes the LCDIF consume the display FIFO(?)
   and helps the LCDIF work normally at the kernel stage.
2. Add power down function to stop lcdif.

The reason to introduce lcdif_power_down is that we want lcdif to be in
initial state when doing uboot reset or before kernel boot to make
system stable, otherwise system may hang.

Signed-off-by: Peng Fan &lt;Peng.Fan@freescale.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Acked-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>imx: lcdif: use one register structure for i.MXes</title>
<updated>2015-11-12T16:38:09Z</updated>
<author>
<name>Peng Fan</name>
<email>Peng.Fan@freescale.com</email>
</author>
<published>2015-10-29T07:54:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8702f5ab5da686d0bb25c0dfbf1fc46bcf402a80'/>
<id>urn:sha1:8702f5ab5da686d0bb25c0dfbf1fc46bcf402a80</id>
<content type='text'>
Share one lcdif structure for i.MXes.
1. Discard struct mxs_lcdif_regs from imx-regs.h of i.MX7
2. Add i.MX6SX/6UL/7D support in imx-lcdif.h of imx-common

Signed-off-by: Peng Fan &lt;Peng.Fan@freescale.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>imx: imx-common: move lcdif structure and macro definition to imx-common</title>
<updated>2015-11-12T16:38:09Z</updated>
<author>
<name>Peng Fan</name>
<email>Peng.Fan@freescale.com</email>
</author>
<published>2015-10-29T07:54:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=04acd0e5d9ace923dec8eed00ed5878cf462be70'/>
<id>urn:sha1:04acd0e5d9ace923dec8eed00ed5878cf462be70</id>
<content type='text'>
Move 'struct mxs_lcdif_regs' and lcdif related macro definitions to
arch/arm/include/asm/imx-common/regs-lcdif.h.

Signed-off-by: Peng Fan &lt;Peng.Fan@freescale.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>imx: include linux/types.h for regs-common.h</title>
<updated>2015-11-12T16:38:08Z</updated>
<author>
<name>Peng Fan</name>
<email>Peng.Fan@freescale.com</email>
</author>
<published>2015-10-29T07:54:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eacb287523c210a6a198b975056b2ebe92b00b70'/>
<id>urn:sha1:eacb287523c210a6a198b975056b2ebe92b00b70</id>
<content type='text'>
There are uint8_t, uint32_t types in regs-common.h, so include
linux/types.h.

Signed-off-by: Peng Fan &lt;Peng.Fan@freescale.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
</feed>
