Skip to content
Snippets Groups Projects
  1. Jun 04, 2015
    • Hans de Goede's avatar
      sunxi: Add new Mele_A1000G_quad defconfig · 2c23da06
      Hans de Goede authored
      
      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: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
      2c23da06
    • Hans de Goede's avatar
      sunxi: usb_phy: Swap check for disconnect threshold · 7afebb5b
      Hans de Goede authored
      
      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: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
      7afebb5b
    • Hans de Goede's avatar
      sunxi: mmc: Enable pull-up on card-detect gpio pin · 1c09fa38
      Hans de Goede authored
      
      On some boards we need to enable the internal pull-up te reliable detect
      that no card is inserted.
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      1c09fa38
  2. Jun 02, 2015
  3. Jun 01, 2015
  4. May 31, 2015
  5. May 30, 2015
  6. May 29, 2015
Loading