1. 08 Feb, 2019 11 commits
  2. 30 Jan, 2019 4 commits
  3. 28 Jan, 2019 9 commits
  4. 24 Jan, 2019 12 commits
  5. 22 Jan, 2019 1 commit
  6. 21 Jan, 2019 3 commits
    • Jerome Brunet's avatar
      pinctrl: meson: add optional region for drive strength · 64856974
      Jerome Brunet authored
      On the G12a, there is a new 'region' to handle the drive-strength.
      This is optional since the older do not have this.
      
      Fixes: 29ae0952 ("pinctrl: meson-g12a: add pinctrl driver support")
      Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      64856974
    • Xingyu Chen's avatar
      pinctrl: meson: fix G12A ao pull registers base address · e66dd48e
      Xingyu Chen authored
      Since Meson G12A SoC, Introduce new ao registers AO_RTI_PULL_UP_EN_REG
      and AO_GPIO_O.
      
      These bits of controlling output level are remapped to the new register
      AO_GPIO_O, and the AO_GPIO_O_EN_N support only controlling output enable.
      
      These bits of controlling pull enable are remapped to the new register
      AO_RTI_PULL_UP_EN_REG, and the AO_RTI_PULL_UP_REG support only controlling
      pull type(up/down).
      
      The new layout of ao gpio/pull registers is as follows:
      - AO_GPIO_O_EN_N        [offset: 0x9 << 2]
      - AO_GPIO_I             [offset: 0xa << 2]
      - AO_RTI_PULL_UP_REG    [offset: 0xb << 2]
      - AO_RTI_PULL_UP_EN_REG [offset: 0xc << 2]
      - AO_GPIO_O             [offset: 0xd << 2]
      
      From above, we can see ao GPIO registers region has been separated by the
      ao pull registers. In order to ensure the continuity of the region on
      software, the ao GPIO and ao pull registers use the same base address, but
      can be identified by the offset.
      
      Fixes: 29ae0952 ("pinctrl: meson-g12a: add pinctrl driver support")
      Signed-off-by: default avatarXingyu Chen <xingyu.chen@amlogic.com>
      Signed-off-by: default avatarJianxin Pan <jianxin.pan@amlogic.com>
      Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      e66dd48e
    • Jerome Brunet's avatar
      dt-bindings: pinctrl: meson: update register descriptions · cf892f38
      Jerome Brunet authored
      like pull-enable, pull should be optional has this region is available on
      every controllers. Also, the g12a feature a new region "ds" for the
      drive-strength
      
      All this region thing is one big mess. I suspect that there is only one
      big GPIO region with holes in it. All registers between the current
      regions reads '0' so it is probably just spare space to handle more pins.
      
      Since we need to continue to handle the existing controllers, switching to
      one single region now would not simplify things. However, if more
      organisation layouts and features keep on being added, we may have to look
      at this again
      
      Fixes: 3cd3c83f ("pinctrl: Add compatibles for Amlogic Meson G12A pin controllers")
      Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      cf892f38