1. 17 2月, 2016 2 次提交
    • A
      ARM: davinci: DA8xx+DMx combined kernels need PATCH_PHYS_VIRT · ce32c5c5
      Arnd Bergmann 提交于
      We already forbid that combination when AUTO_ZRELADDR is disabled,
      for the same reason that the two have their RAM at different
      physical addresses as seen from the CPU.
      
      This does the same change for PATCH_PHYS_VIRT: if you disable
      either of the options, Kconfig now enforces that you have to
      pick one or the other SoC family.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      ce32c5c5
    • A
      ARM: davinci: limit DT support to DA850 · 22c7b4a7
      Arnd Bergmann 提交于
      When da8xx-dt.c is built with onlu DA830 support but not DA850
      support enabled, we get a compiler warning about unused symbols:
      
      arch/arm/mach-davinci/da8xx-dt.c:28:20: warning: 'da8xx_init_irq' defined but not used [-Wunused-function]
       static void __init da8xx_init_irq(void)
      arch/arm/mach-davinci/da8xx-dt.c:33:30: warning: 'da850_auxdata_lookup' defined but not used [-Wunused-variable]
       static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = {
      
      Obviously none of the file make sense for DA830, so we should not
      even attempt this, so we can avoid the warning by ensuring it is
      only built for 850, not 830.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      22c7b4a7
  2. 15 12月, 2015 1 次提交
    • A
      ARM: davinci: only select WT cache if cache is enabled · 1b50b0c1
      Arnd Bergmann 提交于
      The DA830 chip only works if the dcache is in writethrough mode,
      but that produces a harmless Kconfig warning if the cache happens
      to be disabled:
      
      warning: (ARCH_DAVINCI_DA830) selects CPU_DCACHE_WRITETHROUGH which has unmet direct dependencies ((CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_FA526) && !CPU_DCACHE_DISABLE)
      
      This makes the select conditional so we don't have to worry
      about the warning in randconfig builds any more.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      1b50b0c1
  3. 25 3月, 2015 1 次提交
  4. 18 2月, 2015 1 次提交
    • A
      ARM: davinci: multi-soc kernels require AUTO_ZRELADDR · 99bd667a
      Arnd Bergmann 提交于
      The davinci DA8xx and DMx families have incompatible zreladdr
      settings, and attempting to build a kernel with both enabled
      results in an error unless AUTO_ZRELADDR is set:
      
      multiple zreladdrs: 0xc0008000 0x80008000
      This needs CONFIG_AUTO_ZRELADDR to be set
      
      This patch changes Kconfig to make the two families mutually
      exclusive when this is unset.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      99bd667a
  5. 17 6月, 2014 1 次提交
  6. 22 3月, 2014 1 次提交
    • A
      ARM: davinci: fix Kconfig for DA850_EVM · 06f07c9e
      Arnd Bergmann 提交于
      The DAVINCI_DA850_EVM board uses an unusual method to
      enable the GPIO_PCA953X and KEYBOARD_GPIO_POLLED symbols,
      which leads to the dependencies on these symbols being
      ignored. As GPIO_PCA953X actually requires I2C, that
      can lead to build failures when I2C is disabled.
      
      This patch removes the duplicate symbol definitions
      and instead enables them from the davinci_all_defconfig
      file.
      
      A different question whether we actually want to automatically
      enable them at all or rather put them into defconfig,
      but that should be a separate patch.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: davinci-linux-open-source@linux.davincidsp.com
      06f07c9e
  7. 17 3月, 2014 1 次提交
  8. 16 10月, 2013 1 次提交
  9. 18 6月, 2013 1 次提交
  10. 21 1月, 2013 1 次提交
    • K
      ARM: davinci: da850: add pinctrl driver DT entries · 1faaba3d
      Kumar, Anil 提交于
      For DT, DaVinci platform can use pinctrl-single driver for handling
      padconf registers.
      
      Enable PINCTRL Kconfig for MACH_DA8XX_DT platform. Add required
      pinctrl DT entries in da850 dts file.
      
       Test procedure
        1)Populate DT file with NAND node information.
        2)Populate board DT file with pinmux information for NAND.
        3)Boot and confirm NAND is detected by the kernel.
        4)cat /proc/mtd to show partitions.
      Signed-off-by: NKumar, Anil <anilkumar.v@ti.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      1faaba3d
  11. 29 10月, 2012 1 次提交
  12. 14 10月, 2012 1 次提交
    • R
      ARM: config: sort select statements alphanumerically · b1b3f49c
      Russell King 提交于
      As suggested by Andrew Morton:
      
        This is a pet peeve of mine.  Any time there's a long list of items
        (header file inclusions, kconfig entries, array initalisers, etc) and
        someone wants to add a new item, they *always* go and stick it at the
        end of the list.
      
        Guys, don't do this.  Either put the new item into a randomly-chosen
        position or, probably better, alphanumerically sort the list.
      
      lets sort all our select statements alphanumerically.  This commit was
      created by the following perl:
      
      while (<>) {
      	while (/\\\s*$/) {
      		$_ .= <>;
      	}
      	undef %selects if /^\s*config\s+/;
      	if (/^\s+select\s+(\w+).*/) {
      		if (defined($selects{$1})) {
      			if ($selects{$1} eq $_) {
      				print STDERR "Warning: removing duplicated $1 entry\n";
      			} else {
      				print STDERR "Error: $1 differently selected\n".
      					"\tOld: $selects{$1}\n".
      					"\tNew: $_\n";
      				exit 1;
      			}
      		}
      		$selects{$1} = $_;
      		next;
      	}
      	if (%selects and (/^\s*$/ or /^\s+help/ or /^\s+---help---/ or
      			  /^endif/ or /^endchoice/)) {
      		foreach $k (sort (keys %selects)) {
      			print "$selects{$k}";
      		}
      		undef %selects;
      	}
      	print;
      }
      if (%selects) {
      	foreach $k (sort (keys %selects)) {
      		print "$selects{$k}";
      	}
      }
      
      It found two duplicates:
      
      Warning: removing duplicated S5P_SETUP_MIPIPHY entry
      Warning: removing duplicated HARDIRQS_SW_RESEND entry
      
      and they are identical duplicates, hence the shrinkage in the diffstat
      of two lines.
      
      We have four testers reporting success of this change (Tony, Stephen,
      Linus and Sekhar.)
      Acked-by: NJason Cooper <jason@lakedaemon.net>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b1b3f49c
  13. 06 10月, 2012 1 次提交
  14. 20 7月, 2012 1 次提交
  15. 26 6月, 2012 1 次提交
    • H
      ARM: davinci: cp_intc: Add irq domain support · 07caba96
      Heiko Schocher 提交于
      Add irq domain support for DaVinci cp_intc.
      
      Boot tested on AM18x EVM. Also tested with GPIO IRQ support on
      AM18x EVM.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: davinci-linux-open-source@linux.davincidsp.com
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: devicetree-discuss@lists.ozlabs.org
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Sergei Shtylyov <sshtylyov@mvista.com>
      [nsekhar@ti.com: add commit description, select IRQ_DOMAIN for CP_INTC
      in Kconfig]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      07caba96
  16. 17 9月, 2011 1 次提交
    • I
      ARM: davinci: AM18x: Add wl1271/wlan support · ab3f5c1f
      Ido Yariv 提交于
      The wl1271 daughter card for AM18x EVMs is a combo wireless connectivity
      add-on card, based on the LS Research TiWi module with Texas
      Instruments' wl1271 solution.
      It is a 4-wire, 1.8V, embedded SDIO WLAN device with an external IRQ
      line and is power-controlled by a GPIO-based fixed regulator.
      
      Add support for the WLAN capabilities of this expansion board.
      Signed-off-by: NIdo Yariv <ido@wizery.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      ab3f5c1f
  17. 25 4月, 2011 1 次提交
  18. 23 12月, 2010 1 次提交
  19. 10 12月, 2010 2 次提交
  20. 24 9月, 2010 4 次提交
  21. 22 6月, 2010 2 次提交
  22. 07 5月, 2010 1 次提交
  23. 05 2月, 2010 1 次提交
    • S
      davinci: add support for DM6467T EVM · c1978e1d
      Sekhar Nori 提交于
      DM6467T (T for Turbo) is a newer and faster DM6467
      part from TI. The new part supports 1080p video and
      has the ARM running at 495MHz. More SoC information:
      
      http://focus.ti.com/docs/prod/folders/print/tms320dm6467t.html
      
      Spectrum Digital, Inc has a new EVM for this part.
      It is _mostly_ same as the older DM6467 EVM except
      for a 33MHz crystal input and THS8200 video encoder
      for 1080p support.
      
      The meat of this patch is dedicated to initializing
      the crystal frequency from EVM board file.
      
      Additional notes:
      I did consider some alternative ways to make the crystal
      input board specific including - (1) having board code
      initialize the crystal frequency using the first member
      of soc_info->cpu_clks array (2) introducing a new ref_clk_rate
      member in soc_info structure.
      
      But, the current way seems to be the simplest and least
      intruding considering that both the clock array and SoC
      info structure are actually private to the SoC file. Also
      the fact that davinci_common_init() initializes both the
      soc_info and clocks in one go.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      c1978e1d
  24. 26 11月, 2009 8 次提交
  25. 26 8月, 2009 3 次提交