From patchwork Mon Feb 19 11:21:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10227501 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A2AAC60392 for ; Mon, 19 Feb 2018 11:22:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9591D289D5 for ; Mon, 19 Feb 2018 11:22:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A222289E4; Mon, 19 Feb 2018 11:22:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 05CB4289D5 for ; Mon, 19 Feb 2018 11:22:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=lTw1h4y4Qpq2cYB9U8+N/UsquD7don+H78qe4sTKvdQ=; b=Qp1HEEyCoinhXhnUBmusc4B4r6 WeXEsY/c4aJO7zG/fT1R7icrUK3gYZBtg6NqXQRb39GR+AvDjo1P3iORoUOnExNzUa0XUTQUxswIy 7f5rxaQTQEe5vXJzGRc/66TseDEh6y6aGx4XS0qOOw1IhDuNRbjmfe8pnOG43sjttJii4ZQOryxOZ S7WVz4pYCTL3B8UZVqHdI0486TWqqV/ZUyY8RAn8F394ARY+t4ATjFJtlMBqU2IQjoenRUgx6DO5X t0B8UGH6sam9UtTlmks2wdIo1q+ta+HZK6vNZBCigz8EJY2hVp4wsOAwUgOXDgcur+6Nxhnlp4Y91 0ouv4uxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1enjWP-0003dk-NX; Mon, 19 Feb 2018 11:22:13 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1enjWG-0003Ws-3A for linux-amlogic@lists.infradead.org; Mon, 19 Feb 2018 11:22:08 +0000 Received: by mail-wm0-x241.google.com with SMTP id v71so14368034wmv.2 for ; Mon, 19 Feb 2018 03:21:53 -0800 (PST) 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; bh=MyNt/3Qxs74CgOy+7vlHaumuku+LELldP4aozIzKgx8=; b=aIcwhjnIS2r2zvta4g63h1hrrpD3+/AZowqkqBzISjMm8zKm7/qrxAvzDxdxXSkQXx 6MrXXtwIW82qr+DtcNix8K+KUwuPIyazKBIJ8NLyIOjcvYYuTarBF2SYvjnIbPJwfEt5 Ef3e88cVpoPtUUiRMCya3rzKzx42DTBtJy5ZixNYLbIRNhgw26mExtUkxELFoIXILX2l o4SCwNgWmaRsE+65ioJgZ5TY5dV5YhCC7+0etwAuFKIPYQ3XsnKWHxfUvtzxu5wTzr6N heUbodXyu7Ud5zi9PyHc+hCi3uRG2c5a2fqLK+hb1ySS5VyyO6v0Md2TEgbSXvusaO7x 4r8g== 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=MyNt/3Qxs74CgOy+7vlHaumuku+LELldP4aozIzKgx8=; b=T8bomKsFYVyB/HTul+YXil6UzYa6vsJfYlN1oH0qyfAwQDz+uU1+mcyLv3hI3DQohP wnBX7qxl8eMPtI6B0JWfhuemzEHpxEvdJ92nx64Mvu3AriKq/+TMzTXA2eFjOvMF70ml GECvYibvVFtwNj6LMzOxhggIvHertHSxGWTyHdoVkMXRCi0YdkS3Kx35iq8IlXP9BcZ8 6KyVDQeGi3QE/Kk2rcVZd2w7Wde1vgG4m/Z+pRZqK1V2wntP/JoghQ5qeUccpaPVDrIk j89QjrcY8X+9fjGV/dC4pEEuVwHiiLH63hCsAQEShl/p0P6iC3fej/dsGcQTubNJ5Grl 8TFw== X-Gm-Message-State: APf1xPBVXqaunj4U/G/lb9fQkUs6XLOH67OJW344vmrE6aSEflOYUumf YPP08oZarNJEH6kSF0ve58Ykqg== X-Google-Smtp-Source: AH8x225JXgQYFSrgWA0d290PalPpvaMvGqpZN2RxJYR5f+1vEMmy0xrb0wF6FkW+nnNDjGOlD5MbZA== X-Received: by 10.28.34.4 with SMTP id i4mr3579148wmi.157.1519039312104; Mon, 19 Feb 2018 03:21:52 -0800 (PST) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id n20sm8933978wrg.84.2018.02.19.03.21.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2018 03:21:51 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Kevin Hilman Subject: [PATCH 01/11] clk: meson: add fractional part of meson8b fixed_pll Date: Mon, 19 Feb 2018 12:21:36 +0100 Message-Id: <20180219112146.21746-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180219112146.21746-1-jbrunet@baylibre.com> References: <20180219112146.21746-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180219_032204_250427_3BBF1EF7 X-CRM114-Status: UNSURE ( 9.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, Carlo Caione , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the missing frac parameter to the meson8b fixed_pll. It seems to be always on this platform, so the rate remains unchanged Signed-off-by: Jerome Brunet --- drivers/clk/meson/meson8b.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c index ea73b5de9672..62c54a75a1d2 100644 --- a/drivers/clk/meson/meson8b.c +++ b/drivers/clk/meson/meson8b.c @@ -125,6 +125,11 @@ static struct clk_regmap meson8b_fixed_pll = { .shift = 16, .width = 2, }, + .frac = { + .reg_off = HHI_MPLL_CNTL2, + .shift = 0, + .width = 12, + }, .l = { .reg_off = HHI_MPLL_CNTL, .shift = 31,