From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74E80C388F2 for ; Fri, 6 Nov 2020 09:47:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E3CC620B80 for ; Fri, 6 Nov 2020 09:47:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Y6Jk2S5f"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="o9NMUIlo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3CC620B80 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=PnAAeAErwwYwjvNjH9i6SmO6WRB501coQbuP/9znHuo=; b=Y6Jk2S5fsSW4A2eenD4OPCBQF wFA9s1T/dgDHB+nAsoi0ieIkSMtfDx02HAZtGIWbNbi+mfago2W0GAIXOUBMY2zib5CIrz+eAAejk wBjgPRHF3HAjAWaHTXP8Bv/Bhs9CA8jhAFnn8AAW/dY6Waodh7mgFRrxL4Xnvf3o4AxIoWN6uNlYr xdnFub9eswOPzAWJx58agjoW6DxmZ7LS4jAyZFoLjT1F504hVLvV/cOkraq3t0MMX+gqimltdcM4r rjNIqbCcWe0UJ7MlKjfABK8UjHssXMnEKu5AWR5/T/Hsgu2K2mlIxLEN3LvArVCejsu6e9vlm9ICp BilAFkMPw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kayKk-0005sF-TJ; Fri, 06 Nov 2020 09:47:03 +0000 Received: from esa6.microchip.iphmx.com ([216.71.154.253]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kayKd-0005ny-I9 for linux-arm-kernel@lists.infradead.org; Fri, 06 Nov 2020 09:46:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1604656015; x=1636192015; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=5kPPY8aoeoIt3eWzwt2rrqZVySb3GOzC6e0UsowoKcY=; b=o9NMUIlodD9cMR1VHKyxpiSB1YlUDiz/e0qYv8duq6JyIEMzrPBXAJax oK5mxwxTPHPK/gog/D1AH1sqZBEuQyB8jvt6+l5xZvJ9oc0XxIwUw5P/C w64ySpxkXsE7wzin1yxhCv7G2dSyNU++XGdHerSBoVET44GM76FsZs0rT I7JTrcK2hkfyurzI1cQoD92KbvkZPAX/RcvalyHN5917Jlhm+6hcpT5zB uaVZo/AG970kRdahW4ms7O10kmDCETpELsrhMOmzj9F2ed5haJyJim//I YosPm9KcA3kJ/zJi2dNxpDpGSa9UeC6PPGLBpS5VTujrqbV/Pn2ZAWQfD w==; IronPort-SDR: o4An7FiQKzvpe73fhd6q8JTQgB6X1YnYKGsZWnvCD8+KHR9BAqm99K9HoUK6AS5mu4DT0MFwlX xRyrOAdn6i3HARh1n+KqiyfIFF4gS3z/LyxwBBU2ed/WjF9kQeLzMa/KVlvPa7wChY5a7h9lOf SbTv+/H28jNY0F5hx9MRAhhABsLmg9f+jTLtsWzV4qUmLg6Yq1ieNfUu7L5+Sbyyx9ieJe0rLC JN1M1wOLmnihOPC0Ab7YD/VxnUL5RJdgmqhMqJ1SPoxkMr8ibWPi+xKXuFsTthl/d134xruvJf xrY= X-IronPort-AV: E=Sophos;i="5.77,456,1596524400"; d="scan'208";a="32680412" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 06 Nov 2020 02:46:53 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Fri, 6 Nov 2020 02:46:53 -0700 Received: from m18063-ThinkPad-T460p.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Fri, 6 Nov 2020 02:46:48 -0700 From: Claudiu Beznea To: , , , , , Subject: [PATCH v4 03/11] clk: at91: sama7g5: allow SYS and CPU PLLs to be exported and referenced in DT Date: Fri, 6 Nov 2020 11:46:20 +0200 Message-ID: <1604655988-353-4-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1604655988-353-1-git-send-email-claudiu.beznea@microchip.com> References: <1604655988-353-1-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_044655_760336_6454B53F X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, eugen.hristev@microchip.com, Claudiu Beznea , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Eugen Hristev Allow SYSPLL and CPUPLL to be referenced as a PMC_TYPE_CORE clock from phandle in DT. Suggested-by: Claudiu Beznea Signed-off-by: Eugen Hristev [claudiu.beznea@microchip.com: adapt commit message, add CPU PLL] Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sama7g5.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/at91/sama7g5.c b/drivers/clk/at91/sama7g5.c index 7ef7963126b6..d3c3469d47d9 100644 --- a/drivers/clk/at91/sama7g5.c +++ b/drivers/clk/at91/sama7g5.c @@ -117,7 +117,8 @@ static const struct { .p = "cpupll_fracck", .l = &pll_layout_divpmc, .t = PLL_TYPE_DIV, - .c = 1, }, + .c = 1, + .eid = PMC_CPUPLL, }, }, [PLL_ID_SYS] = { @@ -131,7 +132,8 @@ static const struct { .p = "syspll_fracck", .l = &pll_layout_divpmc, .t = PLL_TYPE_DIV, - .c = 1, }, + .c = 1, + .eid = PMC_SYSPLL, }, }, [PLL_ID_DDR] = { -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel