From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Shubin Subject: [PATCH v2 0/4] DONOTMERGE: ep93xx-clk from ep93xx device tree conversion Date: Sun, 14 Apr 2024 13:03:47 +0300 Message-Id: <20240408-ep93xx-clk-v2-0-9c5629dec2dd@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAOqG2YC/22Nyw6CMBREf4Xctde0pVB15X8YFqVcpJGXLTY1h H+3sHZ5ZnJmVvDkLHm4ZSs4CtbbaUwgThmYTo9PQtskBsGEZJJdkOZrHiOa/oVloTTPC9VQqSA JtfaEtdOj6XZl0H4htxezo9bG4+VRJe6sXyb3PU4D39O/+4EjQ96wVppcyFKq+6DfH2qpPw8E1 bZtPwK4zrS/AAAA To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Sverdlin Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Nikita Shubin , Arnd Bergmann , Linus Walleij , Krzysztof Kozlowski X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713089049; l=2238; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=84SLxTZp/DWUX/lhao6dmVikTW+EASr4F/Wo+VvHJ2Q=; b=z9XAN1DXXWE3QxCyuTkNMTNSk5hrGWnglICBc7KGTF+lnAe7G6ti2xpimedDy1Wf6oac/GtTG3kg fiFfdHpjAaVBVJ7+W+hyMLvKrp8qGPxNIM3ksHHchbay3miQxYWO X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 List-Id: B4 Relay Submissions The goal is to recieve ACKs. This is a fraction of v9 "ep93xx device tree conversion" series: https://lore.kernel.org/all/20240326-ep93xx-v9-0-156e2ae5dfc8@maquefel.me/ The clk driver for ep93xx was converted to AUX device, as suggested originally by Stephen Boyd. Signed-off-by: Nikita Shubin --- Changes in v2: - soc: Add SoC driver for Cirrus ep93xx: - added __init for ep93xx_adev_alloc(), ep93xx_controller_register() - added static, __initconst for pinctrl_names[] - clk revision for SPI is now resolved here through differently named clk device - more verbose Kconfig description NOTE: "of" includes are required unfortunately. - clk: ep93xx: add DT support for Cirrus EP93xx: - dropped includes - dropped ep93xx_soc_table[] - add different named clk and dropped involved includes - moved pll's and fclk, hclk, pclk init to separate function - fixed ep93xx_clk_ids[] explicit lines NOTE: clk_hw_register_div() is clk-ep9xx internal function which uses devm. --- Nikita Shubin (4): ARM: ep93xx: add regmap aux_dev clk: ep93xx: add DT support for Cirrus EP93xx dt-bindings: soc: Add Cirrus EP93xx soc: Add SoC driver for Cirrus ep93xx .../bindings/arm/cirrus/cirrus,ep9301.yaml | 38 + .../bindings/soc/cirrus/cirrus,ep9301-syscon.yaml | 94 +++ drivers/clk/Kconfig | 8 + drivers/clk/Makefile | 1 + drivers/clk/clk-ep93xx.c | 834 +++++++++++++++++++++ drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/cirrus/Kconfig | 17 + drivers/soc/cirrus/Makefile | 2 + drivers/soc/cirrus/soc-ep93xx.c | 252 +++++++ include/dt-bindings/clock/cirrus,ep9301-syscon.h | 46 ++ include/linux/soc/cirrus/ep93xx.h | 26 + 12 files changed, 1320 insertions(+) --- base-commit: fec50db7033ea478773b159e0e2efb135270e3b7 change-id: 20240408-ep93xx-clk-657a1357de67 Best regards, -- Nikita Shubin