1. 21 4月, 2016 1 次提交
  2. 30 3月, 2016 1 次提交
  3. 08 3月, 2016 1 次提交
  4. 27 1月, 2016 1 次提交
  5. 03 10月, 2015 2 次提交
  6. 02 10月, 2015 1 次提交
    • R
      pinctrl: freescale: imx: fix system crash if enable two pinctl instances · ee163518
      Robin Gong 提交于
      Fix system chrash caused by groups whose number is smaller than the number
      of groups of the last pinctl instance which is not initialized.
      
      iMX7D supports two iomux controllers (iomuxc-lpsr and iomuxc) on probing
      the second instance (iomuxc) the chrash below occurs.
      
      Uncompressing Linux... done, booting the kernel.
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 4.2.0-next-20150901-00006-gebfa43c (aalonso@bluefly)
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7)
      [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasin instruction cache
      [    0.000000] Machine model: Freescale i.MX7 SabreSD Board
      [    0.661012] [<802a6cb0>] (strcmp) from [<802cc80c>] (imx_dt_node_to_map+0x58/0x208)
      [    0.668879] [<802cc80c>] (imx_dt_node_to_map) from [<802cbe24>] (pinctrl_dt_to_map+0x174/0x2b0)
      [    0.677654] [<802cbe24>] (pinctrl_dt_to_map) from [<802c8f18>] (pinctrl_get+0x100/0x424)
      [    0.685878] [<802c8f18>] (pinctrl_get) from [<802c9510>] (pinctrl_register+0x26c/0x480)
      [    0.694104] [<802c9510>] (pinctrl_register) from [<802ccf3c>] (imx_pinctrl_probe+0x580/0x6e8)
      [    0.702706] [<802ccf3c>] (imx_pinctrl_probe) from [<80351b58>] (platform_drv_probe+0x44/0xa4)
      [    0.711455] [<80351b58>] (platform_drv_probe) from [<803503ec>] (driver_probe_device+0x174/0x2b4)
      [    0.720405] [<803503ec>] (driver_probe_device) from [<803505fc>] (__driver_attach+0x8c/0x90)
      [    0.728982] [<803505fc>] (__driver_attach) from [<8034e930>] (bus_for_each_dev+0x6c/0xa0)
      [    0.737381] [<8034e930>] (bus_for_each_dev) from [<8034fb88>] (bus_add_driver+0x148/0x1f0)
      [    0.745804] [<8034fb88>] (bus_add_driver) from [<80350c00>] (driver_register+0x78/0xf8)
      [    0.753880] [<80350c00>] (driver_register) from [<800097d0>] (do_one_initcall+0x8c/0x1d4)
      [    0.762282] [<800097d0>] (do_one_initcall) from [<80987dac>] (kernel_init_freeable+0x144/0x1e4)
      [    0.771061] [<80987dac>] (kernel_init_freeable) from [<806d9c7c>] (kernel_init+0x8/0xe8)
      [    0.779285] [<806d9c7c>] (kernel_init) from [<8000f628>] (ret_from_fork+0x14/0x2c)
      [    0.786981] Code: e3520000 e5e32001 1afffffb e12fff1e (e4d03001)
      Signed-off-by: NRobin Gong <b38343@freescale.com>
      Signed-off-by: NAdrian Alonso <aalonso@freescale.com>
      Acked-by: NShawn Guo <shawnguo@kernel.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      ee163518
  7. 10 6月, 2015 1 次提交
  8. 06 5月, 2015 1 次提交
  9. 07 4月, 2015 1 次提交
  10. 18 3月, 2015 1 次提交
  11. 03 2月, 2015 1 次提交
  12. 28 10月, 2014 1 次提交
  13. 23 9月, 2014 1 次提交
    • S
      pinctrl: imx: detect uninitialized pins · 3dac1918
      Stefan Agner 提交于
      The pinctrl driver initialized the register offsets for the pins
      with 0. On Vybrid an offset of 0 is a valid offset for the pinctrl
      mux register. So far, this was solved using the ZERO_OFFSET_VALID
      flag which allowed offsets of 0. However, this does not allow to
      verify whether a pins struct imx_pmx_func was initialized or not.
      
      Use signed offset values for register offsets and initialize those
      with -1 in order to detect uninitialized offset values reliable.
      Signed-off-by: NStefan Agner <stefan@agner.ch>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      3dac1918
  14. 04 9月, 2014 2 次提交
  15. 11 7月, 2014 1 次提交
  16. 22 4月, 2014 1 次提交
  17. 25 2月, 2014 1 次提交
  18. 04 11月, 2013 1 次提交
  19. 28 8月, 2013 1 次提交
  20. 24 8月, 2013 1 次提交
  21. 16 8月, 2013 5 次提交
  22. 08 8月, 2013 1 次提交
    • S
      pinctrl: imx: work around select input quirk · 94176faf
      Shawn Guo 提交于
      The select input for some pin may not be implemented using the regular
      select input register but the general purpose register.  A real example
      is that imx6q designers found the select input for USB OTG ID pin is
      missing at the very late stage, and can not add a new select input
      register but have to use a general purpose register bit to implement it.
      
      The patch adds a workaround for such select input quirk by interpreting
      the input_val cell of pin function ID in a different way, so that all
      the info that needed for setting up select input bits in general purpose
      register could be decoded from there.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Tested-by: NPeter Chen <peter.chen@freescale.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      94176faf
  23. 23 7月, 2013 1 次提交
  24. 16 6月, 2013 1 次提交
  25. 09 4月, 2013 1 次提交
    • S
      pinctrl: imx: move hard-coding data into device tree · e1641531
      Shawn Guo 提交于
      Currently, all imx pinctrl drivers maintain a big array of struct
      imx_pin_reg which hard-codes data like register offset and mux mode
      setting for each pin function.  Every time a new imx SoC support is
      added, we need to add such a big mount of data.  With moving to single
      kernel build, it's only matter of time to be blamed on memory consuming.
      
      With DTC pre-processor support in place, the patch moves all these data
      into device tree by redefining the PIN_FUNC_ID in imxXX-pinfunc.h and
      changing the PIN_FUNC_ID parsing code a little bit.
      
      The pin id gets re-numbered based on mux register offset, or config
      register offset if the pin has no mux register, so that kernel can
      identify the pin id from register offsets provided by device tree.
      
      As a bonus point of the change, those arbitrary magic numbers standing
      for particular PIN_FUNC_ID in device tree sources are now replaced by
      macros to improve the readability of dts files.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NDong Aisheng <dong.aisheng@linaro.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      e1641531
  26. 07 3月, 2013 1 次提交
  27. 23 1月, 2013 1 次提交
  28. 04 1月, 2013 1 次提交
    • G
      Drivers: pinctrl: remove __dev* attributes. · 150632b0
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Barry Song <baohua.song@csr.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      150632b0
  29. 29 11月, 2012 1 次提交
  30. 15 11月, 2012 1 次提交
  31. 12 11月, 2012 1 次提交
  32. 18 9月, 2012 1 次提交
  33. 15 7月, 2012 1 次提交
  34. 04 7月, 2012 1 次提交