From patchwork Thu Jul 27 05:31:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu X-Patchwork-Id: 13328739 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 A9388EB64DD for ; Thu, 27 Jul 2023 05:33:06 +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=0No3CIOJGX3x5mp3YDRP2CZmp3jhHQK4rZC8U31BV9w=; b=1A8Du0bKek8gGl ptIihrDHrOTMnnoNUbLgjXV64k95IWHOuAlzZl/H65+G/NTleq6A0QqteSn+sbsmMX7+/L21nyjkb Rm7G8VNnFN70/DcCoWQKT36z0MwWNBFzf9yH/SfGg8FaVHEyBHD4MAa0VB4Q5Hs7cD8RK8iTLNSc0 L6zpzdsdF6LrgwSRCOBpI6I+oHZaR72CocoARIqSZRn4MY7oFOIPyByksroTQXngeUE9+oYmklxQ7 xUGt0x0FwuF4v/cTV4BzKYCFS7wqCJa81MEkgrmL7u+qHS9uXtXeOdaQcnNstDulrMmAd3jEpwrIc LmHJyxxIMw0zHOokBH8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qOtc5-00CBbv-1b; Thu, 27 Jul 2023 05:32:37 +0000 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qOtc2-00CBb5-0x for linux-arm-kernel@lists.infradead.org; Thu, 27 Jul 2023 05:32:36 +0000 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-55ba895d457so306476a12.0 for ; Wed, 26 Jul 2023 22:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1690435950; x=1691040750; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KUys1cDp/2h7CG55/Ytj4NCRarR8kFAc8HIBwQgZbvA=; b=V0hWqsPPDiPMT83R1pVfVCMYSrBLqz6mc6EmFuwO1yCN/iNQXE1//W7WibzJPN9xRF j89axna4imoV+P9Ciz31Ax/8HEG8TRDt11HxGIU4+7WOtcIhyiYNmUHeGAGlpYzk+zTM 2RMn5LAbKbUOUapiC9PLwlCbTJn75OltqI1svRLv284ezFzAJlgdQWtlxxDDUl6ck4HI TPcoOctqsFpUkTvRCAgXtu8jRX3UBZ6UzwT8DiSV4GpvO28Tu1LAfMzB61/NweQTMgkh CPV6EZLjSvbSs+mUCmok0UrUtzL5376P2FIqKmlHFyVZQwa6L6djZbXvQNB2SYuVd2bf m9fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690435950; x=1691040750; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KUys1cDp/2h7CG55/Ytj4NCRarR8kFAc8HIBwQgZbvA=; b=OyPC61qbKm3bW8tGT74lFvsLu0HwG0mUV8gC73XSvtvx0tpJX9FutoF9eDBzh4oLtr KKQMUrs/peZZM7cZ70POAY9pi3C+P0ocgMsCO1P0Ou5VhMbZgzdqgXicQGRM3F2frL75 zdiU/YgYuhdKxSGfL6osZI1Wwjm9OR55ayrBRL50aky+5qPKVHgDUg7GwHMvQAdCLup7 N1cjstybmUNeblsb7veQdY/vQ4uBifnL0ZSBCi19j6a8j4ApZuIvkNfQlDNrA1dSVoI9 xS99wLsx1tu+04V6791EXBfOHkRYUntIEZeKqc6xDksUfMxPo7rA7sa0JGa4iao/di1s 37OQ== X-Gm-Message-State: ABy/qLbzDuYAoq+D1RzgubE1I8VMBbv+v6dmEGYqKpBkVq0jHELy0hvc E4FKvEXNwv4TJoGoddWCIsTiDw== X-Google-Smtp-Source: APBJJlGE9hhTvh6wkyKNJHhZ7YJNkDle/Tksp17wSJxgHShpBSYKh+2gLuxRxwhUauESUzKZfUPPrg== X-Received: by 2002:a05:6a20:b70a:b0:132:87ab:42d5 with SMTP id fg10-20020a056a20b70a00b0013287ab42d5mr3296876pzb.35.1690435949763; Wed, 26 Jul 2023 22:32:29 -0700 (PDT) Received: from localhost.localdomain ([82.78.167.79]) by smtp.gmail.com with ESMTPSA id 21-20020a170902c11500b001bb889530adsm319059pli.217.2023.07.26.22.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 22:32:29 -0700 (PDT) From: Claudiu Beznea To: mturquette@baylibre.com, sboyd@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, mripard@kernel.org Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, varshini.rajendran@microchip.com, Claudiu Beznea Subject: [PATCH 00/42] clk: at91: add support for parent_data and parent_hw (take #2) Date: Thu, 27 Jul 2023 08:31:14 +0300 Message-Id: <20230727053156.13587-1-claudiu.beznea@tuxon.dev> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230726_223234_680326_24EF6767 X-CRM114-Status: GOOD ( 10.35 ) 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 Series adds support for parent data and parent_hw on the remaining AT91 clock drivers. Along with it a fix for SAMA7G5 has been introduced (patch 1/42). Series has been tested on SAM9X60 and SAMA5D2 SoCs. Thank you, Claudiu Beznea Claudiu Beznea (42): clk: at91: sama7g5: check __clk_get_hw() argument for errors clk: at91: clk-usb: add support for parent_hw clk: at91: sam9x60: switch to parent_hw and parent_data clk: at91: sam9x60: make checkpatch.pl happy clk: at91: clk-pll: add support for parent_hw clk: at91: clk-audio-pll: add support for parent_hw clk: at91: clk-plldiv: add support for parent_hw clk: at91: clk-h32mx: add support for parent_hw clk: at91: clk-i2s-mux: add support for parent_hw clk: at91: sama5d2: switch to parent_hw and parent_data clk: at91: clk-smd: add support for parent_hw clk: at91: sama5d3: switch to parent_hw and parent_data clk: at91: sama5d3: make checkpatch.pl happy clk: at91: sama5d4: switch to parent_hw and parent_data clk: at91: at91sam9x5: switch to parent_hw and parent_data clk: at91: at91rm9200: switch to parent_hw and parent_data clk: at91: at91rm9200: fix checkpatch.pl check clk: at91: at91rm9200: fix checkpatch.pl check clk: at91: clk-slow: add support for parent_hw clk: at91: at91sam9260: switch to parent_hw and parent_data clk: at91: at91sam9g45: switch to parent_hw and parent_data clk: at91: at91sam9g45: fix checkpatch.pl check clk: at91: at91sam9n12: switch to parent_hw and parent_data clk: at91: at91sam9n12: remove checkpatch.pl checks clk: at91: at91sam9rl: switch to parent_hw clk: at91: dt-compat: switch to parent_hw and parent_data clk: at91: clk-audio-pll: remove parent_names support clk: at91: clk-generated: remove parent_names support clk: at91: clk-h32mx: remove parent_names support clk: at91: clk-i2s-mux: remove parent_names support clk: at91: clk-main: remove parent_names support clk: at91: clk-master: remove parent_names support clk: at91: clk-peripheral: remove parent_names support clk: at91: clk-pll: remove parent_names support clk: at91: clk-plldiv: remove parent_names support clk: at91: clk-programmable: remove parent_names support clk: at91: clk-sam9x60-pll: remove parent_names support clk: at91: clk-slow: remove parent_names support clk: at91: clk-smd: remove parent_names support clk: at91: clk-system: remove parent_names support clk: at91: clk-usb: remove parent_names support clk: at91: clk-utmi: remove parent_names support drivers/clk/at91/at91rm9200.c | 101 +++++---- drivers/clk/at91/at91sam9260.c | 140 ++++++------ drivers/clk/at91/at91sam9g45.c | 94 ++++---- drivers/clk/at91/at91sam9n12.c | 113 +++++----- drivers/clk/at91/at91sam9rl.c | 71 +++--- drivers/clk/at91/at91sam9x5.c | 123 ++++++----- drivers/clk/at91/clk-audio-pll.c | 16 +- drivers/clk/at91/clk-generated.c | 10 +- drivers/clk/at91/clk-h32mx.c | 8 +- drivers/clk/at91/clk-i2s-mux.c | 5 +- drivers/clk/at91/clk-main.c | 24 +- drivers/clk/at91/clk-master.c | 23 +- drivers/clk/at91/clk-peripheral.c | 20 +- drivers/clk/at91/clk-pll.c | 6 +- drivers/clk/at91/clk-plldiv.c | 8 +- drivers/clk/at91/clk-programmable.c | 10 +- drivers/clk/at91/clk-sam9x60-pll.c | 16 +- drivers/clk/at91/clk-slow.c | 8 +- drivers/clk/at91/clk-smd.c | 7 +- drivers/clk/at91/clk-system.c | 9 +- drivers/clk/at91/clk-usb.c | 30 +-- drivers/clk/at91/clk-utmi.c | 23 +- drivers/clk/at91/dt-compat.c | 330 +++++++++++++++++++--------- drivers/clk/at91/pmc.h | 64 +++--- drivers/clk/at91/sam9x60.c | 124 ++++++----- drivers/clk/at91/sama5d2.c | 165 +++++++------- drivers/clk/at91/sama5d3.c | 126 ++++++----- drivers/clk/at91/sama5d4.c | 131 ++++++----- drivers/clk/at91/sama7g5.c | 45 ++-- 29 files changed, 1032 insertions(+), 818 deletions(-)