1. 26 6月, 2018 1 次提交
  2. 02 5月, 2018 1 次提交
  3. 01 5月, 2018 1 次提交
  4. 19 2月, 2018 3 次提交
  5. 05 1月, 2018 1 次提交
  6. 13 8月, 2017 1 次提交
  7. 27 7月, 2017 1 次提交
    • A
      ARM: davinci: don't mark vpif_input structures as 'const' · 8b974017
      Arnd Bergmann 提交于
      A change to the platform data definitions caused a warning in the board code:
      
      arch/arm/mach-davinci/board-da850-evm.c:1221:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
      arch/arm/mach-davinci/board-da850-evm.c:1231:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
      
      This is a bit unfortunate, since we generally like structure definitions to
      be const, but as this is legacy code, the easiest way out is still to
      remove the 'const' annotation here.
      
      Fixes: 4a5f8ae5 ("[media] davinci: vpif_capture: get subdevs from DT when available")
      Fixes: 231ce279 ("ARM: davinci: fix const warnings")
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      8b974017
  8. 22 3月, 2017 1 次提交
  9. 07 3月, 2017 2 次提交
  10. 13 2月, 2017 1 次提交
  11. 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
  12. 16 11月, 2016 1 次提交
  13. 31 10月, 2016 1 次提交
  14. 02 12月, 2015 1 次提交
  15. 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
  16. 25 3月, 2015 2 次提交
  17. 20 3月, 2015 1 次提交
  18. 18 11月, 2014 1 次提交
  19. 26 8月, 2014 2 次提交
  20. 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
  21. 30 9月, 2013 1 次提交
  22. 25 9月, 2013 1 次提交
  23. 30 8月, 2013 1 次提交
  24. 22 8月, 2013 1 次提交
  25. 27 7月, 2013 1 次提交
  26. 02 7月, 2013 1 次提交
  27. 18 4月, 2013 2 次提交
  28. 03 4月, 2013 1 次提交
  29. 02 4月, 2013 1 次提交
  30. 06 2月, 2013 1 次提交
  31. 15 1月, 2013 1 次提交
  32. 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
  33. 25 12月, 2012 1 次提交
  34. 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