Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1285203lqh; Mon, 6 May 2024 03:02:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXoxd0uA9hq4trPfImiFaF4uS6YlfR/rtRlrDwwmEcOU8aAgIR+JJ6AIrPP4VpQiQWjSTQLXUbEa0M4LUq2Um1c1pWMaEOUSXdg+0C9cQ== X-Google-Smtp-Source: AGHT+IGSd5QFBl5dwRWAtmc4x79DKSvXiX1Czx5hrL70hDRUecjtveGMTJlG1ikKEP9NRfv1Xu1m X-Received: by 2002:a05:6512:3f21:b0:518:9b42:b846 with SMTP id y33-20020a0565123f2100b005189b42b846mr8356187lfa.21.1714989759530; Mon, 06 May 2024 03:02:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714989759; cv=pass; d=google.com; s=arc-20160816; b=AVlHWVkX2IgIBL3GNMSretabrxp8XO1v5qOaT8Cctsjf3NWMUQres65JzeDUF/r+qH maJrJShWRy33GUJSNPbgEwoSr/7pnXfQBuQEMkl0Jx3lPJA4rrc6geM3y4d/Ec9xFIzE Euc1xW8lUWismMbxafTuCJ1c9135ThkogEmBPfiRCfVlqZ37OB4sssmmDcZYz+YJQJeC G9AsO6cifHHMyLANEo8mtPaI40x12z/YGSbv3wnIXeckM7u6vhiwYGzn1ejzh+lJOiXm zaBiBluOyWGyKVM2MFl/0MdhaI8T2r8VDUtnZ+x1OKjxbzbM7Ot/gRtTXIkBRAilJnw4 MekA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=Nfsi/xJf83UNzuTE2EkzkMuLG60lnh31XP/RQLiASiU=; fh=+LuRdTIwv5mDvjl7KIyKfeK3/cID0CsjI9oUAVoYILM=; b=HCTGMZpXXIGYZj+gfE8JFxrO3zZ6WEXb5eDQTy9pJDFXazRih6Bm+UGpuNyXpzchBE 8sqGOiAHWIHdJyN7KboQ4aQOq6paWaWfEjEdCCnrd7erAE3xSTwhrEJ+ilJUJYpr+LhL hfJhl7MV6Ni1UvSn1YHi2WBUNEVFKOtQBItEUw/y6MjrpaFCt4eqV0PU4syDkn36Xy16 K7kWbOLe2yXokNFGx7XQIJ+bmoJkTMvskhYbaXr54+WjksTST/WqjFXOm75R9g+k/rn1 NfrTvZjL7Yma1sBSZphZD7MN0r3Y4JfIGyB3bXYm6vwJE+PVmNwNqsTdkDvGrK+w7nqo 2vBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LBhdQxei; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169610-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n5-20020a170906088500b00a52370cf15csi4496651eje.202.2024.05.06.03.02.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 03:02:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169610-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LBhdQxei; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169610-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 970A61F2460B for ; Mon, 6 May 2024 09:52:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01DC414533A; Mon, 6 May 2024 09:49:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LBhdQxei" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C99C144D03; Mon, 6 May 2024 09:49:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714988990; cv=none; b=VCDFLdZV07oucZvKCYepd2nwIck1k/3Cp4opyO98p+mrOE+p7hDPpamQSdXDZqXEAx/AWwaIr84kilv2xtEmWxhZUdOxS9YX7YK3EoDgZyEIQwv1xP8cPMFxRi6cGCb0LuioHVc82oSGkLfWjSOcZBvBznhYVEqMogOlCl0kmBU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714988990; c=relaxed/simple; bh=LZLJVc9pYCHgTinDxt8jQL+ros/h+Mn8XlRPuxpUeDk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=IntabqgXk2CvamKFP0AEZwbDeWb2AjAH21jIGy1GgZDDwKVkYIcUw49K2QsDutBu/yg6vqh+W+LuCVkKJb3y8XvSTcDkMaMm2x223ojzD6OnMkrDOaln8EBupDfgzdc2PEIkzfklKEW2txbicmponNY41wCvhuyk99rOQ9T1FnY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LBhdQxei; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 874B4C116B1; Mon, 6 May 2024 09:49:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714988989; bh=LZLJVc9pYCHgTinDxt8jQL+ros/h+Mn8XlRPuxpUeDk=; h=From:Subject:Date:To:Cc:Reply-To:From; b=LBhdQxeiNhcMwOF3GRwD+JJF+iJe6uII8wrTniw7U1OHKzKw5latzw2RdpfSp3ysn Z37NGA82w0LhYn4WN0n1FnSK7SHbHYZIWSvSnNa2q7yqNte1VjirD84hgbQgeloALD zmXoAqU2G14fq8mVy7FcsjvNAR/AnOBWJskoZ6WZCIjr9+ILbeaZLY31rmiGtnvcHc RBp7Bdcziz+hNR6d7x2ixU6L1LjWOJ9zLqcYqnrbkbr9WMGysnV2S56w8LKdwhXLjg NrTV9vSIsE72oS+QyUr2cXKB9RY2OdRtCN9wN0rGIMKFJEg4XptVOHLQbfGIYR+dZ0 eTnkkhBGMznWA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DF76C10F16; Mon, 6 May 2024 09:49:49 +0000 (UTC) From: Nikita Shubin via B4 Relay Subject: [PATCH RESEND v2 0/4] DONOTMERGE: ep93xx-clk from ep93xx device tree conversion Date: Mon, 06 May 2024 12:49:47 +0300 Message-Id: <20240408-ep93xx-clk-v2-0-adcd68c13753@maquefel.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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=1714988988; l=2237; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=LZLJVc9pYCHgTinDxt8jQL+ros/h+Mn8XlRPuxpUeDk=; b=9/KPOFB2kj4JSUtGN0bBC7dHnMlQlJqzK/pDgy7CTZDdR9V+cRVzCJkONlJD5eMoVdbmyTREbuZ5 hV34J+NzD4cLl+KcCoX+Qx5xMqmQxA3uexviasO3qQ1DhWvc8BmM 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 X-Original-From: Nikita Shubin Reply-To: nikita.shubin@maquefel.me 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