1. 04 6月, 2015 2 次提交
    • H
      sunxi: Add new Mele_A1000G_quad defconfig · 2c23da06
      Hans de Goede 提交于
      The Mele A1000G-quad and the Mele M9 have the same PCB, sofar we've been
      using the same defconfig (and dts on the kernel side) for both models.
      Unfortunately this does not work for the otg controller, on the M9 this
      is routed to a micro-usb connector on the outside, while as on the
      A1000G-quad it is connected to an usb to sata bridge.
      
      This commit adds a new defconfig for the Mele-A1000G-quad to allow using
      different otg controller settings on the 2 boards.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NIan Campbell <ijc@hellion.org.uk>
      2c23da06
    • H
      sunxi: usb_phy: Swap check for disconnect threshold · 7afebb5b
      Hans de Goede 提交于
      Before this commit the code for determining the disconnect threshold was
      checking for sun4i or sun6i assuming that those where the exception and
      that newer SoCs use a disconnect threshold of 2 like sun7i does.
      
      But it turns out that newer SoCs actually use a disconnect threshold of 3
      and sun5i and sun7i are the exceptions, so check for those instead.
      
      Here are the settings from the various Allwinner SDK sources:
       sun4i-a10: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
       sun5i-a13: USBC_Phy_Write(usbc_no, 0x2a, 2, 2);
       sun6i-a31: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
       sun7i-a20: USBC_Phy_Write(usbc_no, 0x2a, 2, 2);
       sun8i-a23: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
       sun8i-h3:  USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
       sun9i-a80: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
      
      Note this commit makes no functional changes for sun4i - sun7i, and
      changes the disconnect threshold for sun8i to match what Allwinner uses.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NIan Campbell <ijc@hellion.org.uk>
      7afebb5b
  2. 01 6月, 2015 4 次提交
  3. 31 5月, 2015 9 次提交
  4. 29 5月, 2015 10 次提交
  5. 28 5月, 2015 5 次提交
  6. 26 5月, 2015 4 次提交
  7. 25 5月, 2015 3 次提交
  8. 22 5月, 2015 1 次提交
  9. 21 5月, 2015 1 次提交
  10. 20 5月, 2015 1 次提交