The config.speed_hz is just setted at the two lines ahead of it,
obviously we don't need to copy the code to set the config.speed_hz
again. Remove it for a cleanup.
Cc: Sascha Hauer s.ha...@pengutronix.de
Cc: Grant Likely grant.lik...@secretlab.ca
Signed-off-by: Hui Wang jason77.w...@gmail.com
Two straight-forward cleanup
Hui Wang (2):
spi/imx: remove redundant config.speed_hz setting
spi/imx: use gpio_is_valid to determine if a gpio is valid
drivers/spi/spi-imx.c | 14 ++
1 files changed, 6 insertions(+), 8 deletions(-)
--
1.7.6
Use gpio_is_valid() to replace gpio = 0 or gpio 0.
Cc: Sascha Hauer s.ha...@pengutronix.de
Cc: Grant Likely grant.lik...@secretlab.ca
Signed-off-by: Hui Wang jason77.w...@gmail.com
---
drivers/spi/spi-imx.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git
On Friday 29 June 2012 10:06 PM, Stephen Warren wrote:
On 06/29/2012 05:31 AM, Laxman Dewangan wrote:
Use the dmaengine based Tegra APB DMA driver for
data transfer between SPI FIFO and memory in
place of legacy Tegra APB DMA.
The new driver is selected if legacy driver is not
selected and
Use the dmaengine based Tegra APB DMA driver for
data transfer between SPI FIFO and memory in
place of legacy Tegra APB DMA.
The new driver is selected if legacy driver is not
selected and new DMA driver is enabled through config
file.
Signed-off-by: Laxman Dewangan ldewan...@nvidia.com
How would you like to place your products and services in front millions of
potential customers with creative non-conventional tactics?
Our company has access to 200 Million Consumers and 45 Million Businesses.
Every business has a product of value and my team will work with you until we
find
With the spi controller hardware configuration moved into the driver data, there
are no more default hardware configuration data that is passed through platform
data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to
these changes.
Signed-off-by: Thomas Abraham
The set_level callback in the controller data, which is used to configure
the slave select line, cannot be supported when migrating the driver to
device tree based discovery. Since all the platforms currently use gpio
as the slave select line, this callback can be removed from the
controller data
Add support for device based discovery.
Signed-off-by: Thomas Abraham thomas.abra...@linaro.org
Acked-by: Jaswinder Singh jaswinder.si...@linaro.org
Acked-by: Grant Likely grant.lik...@secretlab.ca
---
.../devicetree/bindings/spi/spi-samsung.txt| 113
drivers/spi/spi-s3c64xx.c
On Tue, Jul 10, 2012 at 07:57:38PM +0530, Thomas Abraham wrote:
The set_level callback in the controller data, which is used to configure
the slave select line, cannot be supported when migrating the driver to
device tree based discovery. Since all the platforms currently use gpio
as the slave
Changes since v3:
- Fixed the build breakage after applying 3rd patch in this series (which
had dependency on the 6th patch). This was reported by Doug Anderson.
Changes since v2:
- Removed renaming of platform device name at runtime
- Includes other minor fixes suggested by Olof, Grant, Kukjin
Platform data is used to specify controller hardware specific information
such as the tx/rx fifo level mask and bit offset of rx fifo level. Such
information is not suitable to be supplied from device tree. Instead,
it can be moved into the driver data and removed from platform data.
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed.
Signed-off-by: Thomas Abraham thomas.abra...@linaro.org
Acked-by: Jaswinder Singh jaswinder.si...@linaro.org
Acked-by: Grant Likely grant.lik...@secretlab.ca
---
drivers/spi/spi-s3c64xx.c |4
1 files changed, 0
The platform data pointer that is passed to the spi gpio setup functions
is not used. Hence, this paremeter is removed from all the spi gpio setup
functions.
Signed-off-by: Thomas Abraham thomas.abra...@linaro.org
Acked-by: Jaswinder Singh jaswinder.si...@linaro.org
---
On 10 July 2012 20:08, Mark Brown broo...@opensource.wolfsonmicro.com wrote:
On Tue, Jul 10, 2012 at 07:57:38PM +0530, Thomas Abraham wrote:
The set_level callback in the controller data, which is used to configure
the slave select line, cannot be supported when migrating the driver to
device
On Tue, Jul 10, 2012 at 05:44:21PM +0800, Hui Wang wrote:
Two straight-forward cleanup
Hui Wang (2):
spi/imx: remove redundant config.speed_hz setting
spi/imx: use gpio_is_valid to determine if a gpio is valid
both:
Acked-by: Sascha Hauer s.ha...@pengutronix.de
On 10 July 2012 22:27, Mark Brown broo...@opensource.wolfsonmicro.com wrote:
On Tue, Jul 10, 2012 at 10:22:31PM +0530, Thomas Abraham wrote:
In non-dt case, the platform code supplying the gpio number (slave
select line) is responsible for requesting the gpio during the
machine_init call. So
Hi Mark,
Can you please pull in these PL022 patches to your spi-next tree?
Yours,
Linus Walleij
-- Forwarded message --
From: Linus Walleij linus.wall...@linaro.org
Date: Thu, Jul 5, 2012 at 4:27 PM
Subject: [GIT PULL] PL022 patches for v3.6
To: Wolfram Sang
生产计划与物料控制
时间地点:2012年7月12-13日 上海
时间地点:2012年7月21-22日 深圳
时间地点:2012年8月2-3日 北京
时间地点:2012年8月4-5日 广州
时间地点:2012年8月9-10日上海
时间地点:2012年8月30-31日 北京
时间地点:2012年9月13-14日 上海
时间地点:2012年9月22-23日 深圳
时间地点:2012年10月17-18日 上海
时间地点:2012年11月3-4日深圳
时间地点:2012年11月15-16日 苏州
时间地点:2012年11月22-23日 北京
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML
Lien miroir :
http://m10-fr.com/mc10_m/YT0xMyZiPTE1NjU5JmM9NDgzNjEyJmQ9MjAxMi0wNy0xMCAyMTozMDowMSZlPTEmaD0xNTY1OCZmPTE1NjU5Jmc9MTU2NTk=
Lien de désinscription :
研发多项目管理
时间地点:2012年7月23-24日北京
时间地点:2012年7月26-27日上海
时间地点:2012年7月30-31日深圳
培训费用:4000元/两天 *买一赠一,不再打折” ,单独一人收费2600元。(含两天中餐、指定教材、证书、茶点)
培训方式:案例分享、实务分析、互动讨论、项目模拟、培训游戏
参加对象:企业CEO/总经理、研发总经理/副总、公司总工/技术总监、研发项目经理/产品经理、PMO(项目管理办公室)成员、研发骨干等。
咨询电话:020-80560638;020-85917945 谢小姐
0755-61287552
¸ß¼ÛÖµÑз¢ÏîÄ¿¾ÀíµÄ¹ÜÀí½õÄÒ
2012Äê7ÔÂ23-24ÈÕÉîÛÚ
2012Äê7ÔÂ26-27ÈÕ±±¾©
2012Äê7ÔÂ30-31ÈÕÉϺ£
Åàѵ·ÑÓãº4000Ôª/Á½Ìì *ÂòÒ»ÔùÒ»,²»ÔÙ´òÕÛ¡±
,µ¥¶ÀÒ»ÈËÊÕ·Ñ2600Ôª¡££¨º¬Á½ÌìÖв͡¢Ö¸¶¨½Ì²Ä¡¢Ö¤Êé¡¢²èµã£©
Åàѵ·½Ê½£º°¸Àý·ÖÏí¡¢ÊµÎñ·ÖÎö¡¢»¥¶¯ÌÖÂÛ¡¢ÏîÄ¿Ä£Äâ¡¢ÅàѵÓÎÏ·
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML
Lien miroir :
http://m10-fr.com/mc10_m/YT0xMyZiPTE1NzEyJmM9NDgzNjEyJmQ9MjAxMi0wNy0xMCAyMzozMDowMSZlPTEmaD0xNTcxMSZmPTE1NzEyJmc9MTU3MTI=
Lien de désinscription :
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML
Lien miroir :
http://m10-fr.com/mc10_m/YT0xMyZiPTE1NzE2JmM9NDgzNjEyJmQ9MjAxMi0wNy0xMCAyMzo1MDowMSZlPTEmaD0xNTcxNSZmPTE1NzE2Jmc9MTU3MTY=
Lien de désinscription :
24 matches
Mail list logo