1. 05 Jan, 2018 1 commit
    • Thomas Petazzoni's avatar
      ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7 · 56aeb07c
      Thomas Petazzoni authored
      MPP7 is currently muxed as "gpio", but this function doesn't exist for
      MPP7, only "gpo" is available. This causes the following error:
      
      kirkwood-pinctrl f1010000.pin-controller: unsupported function gpio on pin mpp7
      pinctrl core: failed to register map default (6): invalid type given
      kirkwood-pinctrl f1010000.pin-controller: error claiming hogs: -22
      kirkwood-pinctrl f1010000.pin-controller: could not claim hogs: -22
      kirkwood-pinctrl f1010000.pin-controller: unable to register pinctrl driver
      kirkwood-pinctrl: probe of f1010000.pin-controller failed with error -22
      
      So the pinctrl driver is not probed, all device drivers (including the
      UART driver) do a -EPROBE_DEFER, and therefore the system doesn't
      really boot (well, it boots, but with no UART, and no devices that
      require pin-muxing).
      
      Back when the Device Tree file for this board was introduced, the
      definition was already wrong. The pinctrl driver also always described
      as "gpo" this function for MPP7. However, between Linux 4.10 and 4.11,
      a hog pin failing to be muxed was turned from a simple warning to a
      hard error that caused the entire pinctrl driver probe to bail
      out. This is probably the result of commit 61187142 ("pinctrl:
      core: Fix pinctrl_register_and_init() with pinctrl_enable()").
      
      This commit fixes the Device Tree to use the proper "gpo" function for
      MPP7, which fixes the boot of OpenBlocks A7, which was broken since
      Linux 4.11.
      
      Fixes: f24b56cb
      
       ("ARM: kirkwood: add support for OpenBlocks A7 platform")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
      56aeb07c
  2. 14 Apr, 2016 1 commit
  3. 05 May, 2014 7 commits
  4. 07 Apr, 2014 1 commit
  5. 16 Jan, 2014 1 commit
    • Grant Likely's avatar
      dt/bindings: Remove all references to device_type "ethernet-phy" · 40aad3c1
      Grant Likely authored
      
      
      The device_type property is deprecated for the flattened device tree and
      the value "ethernet-phy" has never been defined as having a useful
      meaning. Neither the kernel nor u-boot depend on it. It should never
      have appeared in PHY bindings. This patch removes all references to
      "ethernet-phy" as a device_type value from the documentation and the
      .dts files.
      
      This patch was generated mechanically with the following command and
      then verified by looking at the diff.
      
      sed -i '/"ethernet-phy"/d' `git grep -l '"ethernet-phy"'`
      Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
      Acked-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      40aad3c1
  6. 08 Dec, 2013 2 commits
  7. 30 Oct, 2013 1 commit
  8. 01 Oct, 2013 1 commit
  9. 06 Aug, 2013 1 commit
  10. 25 Jul, 2013 1 commit
  11. 27 May, 2013 3 commits
  12. 08 Mar, 2013 1 commit
    • Jason Cooper's avatar
      ARM: kirkwood: of_serial: fix clock gating by removing clock-frequency · 93fff4ce
      Jason Cooper authored
      
      
      When DT support for kirkwood was first introduced, there was no clock
      infrastructure.  As a result, we had to manually pass the
      clock-frequency to the driver from the device node.
      
      Unfortunately, on kirkwood, with minimal config or all module configs,
      clock-frequency breaks booting because of_serial doesn't consume the
      gate_clk when clock-frequency is defined.
      
      The end result on kirkwood is that runit gets gated, and then the boot
      fails when the kernel tries to write to the serial port.
      
      Fix the issue by removing the clock-frequency parameter from all
      kirkwood dts files.
      
      Booted on dreamplug without earlyprintk and successfully logged in via
      ttyS0.
      Reported-by: default avatarSimon Baatz <gmbnomis@gmail.com>
      Tested-by: default avatarSimon Baatz <gmbnomis@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      93fff4ce
  13. 28 Feb, 2013 1 commit
  14. 24 Nov, 2012 3 commits
  15. 22 Nov, 2012 1 commit
  16. 21 Sep, 2012 1 commit