From patchwork Fri Mar 29 15:33:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 161462 Delivered-To: patch@linaro.org Received: by 2002:ac9:18c7:0:0:0:0:0 with SMTP id i7csp2080723oce; Fri, 29 Mar 2019 08:33:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLp9uJurTWYXGjma1lATd2RwJvaVKIJKF5kB0cqaRa4Kyd0nKJ3INpsdZIkyX8W3AVsTH9 X-Received: by 2002:a17:902:e709:: with SMTP id co9mr26337953plb.86.1553873630303; Fri, 29 Mar 2019 08:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553873630; cv=none; d=google.com; s=arc-20160816; b=tKBJS3N+Bha7xEapF7uWc0Guhflk4bgfTaI05JZeKL0QHbh/M758ySab0juFRJl1wi /zhMTTyfh9Ik450cGEsb0h9HaodjV4biGCHEtbA/DfNVK90XydF2p0Tn2u9kf7yDM+iN 4RQJVOAadkEve+2vpJDgRHzNvHQRX6yqEjbTEorjFsydNEt5tODaSoRDlfNSBBtw5I9R 7tmDUCeFRdYHcn9ve2jYSCnunaHKBJlEbeUA8cyBvu+EmKvG36RKnWYVYrc1mVbZQIId WhUTXbJJ5N/3Rqz+x5rHZGvE/XqvpVfSKDgGVBapcmz956VB/dCHZUg/JrF3Kx69MzVf Dkyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=StsbiAbV0Vt+lXEMy/BJGmoZrMBaAxbvBsCBZl1IPto=; b=V3HyoNo7TkduSZBfftXzhGXkb6QPW4WCmg0tNJP4JyHwp7J29H5GTu+OElEYj8lYFK gamnYgLxvAtyC52yWuRInVNJflj8XWu3J6HIfCvslTy52xVnExtEhWeI/VLWDVXioh6D t8ppsVCZfQsw+JLlRSAY+V5OhF97q4Ppu4Zjhlz4qt9Vj7HejV3aVekHGvqWLax4P/fI OLDKIo8zdYXqmQSycnwAxSq8ueU+JtZva0OGqbmqoedKfPfGaNOSbetSPT9SmYZyziv7 oZjOjcvLctUSRAVMkKGoc+hMPwRXQZetafJbCYhjv9Ff+GHAHgUHOwf5owBbQYlQl7Iq fzhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=cFyX65t+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e22si1999198pgv.323.2019.03.29.08.33.49; Fri, 29 Mar 2019 08:33:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=cFyX65t+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729730AbfC2Pds (ORCPT + 31 others); Fri, 29 Mar 2019 11:33:48 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:53614 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729682AbfC2Pdi (ORCPT ); Fri, 29 Mar 2019 11:33:38 -0400 Received: by mail-wm1-f65.google.com with SMTP id q16so2955253wmj.3 for ; Fri, 29 Mar 2019 08:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=StsbiAbV0Vt+lXEMy/BJGmoZrMBaAxbvBsCBZl1IPto=; b=cFyX65t+guMxH0r6wwSuBGb7zt9F3l3OAKQIUEhzCLXzE9CP1DjsgeoNuVQfOmgQ9y 3E/6EPaEtzmqGcEH9hfmtSE7ExYLYk9jyUkcSonbTaAG0Q3Qg/SKCR6whaIsLf2y0pe0 p1TmqbeqhCmxnkBkINo/3nH2dQ8k+Hay49Ayh6DwhFa+fwuJtSUi7FP3LxePzFlJpRJp zN3NkuPjWOXkDWZzcO9QaOPs+4MMfYbXS428Oj+P3uT/N7oHtV/j215UkGowhHb6JFyn kgS4PwzsxbTByarKfja5OCK9EBCgaGjwGaRlp7Ex0fp55rpLgW+SU7NIFFj/Gr/Cx+ix CoMA== 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:mime-version:content-transfer-encoding; bh=StsbiAbV0Vt+lXEMy/BJGmoZrMBaAxbvBsCBZl1IPto=; b=frcY3BmRWZrTti/qAC9tZSMnCaPAyia+urhfES47AGtHyRN9s/4BVoy4v/17EpIA2K DCk+qRzY5sLOGG1Gviprk1XicsHG2qpn08LFKSi9L2xdoQ5aCo+pQ+QKoXXy6245GOJt +SXoh2I3wx1GVGOlfEcJ1AoI2DpemmnENSEbv+5ZI+x7QpGX3uHOjj99ghZUa9P9Lg5z HrC9WZd8bkxkCEp+0BW+aeRo6gAn8BdqVoFdc1IfEWS9622XwSln54y2PubIQa7VmrCV 0P6weQE2jClQhvLzIbeeMNFWrBgYWxhrJ+uKphLcuFVLnWwsU/7/fhhWVvYSEjNt0N75 2WqA== X-Gm-Message-State: APjAAAWXdPjmGkC8oEd58yxTnSI0t6YTRR1u53lbsmMNN1LNj9t3AoFb uDMWmuOgPzIQ8KGPVF8dZc0Qpw== X-Received: by 2002:a1c:2d91:: with SMTP id t139mr4275362wmt.102.1553873617383; Fri, 29 Mar 2019 08:33:37 -0700 (PDT) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id s18sm1930173wmc.41.2019.03.29.08.33.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 08:33:36 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] clk: meson: axg: spread spectrum is on mpll2 Date: Fri, 29 Mar 2019 16:33:25 +0100 Message-Id: <20190329153325.23869-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190329153325.23869-1-jbrunet@baylibre.com> References: <20190329153325.23869-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After testing, it appears that the SSEN bit controls the spread spectrum function on MPLL2, not MPLL0. Fixes: 78b4af312f91 ("clk: meson-axg: add clock controller drivers") Signed-off-by: Jerome Brunet --- drivers/clk/meson/axg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.20.1 diff --git a/drivers/clk/meson/axg.c b/drivers/clk/meson/axg.c index 7a8ef80e5f2c..3ddd0efc9ee0 100644 --- a/drivers/clk/meson/axg.c +++ b/drivers/clk/meson/axg.c @@ -469,11 +469,6 @@ static struct clk_regmap axg_mpll0_div = { .shift = 16, .width = 9, }, - .ssen = { - .reg_off = HHI_MPLL_CNTL, - .shift = 25, - .width = 1, - }, .misc = { .reg_off = HHI_PLL_TOP_MISC, .shift = 0, @@ -568,6 +563,11 @@ static struct clk_regmap axg_mpll2_div = { .shift = 16, .width = 9, }, + .ssen = { + .reg_off = HHI_MPLL_CNTL, + .shift = 25, + .width = 1, + }, .misc = { .reg_off = HHI_PLL_TOP_MISC, .shift = 2,