From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80125C48BE8 for ; Wed, 16 Jun 2021 03:16:46 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D3B1D613B3 for ; Wed, 16 Jun 2021 03:16:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D3B1D613B3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=163.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED8D28296B; Wed, 16 Jun 2021 05:16:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=163.com header.i=@163.com header.b="KYxiTSyy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A1A3C82903; Wed, 16 Jun 2021 04:34:40 +0200 (CEST) Received: from m12-14.163.com (m12-14.163.com [220.181.12.14]) by phobos.denx.de (Postfix) with ESMTP id 8FD6680412 for ; Wed, 16 Jun 2021 04:34:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=qianfanguijin@163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=CovTFgnpv6ktqcnYdN 5EbLOwV1VYuvEQ/qrvkivbuzc=; b=KYxiTSyyqSbrWEpWkKiUG2pna5MYzgXUTR svgVD4l8sn6U6SBcB+vyWXdZ1i5Df0dFJwSer5/hvKSbMGFoW2C0ysuKTI6+ro8i 5YCXC9vO+VckqZXlK4hZUA1GUiBSKCcdnHTxN/zE9N3sKG9VfuiBi+dsG8FJrRVi va/uM9aG0= Received: from localhost.localdomain (unknown [218.201.129.20]) by smtp10 (Coremail) with SMTP id DsCowAAHTGv8YslgG32ePA--.36067S4; Wed, 16 Jun 2021 10:33:34 +0800 (CST) From: qianfanguijin@163.com To: u-boot@lists.denx.de Cc: wens@csie.org, jagan@amarulasolutions.com, andre.przywara@arm.com, marex@denx.de, qianfan Zhao Subject: [PATCH 1/4] phy-sun4i-usb: Fix sun8i_r40_cfg Date: Wed, 16 Jun 2021 10:33:23 +0800 Message-Id: <20210616023326.18135-1-qianfanguijin@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: DsCowAAHTGv8YslgG32ePA--.36067S4 X-Coremail-Antispam: 1Uf129KBjvdXoWruFykZryxZryrWw4rJrW8Zwb_yoWDJwb_ur W8Xrs7JFZ8ur98XF12yr43X3yFya1Fv3WkWw1vqFy5A3WIqana9rnrtrZrury5GFWakFn8 A345ZF13CwsF9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUb5l1JUUUUU== X-Originating-IP: [218.201.129.20] X-CM-SenderInfo: htld0w5dqj3xxmlqqiywtou0bp/xtbBRwez7VPADE9xOAAAsH X-Mailman-Approved-At: Wed, 16 Jun 2021 05:16:06 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: qianfan Zhao The address of sun8i_r40's phyctrl is 0x01c13404, also fixed enable_pmu and dual_route. Signed-off-by: qianfan Zhao --- drivers/phy/allwinner/phy-sun4i-usb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c index 5723c98032..608ba46242 100644 --- a/drivers/phy/allwinner/phy-sun4i-usb.c +++ b/drivers/phy/allwinner/phy-sun4i-usb.c @@ -587,10 +587,10 @@ static const struct sun4i_usb_phy_cfg sun8i_r40_cfg = { .num_phys = 3, .type = sun8i_r40_phy, .disc_thresh = 3, - .phyctl_offset = REG_PHYCTL_A33, + .phyctl_offset = REG_PHYCTL_A10, .dedicated_clocks = true, - .enable_pmu_unk1 = true, - .phy0_dual_route = true, + .enable_pmu_unk1 = false, + .phy0_dual_route = false, }; static const struct sun4i_usb_phy_cfg sun8i_v3s_cfg = { -- 2.17.1