From patchwork Tue Jan 26 13:34:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 8121981 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1D21A9F1C0 for ; Tue, 26 Jan 2016 13:34:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49A282025B for ; Tue, 26 Jan 2016 13:34:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C9142012D for ; Tue, 26 Jan 2016 13:34:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aO3le-0005Vw-2o; Tue, 26 Jan 2016 13:34:46 +0000 Received: from mail-lb0-x243.google.com ([2a00:1450:4010:c04::243]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aO3lR-0005GO-5K; Tue, 26 Jan 2016 13:34:33 +0000 Received: by mail-lb0-x243.google.com with SMTP id bc4so8327919lbc.0; Tue, 26 Jan 2016 05:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=zblhXvmlhEIQtYfxgfBPfhUOebifw5TNWwzXi0d4TgA=; b=ihx3gA+cUX5LqBkWriKcc6Ad595iCCT65WX2CU6TtZKDIqwh68aqJHM3ZBo839xh+E Vl7c4nRj0/lHx5m+wGAsVHWdrhiPxAAPPgca6xdl5lpXl991cXrvlYWHD9mLwv+uYsLj 7utNP83BbypLOSL/ZTWdLhUueWBIk3GmXb9CV31p3bcdgGa3Nm+tD6xhGOkbj5RzG/8C 2zzhJvUGJZNm52pLqdv9xxxMdCUg4OUTxsSLS9TzXELSX5+IqvSsv0KQLRsdw7L/9Tt4 7zrAJXhGezn+KWRZoW002B4/UDFf6Jq6EKwSkY+eeIcTg801lapA80ZF31+r4/hiC5Tm +StA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zblhXvmlhEIQtYfxgfBPfhUOebifw5TNWwzXi0d4TgA=; b=h80vM5O+SxSeCgJf770yicAeAzhfPpjhv7PK/UqE/8acRc+5LMsCGAivuPj/qmOjlN f1Kj4qVr2US8uFKBri7PBrNjddS+9uw2NrhvK6C2fD5bDXFC6sQXrsfAscLUeoLpM0u9 nJ1CoIYtsGxI6c6riwvT4VajCRIsR4P7I7bmpBXZi3nIZrcIfeh/9Ltlg7dbRWyqQLXn dSIrJIq/MZeZb710kI+5bQNUydinuHBXr3WoQ87FRt/OFFO+Z0fKOqPehE108EbpiFSr MDzz5xd2GShKCO9aNOo1vF1ThzIJhQXD23nFfU0ipv30NHYOQKS/b8rL9GtP5cayg0lp O5JQ== X-Gm-Message-State: AG10YORVjHJ69bfv6ySMhvpC7d8nT2zvydy4TFDZi4JwsJjkfDPahrWa6rXPWWPeQ7OaDA== X-Received: by 10.112.146.67 with SMTP id ta3mr8563632lbb.98.1453815250973; Tue, 26 Jan 2016 05:34:10 -0800 (PST) Received: from ubuntu.lintech.ru ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id d10sm199649lfd.11.2016.01.26.05.34.09 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jan 2016 05:34:10 -0800 (PST) From: Alexander Kochetkov To: Heiko Stuebner Subject: [PATCH] clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks Date: Tue, 26 Jan 2016 16:34:00 +0300 Message-Id: <1453815240-15354-1-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160126_053433_411954_5D2CDB7A X-CRM114-Status: GOOD ( 11.64 ) X-Spam-Score: 0.6 (/) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Kochetkov , linux-kernel@vger.kernel.org, stable@vger.kernel.org, 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-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SBL_CSS, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP hclk_cpubus needs to keep running because it is needed for devices like the rom, i2s0 or spdif to be accessible via cpu. Without that all accesses to devices (readl/writel) return wrong data. So add it to the list of critical clocks. Fixes: 78eaf6095cc763c ("clk: rockchip: disable unused clocks") Signed-off-by: Alexander Kochetkov CC: linux-clk@vger.kernel.org CC: linux-arm-kernel@lists.infradead.org CC: linux-rockchip@lists.infradead.org CC: linux-kernel@vger.kernel.org CC: stable@vger.kernel.org # 4.1.x- --- drivers/clk/rockchip/clk-rk3188.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index abb4760..fe728f8 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -718,6 +718,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { "hclk_peri", "pclk_cpu", "pclk_peri", + "hclk_cpubus" }; static void __init rk3188_common_clk_init(struct device_node *np)