From patchwork Mon Aug 28 12:57:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 111153 Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp4792811ybm; Mon, 28 Aug 2017 05:57:57 -0700 (PDT) X-Received: by 10.80.240.207 with SMTP id a15mr440494edm.294.1503925077832; Mon, 28 Aug 2017 05:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503925077; cv=none; d=google.com; s=arc-20160816; b=0h5RGNPKKIwq5fi2RHX2bKxEhLtr2bjAwKteA1uQZLliHGZwDWwm9kLnQOCDb1jebD mmhoETl3k8f20d5xv2koYoretQ2SJhdxqkgiLl5Ji5B1thTe+luONTEU33z/D/0T0e2+ OdUOsWyjMlL3dww6HwLSAPz8MYfsu1xDloQMVsD4eC4gI3R8LVCi8KOmXXETbHSypwb4 ZDU5RbEl57anpOFSq4cq1VNarctgwowpmK/0HmOZ5HtYWZ4fUykorO1qYRsnPZQM5nos Y6dLh05YfYoD/qtBVYTN+xIwJqJSqwNxRDoy7odOhx2Qu7BfhrKrJo2jGaqgks8aA23O QkSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=PT/METzU6Nn/2an08V86GpWguK7aXe/NIxO4dZdJL54=; b=02YdNphRSGkXBptZHUZqvM+9QAFJEGKcH722kTsrXUC044qm2v8RjA7CKbF5BVXp0g 99JyLkzr1XI6w75LqHrsKSgP8Lb3eX6DJ0eRY7tEwez1o2YEKUj7L3Gj0EVSUtwejgiE khp4TAUNPyq0z4bxnKxzwgGgtURNIaAcKlyVbLvkKZ015cgJFtE7J5axlnAQm6al6bmO AxBuEcRLgHofzxQLIkv3hS+5i3l88oKe2O7I2OZIXwumOIzLDgoxUneNWN0eDBPaWS+X rOYQBIeR/4InpGrY5M/+13s9zppoSEYMSMMsFNoUHw6zU74zohQZBpOLCvW+yE9Hahz0 MS7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=Oq7FITMW; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 64si240167edm.361.2017.08.28.05.57.57; Mon, 28 Aug 2017 05:57:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=Oq7FITMW; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 48DF9C224ED; Mon, 28 Aug 2017 12:57: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.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E3796C2248F; Mon, 28 Aug 2017 12:57:41 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 43263C2248F; Mon, 28 Aug 2017 12:57:40 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id 41FB0C21EBC for ; Mon, 28 Aug 2017 12:57:38 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id v7SCvLL5001184; Mon, 28 Aug 2017 21:57:21 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v7SCvLL5001184 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1503925041; bh=yd/A+ksDRZ1GwS8xFNDTMJqQubOM69GhA6crB/K/w6Q=; h=From:To:Cc:Subject:Date:From; b=Oq7FITMWHVG9sMHLVtC7hk/VHLP8wZEA8Z/EV21uSEYIeJh/VMcUv0ZOw2xhh+VnJ 1LimbUNOHB/kuBbaDjWGe0OOJRsdvTaFdMtEcWsVUHv72Lv+y/9Fzk5WDwy7Lpyfyh qcjdxsmfVvKtwcOvbm0zs8FGm6UjkjJOSjpPAibHRA5l33PZZ+syaspPq6PVNS7H/h qsgPMnM7yDD4S2Ce8SBP5YoPjMVzIKQF4H5Onbzjbzh2GuwBhOY+aRJXRQ5xvoynDc wUiucmNs94QuVScU3hk2gUFHkbmmtPUYNlVKNYCsUBCZFG+hte/TPFe6kpxkn4vTW4 lkZgZWVY56jmg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 28 Aug 2017 21:57:15 +0900 Message-Id: <1503925035-13961-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Albert Aribaud Subject: [U-Boot] [PATCH] ARM: uniphier: fix DSPLL init code for LD20 SoC X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Dai Okamura Signed-off-by: Dai Okamura Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/pll-base-ld20.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-uniphier/clk/pll-base-ld20.c b/arch/arm/mach-uniphier/clk/pll-base-ld20.c index 697eb7aabf01..3aa42f8bfdcd 100644 --- a/arch/arm/mach-uniphier/clk/pll-base-ld20.c +++ b/arch/arm/mach-uniphier/clk/pll-base-ld20.c @@ -88,7 +88,7 @@ int uniphier_ld20_sscpll_set_regi(unsigned long reg_base, unsigned regi) if (!base) return -ENOMEM; - tmp = readl(base + 8); /* SSCPLLCTRL */ + tmp = readl(base + 8); /* SSCPLLCTRL3 */ tmp &= ~SC_PLLCTRL3_REGI_MASK; tmp |= regi << SC_PLLCTRL3_REGI_SHIFT; writel(tmp, base + 8); @@ -133,9 +133,9 @@ int uniphier_ld20_dspll_init(unsigned long reg_base) if (!base) return -ENOMEM; - tmp = readl(base + 8); /* DSPLLCTRL2 */ + tmp = readl(base + 4); /* DSPLLCTRL2 */ tmp |= SC_DSPLLCTRL2_K_LD; - writel(tmp, base + 8); + writel(tmp, base + 4); iounmap(base);