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: 10280715 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 35874602C2 for ; Tue, 13 Mar 2018 20:37:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27FE52842D for ; Tue, 13 Mar 2018 20:37:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BF6E28478; Tue, 13 Mar 2018 20:37:47 +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 A8A662842D for ; Tue, 13 Mar 2018 20:37:46 +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=Y7lCle/uKLfLcz9tNtMOxhGg7AxPL6kRlrQ0ckF6B8M=; b=Uf0 n6EP7zuXM/I4fh++l2fsDDiziHjglW26lsft6VhVWnBsVwqdJA61Kef7MUw1SBmM065awxG7ESv9o ceH1ZrtqiRvQWb2rdg/88aY7KXGxPUetpcD+94XlIQMb0hMoivxiI5/vPxIyPs+c9IKIsAjRhOgVW b8HlKqx2+Hw/xSpFybxvFrV8MVkGI9NiHnOF1Hk5l7+rC6bMikiQTjJGig5qHWfRlcHwmftNZ5J5K qZ7dYeHuH5hNf4HoIe+EaGVXkiSXp0YlHY3hS8orYxh6R7Rxm9aHLDNExsSU2i3Gz3oqtMywp5pND d3P7WcbI3TFahqvR/TJptIxtNvh2T9w==; 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 1evqg2-0003V1-Px; Tue, 13 Mar 2018 20:37:42 +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-0003Sv-NF for linux-rockchip@lists.infradead.org; Tue, 13 Mar 2018 20:37:40 +0000 Received: by mail-pl0-x243.google.com with SMTP id c11-v6so493581plo.0 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=MsZ1GciAbNHXvGoH1fACCyOBZIyKPKzfDjcsqEH6ySzsnTDx27TV/8lo1MERuNUY+1 iTq7oLb+Kw4ICvxIdB7kbC1ha2kUt3et3GS6ze4CPWIQKGxXxKmccemwfAb15TuepY3B 5t300YqEnKy4/2+3zIDpI1SqC+Y6kskKkWxYqv2k6F6dWElUacHiloXIQmfSBAFvAsf5 ITVFd0NrEWclB/HSbbuOGjS5kAZo+NziV+Nw0Ct//T7mIo2EKZHFTeQqzQ8wDMdpZpGh KeWYo/0UwO4ABbV3Atehoo2HCJctj+Lx3PInSZcEZMAhvyrmFuIK2DyBk6X9Vk2+LHD/ If1w== X-Gm-Message-State: AElRT7FoE+cm1MlZHHgOf8sodf/L8rEVoOfj2mytGyv+xnjyHtw5ebF2 go/ncHqglBQvtEYt64llprxeGQ== 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_789868_1ADC2AA8 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms 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-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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),