Message ID | 20180507073351.30582-10-jagan@amarulasolutions.com |
---|---|
State | Changes Requested |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="iNE0p2DF"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40fZQp0q74z9ryk for <incoming@patchwork.ozlabs.org>; Mon, 7 May 2018 17:45:05 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id AD4A0C2207E; Mon, 7 May 2018 07:37:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_WEB,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E7C8DC22086; Mon, 7 May 2018 07:35:32 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 517EDC22054; Mon, 7 May 2018 07:34:35 +0000 (UTC) Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by lists.denx.de (Postfix) with ESMTPS id C4854C2206E for <u-boot@lists.denx.de>; Mon, 7 May 2018 07:34:29 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id g20-v6so12929218pgv.1 for <u-boot@lists.denx.de>; Mon, 07 May 2018 00:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vxArz+ILfokAIRNx9vJr8XE8lLfg9t3iGNNL7akzjOY=; b=iNE0p2DFxUd7qZlvQvptwyIYpbO4JXuw6jYV6ucoKsb6WcgdVHvqjPJqDXEi2M7g4Z AfMQFmmg/3t4U+3VbWy+Of0ZE8RFjd4Xk2QaRSJF4F5MFhEnw73wSjpVaka3XAmAhANH +nLYXVry9BbqsHTLgqo3ooEOYnxs5ur4bod18= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vxArz+ILfokAIRNx9vJr8XE8lLfg9t3iGNNL7akzjOY=; b=cgNWvAKOxFwriGsuaCWQPl4K73GBeb1TefqkDKc99KcgjJeljfZjOESgWzUFpGdg/a CqsHPbgZkbETC1E90s+Kzfo2GFt/PM1bPVoisOrqn7SXW0kWNApFdsDniApA/gMvFtBO JXyjP/kLyimkVJld3g74ioVU2cZKgYgIF/bIFO/4iFNVyCnwPZKEICoDR1EFW82aIN08 CEfC8WYybg/IxLJP0uBkQAvXakQUEoiNnmxdgdTlydbgqHXOnLRaTARqudfTleF0zimf Uvqns4HkiMXJh0i2LTPWCn8BCcmN0S9hqwGONYwPwyFnmE+r5xwWFxQWPBzh77+DKF2+ tnrw== X-Gm-Message-State: ALQs6tB2R4r8B1zDfr9dSHTQATO8XXRu7BVVB1nw2V7psFR+vEqT6oVJ nPT03SPrtZ2CIrZfwjlIgKAQEV1paT0= X-Google-Smtp-Source: AB8JxZoikjuXNDzTwThlarg0VyB0TpHbDyzwSV7gQ+0o+WSGrZCcemml0ypVEyaMyfVDPZILDIbBYQ== X-Received: by 2002:a17:902:70c9:: with SMTP id l9-v6mr34685552plt.382.1525678468317; Mon, 07 May 2018 00:34:28 -0700 (PDT) Received: from localhost.localdomain ([183.82.228.172]) by smtp.gmail.com with ESMTPSA id 76sm59400891pfm.178.2018.05.07.00.34.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 May 2018 00:34:27 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: u-boot@lists.denx.de Date: Mon, 7 May 2018 13:03:25 +0530 Message-Id: <20180507073351.30582-10-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180507073351.30582-1-jagan@amarulasolutions.com> References: <20180507073351.30582-1-jagan@amarulasolutions.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com>, Marek Vasut <marex@denx.de>, linux-sunxi@googlegroups.com Subject: [U-Boot] [PATCH v7 09/35] musb: sunxi: Add support for H3/H5A64 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
phy: sunxi: Add Allwinner sun4i USB PHY
|
expand
|
diff --git a/drivers/usb/musb-new/musb_regs.h b/drivers/usb/musb-new/musb_regs.h index a3cc38e3b9..a6a491ad67 100644 --- a/drivers/usb/musb-new/musb_regs.h +++ b/drivers/usb/musb-new/musb_regs.h @@ -432,7 +432,8 @@ static inline u8 musb_read_ulpi_buscontrol(void __iomem *mbase) static inline u8 musb_read_configdata(void __iomem *mbase) { -#if defined CONFIG_MACH_SUN8I_A33 || defined CONFIG_MACH_SUN8I_A83T +#if defined CONFIG_MACH_SUN8I_A33 || defined CONFIG_MACH_SUN8I_A83T || \ + defined CONFIG_MACH_SUNXI_H3_H5 || defined CONFIG_MACH_SUN50I /* <Sigh> allwinner saves a reg, and we need to hardcode this */ return 0xde; #else
Like other Allwinner SoC, the H3/H5/A64 is missing the config register from the musb hardware block. Use a known working value for it like other SoC. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- Note: - About previous version comment, at this point the core can't handle this through dt becuase musb-new/musb_core.c not as clean as Linux. drivers/usb/musb-new/musb_regs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)