Commit Graph
25 Commits
Author SHA1 Message Date
Roger Quadros f2bf258983 net: can: c_can: Add support for TI am4372 DCAN
AM4372 SoC has 2 DCAN modules. Add compatible id and
raminit driver data for it. The driver data is same as AM3352
but this gives us flexibility to add AM4372 specific quirks
if required later.

Signed-off-by: Roger Quadros <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2014-11-17 15:32:10 +01:00
Roger Quadros c71d0b31bf can: c_can: Add support for TI am3352 DCAN
AM3352 SoC has 2 DCAN modules. Add compatible id and
raminit driver data for am3352 DCAN.

Signed-off-by: Roger Quadros <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2014-11-17 12:19:27 +01:00
Roger Quadros 0f4da3a8da can: c_can: Add support for TI DRA7 DCAN
DRA7 SoC has 2 CAN IPs. Provide compatible IDs and RAMINIT
register data for both.

Signed-off-by: Roger Quadros <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2014-11-17 12:19:27 +01:00
Roger Quadros 3ff9027ca6 can: c_can: Add syscon/regmap RAMINIT mechanism
Some TI SoCs like DRA7 have a RAMINIT register specification
different from the other AMxx SoCs and as expected by the
existing driver.

To add more insanity, this register is shared with other
IPs like DSS, PCIe and PWM.

Provides a more generic mechanism to specify the RAMINIT
register location and START/DONE bit position and use the
syscon/regmap framework to access the register.

Signed-off-by: Roger Quadros <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2014-11-17 12:19:27 +01:00
Sergei Shtylyov 632e25ca72 can: rcar_can: document device tree bindings
Document the R-Car CAN device tree bindings.

Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2014-08-18 01:03:42 +02:00
Dong Aisheng e35430807d can: m_can: add device tree binding documentation
add M_CAN device tree binding documentation

Cc: Wolfgang Grandegger <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Oliver Hartkopp <[email protected]>
Cc: Varka Bhadram <[email protected]>
Signed-off-by: Dong Aisheng <[email protected]>
Reviewed-by: Varka Bhadram <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2014-08-18 01:03:40 +02:00
Kedareswara rao Appana e649c64846 can: Add xilinx CAN device tree bindings documentation
Add xilinx CAN bindings documentation.

Signed-off-by: Kedareswara rao Appana <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2014-05-26 09:36:31 +02:00
Florian Vaussard 73c90d943e Documentation: devicetree: sja1000: add reg-io-width binding
Add the reg-io-width property to describe the width of the memory
accesses.

Cc: Grant Likely <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Pawel Moll <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Ian Campbell <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: [email protected]
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Florian Vaussard <[email protected]>
Tested-by: Andreas Larsson <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2014-02-04 10:10:56 +01:00
Alexander Shiyan 66606aafd8 can: mcp251x: Add device tree support
This patch adds Device Tree support to the Microchip MCP251X driver.

Signed-off-by: Alexander Shiyan <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2013-12-21 15:04:24 +01:00
Linus Torvalds 31f7c3a688 Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux
Pull device tree core updates from Grant Likely:
 "Generally minor changes.  A bunch of bug fixes, particularly for
  initialization and some refactoring.  Most notable change if feeding
  the entire flattened tree into the random pool at boot.  May not be
  significant, but shouldn't hurt either"

Tim Bird questions whether the boot time cost of the random feeding may
be noticeable.  And "add_device_randomness()" is definitely not some
speed deamon of a function.

* tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux:
  of/platform: add error reporting to of_amba_device_create()
  irq/of: Fix comment typo for irq_of_parse_and_map
  of: Feed entire flattened device tree into the random pool
  of/fdt: Clean up casting in unflattening path
  of/fdt: Remove duplicate memory clearing on FDT unflattening
  gpio: implement gpio-ranges binding document fix
  of: call __of_parse_phandle_with_args from of_parse_phandle
  of: introduce of_parse_phandle_with_fixed_args
  of: move of_parse_phandle()
  of: move documentation of of_parse_phandle_with_args
  of: Fix missing memory initialization on FDT unflattening
  of: consolidate definition of early_init_dt_alloc_memory_arch()
  of: Make of_get_phy_mode() return int i.s.o. const int
  include: dt-binding: input: create a DT header defining key codes.
  of/platform: Staticize of_platform_device_create_pdata()
  of: Specify initrd location using 64-bit
  dt: Typo fix
  OF: make of_property_for_each_{u32|string}() use parameters if OF is not enabled
2013-09-10 13:53:52 -07:00
Stefan Huber 0a8df84e96 Documentation/devicetree/bindings/net/can/ fix a typo
Corrected the word compatbile to compatible in the file atmel-can.txt.

Signed-off-by: Stefan Huber <[email protected]>
Signed-off-by: Matthias Schid <[email protected]>
Signed-off-by: Simon Puels <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
2013-08-20 12:41:09 +02:00
Alexander Shiyan dcde863297 dt: Typo fix
Signed-off-by: Alexander Shiyan <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
2013-07-24 11:10:00 +01:00
Fabio Estevam b7c4114b07 can: flexcan: Use a regulator to control the CAN transceiver
Instead of using a GPIO to turn on/off the CAN transceiver, it is better to
use a regulator as some systems may use a PMIC to power the CAN transceiver.

Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2013-06-27 15:15:25 +02:00
Ludovic Desroches 3078cde792 can: at91_can: add dt support
Add device tree support.

Signed-off-by: Ludovic Desroches <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2013-03-27 13:07:08 +01:00
Andreas Larsson 6cec9b07fe can: grcan: Add device driver for GRCAN and GRHCAN cores
This driver supports GRCAN and CRHCAN CAN controllers available in the GRLIB
VHDL IP core library.

Signed-off-by: Andreas Larsson <[email protected]>
Acked-by: Wolfgang Grandegger <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2012-11-15 20:47:26 +01:00
AnilKumar Ch 2469627d17 can: c_can: Add device tree support to Bosch C_CAN/D_CAN controller
Add device tree support to C_CAN/D_CAN controller and usage details
are added to device tree documentation. Driver was tested on AM335x
EVM.

Signed-off-by: AnilKumar Ch <[email protected]>
For the of binding doc:
Reviewed-by: Stephen Warren <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2012-09-21 23:58:47 +02:00
Shawn Guo 8b7b736fbf net: flexcan: clock-frequency is optional for device tree probe
The property clock-frequency is optional for device tree probe.  When
it's absent, the flexcan driver will try to get the frequency from clk
system by calling clk_get_rate.

Signed-off-by: Shawn Guo <[email protected]>
Acked-by: Dong Aisheng <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
2012-07-02 11:07:28 +02:00
Masanari Iida c94bed8e19 Documentation: Fix typo in multiple files in Documentation
Correct multiple spelling typo in Documentation.

Signed-off-by: Masanari Iida <[email protected]>
Acked-by: Rob Landley <[email protected]>
Reported-by: Anders Larsen <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
2012-04-16 14:37:13 +02:00
Wolfgang Grandegger e285e44d91 can: cc770: add platform bus driver for the CC770 and AN82527
This driver works with both, static platform data and device tree
bindings. It has been tested on a TQM855L board with two AN82527
CAN controllers on the local bus.

CC: [email protected]
CC: [email protected]
CC: Kumar Gala <[email protected]>
Signed-off-by: Wolfgang Grandegger <[email protected]>
Acked-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2011-12-01 13:09:31 -05:00
[email protected] 97efe9aef1 flexcan: Prefer device tree clock frequency if available.
If our CAN device's device tree node has a clock-frequency property,
then use that value for the can devices clock frequency.  If not, fall
back to asking the platform/mach code for the clock frequency associated
with the flexcan device.

Signed-off-by: Robin Holt <[email protected]>
Acked-by: Wolfgang Grandegger <[email protected]>,
Cc: Kumar Gala <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>,
Cc: U Bhaskar-B22300 <[email protected]>
Cc: Scott Wood <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: [email protected],
Cc: [email protected],
Cc: PPC list <[email protected]>
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
2011-08-17 20:36:38 -07:00
[email protected] 243abbf2a6 flexcan: Fix up fsl-flexcan device tree binding.
This patch cleans up the documentation of the device-tree binding for
the Flexcan devices on Freescale's PowerPC and ARM cores. Extra
properties are not used by the driver so we are removing them.

Signed-off-by: Robin Holt <[email protected]>
Acked-by: Marc Kleine-Budde <[email protected]>,
Acked-by: Wolfgang Grandegger <[email protected]>,
Cc: U Bhaskar-B22300 <[email protected]>
Cc: Scott Wood <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: [email protected],
Cc: [email protected],
Cc: PPC list <[email protected]>
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
2011-08-17 20:36:38 -07:00
Mike Frysinger d364b60116 doc: powerpc: drop +x perms on text file
Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
2011-06-27 16:39:34 +02:00
Bhaskar Upadhaya 9c817f183b powerpc: Adding bindings for flexcan controller
Signed-off-by: Bhaskar Upadhaya <[email protected]>
Acked-By: Scott Wood <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
2011-05-19 01:14:31 -05:00
Lucas De Marchi 25985edced Fix common misspellings
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <[email protected]>
2011-03-31 11:26:23 -03:00
Grant Likely d524dac927 dt: Move device tree documentation out of powerpc directory
The device tree is used by more than just PowerPC.  Make the documentation
directory available to all.

v2: reorganized files while moving to create arch and driver specific
    directories.

Signed-off-by: Grant Likely <[email protected]>
Acked-by: Josh Boyer <[email protected]>
2011-01-31 00:09:01 -07:00