From patchwork Tue Mar 25 15:55:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 14029178 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 44BDE25BAD6; Tue, 25 Mar 2025 15:56:34 +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=1742918197; cv=none; b=tDafu9nrizUaNJfEDI2UidJxdp7Qwr9rDZmzc39LHKNc5xiBJb9xtemRxr9Dbzkf1pTYKSy0oLe3TmKQKPAo/18l+kG0z+o7JcIBiFxhmM17Ah70dP8jTlGV0fSRKkeMmNB1xJtk77qgil0dQ9zch19oJYIxpSGNs0K9IHsZRGs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742918197; c=relaxed/simple; bh=DTPKEilYj2VhkyykiftQQRsvTuB6aohlC1zkwJ93OZg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fjt2zet+8VhuXlqvPo5C5xM+POSR+bcNYwFwsS+xqE1F1wBe42d0Fej3y5MiVl7X80gK60NUFKTPZMryU5F8P+IFb7/B+32FrPG9fzzJs784IJ9IEHq8H0XIIcjf1OTFuqwi1VKSJg0JKFX0jEYTpQWxakonKshwwnYXkg0XaHE= 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=FIA/fD/Z; 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="FIA/fD/Z" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1742918196; x=1774454196; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DTPKEilYj2VhkyykiftQQRsvTuB6aohlC1zkwJ93OZg=; b=FIA/fD/ZHWv43eFW8mASwKyb3h3h/yDI4g6iEVRuFI1EXkFdGgDZv8mh lQksjwIgno6NdJnoA5B/WHapQYAyQIcerHDIuDJG5Tuf3UesiD10hlo+2 d7HXE8oWYrYa3Vt3jJ168lP8ZY7+OrxqvmeBhkbcSUL1w/8eJeaL+qzG5 pfplONHzMJvRGHpR99qTZFA4z/0A/wwvoueatu8C1sCiDCwjTVzUZNB5m l5KSZeK8hBUNnlkJwogCm6jjK+LFsviwUsX9uYW6/BTw+d6Axzv/gcvc1 2HwQTIpf6ubazHiy4GJW/T29n+30eONX9jaH32uEu+INNNQgeHz7HJbgl A==; X-CSE-ConnectionGUID: 5ZRRXf5LQVCIU2dRAgtdWw== X-CSE-MsgGUID: IvE5j8eqQ8es0vuP6d6DeA== X-IronPort-AV: E=Sophos;i="6.14,275,1736838000"; d="scan'208";a="40152232" 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:24 -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:53 -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 2/4] clk: at91: sama7d65: Add missing clk_hw to parent_data Date: Tue, 25 Mar 2025 08:55:08 -0700 Message-ID: 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/sama7d65.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/at91/sama7d65.c b/drivers/clk/at91/sama7d65.c index a5d40df8b2f2..08306261c9c7 100644 --- a/drivers/clk/at91/sama7d65.c +++ b/drivers/clk/at91/sama7d65.c @@ -1138,6 +1138,7 @@ static void __init sama7d65_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))