12 Feb, 2019

1 commit


13 Aug, 2018

1 commit

  • The pinctrl supports to set any bit in input register on iMX6 if
    the MSB of input value is 0xff. But the driver uses signed int for
    input value, so when executing the codes below, it won't meet.
    Because this is arithmetic right shift.

    if (input_val >> 24 == 0xff)

    Fix the issue by changing the input_val, config_val and mux_mode to u32.

    Signed-off-by: Ye Li
    Acked-by: Fugang Duan
    (cherry picked from commit e464bbcd13d472ddf2df5b62b0002a127147e17b)

    Ye Li
     

23 May, 2018

1 commit


27 Apr, 2018

2 commits


06 Mar, 2018

1 commit


05 Mar, 2018

3 commits


29 Jan, 2018

8 commits


25 Jan, 2018

4 commits


10 Jan, 2018

2 commits


09 Jan, 2018

1 commit


09 Dec, 2017

2 commits


01 Dec, 2017

1 commit


30 Nov, 2017

2 commits


27 Nov, 2017

2 commits


26 Nov, 2017

1 commit

  • The RK3399 has a total of 9 I2C controllers. To support these, the
    enum in periph.h is extended and the mapping from the IRQ numbers to
    the peripheral-ids is extended to ensure that pinctrl requests are
    passed through to the function configuring the I2C pins.

    For I2C8, the pinctrl is implemented and tested (on a RK3399-Q7) using
    communication with the FAN53555 connected on I2C8.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     

17 Nov, 2017

1 commit


06 Nov, 2017

1 commit


15 Oct, 2017

2 commits


11 Oct, 2017

1 commit


04 Oct, 2017

2 commits

  • U-Boot widely uses error() as a bit noisier variant of printf().

    This macro causes name conflict with the following line in
    include/linux/compiler-gcc.h:

    # define __compiletime_error(message) __attribute__((error(message)))

    This prevents us from using __compiletime_error(), and makes it
    difficult to fully sync BUILD_BUG macros with Linux. (Notice
    Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

    Let's convert error() into now treewide-available pr_err().

    Done with the help of Coccinelle, excluing tools/ directory.

    The semantic patch I used is as follows:

    //
    @@@@
    -error
    +pr_err
    (...)
    //

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass
    [trini: Re-run Coccinelle]
    Signed-off-by: Tom Rini

    Masahiro Yamada
     
  • Add pinconf support to the PFC driver, so that it can handle DT
    props bias-disable, bias-pull-up, bias-pull-down, drive-strength
    and power-source.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu
    Signed-off-by: Nobuhiro Iwamatsu

    Marek Vasut
     

01 Oct, 2017

1 commit

  • Apparently, our earlier assumption that the BROM will always set up
    the iomux for SDcard communication does not always hold true: when
    booting U-Boot from the on-module (on the RK3368-uQ7) eMMC, the SDcard
    pins are not set up and need to be configured by the pinctrl driver to
    allow SD card access.

    This change implements support for setting up the SDMMC pins in
    pinctrl for the RK3368.

    Reported-by: Klaus Goger
    Signed-off-by: Philipp Tomsich
    Reviewed-by: Simon Glass

    Philipp Tomsich