From patchwork Fri Mar 4 18:26:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 12769790 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 61015C433F5 for ; Fri, 4 Mar 2022 18:27:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bbOenIsfeyAZVy20LUr2DT37W2qalEC4Ap0FYa5g9CI=; b=dvgOM1asZ4KhRl vH81/HoJRsL5LJfmLnu1WS3ncMYP6Jrdt4NiR9URVkc2nteWG93TDrItxTD0qJgqyG2e9UYa+hX1w EOcPNqWI2ggMWTPA0byopHmj5ePm1quf+0s5nI2mFmU+DbDIgEkkil8MQYZXP4CGFEzJfkUE7RFYI xGGstz/XyASMnjvVk8gZk0jEvt57knC1d6mK6ETYza8obEIjRXN6tH6qK4XbFZJdIe8nm7nDu1oVK IJy8CsnudLtSQTuuMSnRle75zyHE6e79J3tqENUI3TVVsNrKm1LE38AtMl/Og1afxF8WyY+PfENgf qW7zz9H4JD4VROUZ910w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQCdM-00BcvG-N6; Fri, 04 Mar 2022 18:26:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQCdG-00Bctl-Vz for linux-arm-kernel@lists.infradead.org; Fri, 04 Mar 2022 18:26:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646418387; x=1677954387; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=+jdzbR3flYYEH/bLSuzRzaIbwXXnCNewgaIgwzeUhWU=; b=I0vW7rBpMywVCEwam1KId6mxAvpTUjn+bEf/ZU3GYv0aM58JXlVMkdYP 3Y+JxSqJjLOt5C0ryw80lDLBzHO+y63SIpO+gNKKXtALZQdlUVl5EFTQE vzzB4Kel2YiDdW6rDuMWhyJfXP+ei0V5AIwXk0sI6LUeWj7EoHVABwvhI sqA69cA6nVg3tUMEsgQldmmu9Vy0hI1NJUNp13fBIqysVPzSXT9OkbUgH 06twKL1qSrrO4LxBVB8D4MB7m3we9UwXsgiJwB46ITqiqT5pykG8JEXCA 8RN181jIzF2goW58gb5vrs7oBUMRZ7j7kRCF/YjR3ELRmFHhRtpz6TyQQ A==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="164571070" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 11:26:26 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Mar 2022 11:26:26 -0700 Received: from rob-ult-m19940.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Mar 2022 11:26:23 -0700 From: Codrin Ciubotariu To: , , Subject: [PATCH] clk: at91: sama7g5: fix parents of PDMCs' GCLK Date: Fri, 4 Mar 2022 20:26:16 +0200 Message-ID: <20220304182616.1920392-1-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220304_102627_067502_695C896B X-CRM114-Status: UNSURE ( 9.29 ) 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: , Cc: alexandre.belloni@bootlin.com, sboyd@kernel.org, mturquette@baylibre.com, Codrin Ciubotariu , claudiu.beznea@microchip.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Audio PLL can be used as parent by the GCLKs of PDMCs. Fixes: cb783bbbcf54 ("clk: at91: sama7g5: add clock support for sama7g5") Signed-off-by: Codrin Ciubotariu Reviewed-by: Claudiu Beznea Acked-by: Nicolas Ferre --- drivers/clk/at91/sama7g5.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/at91/sama7g5.c b/drivers/clk/at91/sama7g5.c index e43458673afb..9a213ba9e58b 100644 --- a/drivers/clk/at91/sama7g5.c +++ b/drivers/clk/at91/sama7g5.c @@ -699,16 +699,16 @@ static const struct { { .n = "pdmc0_gclk", .id = 68, .r = { .max = 50000000 }, - .pp = { "syspll_divpmcck", "baudpll_divpmcck", }, - .pp_mux_table = { 5, 8, }, + .pp = { "syspll_divpmcck", "audiopll_divpmcck", }, + .pp_mux_table = { 5, 9, }, .pp_count = 2, .pp_chg_id = INT_MIN, }, { .n = "pdmc1_gclk", .id = 69, .r = { .max = 50000000, }, - .pp = { "syspll_divpmcck", "baudpll_divpmcck", }, - .pp_mux_table = { 5, 8, }, + .pp = { "syspll_divpmcck", "audiopll_divpmcck", }, + .pp_mux_table = { 5, 9, }, .pp_count = 2, .pp_chg_id = INT_MIN, },