From patchwork Sat Feb 24 16:56:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 205908 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1234321dyb; Sat, 24 Feb 2024 08:56:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW2sfuQ9tjw+WkWoBDYqXm30Dh/bIaGQr8eAaAjSV+ZSAqQOuI84ucjDjKwO+E9TupFDDinM/oA4/TAvSr7Oaa5eg1Kpg== X-Google-Smtp-Source: AGHT+IF99WnrswctqcWU+suxXoHS+8DhGEXGO5AZE0qp30pbRbm4JJKwcv9NL7VLtPLCu5PXFFNY X-Received: by 2002:a81:b64d:0:b0:608:397b:17f0 with SMTP id h13-20020a81b64d000000b00608397b17f0mr2617687ywk.33.1708793809122; Sat, 24 Feb 2024 08:56:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708793809; cv=pass; d=google.com; s=arc-20160816; b=GvBoum/zIeO+AaVBjVB/ZfP+Ps8jkZKssWb1409YnIy4lHFZ/tvbUqxEBAREWzqHHU UHR1zZO501joBTSXnHlcMDiVh/VREdrz71sLH9hQpnmhu5kUD8NQ6M8qHAEmVTY1ALSC z3P8tHXxktmJ9ZUnq0GUDn+Oi6N63JykP4GulOha0D//7i5L0AvqnL7+NHS+f+tEPqje Q94zqxo1y/iue6mSTHK4sNhwQ1kEzxbc+W8TT3FEgNiQH8T8tImK7PVjBOKdaXFVmLDG dj7y/3XuBSu7getw3X020BVZVc5EB+Hyr6Z2/knhvrHA3a0DsuGo2ep0Ri+HLWz9rXKl f3kQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=iGtFO8Z5iS+A3mhd232gGNzOwSeYKK/te6goY6B5AlQ=; fh=tZhDNUr0Obju3m18gj6ZfutDO64SiIx/rzzNUEZnsQM=; b=LICpZ6hcWihfj44pCuh/2n05LhKbH/5Vopjpl8h2ZjedZ6tpWqeJOy5jSTCuG8awJX YMDycmIDgmXsWmLus527qvKXFfBG8pXs++LAr3eMf7zgkCnhUNJ+sykrk0Mq3lFsWsq0 pM4CzZ+LY80Pe0Hi9WTQEN4xziooXfsgL9COs8gh5Bxfb0dzS0zJDPABbF2Urbhj7/DJ 1BKZaOP6G+rdl9Eq0WR9mH7cNFI01psZjjZSxLAk7sS4T3ZJKdaJvDnBoBufiCSdTTLt 4wdGuUFcxdKFe7Zy6JiijCdrOBX5zOuv/yxLh0iIW6oyvbKCg4zNFTobgYSWYLjdlyFh UJQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XIEJNvi8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79746-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id wa26-20020a05620a4d1a00b00787354bed11si1381231qkn.413.2024.02.24.08.56.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 08:56:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XIEJNvi8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79746-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E317A1C21204 for ; Sat, 24 Feb 2024 16:56:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BBD84B5A6; Sat, 24 Feb 2024 16:56:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XIEJNvi8" 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 6DF734C6B; 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=RvwzJ67WuFxcrycky8M46a08lr0xS/U580+mkZ5EA/vd2Bp2kXUgKjIHJGt8bLLUtsX6uMJK1VxTSZbmGyRwty/+1FlCpu/eiQFp9TGPuW6STaMfYFFx74GAByTa5Qs+wKznV5/RuyMNjWIBLiLeve5PCjJP+/OqxmHHCDFzBJ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708793774; c=relaxed/simple; bh=wKkGrhKZpWd/BwtJ4dXpC6KH8T0ZmrTFSOOKkvCP4Ng=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ntF3EP7gV9Du3tqTIj5TLjtVBzXFVydqxHjHjU4OU/fFQo1IWYeQZs318xQnfr9S/69SE3FnHjApk2ONSYVZf5c0tQ2xLFCMlN3wOkLF3RtbN4EZnT3d/UR2n1eCRU14GUXc9Ro6KJ4aXLEUS5OQSATw1vSKp/e+wLTpaagk6Zg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XIEJNvi8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 0A8E3C433C7; Sat, 24 Feb 2024 16:56:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708793774; bh=wKkGrhKZpWd/BwtJ4dXpC6KH8T0ZmrTFSOOKkvCP4Ng=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=XIEJNvi8A7YkihzdAP4sCB9StegVyE9U+CoRFcODaUzHwA3e56SdnPY0nJagN2TdK PCYNCBx/GMF5A95LhaS5UL1ryS022OxKvaMTYXNgHWtxa1CHzfZciPuD1au7011u7T LtT0Ie0s6kDr4rdjJVVcIjxigXSLhSGdMsPtGwk/Cnn73yf3qFT+f5lNYkTo4h9ZKM sT1zIDXkkvqc243PwuyAVmdpEe3bMxDkJm/l3ST2tCcLh01gm92TsXqvheNnW7C3Lu QQ/zN6ITlh1CwZqdbhXMvzKxz9icJbiaFl35Pwv59YoCVTl9LDYlXJSLnAUMlKugNY W/sIEXFYTzg7g== 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 E29EEC54E49; Sat, 24 Feb 2024 16:56:13 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Sun, 25 Feb 2024 00:56:09 +0800 Subject: [PATCH RFC 1/2] clk: hisilicon: rename hi3519 PLL registration function Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240225-pll-v1-1-fad6511479c6@outlook.com> References: <20240225-pll-v1-0-fad6511479c6@outlook.com> In-Reply-To: <20240225-pll-v1-0-fad6511479c6@outlook.com> 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=1253; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=RjDdWKwpGyzyVB1dZKcx8ShQs0qG7CAnl7kkoTOnoFc=; b=QlwkUL5n+D2xcLQWoH0d8vCOTVanik7rxPAd2tCP7zr67tXHaUwqziZ5IYv4k0T+7Ac0VN/OM +Ga6WfGfqWmAaZQ6NxFn6zHRMCAR1RHP2JR+SidKbtQ2MGxW+gmZqd1 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: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791800177397921551 X-GMAIL-MSGID: 1791800177397921551 From: Yang Xiwen Hi3559 clock drivers implemented their own PLL driver. Unfortunately our generic PLL driver will use a same name. So add a prefix "_" to avoid that. Signed-off-by: Yang Xiwen --- drivers/clk/hisilicon/clk-hi3559a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/hisilicon/clk-hi3559a.c b/drivers/clk/hisilicon/clk-hi3559a.c index ff4ca0edce06..77fa4203a428 100644 --- a/drivers/clk/hisilicon/clk-hi3559a.c +++ b/drivers/clk/hisilicon/clk-hi3559a.c @@ -452,7 +452,7 @@ static const struct clk_ops hisi_clk_pll_ops = { .recalc_rate = clk_pll_recalc_rate, }; -static void hisi_clk_register_pll(struct hi3559av100_pll_clock *clks, +static void _hisi_clk_register_pll(struct hi3559av100_pll_clock *clks, int nums, struct hisi_clock_data *data, struct device *dev) { void __iomem *base = data->base; @@ -517,7 +517,7 @@ static struct hisi_clock_data *hi3559av100_clk_register( if (ret) return ERR_PTR(ret); - hisi_clk_register_pll(hi3559av100_pll_clks, + _hisi_clk_register_pll(hi3559av100_pll_clks, ARRAY_SIZE(hi3559av100_pll_clks), clk_data, &pdev->dev); ret = hisi_clk_register_mux(hi3559av100_mux_clks_crg,