From patchwork Thu Jun 15 09:32:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13280956 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 84585EB64D9 for ; Thu, 15 Jun 2023 09:34:10 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=WMIW8ExKUx8gkgVjVijLsK3QdIlCDIKiA+d2hNB7TeM=; b=PIXZOTad+8bhgQ Z04s2ElDmkt68oY3u7Ua4yWI1bdtKkEP6jcIMn1tpoT6LCX9zF5p2FLT0/ztWG2mEdnoKuqKNCyL5 6iLvmxBbbMFhttyWJGcl/rcIySlJz2HrkBSDkm//p0iIxleKlqHJIamx0d+QoK6vrbmKJ4TgeaAkP rt+dD8dnxaVoi4GFSWbg1+f7Yxyy/iyHgK/pGNSfUfYxYBXHg3kGRvg9Q3JVVYEblVbKPfNeA0Uvb B+StZwvwByMgieGUo1gymdqkv20IC0r+SLspHDhDvjbhPa7sC8kEizQXUf/pGa5haRgkntpFp8inE DUbQ6mRQGDmBWy1VSkJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9jMW-00EJUD-2T; Thu, 15 Jun 2023 09:33:52 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9jMU-00EJSk-0g for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2023 09:33:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1686821630; x=1718357630; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=F2rUcbIxMw3hAWM1sE5Tf/q3XRs9zuBlCuzvXhNfqkM=; b=d1F/Oy8A1EfB0Mb4nHdX0ErgOwm76aZ0XSaeBsOnGd0BiQbYBozhgbx9 BlTFya3vq2PV2IHlAqeZhsbE7Bg9zwM1llSBoVDvekRhWEHz15IpKWTXM hzgF5PlEFM5SZ410TIpwNDMXPQVnTHCb7OgvTtONhPSfbqtew0W3KIxJg PDCdVC32n6OKEfUi6RjgQlo+xwC+mZgZ8RIg7h+nBbjy+ZBVsywh05vKc l5orEnwa2OLUq0lfQf8MJE4WQhtgMt17UAU4QVNRoxjkwEjL0s3Pj6y7z b7sMy+cAni9s3Dp+4Mq8EG5wgyxdiUS5xBkB/lr6EqWcMN9OJseCvv3tl Q==; X-IronPort-AV: E=Sophos;i="6.00,244,1681196400"; d="scan'208";a="217994275" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Jun 2023 02:33:49 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Thu, 15 Jun 2023 02:33:48 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Thu, 15 Jun 2023 02:33:42 -0700 From: Claudiu Beznea To: , , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 00/11] clk: at91: add support for parent_data and parent_hw Date: Thu, 15 Jun 2023 12:32:16 +0300 Message-ID: <20230615093227.576102-1-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230615_023350_445892_835E3C02 X-CRM114-Status: GOOD ( 10.19 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Series adds support for parent data and parent_hw on AT91 clock drivers used on SAMA7G5. As the drivers are shared with other AT91 SoC at the moment the parent names support is preserved and will eventually be removed when all the AT91 SoC clock drivers will be converted to use parent_data, parent_hw. For the moment the series does the conversion for SAMA7G5. Eventually, subsequent patches will adapt the other AT91 SoC clocks. Series has been tested on SAM9X60, SAMA5D2 and SAMA7G5 SoCs. Thank you, Claudiu Beznea PS: along with this I've added patch 11/11 that fixes a typo. Claudiu Beznea (11): clk: at91: clk-main: add support for parent_data/parent_hw clk: at91: clk-generated: add support for parent_hw clk: at91: clk-master: add support for parent_hw clk: at91: clk-peripheral: add support for parent_hw clk: at91: clk-programmable: add support for parent_hw clk: at91: clk-system: add support for parent_hw clk: at91: clk-utmi: add support for parent_hw clk: at91: clk-sam9x60-pll: add support for parent_hw clk: at91: sckc: switch to parent_data/parent_hw clk: at91: sama7g5: switch to parent_hw and parent_data clk: at91: sama7g5: s/ep_chg_chg_id/ep_chg_id drivers/clk/at91/at91rm9200.c | 14 +- drivers/clk/at91/at91sam9260.c | 14 +- drivers/clk/at91/at91sam9g45.c | 16 +- drivers/clk/at91/at91sam9n12.c | 14 +- drivers/clk/at91/at91sam9rl.c | 14 +- drivers/clk/at91/at91sam9x5.c | 20 +- drivers/clk/at91/clk-generated.c | 11 +- drivers/clk/at91/clk-main.c | 32 +- drivers/clk/at91/clk-master.c | 28 +- drivers/clk/at91/clk-peripheral.c | 22 +- drivers/clk/at91/clk-programmable.c | 11 +- drivers/clk/at91/clk-sam9x60-pll.c | 17 +- drivers/clk/at91/clk-system.c | 12 +- drivers/clk/at91/clk-utmi.c | 24 +- drivers/clk/at91/dt-compat.c | 23 +- drivers/clk/at91/pmc.h | 36 +- drivers/clk/at91/sam9x60.c | 20 +- drivers/clk/at91/sama5d2.c | 20 +- drivers/clk/at91/sama5d3.c | 16 +- drivers/clk/at91/sama5d4.c | 18 +- drivers/clk/at91/sama7g5.c | 796 ++++++++++++++++------------ drivers/clk/at91/sckc.c | 75 ++- 22 files changed, 730 insertions(+), 523 deletions(-)