1. 30 Dec, 2017 1 commit
  2. 13 Aug, 2017 1 commit
  3. 23 May, 2017 1 commit
  4. 30 Mar, 2017 1 commit
  5. 13 Feb, 2017 1 commit
  6. 27 Jun, 2016 1 commit
  7. 24 Jun, 2016 1 commit
  8. 17 Feb, 2016 1 commit
    • Arnd Bergmann's avatar
      ARM: davinci: make I2C support optional · 8e580411
      Arnd Bergmann authored
      The davinci platform has tried to get support for the EEPROM right,
      but failed to get a clean build so far. At the moment, we get
      a warning whenever CONFIG_SYSFS is disabled, as that is needed by
      warning: (MACH_DAVINCI_EVM && MACH_SFFSDR && MACH_DAVINCI_DM6467_EVM && MACH_DAVINCI_DM365_EVM && MACH_DAVINCI_DA830_EVM && MACH_MITYOMAPL138 && MACH_MINI2440) selects EEPROM_AT24 which has unmet direct dependencies (I2C && SYSFS)
      Kevin Hilman initially added the 'select' to ensure that EEPROM_AT24
      is always enabled in machines that really want it for normal operation
      (i.e. for reading the MAC address). This broke when I2C was disabled,
      and Russell King followed up with another patch to select that as
      I now see that the SYSFS dependency is still missing, which leaves
      us with three options:
      a) add 'select SYSFS' in addition to the others
      b) change AT24_EEPPROM to work without sysfs (should be possible)
      c) remove all those selects again and get the files to build when
         I2C is disabled.
      I would really hate to do a) because adding select statements that
      hardwire user-selectable symbols is generally a bad idea. I first
      tried b) but then ended up redoing the patch from scratch to approach
      c), so we can also remove the other selects.
      I checked that CONFIG_I2C is still enabled with davinci_all_defconfig,
      so that does not have to change.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 45b146d7 ("ARM: Davinci: Fix I2C build errors")
      Fixes: 22ca4668
       ("davinci: kconfig: select at24 eeprom for selected boards")
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
  9. 17 Nov, 2015 1 commit
    • Mauro Carvalho Chehab's avatar
      [media] include/media: split I2C headers from V4L2 core · b5dcee22
      Mauro Carvalho Chehab authored
      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:
          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|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 \$_' |\\";
      		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 \$_' |\\";
      		echo "cat > a && mv a \$i; done"
          ) >script && . ./script
      Merged Sakari Ailus patch that moves smiapp.h to include/media/i2c.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
  10. 07 Oct, 2015 1 commit
  11. 18 Nov, 2014 1 commit
  12. 21 Mar, 2014 1 commit
    • Arnd Bergmann's avatar
      ARM: davinci: make dm644x-evm phy fixup conditional · 4bbef1da
      Arnd Bergmann authored
      We cannot call phy_register_fixup_for_uid() if CONFIG_PHYLIB
      is not built into the kernel, and we should not enforce that
      to be built into vmlinux either, because one might want to
      disable the entire network stack.
      This change uses a compile-time condition on CONFIG_PHYLIB
      to remove the call in the cases where it cannot work.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarSekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: davinci-linux-open-source@linux.davincidsp.com
  13. 23 Feb, 2014 1 commit
    • Ivan Khoronzhuk's avatar
      ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif · 67f5185c
      Ivan Khoronzhuk authored
      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: default avatarBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: default avatarIvan 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: default avatarSekhar Nori <nsekhar@ti.com>
  14. 30 Sep, 2013 1 commit
  15. 24 Sep, 2013 1 commit
  16. 21 Aug, 2013 1 commit
  17. 19 Aug, 2013 1 commit
  18. 14 Apr, 2013 1 commit
  19. 03 Apr, 2013 1 commit
  20. 02 Apr, 2013 1 commit
  21. 19 Mar, 2013 1 commit
  22. 24 Dec, 2012 1 commit
  23. 21 Dec, 2012 1 commit
  24. 27 Oct, 2012 1 commit
  25. 24 Oct, 2012 1 commit
  26. 05 Oct, 2012 2 commits
  27. 14 Sep, 2012 1 commit
  28. 05 May, 2012 1 commit
  29. 11 Mar, 2012 2 commits
  30. 24 Feb, 2012 3 commits
  31. 27 Jan, 2012 1 commit
    • Sekhar Nori's avatar
      ARM: davinci: update mdio bus name · f6f97588
      Sekhar Nori authored
      Commit 5a05a820
      use an unique MDIO bus name") introduced during the v3.3 merge
      window updated the davinci mdio bus name to make it unique.
      Update the bus name in board files which use DaVinci MDIO bus
      to match the new name. Without this PHY is not detected with
      error like:
      PHY 0:01 not found
      net eth0: could not connect to phy 0:01
      Tested on DM365 and DA850 EVMs.
      Cc: Florian Fainelli <florian@openwrt.org>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
  32. 05 Jan, 2012 1 commit
  33. 31 Oct, 2011 1 commit
  34. 11 Sep, 2011 2 commits
    • Brian Norris's avatar
      mtd: nand: rename NAND_USE_FLASH_BBT · bb9ebd4e
      Brian Norris authored
      Recall the recently added prefix requirements:
       * "NAND_" for flags in nand.h, used in nand_chip.options
       * "NAND_BBT_" for flags in bbm.h, used in nand_chip.bbt_options
              or in nand_bbt_descr.options
      Thus, I am changing NAND_USE_FLASH_BBT to NAND_BBT_USE_FLASH.
      Again, this flag is found in bbm.h and so should NOT be used in the
      "nand_chip.options" field.
      Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    • Brian Norris's avatar
      mtd: nand: consolidate redundant flash-based BBT flags · a40f7341
      Brian Norris authored
      This patch works with the following three flags from two headers (nand.h
      and bbm.h):
        (1) NAND_USE_FLASH_BBT (nand.h)
        (2) NAND_USE_FLASH_BBT_NO_OOB (nand.h)
        (3) NAND_BBT_NO_OOB (bbm.h)
      These flags are all related and interdependent, yet they were in
      different headers. Flag (2) is simply the combination of (1) and (3) and
      can be eliminated.
      This patch accomplishes the following:
        * eliminate NAND_USE_FLASH_BBT_NO_OOB (i.e., flag (2))
        * move NAND_USE_FLASH_BBT (i.e., flag (1)) to bbm.h
      It's important to note that because (1) and (3) are now both found in
      bbm.h, they should NOT be used in the "nand_chip.options" field.
      I removed a small section from the mtdnand DocBook because it referes to
      NAND_USE_FLASH_BBT in nand.h, which has been moved to bbm.h.
      Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
  35. 21 Aug, 2011 1 commit