1. 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
  2. 25 3月, 2015 1 次提交
  3. 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
  4. 17 6月, 2014 1 次提交
  5. 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
  6. 17 3月, 2014 1 次提交
  7. 16 10月, 2013 1 次提交
  8. 18 6月, 2013 1 次提交
  9. 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
  10. 29 10月, 2012 1 次提交
  11. 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
  12. 06 10月, 2012 1 次提交
  13. 20 7月, 2012 1 次提交
  14. 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
  15. 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
  16. 25 4月, 2011 1 次提交
  17. 23 12月, 2010 1 次提交
  18. 10 12月, 2010 2 次提交
  19. 24 9月, 2010 4 次提交
  20. 22 6月, 2010 2 次提交
  21. 07 5月, 2010 1 次提交
  22. 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
  23. 26 11月, 2009 8 次提交
  24. 26 8月, 2009 5 次提交
    • S
      davinci: Add support for DA850/OMAP-L138 EVM board · 0fbc5592
      Sudhakar Rajashekhara 提交于
      Add support for the DA850/OMAP-L138 Evaluation Module (EVM)
      from TI.  The EVM has User Interface (UI) card which contains
      various devices. This UI card can be connected to the base
      board. Support for all the devices on the UI card and ones on
      the EVM will be added in subsequent patches.
      
      The EVM schematics are not available publicly yet; but should
      be available soon.
      
      A new defconfig for this board has been added mainly because
      the DA830/OMAP-L137 defconfig forces writethrough cache mode
      which is not required on DA850/OMAP-L138.
      
      This patch has been boot tested on DA850/OMAP-L138 EVM
      using ramdisk as filesystem.
      Signed-off-by: NSudhakar Rajashekhara <sudhakar.raj@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      0fbc5592
    • S
      davinci: Add base DA850/OMAP-L138 SoC support · e1a8d7e2
      Sudhakar Rajashekhara 提交于
      The DA850/OMAP-L138 is a new SoC from TI in the same family as
      DA830/OMAP-L137.
      
      Major changes include better support for power management,
      support for SATA devices and McBSP (same IP as DM644x).
      
      DA850/OMAP-L138 documents are available at
      http://focus.ti.com/docs/prod/folders/print/omap-l138.html.
      Signed-off-by: NSudhakar Rajashekhara <sudhakar.raj@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      e1a8d7e2
    • M
      davinci: da8xx: Add support for DA830/OMAP-L137 EVM board · 8593790d
      Mark A. Greer 提交于
      Add support for the DA830/OMAP-L137 Evaluation Module (EVM)
      from TI.  The EVM has User Interface (UI) and Audio cards
      that can be connected which contain various devices.
      Support for those devices and ones on the EVM will be
      added in subsequent patches.
      
      Additional generalizations for future SoCs in da8xx family done by
      Sudhakar Rajashekhara and Sekhar Nori.
      Signed-off-by: NSteve Chen <schen@mvista.com>
      Signed-off-by: NMark A. Greer <mgreer@mvista.com>
      Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      8593790d
    • M
      davinci: da8xx: Add base DA830/OMAP-L137 SoC support · 55c79a40
      Mark A. Greer 提交于
      The da830/omap l137 is a new SoC from TI that is similar
      to the davinci line.  Since its so similar to davinci,
      put the support for the da830 in the same directory as
      the davinci code.
      
      There are differences, however.  Some of those differences
      prevent support for davinci and da830 platforms to work
      in the same kernel binary.  Those differences are:
      
      1) Different physical address for RAM.  This is relevant
         to Makefile.boot addresses and PHYS_OFFSET.  The
         Makefile.boot issue isn't truly a kernel issue but
         it means u-boot won't work with a uImage including
         both architectures.  The PHYS_OFFSET issue is
         addressed by the "Allow for runtime-determined
         PHYS_OFFSET" patch by Lennert Buytenhek but it
         hasn't been accepted yet.
      
      2) Different uart addresses.  This is only an issue
         for the 'addruart' assembly macro when CONFIG_DEBUG_LL
         is enabled.  Since the code in that macro is called
         so early (e.g., by _error_p in kernel/head.S when
         the processor lookup fails), we can't determine what
         platform the kernel is running on at runtime to use
         the correct uart address.
      
      These areas have compile errors intentionally inserted
      to indicate to the builder they're doing something wrong.
      
      A new config variable, CONFIG_ARCH_DAVINCI_DMx, is added
      to distinguish between a true davinci architecture and
      the da830 architecture.
      
      Note that the da830 currently has an issue with writeback
      data cache so CONFIG_CPU_DCACHE_WRITETHROUGH should be
      enabled when building a da830 kernel.
      
      Additional generalizations for future SoCs in the da8xx family done by
      Sudhakar Rajashekhara and Sekhar Nori.
      Signed-off-by: NSteve Chen <schen@mvista.com>
      Signed-off-by: NMikhail Cherkashin <mcherkashin@ru.mvista.com>
      Signed-off-by: NMark A. Greer <mgreer@mvista.com>
      Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      55c79a40
    • S
      davinci: Adding DM365 entries to Makefile/Kconfig/defconfig · a46e9e40
      Sandeep Paulraj 提交于
      This patch does the following
      1) Adds entries to davinci_all_defconfig for DM365
      2) Adds entries to the Makefile for DM365
      3) Adds entries for DM365 in the Kconfig
      Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      a46e9e40