1. 07 7月, 2020 3 次提交
  2. 19 5月, 2020 2 次提交
  3. 14 2月, 2020 1 次提交
  4. 06 2月, 2020 1 次提交
    • S
      dm: core: Create a new header file for 'compat' features · 336d4615
      Simon Glass 提交于
      At present dm/device.h includes the linux-compatible features. This
      requires including linux/compat.h which in turn includes a lot of headers.
      One of these is malloc.h which we thus end up including in every file in
      U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
      which needs to use the system malloc() in some files.
      
      Move the compatibility features into a separate header file.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      336d4615
  5. 27 8月, 2019 1 次提交
    • P
      pinctrl: stmfx: update pinconf settings · abee80d7
      Patrick Delaunay 提交于
      Alignment with kernel driver.
      
      According to the following tab (coming from STMFX datasheet), updates
      have to done in stmfx_pinctrl_conf_set function:
      
      -"type" has to be set when "bias" is configured as "pull-up or pull-down"
      -PIN_CONFIG_DRIVE_PUSH_PULL should only be used when gpio is configured as
       output. There is so no need to check direction.
      
        DIR | TYPE | PUPD | MFX GPIO configuration
        ----|------|------|---------------------------------------------------
        1   | 1    | 1    | OUTPUT open drain with internal pull-up resistor
        ----|------|------|---------------------------------------------------
        1   | 1    | 0    | OUTPUT open drain with internal pull-down resistor
        ----|------|------|---------------------------------------------------
        1   | 0    | 0/1  | OUTPUT push pull no pull
        ----|------|------|---------------------------------------------------
        0   | 1    | 1    | INPUT with internal pull-up resistor
        ----|------|------|---------------------------------------------------
        0   | 1    | 0    | INPUT with internal pull-down resistor
        ----|------|------|---------------------------------------------------
        0   | 0    | 1    | INPUT floating
        ----|------|------|---------------------------------------------------
        0   | 0    | 0    | analog (GPIO not used, default setting)
      Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
      abee80d7
  6. 12 4月, 2019 1 次提交