13 Dec, 2017

14 commits


12 Dec, 2017

2 commits


11 Dec, 2017

2 commits

  • denali.c has no driver entry in itself. It makes sense only when
    compiled together with denali_dt.c

    Let NAND_DENALI_DT select NAND_DENALI, and hide NAND_DENALI from
    the Kconfig menu.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Synopsys HSDK clock controller generates and supplies clocks to various
    controllers and peripherals within the SoC.

    Each clock has assigned identifier and client device tree nodes can use
    this identifier to specify the clock which they consume. All available
    clocks are defined as preprocessor macros in the
    dt-bindings/clock/snps,hsdk-cgu.h header and can be used in device
    tree sources.

    Signed-off-by: Eugeniy Paltsev
    Signed-off-by: Alexey Brodkin

    Eugeniy Paltsev
     

08 Dec, 2017

1 commit


07 Dec, 2017

8 commits

  • The .probe_chip function is supposed to probe an i2c device on the bus to
    determine whether a device is answering to a particular address.
    at91_i2c_probe_chip() did not do anything resembling this and always
    returned 0.

    It looks as though at91_i2c_probe_chip() was intended to be a .probe
    function for the controller, as it was copied-and-pasted to become
    at91_i2c_probe() in 0bc8f640a4d7ed.

    Removing the at91_i2c_probe_chip() function makes the higher layer
    (i2c_probe_chip()) try a zero-length read transfer to test for the
    presence of a device instead, which does work.

    Signed-off-by: Alan Ott
    Acked-by: Wenyou Yang
    Reviewed-by: Heiko Schocher

    Alan Ott
     
  • The driver must wait for TXRDY after each byte is pushed into
    the i2c FIFO before pushing the next byte. Previously this was
    not done for the first byte, causing a race condition with zeros
    sometimes being sent for the next byte (which is typically the
    first actual data byte).

    Signed-off-by: Alan Ott
    Reviewed-by: Heiko Schocher

    Alan Ott
     
  • Add some comment describing the purpose of struct members and
    functions.

    Signed-off-by: Beniamino Galvani
    Reviewed-by: Simon Glass
    Reviewed-by: Heiko Schocher

    Beniamino Galvani
     
  • Change meson_i2c_xfer_msg() to return -EREMOTEIO in case of NACK, as
    done by other drivers. Also, don't change the return error in
    meson_i2c_xfer().

    Signed-off-by: Beniamino Galvani
    Reviewed-by: Simon Glass
    Reviewed-by: Heiko Schocher

    Beniamino Galvani
     
  • The datasheet doesn't specify a suggested timeout and 500ms seems very
    long: reduce it to 100ms.

    Signed-off-by: Beniamino Galvani
    Reviewed-by: Simon Glass
    Reviewed-by: Heiko Schocher

    Beniamino Galvani
     
  • Expand the Kconfig description with hardware features.

    Signed-off-by: Beniamino Galvani
    Reviewed-by: Simon Glass
    Reviewed-by: Heiko Schocher

    Beniamino Galvani
     
  • For case when MC is loaded but DPL is not deployed perform MC
    object [DPBP, DPIO, DPNI and DPRC] cleanup.

    Signed-off-by: Yogesh Gaur
    Reviewed-by: York Sun

    Yogesh Gaur
     
  • Existing MC driver framework is based on MC-9.x.x flib. This patch
    migrates MC obj (DPBP, DPNI, DPRC, DPMAC etc) to use latest MC flib
    which is MC-10.3.0.

    Changes introduced due to migration:
    1. To get OBJ token, pair of create and open API replaces create APIs
    2. Pair of close and destroy APIs replaces destroy APIs
    3. For version read, get_version APIs replaces get_attributes APIs
    4. dpni_get/reset_statistics APIs replaces dpni_get/set_counter APIs
    5. Simplifies struct dpni_cfg and removes dpni_extended_cfg struct
    6. Single API dpni_get_buffer_layout/set_buffer_layout replaces
    dpni_get_rx/set_rx, tx related, tx_conf_buffer_layout related APIs.
    New API takes a queue type as an argument.
    7. Similarly dpni_get_queue/set_queue replaces
    dpni_get_rx_flow/set_rx_flow , tx_flow related, tx_conf related
    APIs

    Signed-off-by: Yogesh Gaur
    Signed-off-by: Priyanka Jain
    Reviewed-by: York Sun

    Yogesh Gaur
     

04 Dec, 2017

9 commits


01 Dec, 2017

3 commits


30 Nov, 2017

1 commit