From patchwork Wed Apr 3 15:14:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 10883997 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 93E0B1390 for ; Wed, 3 Apr 2019 15:14:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A23928965 for ; Wed, 3 Apr 2019 15:14:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E07A28985; Wed, 3 Apr 2019 15:14:28 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 DD95228965 for ; Wed, 3 Apr 2019 15:14:27 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=SassSuI9OMhej+3D+oBp1uVEH1pmSuafmcMsaiAwVtY=; b=Ekj9T/ZR9+w61E W2ow3ttxLhmkS36+FxHfefDp3kIQRZzph55clvh375vnpEvIj+RD2UNDvdiiSazNlkfaJ7+I7GYlG FxOHdEiJPUcROskYx5s1wcKCtJOJNQonM/ClmHnZqF6YBO9ny0q87rP+UpQRDzrGFCWhqNiFRbyKE 8b8dGA32lC2Pty/PDEQ9lqL1992Z4aoBIqX9/xLvWCaIgSXrOagG1Vwiy6GMBRzq5MDwXAiPipldx OZFLD+ndN/saB3oGQKEYr5HQuoDBoPOqzNjnq1ecGwNF50PeUL2XH5hYQ3SsuQKNVheq7/vDaxUYG 3N6WjQGXsY30XfcLQmHA==; 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 1hBhan-00045V-0f; Wed, 03 Apr 2019 15:14:21 +0000 Received: from mailoutvs33.siol.net ([185.57.226.224] helo=mail.siol.net) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBhaj-00044J-Om for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2019 15:14:19 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id A21945228C2; Wed, 3 Apr 2019 17:14:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta09.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta09.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id qR1CkoV3zC6F; Wed, 3 Apr 2019 17:14:12 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 3E3E452298E; Wed, 3 Apr 2019 17:14:12 +0200 (CEST) Received: from localhost.localdomain (cpe-86-58-52-202.static.triera.net [86.58.52.202]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id E19E25228C2; Wed, 3 Apr 2019 17:14:11 +0200 (CEST) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH v2 0/2] clk: sunxi-ng: H6 related clock fixes Date: Wed, 3 Apr 2019 17:14:02 +0200 Message-Id: <20190403151404.26542-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190403_081418_021750_06CE9DA9 X-CRM114-Status: UNSURE ( 6.80 ) X-CRM114-Notice: Please train this message. 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: jernej.skrabec@siol.net, sboyd@kernel.org, mturquette@baylibre.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 During linux-next testing on Allwinner H6, I found several issues with clock driver. This patch series fixes them. Patch 1 allows video and vpu related clocks to set parent rate. Patch 2 adds a comment with short explanation why zero width check is needed. Please take a look. Best regards, Jernej Changes from v1: - removed already applied patches - fixed commit message - added new patch which adds comment with explanation why zero width check is needed Jernej Skrabec (2): clk: sunxi-ng: h6: Allow video & vpu clocks to change parent rate clk: sunxi-ng: nkmp: Explain why zero width check is needed drivers/clk/sunxi-ng/ccu-sun50i-h6.c | 6 +++--- drivers/clk/sunxi-ng/ccu_nkmp.c | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-)