From patchwork Tue Mar 25 15:55:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 14029289 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 C169EC3600D for ; Tue, 25 Mar 2025 17:08:57 +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=QTH4+Qu8mzE3nigh+Hc+2hs2BRmGJrZ6OxBXPuOBzsM=; b=I/8Q/tneCshU1HwnuPGlivIGm/ cG3yv/MwCcmmdd+z3VmFFenCChCw/BCTF7euf80u/Vciuv2/oBHBMAf9PWdhIhwXss8tmM1lNnAe3 rlGfkYVH6p5kpyfs7P60jh1LD8KPbkrewB+S1hyWnesNkCNAns56Xa1TtRYlFTznz1gqOM/aDmU5Z Uofb08Z4dVWWYwa054ZxY43bUHY35iJOdUy81C8FGf+mLHCRCgGI6yldLe8mzVfUa+v4Xb75Qxe7D lnN4f69SK/aWhadqj2NEBSf6KYftsI2IEzwRrGTUEvUR2ZM+XWNHcdAcmJHIP7/YTPqth8zKVvLu5 F7SgC1pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.1 #2 (Red Hat Linux)) id 1tx7ld-00000006Zer-2uL1; Tue, 25 Mar 2025 17:08:45 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.98.1 #2 (Red Hat Linux)) id 1tx6cj-00000006Ohq-3izv for linux-arm-kernel@lists.infradead.org; Tue, 25 Mar 2025 15:55:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1742918129; x=1774454129; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KTXtnWwkPZ9dd4XF9bTY1ABrcDQk0xQphr+uv8Hqj7A=; b=jkFCt3h92hfldkUTWroQfXJ8IBzLd2JI3EDx6eTrOD4pZ6tVR9jR6jlH k/xv/V8a0S7/fBNMKvOxlfObjcM799jpXCETMAbPTD8b6aQj7QYSjS+xg spwclTpQMG58PaUDdO5fjPtzN4XaBwH7WQwu35G2nh79z0Q9SiTS3GFog oVA9GGobwi79KzcDCDlwHkiWB4Ymu7aUt/6bMvsqLITRbkoGBV20bJzce GsAObQ/9XTINUb90VD6pYn4f3R+hpl0J/9V16pWZ2OH/X3as68SxXqr2t 95960u0DfDrieGc9lSzkgxbfp8TrqUtS+4CEZuzKbjgy2M9fKe1Td4Lld A==; X-CSE-ConnectionGUID: 5ZRRXf5LQVCIU2dRAgtdWw== X-CSE-MsgGUID: J3K9ZU4iQeaA5GTgDrFq0Q== X-IronPort-AV: E=Sophos;i="6.14,275,1736838000"; d="scan'208";a="40152234" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 25 Mar 2025 08:55:25 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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.2507.44; Tue, 25 Mar 2025 08:54:54 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.44 via Frontend Transport; Tue, 25 Mar 2025 08:54:53 -0700 From: To: , , , , , , CC: , , , , , Ryan Wanner Subject: [PATCH v2 3/4] clk: at91: sama7g5: Add missing clk_hw to parent_data Date: Tue, 25 Mar 2025 08:55:09 -0700 Message-ID: <690cf499758c10ad5f70df3f0d238b8a7834a971.1742916867.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-20250325_085529_988778_CCEEDA5C X-CRM114-Status: GOOD ( 10.02 ) 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 The main_xtal clk_hw struct is not passed into parent_data.hw causing an issue with main_osc parent. Passing the main_xtal struct into the parent_data struct will ensure the correct parent structure. Signed-off-by: Ryan Wanner --- drivers/clk/at91/sama7g5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/at91/sama7g5.c b/drivers/clk/at91/sama7g5.c index 8385badc1c70..ac51d006ba99 100644 --- a/drivers/clk/at91/sama7g5.c +++ b/drivers/clk/at91/sama7g5.c @@ -1017,6 +1017,7 @@ static void __init sama7g5_pmc_setup(struct device_node *np) parent_data.name = main_xtal_name; parent_data.fw_name = main_xtal_name; + parent_data.hw = main_xtal_hw; main_osc_hw = at91_clk_register_main_osc(regmap, "main_osc", NULL, &parent_data, bypass); if (IS_ERR(main_osc_hw))