devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] i2c: added driver for Mellanox BlueField SoC
@ 2018-12-04 17:40 Khalil Blaiech
  2018-12-04 17:40 ` [PATCH v2 2/2] dt-bindings: i2c: I2C binding " Khalil Blaiech
  0 siblings, 1 reply; 4+ messages in thread
From: Khalil Blaiech @ 2018-12-04 17:40 UTC (permalink / raw)
  To: Rob Herring, Wolfram Sang, Wolfram Sang, David Woods
  Cc: Khalil Blaiech, linux-i2c, devicetree

Added I2C SMBus driver and device tree bindings documentation.
This patch set depends on ARCH_MLNX_BLUEFIELD. There is separate
effort that aims to add support for the Mellanox BlueField SoC
to the kernel tree.

Changes since v1:

1) Device bindings documentation:

   - Enumerate the device resources.
   - Edit the 'compatible' property to make it less generic.
   - Remove the 'bus' index property and replace i with a
     standard approach to read the bus identifier.
   - Get rid of the 'profile' property.
   - Use 'clock-frequency' property instead of 'bus-freq'.
   - Convert the clock frequency from KHz to Hz.
   - Remove useless examples.

2) Device driver source:

   - Update the '.compatible' field of of_device_id.
   - Update mlx_i2c_of_probe() call to extract the bus id
     from the pre-defined aliases.
   - Don't check the profile property.
   - Read the 'clock-frequency' property to get the timing
     parameters. 
   - Convert the timing configuration from KHz to Hz.

Khalil Blaiech (2):
  i2c: i2c-mlx: I2C SMBus driver for Mellanox BlueField SoC
  dt-bindings: i2c: I2C binding for Mellanox BlueField SoC

 .../devicetree/bindings/i2c/mellanox,i2c-mlxbf.txt |   67 +
 drivers/i2c/busses/Kconfig                         |   13 +
 drivers/i2c/busses/Makefile                        |    1 +
 drivers/i2c/busses/i2c-mlx.c                       | 2341 ++++++++++++++++++++
 4 files changed, 2422 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/mellanox,i2c-mlxbf.txt
 create mode 100644 drivers/i2c/busses/i2c-mlx.c

-- 
2.1.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-30 18:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-04 17:40 [PATCH v2 0/2] i2c: added driver for Mellanox BlueField SoC Khalil Blaiech
2018-12-04 17:40 ` [PATCH v2 2/2] dt-bindings: i2c: I2C binding " Khalil Blaiech
2018-12-18 15:53   ` Rob Herring
2019-01-30 18:31     ` Khalil Blaiech

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).