1. 07 3月, 2017 1 次提交
  2. 13 2月, 2017 1 次提交
  3. 28 11月, 2016 1 次提交
    • A
      ARM: davinci: da850-evm: use gpio descriptor for mmc pins · bdf0e836
      Axel Haslam 提交于
      Currently the mmc driver is polling the gpio to know if the
      card was removed.
      
      By using a gpio descriptor instead of the platform callbacks,
      the driver will be able to register the gpio using the mmc core
      APIs designed for this purpose.
      
      This has the advantage that an irq will be registered, and
      polling is no longer needed. Also, a dependency on platform
      callbacks is removed for this board.
      Signed-off-by: NAxel Haslam <ahaslam@baylibre.com>
      [nsekhar@ti.com: minor commit message edit]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      bdf0e836
  4. 16 11月, 2016 1 次提交
  5. 31 10月, 2016 1 次提交
  6. 02 12月, 2015 1 次提交
  7. 17 11月, 2015 1 次提交
    • M
      [media] include/media: split I2C headers from V4L2 core · b5dcee22
      Mauro Carvalho Chehab 提交于
      Currently, include/media is messy, as it contains both the V4L2 core
      headers and some driver-specific headers on the same place. That makes
      harder to identify what core headers should be documented and what
      headers belong to I2C drivers that are included only by bridge/main
      drivers that would require the functions provided by them.
      
      Let's move those i2c specific files to its own subdirectory.
      
      The files to move were produced via the following script:
      	mkdir include/media/i2c
      	(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
      	(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/*/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
      	for i in include/media/*.h; do n=`basename $i`;  (for j in $(git grep -l $n); do dirname $j; done)|sort|uniq|grep -ve '^.$' > list; num=$(wc -l list|cut -d' ' -f1); if [ $num == 1 ]; then if [ "`grep i2c list`" != "" ]; then git mv $i include/media/i2c; fi; fi; done
      
      And the references corrected via this script:
          MAIN_DIR="media/"
          PREV_DIR="media/"
          DIRS="i2c/"
      
          echo "Checking affected files" >&2
          for i in $DIRS; do
      	for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
      		 n=`basename $j`
      		git grep -l $n
      	done
          done|sort|uniq >files && (
      	echo "Handling files..." >&2;
      	echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "perl -ne 's,(include [\\\"\\<])$PREV_DIR($i)([\\\"\\>]),\1$MAIN_DIR$j\2\3,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done";
      	);
      	echo "Handling documentation..." >&2;
      	echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "  perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done"
      	);
          ) >script && . ./script
      
      Merged Sakari Ailus patch that moves smiapp.h to include/media/i2c.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      b5dcee22
  8. 25 3月, 2015 2 次提交
  9. 20 3月, 2015 1 次提交
  10. 18 11月, 2014 1 次提交
  11. 26 8月, 2014 2 次提交
  12. 23 2月, 2014 1 次提交
    • I
      ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif · 67f5185c
      Ivan Khoronzhuk 提交于
      The problem that the set timings code contains the call of Davinci
      platform function davinci_aemif_setup_timing() which is not
      accessible if kernel is built for another platform like Keystone.
      
      The Keysone platform is going to use TI AEMIF driver.
      If TI AEMIF is used we don't need to set timings and bus width.
      It is done by AEMIF driver.
      
      To get rid of davinci-nand driver dependency on aemif platform code
      we moved aemif code to davinci platform.
      
      The platform AEMIF code (aemif.c) has to be removed once Davinci
      will be converted to DT and use ti-aemif.c driver.
      Acked-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      [nsekhar@ti.com: fixed checkpatch error and a build breakage due to
      		 missing include, rebased onto l2-mtd/master]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      67f5185c
  13. 30 9月, 2013 1 次提交
  14. 25 9月, 2013 1 次提交
  15. 30 8月, 2013 1 次提交
  16. 22 8月, 2013 1 次提交
  17. 27 7月, 2013 1 次提交
  18. 02 7月, 2013 1 次提交
  19. 18 4月, 2013 2 次提交
  20. 03 4月, 2013 1 次提交
  21. 02 4月, 2013 1 次提交
  22. 06 2月, 2013 1 次提交
  23. 15 1月, 2013 1 次提交
  24. 03 1月, 2013 1 次提交
    • V
      ARM: davinci: da8xx_register_spi() should not register SPI board info · 0273612c
      Vivien Didelot 提交于
      Without this patch, da8xx_register_spi() registers the SPI board info,
      the SPI controller, and sets its number of chipselect to the size of the
      static spi_board_info array. This is bad because a SPI board info may
      declare devices for different SPI buses, and because other code can also
      call spi_register_board_info() (e.g. a daughter board might provide
      additional SPI devices).
      
      This patch removes the spi_register_board_info() call from
      da8xx_register_spi(), renames this last one to da8xx_register_spi_bus()
      to be more explicit, takes the number of chipselect as a function
      parameter, and updates the impacted board-da8{3,5}0-evm.c, and
      board-mityomapl138.c files accordingly. It also sets the SPI platform
      data static, as it doesn't need to be exported.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      [nsekhar@ti.com: fixed conflicts with v3.7-rc7, converted to use pr_warn(),
      modified print messages to use __func__]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      0273612c
  25. 25 12月, 2012 1 次提交
  26. 18 12月, 2012 1 次提交
    • O
      ARM: davinci: fix build break due to missing include · 6a2461a4
      Olof Johansson 提交于
      arch/arm/mach-davinci/board-da850-evm.c: In function 'da850_evm_init':
      arch/arm/mach-davinci/board-da850-evm.c:1516:2: error: implicit declaration of function 'sram_get_gen_pool' [-Werror=implicit-function-declaration]
      arch/arm/mach-davinci/board-da850-evm.c:1516:31: warning: assignment makes pointer from integer without a cast [enabled by default]
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@ti.com>
      6a2461a4
  27. 29 10月, 2012 2 次提交
  28. 22 10月, 2012 1 次提交
  29. 06 10月, 2012 5 次提交
  30. 14 9月, 2012 1 次提交
  31. 05 5月, 2012 1 次提交
  32. 27 4月, 2012 1 次提交
    • U
      ARM: davinci: da850-evm: fix section mismatch · 59858b71
      Uwe Kleine-König 提交于
      This fixes:
      	WARNING: arch/arm/mach-davinci/built-in.o(.text+0x2d84): Section mismatch in reference from the function da850_evm_ui_expander_setup() to the (unknown reference) .init.data:(unknown)
      	The function da850_evm_ui_expander_setup() references
      	the (unknown reference) __initdata (unknown).
      	This is often because da850_evm_ui_expander_setup lacks a __initdata
      	annotation or the annotation of (unknown) is wrong.
      
      Note this is a real issue because if the tca6416 driver only binds when
      the init sections are already discarded da850_evm_ui_expander_setup is
      called when da850_evm_devices might already be overwritten.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      59858b71