From patchwork Tue Mar 13 20:37:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Basehore X-Patchwork-Id: 10280717 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 93F44602C2 for ; Tue, 13 Mar 2018 20:37:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 847242842D for ; Tue, 13 Mar 2018 20:37:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7903428478; Tue, 13 Mar 2018 20:37:48 +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 25D0C2842D for ; Tue, 13 Mar 2018 20:37:47 +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: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:In-Reply-To: References:List-Owner; bh=SR7DOHJx2f73qFHQxx+FtRadPNk7Iywewqyqf/DpmPw=; b=nzx gF5ssroKdxm4g8ZralgcXImwI99TJULNYyoO5aXvfhY8sTYBWgRLsNSY5k/tu4kmjSwnIxUgzlBbn Vg9A5otk+zlRPuEpZtox7LF4gYjk+k+Q/9FajqvoyBIw4iodZbqtJRXIEwRgowjBa1DrmImkzszyM RwnEO4RQmDgUsfU3WNjBTVlDZhRXA9GhvA1boGglMCb2iBQsRIiP4qZOwdTYe8yMffuPfgwwUR9O4 NtUNh5k0einzL5cbinrPnxupwWo57amfZaJoVFi5O7d5P+BFIrwajUd9ghSr37bPv86BKtBKF1uXl SbW4aTWOpcq6IK2h5ln8O21kpkoevww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1evqg4-0003VO-5I; Tue, 13 Mar 2018 20:37:44 +0000 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1evqfy-0003Su-NJ for linux-arm-kernel@lists.infradead.org; Tue, 13 Mar 2018 20:37:40 +0000 Received: by mail-pl0-x243.google.com with SMTP id ay1-v6so484106plb.7 for ; Tue, 13 Mar 2018 13:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=cVJWnt0l4sBYgZKsrhepK/aF44+02j/I0kbyuWlJxjM=; b=Rojz/1APCZt3xlyRUoR4YnM0hoTk6Exz1G/4noDdGysZDXhyrrDg7GPSZIInHKtM3S epF7mK5AccSCsT2xqS7OAaLfDI9NTIjQU4Af0BBT6Y47f2EZYcA4olX7FaSFVVe/xj4/ 9QyiwsCmheG0HkVvQmZ1czIWjq1TPCxok4QrU= 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; bh=cVJWnt0l4sBYgZKsrhepK/aF44+02j/I0kbyuWlJxjM=; b=TNmvko5xPqKxA/VK88iSHvz8HgAoTzxCwqguHeokiRzcGdCRB1nRNYM12DjDwumCdL 9fHQGkNVIZN1Dbyg9zWQ3oZ144rYuzdSpttFixbshW3kul3eMcHcnOkNmKohTtls8pNF MW7FkGh/6Cv9sFOmvdLr8y7+SqdMHrB3MlGg+02pQBA6vWSyXp+Cc6h6cmsYVN5shFzh QPW+t4w6T4kT+T1gUXd2E37uV1erWe4DDJivoM3wWrBb0LcrHFrR4DRQFeuau6xhFYZW JECOVDOTnMQTnc3C+pmADibNY94seWmJZ5U89WpMDPh7+rXNP9IR+lQShf8VLKttzCWK L5UA== X-Gm-Message-State: AElRT7H3f31boUi/x0Yf7yLBkGDSntiuaQ4i/rY7WmmH8sst8nzqId93 tfOOnviPzwL8u9WDjwx5Md2zcA== X-Google-Smtp-Source: AG47ELsEM95HVHwNq+p2c1anWvUY0qT65ambW/+Gh/wd5GNyufDGuPIepq0Gsd6PAZeopbqaaAj68w== X-Received: by 2002:a17:902:146:: with SMTP id 64-v6mr1728191plb.30.1520973447561; Tue, 13 Mar 2018 13:37:27 -0700 (PDT) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1501:f407:8d12:c205:7153]) by smtp.gmail.com with ESMTPSA id c14sm1442846pfn.185.2018.03.13.13.37.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 13:37:26 -0700 (PDT) From: Derek Basehore To: linux-kernel@vger.kernel.org Subject: [PATCH] clk: rockchip: Add 1.6GHz PLL rate Date: Tue, 13 Mar 2018 13:37:19 -0700 Message-Id: <20180313203719.75639-1-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.2.660.g709887971b-goog X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180313_133738_804792_357917B5 X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: heiko@sntech.de, sboyd@kernel.org, mturquette@baylibre.com, Derek Basehore , linux-rockchip@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We need this rate to generate 100, 200, and 228.57MHz from the same PLL. 228.57MHz is useful for a pixel clock when the VPLL is used for and external display. Signed-off-by: Derek Basehore Reviewed-by: Douglas Anderson --- drivers/clk/rockchip/clk-rk3399.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index 6847120b61cd..3e57c6eef93d 100644 --- a/drivers/clk/rockchip/clk-rk3399.c +++ b/drivers/clk/rockchip/clk-rk3399.c @@ -57,6 +57,7 @@ static struct rockchip_pll_rate_table rk3399_pll_rates[] = { RK3036_PLL_RATE(1656000000, 1, 69, 1, 1, 1, 0), RK3036_PLL_RATE(1632000000, 1, 68, 1, 1, 1, 0), RK3036_PLL_RATE(1608000000, 1, 67, 1, 1, 1, 0), + RK3036_PLL_RATE(1600000000, 3, 200, 1, 1, 1, 0), RK3036_PLL_RATE(1584000000, 1, 66, 1, 1, 1, 0), RK3036_PLL_RATE(1560000000, 1, 65, 1, 1, 1, 0), RK3036_PLL_RATE(1536000000, 1, 64, 1, 1, 1, 0),