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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9E89C25B08 for ; Wed, 17 Aug 2022 07:03:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5A14984948; Wed, 17 Aug 2022 09:03:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="RGTXrZEn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 286DC84948; Wed, 17 Aug 2022 09:03:33 +0200 (CEST) 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 phobos.denx.de (Postfix) with ESMTPS id 68F8B84884 for ; Wed, 17 Aug 2022 09:03:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Eugen.Hristev@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1660719809; x=1692255809; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BL5NYaPC/80Co/Ixl00h48dAt+ChbaxGFVjHj2st6Xc=; b=RGTXrZEnYsgMc8AZlTq8Gdgxi0l+u7qs4gLz89bhkjFN8R/LNdHKT+Mr UD2rstjt1PVr4bgNdjjETgQ2dJsik/hrDhhiVOW3Zf9qPftKVvFnxZaF7 4c94tFESVxgYyKWWXqxXrm6Y8u0y6zLi9y5ELvIWOkAa0dPeWeqtdqwUk yn0VgwdO5nf53QlyW3E/2FcEYxqLPQrI+FfQ3XAyW8mepFlRAE4WJ0rNO FGFzSyqp2T7Oj9zE7BoOnMKu0PlU7psiRxNR6E6u1lMRVeTtlNPD1eHP7 nYUXq2WFdkTVsIYplKqNyD0lNuC05wjYCYFq3IwyrsKhBd9X2A7F0N09P Q==; X-IronPort-AV: E=Sophos;i="5.93,242,1654585200"; d="scan'208";a="169640433" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Aug 2022 00:03:27 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 17 Aug 2022 00:03:15 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 17 Aug 2022 00:03:14 -0700 From: Eugen Hristev To: CC: , , Mihai Sain Subject: [PATCH] clk: at91: sam9x60: change parent clock from mck_pres to mck_div Date: Wed, 17 Aug 2022 10:04:11 +0300 Message-ID: <20220817070411.79100-1-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Mihai Sain ddrck and qspick should have mck_div as parent clocks to be in sync with linux driver. Signed-off-by: Mihai Sain --- drivers/clk/at91/sam9x60.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c index 4d00ee2ddc..6b5486c6c9 100644 --- a/drivers/clk/at91/sam9x60.c +++ b/drivers/clk/at91/sam9x60.c @@ -265,10 +265,10 @@ static const struct { u8 id; u8 cid; } sam9x60_systemck[] = { - { .n = "ddrck", .p = "mck_pres", .id = 2, .cid = ID_DDR, }, + { .n = "ddrck", .p = "mck_div", .id = 2, .cid = ID_DDR, }, { .n = "pck0", .p = "prog0", .id = 8, .cid = ID_PCK0, }, { .n = "pck1", .p = "prog1", .id = 9, .cid = ID_PCK1, }, - { .n = "qspick", .p = "mck_pres", .id = 19, .cid = ID_QSPI, }, + { .n = "qspick", .p = "mck_div", .id = 19, .cid = ID_QSPI, }, }; /** -- 2.25.1