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: 14029179 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E88DE25D1E3; Tue, 25 Mar 2025 15:56:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742918198; cv=none; b=su+/C9lehEeLSgjv8UqSTHiM1Av1GkV2mRwxqOwV6p8LOZT6wjVRcK/FRXEfG6GxqxJP4Q/0eYECYgNar+3gmVJc1Q8R796SVWV7RB7N2TVpYo1q1U68cr6qZzC0yYAQJQo7GwFFHGYpc0i6G6PHfG/QPF2g+uwxzulbp0xKPDE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742918198; c=relaxed/simple; bh=KTXtnWwkPZ9dd4XF9bTY1ABrcDQk0xQphr+uv8Hqj7A=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NnDrt7GKTTcOfigecKdErYoIOQy+S9cGX22man1ghZSLs6QVkqve1uT+itO7MXJAvLTAEPXV4jDBnNV8eC9905wbn4QZVi6QPzAdVpqqoKRRfnvZhl6Xjw34g0H9EuTo4PypvMNtBGe8bBfv/OHshpXiJjA/O940vqagrF9NQjQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=ELYBToYa; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="ELYBToYa" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1742918197; x=1774454197; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KTXtnWwkPZ9dd4XF9bTY1ABrcDQk0xQphr+uv8Hqj7A=; b=ELYBToYafEe1x0mm5h8/1czsj2rSQg3RcnzkuKkdFIWBfqIcTot24l1M Jpga4WGZMqrtZpEYJep3AhS3dn4J1kN2eEbjxG28CgmkrTSUomvZrGXk7 /vm4Ab+RSj17aKpXVLwULKp938IriAGJGsaqvkU7PsY9CkTnFXhYJNSml sh5bcB8doGsrqI2xVOH88+AsEhK84BR+ANXo+gSqRzK0d1C1Se9ubT4bM Ax3K4LQFOgHW+RUxDlQrsOpbMBD/OIUAAptt378R+W6Uz0buogm79BfQP kDa+tds3kZpDyGVJfimHX4wOtU+knNoIlXroe7B51i/OMK7Ed7BEITTBW g==; 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: Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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))