Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp486820rbb; Sat, 24 Feb 2024 08:56:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzMcdFprXJd7xL0lYhsGzjaSIn92Qjgl9eBPpqwGvQOyZIn+ltSMOVg2tWoMcRotYpXIVk/XuL/YZznDjiHwHcsm04VitEY48USzZRww== X-Google-Smtp-Source: AGHT+IGnSvezbLLiO7qELWwsf2l/kozzYWsHXCu3weJNc7vPgbv0b2zo4lSv8JDKgpciXaUJNviR X-Received: by 2002:a05:6402:b37:b0:565:2e3d:d019 with SMTP id bo23-20020a0564020b3700b005652e3dd019mr2502180edb.4.1708793790149; Sat, 24 Feb 2024 08:56:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708793790; cv=pass; d=google.com; s=arc-20160816; b=1F+aSYzNdIa6Xz9+iaOIM+4sAkCW7ZfEQhROBMXiA6qYL1ltQOTJgWRmn6yUuypn9O MlXIe+gXtsk1w5g3qbWNrNoGjuxg/mNkLcJ/9Plfqa2ksnD6xDyM/V1x2/CuPvgzNaBI E6qUUefeng855oh2jmYu8d0fomW8YX4W1gCBSj/lk216oc5ITmEm21Q3XYRo3s+Z5Mkn EzNQfNNDZ91mc+/Mas37kXKxtHhD8uv4W4KHk9vBXrhi/Ulwk07HnQopqQ28lQHSysHH Q+E1dr1A2jxIi2wXeUwcJgoDRcWdzf1eLFetytF9eydOfI6q+/fpdlX7sM00mo/7rkuH J8WQ== 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=ga0BNWcOfRp72mkBd4Zh2M/h5sDItEJ4TX1L54GP3ik=; fh=tZhDNUr0Obju3m18gj6ZfutDO64SiIx/rzzNUEZnsQM=; b=V/E9t+o9MUv9fvms+xvYb65iuQKqb2BgB7GXoHOjg7N+KS8olTDuwacykS2pyPK3Ro w3wTTKJc0oKSp5ghX2mE2XV/7qtbTxTJ9UToMzVSeh1KV/BhKA85gooqaXuB5VPpgVGI xrIDodDYKWk7Qk7BgFW7umN0rUtvjbtn4UeoMhLeFXRcg7rqiKRiBUQ1RoffY3fFJp/9 +j/KXvh1wc7ptJmGCcyOxPyao3OHpGqgyUYfFjeSWlW8a/DdIZytSq/qHYsrHndLD76S xGGRENvJQ0/Zx7K364oLSMkEDaMoFgwD+XbIJe/YNQYI5SCcC0rjPK2i5qSFSur/PYAk 9yPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=asRaPFNE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79748-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g25-20020a50ee19000000b00563b7b412a8si622223eds.192.2024.02.24.08.56.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 08:56:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=asRaPFNE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79748-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 B80ED1F2232A for ; Sat, 24 Feb 2024 16:56:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60EF147A7D; Sat, 24 Feb 2024 16:56:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="asRaPFNE" 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 6E05FDDCB; Sat, 24 Feb 2024 16:56:14 +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=1708793774; cv=none; b=KahoRnMODPtOzMd9DOFPz9OHov6XFz7Dtie1ccgRJ0/XYDjsJN8DV4UTzdDC6B+PktHpEnlnGleuxmXncX6YJdZEhDTM6rn4a6HcO7Y65hrYjz+MyQVt0MZLBUq2SRFoxgQtRMZafeXKMGJZxCQFd0pdO2vvzSSMtEqjLSzidyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708793774; c=relaxed/simple; bh=qtrP800EKdOTmakNAoNosODy8gqESCOm/APUkVSRbhY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=jLzEXcIiMUvlOyoROht8DRjRnpljIWRT0/FJVP7eBNjGYanOzePHlelBTFOI0nPx4qSRK3TUwY7H0zRmOfZ4HwZcAhU9agNhO8k8thx4jRr04pHFtAZxpNTZGDnn4yBqrFxA8TFrnTJVEqXOvPSCUQw/VK3R9iIWOb82HF3wZl8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=asRaPFNE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id EFBD4C433F1; Sat, 24 Feb 2024 16:56:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708793774; bh=qtrP800EKdOTmakNAoNosODy8gqESCOm/APUkVSRbhY=; h=From:Subject:Date:To:Cc:Reply-To:From; b=asRaPFNE5fnyNq+onqbaiQKvKBv8MEwZ2GKeXdBSccm6uAi6CdZiIvPL1NGEI0Q/4 AQ3YQDNc5MV1VfkDt73WD3dugifFcGpf20l6kAsHZLEm5Q6edTmIcK9WwX0LxpRsWQ 28BcTuN/Lsy1GApV7b9DrehoYHMHjvnIqW0S3eEIaj4DQpyI0sE/pfUS4z1fRCkksP SddaZC/jL6/O3fnzl1HywCdRaA7nJujmvBMpSnUHGE8d0G3ri5deEegMp55dO/ltjq 67tNdQnfgauLHWnMCGvY4vOZc+jQ4Mrz81/owENuZyISW8pbS/5kWkzljlryS1OS/k hAPpN7F6BO+ZA== 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 D0276C5478C; Sat, 24 Feb 2024 16:56:13 +0000 (UTC) From: Yang Xiwen via B4 Relay Subject: [PATCH RFC 0/2] clk: hisilicon: add support for PLL Date: Sun, 25 Feb 2024 00:56:08 +0800 Message-Id: <20240225-pll-v1-0-fad6511479c6@outlook.com> 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 X-B4-Tracking: v=1; b=H4sIAKgf2mUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDIyNT3YKcHF0jM1NjM3PzZNNUwxQloMqCotS0zAqwKdFKQW7OSrG1tQD OUuxAWgAAAA== To: Michael Turquette , Stephen Boyd Cc: David Yang , Igor Opaniuk , Jorge Ramirez-Ortiz Gmail , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708793775; l=863; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=qtrP800EKdOTmakNAoNosODy8gqESCOm/APUkVSRbhY=; b=VWJx7sn+15PK7vXf+ej8Tpz2unugzwQue+YKYT03SMOkuuerrVwyZG8WJLBnAciOPt5OL6Gl5 AU9RANsVZYJASYwKbIKwjuzsTBxnyTqY1qcsYQ9BTMbKnxBS6NeIyjA X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: HiSilicon PLLs are used by various SoCs to provide variable clocks for various system on the SoC. Hi3559 has implemented their own PLL driver. Also fix name duplication because of that. Signed-off-by: Yang Xiwen --- Yang Xiwen (2): clk: hisilicon: rename hi3519 PLL registration function clk: hisilicon: add support for PLL drivers/clk/hisilicon/Makefile | 2 +- drivers/clk/hisilicon/clk-hi3559a.c | 4 +- drivers/clk/hisilicon/clk-pll.c | 171 ++++++++++++++++++++++++++++++++++++ drivers/clk/hisilicon/clk.c | 24 +++++ drivers/clk/hisilicon/clk.h | 12 +++ 5 files changed, 210 insertions(+), 3 deletions(-) --- base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d change-id: 20240225-pll-2653677c5e1d Best regards, -- Yang Xiwen