From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58E7EC433E7 for ; Wed, 14 Oct 2020 14:36:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B770F212CC for ; Wed, 14 Oct 2020 14:36:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="V8CDWHXn"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="nI0bo79w" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B770F212CC Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=WzfJbhXo9YQo8JGpslNJcPXlNN8bdrA9IZXJrR61wRA=; b=V8CDWHXnOqroK+cAb6Q3P/p+/8 /JQ8m+bPz7s7l/w8p+d3ta5EB6jby9K9EwidqhLcsl2h0ykgFmTVMjaWn1LzUYuEp2ztHPYZNDMp9 YISrTCwnJAFnxAiIJp2Y4pmeK9DzH1ggxz0A2fdWwPeVVhZmBAwjzPtb0vjjX7ic/3jzT4uIk2kPK OqZcbJ6C72mxc+Q4OVZ+KEPxB2utD3AOi7pPPxIlok/Itu0D6LT9lDdDH6FHjLbyCsbfryNimH15M LBKHQiSLMh57UjaYV+FGGGeBmCtY1HYz1DT9IoVZNvWkZNgPTYNx7/qj23NdeLTUpyRVFwtHGptFt KGEk20wQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kShrd-0004ce-CX; Wed, 14 Oct 2020 14:34:49 +0000 Received: from esa1.microchip.iphmx.com ([68.232.147.91]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kShra-0004bd-82 for linux-arm-kernel@lists.infradead.org; Wed, 14 Oct 2020 14:34:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1602686085; x=1634222085; h=from:to:cc:subject:date:message-id:mime-version; bh=PWqIIrgYFnlBZctTK57JTENN4Cegf3RdR2kXRVWi9H8=; b=nI0bo79wXQZqBLVmucuZEXxHWliYeIoGYaJWspga2Udr+J8b2aYku7Gg E2MdHpmI0BeJldxPMpVHEFcd8AbKfFFKuTjTNieORQqJfbR3Cznn+a8/j 8onVrN4zF1F7RQaLFXsHXxGhDpNSzIK/5slcKdL7Zn0a0YGPUD/bHFBiM 0Ut6rtNgk9UuMQIcRa/l1BQ0MmrlqdyijM2Lj87CWYJmHtwQU6lxN79/w SG8+SbRcytRfxWrtNyCJScHW3Hy6yOrqElEvxI3MZqGh2eisX8QT9MAy+ +wGmvI0S0s4fYDGvZwBmDJZmX+Leym0L+xk5752PTCOCCzjldBcbKvDR5 Q==; IronPort-SDR: 9XJCK90DN503PC9Csqo8pNA1KBLf4tzOcntSIB46oetYQ+BPXAqKySbeV9K89Xobxux98fcxqJ GLvZ4IaiBsyOx4JwGazqyFZb6Lan4eJNPd5yAg/n1D/jT/1Ej/17MbppjEhyVhKzBdYPkiHKoa p8oLApZMMYb6bb1l3ht+Jtde2Xq2GSQGXvV4JUsHoN3oPeAi2XDcaqqc5LWS83/U3R5ShJX9ik Yr27k1dHMnj54SjvJNvJRf3pbPpAhCElwCr8iwb8NzgKxgmqbPmF/LDMyqmdEoDGS3knbKEzDA XNo= X-IronPort-AV: E=Sophos;i="5.77,375,1596524400"; d="scan'208";a="99491709" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 Oct 2020 07:34:39 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 14 Oct 2020 07:34:39 -0700 Received: from m18063-ThinkPad-T460p.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Wed, 14 Oct 2020 07:34:35 -0700 From: Claudiu Beznea To: , , , , Subject: [PATCH] clk: at91: sam9x60: support only two programmable clocks Date: Wed, 14 Oct 2020 17:34:32 +0300 Message-ID: <1602686072-28296-1-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201014_103446_424834_A5875A55 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Claudiu Beznea , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org According to datasheet (Chapter 29.16.13, PMC Programmable Clock Register) there are only two programmable clocks on SAM9X60. Fixes: 01e2113de9a5 ("clk: at91: add sam9x60 pmc driver") Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sam9x60.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c index ab6318c0589e..3c4c95603595 100644 --- a/drivers/clk/at91/sam9x60.c +++ b/drivers/clk/at91/sam9x60.c @@ -279,7 +279,7 @@ static void __init sam9x60_pmc_setup(struct device_node *np) parent_names[3] = "masterck"; parent_names[4] = "pllack_divck"; parent_names[5] = "upllck_divck"; - for (i = 0; i < 8; i++) { + for (i = 0; i < 2; i++) { char name[6]; snprintf(name, sizeof(name), "prog%d", i); -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel