linux_old1/arch/mips/include/asm/octeon
David Daney f353a218de i2c: Convert i2c-octeon.c to use device tree.
There are three parts to this:

1) Remove the definitions of OCTEON_IRQ_TWSI and OCTEON_IRQ_TWSI2.
   The interrupts are specified by the device tree and these hard
   coded irq numbers block the used of the irq lines by the irq_domain
   code.

2) Remove platform device setup code from octeon-platform.c, it is
   now unused.

3) Convert i2c-octeon.c to use device tree.  Part of this includes
   using the devm_* functions instead of the raw counterparts, thus
   simplifying error handling.  No functionality is changed.

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: linux-mips@linux-mips.org
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/3939/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-07-23 13:54:53 +01:00
..
cvmx-address.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-agl-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-asm.h MIPS: Octeon: Update L2 Cache code for CN63XX 2010-10-29 19:08:35 +01:00
cvmx-asxx-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-bootinfo.h MIPS: Octeon: Update bootloader board type constants. 2011-12-07 22:03:28 +00:00
cvmx-bootmem.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-ciu-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-cmd-queue.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-config.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-dbg-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-dpi-defs.h MIPS: Octeon: Update SOC PCI related register definitions for new chips. 2011-12-07 22:03:29 +00:00
cvmx-fau.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-fpa-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-fpa.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-gmxx-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-gpio-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-helper-board.h MIPS: Octeon: Update bootloader board type constants. 2011-12-07 22:03:28 +00:00
cvmx-helper-errata.h MIPS: Add Cavium OCTEON PCI support. 2009-06-17 11:06:25 +01:00
cvmx-helper-jtag.h MIPS: Add Cavium OCTEON PCI support. 2009-06-17 11:06:25 +01:00
cvmx-helper-loop.h MIPS: Octeon: Rearrange CVMX files in preperation for device tree 2011-12-07 22:03:29 +00:00
cvmx-helper-npi.h MIPS: Octeon: Rearrange CVMX files in preperation for device tree 2011-12-07 22:03:29 +00:00
cvmx-helper-rgmii.h MIPS: Octeon: Rearrange CVMX files in preperation for device tree 2011-12-07 22:03:29 +00:00
cvmx-helper-sgmii.h MIPS: Octeon: Rearrange CVMX files in preperation for device tree 2011-12-07 22:03:29 +00:00
cvmx-helper-spi.h MIPS: Octeon: Rearrange CVMX files in preperation for device tree 2011-12-07 22:03:29 +00:00
cvmx-helper-util.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-helper-xaui.h MIPS: Octeon: Rearrange CVMX files in preperation for device tree 2011-12-07 22:03:29 +00:00
cvmx-helper.h MIPS: OCTEON: Remove some unused files. 2012-07-23 13:54:51 +01:00
cvmx-iob-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-ipd-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-ipd.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-l2c-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-l2c.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-l2d-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-l2t-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-led-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-mdio.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-mio-defs.h MIPS: Oceton: Update model detection code for new chips. 2011-12-07 22:03:28 +00:00
cvmx-mixx-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-npei-defs.h MIPS: Octeon: Update SOC PCI related register definitions for new chips. 2011-12-07 22:03:29 +00:00
cvmx-npi-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-packet.h MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon/executive and asm/octeon. 2009-01-11 09:57:20 +00:00
cvmx-pci-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-pciercx-defs.h MIPS: Octeon: Update SOC PCI related register definitions for new chips. 2011-12-07 22:03:29 +00:00
cvmx-pcsx-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-pcsxx-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-pemx-defs.h MIPS: Octeon: Update SOC PCI related register definitions for new chips. 2011-12-07 22:03:29 +00:00
cvmx-pescx-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-pexp-defs.h MIPS: Octeon: Update SOC PCI related register definitions for new chips. 2011-12-07 22:03:29 +00:00
cvmx-pip-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-pip.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-pko-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-pko.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-pow-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-pow.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-rnm-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-scratch.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-sli-defs.h MIPS: Octeon: Update SOC PCI related register definitions for new chips. 2011-12-07 22:03:29 +00:00
cvmx-smix-defs.h MIPS: Octeon: Update register definitions for CN63XX chips 2010-10-29 19:08:33 +01:00
cvmx-spi.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-spinlock.h MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon/executive and asm/octeon. 2009-01-11 09:57:20 +00:00
cvmx-spxx-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-sriox-defs.h MIPS: Octeon: Update SOC PCI related register definitions for new chips. 2011-12-07 22:03:29 +00:00
cvmx-srxx-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-stxx-defs.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx-sysinfo.h MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon/executive and asm/octeon. 2009-01-11 09:57:20 +00:00
cvmx-uctlx-defs.h MIPS: Octeon: Add register definitions for EHCI / OHCI USB glue logic. 2010-10-29 19:08:43 +01:00
cvmx-wqe.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
cvmx.h MIPS: Octeon: Update feature test functions for new chips and features. 2011-12-07 22:03:29 +00:00
octeon-feature.h MIPS: Octeon: Update feature test functions for new chips and features. 2011-12-07 22:03:29 +00:00
octeon-model.h MIPS: Oceton: Update model detection code for new chips. 2011-12-07 22:03:28 +00:00
octeon.h i2c: Convert i2c-octeon.c to use device tree. 2012-07-23 13:54:53 +01:00
pci-octeon.h MIPS: Octeon: Update DMA mapping operations for OCTEON II processors. 2011-12-07 22:03:29 +00:00