From patchwork Thu Aug 29 16:42:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 13783424 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33148C87FC3 for ; Thu, 29 Aug 2024 16:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uH6YJyPrz1Bjm/JsO1vOtPksfh3owRn+8vTB8aGKCnI=; b=rdmDgypr+V9RB10dhEE81QgKNu O8nq0+N+Gab8+JmmsawgE8DhcmU6ouqRkxCFfphI9DA+LzH87ywiJ++Rt08ZBiaroRkuuUm+8F0ZC AYek5sJOcocB7Yq/FfGFJVQJUBJohJmZTnUqtTaoyVfWjEEresscFOIQdwz1VTXI3dhBcW6t7I5oy N3v5rjh9e7aXv9ReR2tDlg0e8uAgAoQU2VbtRiwqrfe1QU4IJAen8G0QNo0Er7K8aRieP/cGKxbXV wtZXKUTlOTaMZfdK4lNlapSM1ON0VVnVbOvZxXfY/6/+WGp9zcwkletpwznxYtBkMEFRQ7imqCjrw i137RIdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjiHa-00000002svU-25Pd; Thu, 29 Aug 2024 16:46:02 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjiFO-00000002sMr-04zQ for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2024 16:43:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1724949825; x=1756485825; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xmyur0FkYgY5gh9dMIyysY3g10OJ0MeyuI9J1sVCvMk=; b=psehgTvaoiJWFUsRYMky/mC5Wr8GTAUpResb5tbBd8mTz9lLP+GO3aQz NzUS5P0LwxPsBx9u/P9595OjXZUTzPwJV9JpT92imTZ5IRaJNrxugZoCK UeltyKa3M8NoUZODEgbtVH+CgJRwLhAGwYlwJzvWJF5T5cMYagVUe/Hpb GH119LaB9LntgczMtPhLEFTOaXPOvY/st2a0jGZ5VO4J9soBUzJEwHY11 56Mii+WjtPGUbm/2nUXvEXC/X6vhteSMDG2obDE7bzgDD7oQEptjc1WJD 5eR5g1Uh1jfca/cMwMSaGBOH9yEa9NZ6feJQ/npU1Gg5kMR3uwdhaG+0X g==; X-CSE-ConnectionGUID: lTG1XX2gTL2f2PJAf78vQA== X-CSE-MsgGUID: uRg0VkoQRKmHonahkydx9Q== X-IronPort-AV: E=Sophos;i="6.10,186,1719903600"; d="scan'208";a="30998143" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 29 Aug 2024 09:43:41 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 29 Aug 2024 09:42:52 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 29 Aug 2024 09:42:51 -0700 From: To: , , , , CC: , , , Ryan Wanner Subject: [PATCH 2/3] clk: at91: clk-master: increase maximum number of clocks Date: Thu, 29 Aug 2024 09:42:26 -0700 Message-ID: <677567f08ae588bdd9f919c6501c23be075c0efb.1724948760.git.Ryan.Wanner@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_094346_150565_283B7596 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Ryan Wanner Increase maximum number of vaild master clocks. The PMC for the SAMA7D65 requires 9 master clocks. Signed-off-by: Ryan Wanner --- drivers/clk/at91/clk-master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/at91/clk-master.c b/drivers/clk/at91/clk-master.c index 15c46489ba85..7a544e429d34 100644 --- a/drivers/clk/at91/clk-master.c +++ b/drivers/clk/at91/clk-master.c @@ -20,7 +20,7 @@ #define PMC_MCR_CSS_SHIFT (16) -#define MASTER_MAX_ID 4 +#define MASTER_MAX_ID 9 #define to_clk_master(hw) container_of(hw, struct clk_master, hw)