1. Oct 16, 2018
  2. Oct 15, 2018
  3. Oct 12, 2018
  4. Oct 11, 2018
    • Linus Walleij's avatar
      pinctrl: gemini: Fix up TVC clock group · a85c928f
      Linus Walleij authored
      The previous fix made the TVC clock get muxed in on the
      D-Link DIR-685 instead of giving nagging warnings of this
      not working. Not good. We didn't want that, as it breaks
      video.
      
      Create a specific group for the TVC CLK, and break out
      a specific GPIO group for it on the SL3516 so we can use
      that line as GPIO if we don't need the TVC CLK.
      
      Fixes: d17f477c
      
       ("pinctrl: gemini: Mask and set properly")
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      a85c928f
  5. Oct 10, 2018
  6. Oct 03, 2018
  7. Oct 02, 2018
  8. Oct 01, 2018
    • Yanjiang Jin's avatar
      pinctrl: core: make sure strcmp() doesn't get a null parameter · 54a58185
      Yanjiang Jin authored
      
      
      Some drivers, for example, QCOM's qdf2xxx, set groups[gpio].name only
      when gpio is valid, and leave invalid gpio names as null.
      If we want to access the sys node "pinconf-groups",
      pinctrl_get_group_selector() -> get_group_name() may return a null
      pointer if group_selector is invalid, then the below Kernel panic
      would happen since strcmp() uses this null pointer to do comparison.
      
       Unable to handle kernel NULL pointer dereference at ss 00000000
      el:Internal error: Oops: 9600000[ 143.080279]
      SMP
       CPU: 19 PID: 2493 Comm: read_all Tainted: G O
      .aarch64 #1
       Hardware name: HXT Semiconductor HXT REP-2 System
       PC is at strcmp+0x18/0x154
       LR is at pinctrl_get_group_selector+0x6c/0xe8
       Process read_all (pid: 2493, stack limit =
       Call trace:
       Exception stack
        strcmp+0x18/0x154
        pin_config_group_get+0x64/0xd8
        pinconf_generic_dump_one+0xd8/0x1c0
        pinconf_generic_dump_pins+0x94/0xc8
        pinconf_groups_show+0xb4/0x104
        seq_read+0x178/0x464
        full_proxy_read+0x6c/0xac
        __vfs_read+0x58/0x178
        vfs_read+0x94/0x164
        SyS_read+0x60/0xc0
        __sys_trace_return+0x0/0x4
       --[ end trace]--
       Kernel panic - not syncing: Fatal exception
      
      Signed-off-by: default avatarYanjiang Jin <yanjiang.jin@hxt-semitech.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      54a58185
    • Linus Walleij's avatar
      Merge tag 'sh-pfc-for-v4.20-tag2' of... · 18887f31
      Linus Walleij authored
      Merge tag 'sh-pfc-for-v4.20-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into devel
      
      pinctrl: sh-pfc: Updates for v4.20 (take two)
      
        - Add MSIOF pin groups on R-Car E3 and D3,
        - Add support for the new RZ/G1N (R8A7744) and RZ/G2E (R8A774C0) SoCs,
        - Add I2C4, DU0, QSPI0, SDHI2, and USB pin groups on RZ/G1C,
        - Convert to SPDX license identifiers,
        - Small cleanups.
      18887f31
    • Linus Walleij's avatar
      Merge tag 'v4.19-rc6' into devel · 30aa69e7
      Linus Walleij authored
      
      
      This is the 4.19-rc6 release
      
      I needed to merge this in because of extensive conflicts in
      the MSM and Intel pin control drivers. I know how to resolve
      them, so let's do it like this.
      
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      30aa69e7
  9. Sep 30, 2018