Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1031380lqp; Fri, 22 Mar 2024 03:39:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7uQlUXT1tEVZfwrTHZMx8XYkcz3J4mleQeb3+8kYS9htl9eXR5qMgkb/4KyD9dAyDa9rq61pp7XFM5cmCF5LWwkiDHOJ/YHQuhGLQEg== X-Google-Smtp-Source: AGHT+IGiR69kugX/OixuX8u8p5zj54i1BCWRXBhw+OqoP4njrXzFfkErmhntZY5x5Ezt4cey7HSv X-Received: by 2002:a05:6a21:99a0:b0:1a3:ac79:5771 with SMTP id ve32-20020a056a2199a000b001a3ac795771mr198483pzb.14.1711103943226; Fri, 22 Mar 2024 03:39:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711103943; cv=pass; d=google.com; s=arc-20160816; b=P+cjClIhThBZisCl8+wtuE+7MUM75VMZQyvUEy9xMRekMJuG7TY4BK/d8z4/LaBqDC VxDf8PR5FcMN2Gjbv3MmT+eqbUpohkUzRsx4myNbzzOdsOfL5/nzCmSOPWIJW5hJu1+2 878EMJ3sJQIoBkH4Jvp6POeizcGm5kH5KKEV8No4JiLkyDEA97+yYaudEeiio0zlif0j ZKEM9+itNWEsJv6t2e2724N10xuXaAYmaY+tAcgOEFBPhui5uGQ9ZNXf4qQ1aev1MciC eM6uvOQfySgONqfFvX1ZQ/dnaGecISGPdEDsWvpHiCROBiH9o7EY41EaFu3/TzTxqcOB +Y6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=EW5QX/PBiLajaatZ/82NErGaCFABadkL02aA8JURVjA=; fh=K1gZc0UlF8Jav/wDhnOF9GkZaEVETdDwRglmeSrPE+k=; b=Aa0WuuMAm+y1MXZvCejerKYG05R/A6zoVv8qS8SgSDpxjzlqxoagclEixnd/nKJPW9 EdsW0onuqsYWmFnmCmcn/VhM2GzZUb4zB7EYGBJoOD4z/F3QFV8ippvz5h7vtKt3C9/O N4KJYscGUWB6GEqHLbhqxKbXjtzN9pPtj1U2H99S16MWPo0aTckfWz18sEG1W0peDK0O BHjtLtD/3xKUFYyNPTL9JGZ+udxZqh1Yek7HKM+faf1scIhm9JTPC2hTT0xd9yf6UQLs 6anycPSv+u5sdEcz4pygGqCtHdCYg+cRBs3kFPw+T/O8w+bFvXQkSHbwZw6LcMLuu+UT 9+2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JiihL1+/"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-111310-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111310-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b3-20020a170902bd4300b001dd96e5febesi1584409plx.190.2024.03.22.03.39.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 03:39:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111310-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JiihL1+/"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-111310-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111310-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 69F1A281F0C for ; Fri, 22 Mar 2024 10:38:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B32E3C699; Fri, 22 Mar 2024 10:38:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JiihL1+/" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45D063B798 for ; Fri, 22 Mar 2024 10:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711103927; cv=none; b=EYHUwZmbEdBa9UWfW/okh7oaSWNONvWamK6e94aD6IQR33JJNaqYtJHVMYGltDT4LiEL2VGc0bDFigR98TfBe0gtgPfo7AqgziK43Zs738RLn1jSpzqwnVvimU1FXhCIEA/fe6e6CeGTCVFYzI19+leaxDdnQWouUFVJtCaTap0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711103927; c=relaxed/simple; bh=Hq2/eEOuWhpmKCsuwoD25OCbkTU9eHjsACQjFbIL5J4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZD2RSogTzaNDoriK0p4BFnmNWeD4ohv6ux8Tr0Ky0VaWVLX5TejPu+naV69E1QYK992d8hgEDlh9wp/9dLrvuPeo36fSlZs8IEkU8EldpOrZ5Od8MOCR/9DJPqo4MTTn3wwZ5+hUPzQsuGgJfeq78vIrLFW5NJgUPexR16VJHN8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=JiihL1+/; arc=none smtp.client-ip=209.85.219.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-dc6d8bd618eso1874136276.3 for ; Fri, 22 Mar 2024 03:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711103925; x=1711708725; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EW5QX/PBiLajaatZ/82NErGaCFABadkL02aA8JURVjA=; b=JiihL1+/6U2Cx7eJN6b4Oe67iNFFFwpMCixX/BSNlEZziujtNC4bsDiR9/+lxJy7AU rhESgenhwWlEL6pwXxuSKhrD88LMs5SO/ztC1aZ8D7V3oLww0qjE4XWA2kZgjc6mbsas ytdavUNjY1u2pDaiNesQGnGiJDq532WBuZudF1qkTElflgRSWQgZf67M7ej3kqhao0jx jDwxeTLj3YRuG7SwuntosDcRg+U1OCkZEhKRvuU2AGYktjqC347VbPZu1wzginm7/8L6 qRDUy6AH8GmHh6qUOakmNrWj6QcY9HXDADUt+gWDIpZOpzJw0tQTO0+gamIKnhygF4rY +5tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711103925; x=1711708725; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EW5QX/PBiLajaatZ/82NErGaCFABadkL02aA8JURVjA=; b=XOc2Bdak623wlU6EYkftMilvpw3qlVF58u1xshCIqXnJvy+ncmbP1XWOt6TaLMAjFR +u43Z2hxI6OYS1f6KwW5GPI0UldPqPz20AE8DXwpnq8xladl6MCIDWvGZW+hO6+bpMRc SUcTumtjSYe+uPQvSZBzYHB4fpBAi4cAtSzXDR7LVUqR3qUQxfm0RCSbQhu+LQuyq/cG 2WDBEXABkMYNrJwxlXQ2Hx/T3556y6TaK0dxr4G8dFLxZ/e2vGwQtOAwRuUwb+o7rCBC an6w0+8nW9wIZWbBdVpYOkTUzP09ReAE6GW4G5BC0b5NZAFhhrIeaAmyZpY/wNbUTUrM lAmA== X-Forwarded-Encrypted: i=1; AJvYcCVZfwrE/IsuIelb6Fxbyun537lWtyX9jCSSkxCb1wNPjwXPPAwymQYWSsji/+pvbFTiZzvQd+SFyvC6Cjp0hyHEjsTQA7J8OTZxiArj X-Gm-Message-State: AOJu0Yw5Qpg0nd29FhB+akcpANFGdIDP9D1SlmIe1dnPE4yC3rZqAZZt 55dGnkP8BildOT/s/nJ+L1LxeynCLw6K13mN6oGI43+AmnsUluXk2kUlIlK/NsGbWMdPCW46IpT UTGOuKP60pvmG+C+dtiTgNRgBBnCvaOtpQnQjkQ== X-Received: by 2002:a5b:651:0:b0:dc6:2e29:4262 with SMTP id o17-20020a5b0651000000b00dc62e294262mr1579006ybq.58.1711103925350; Fri, 22 Mar 2024 03:38:45 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240322-topic-sm8x50-upstream-pcie-1-phy-aux-clk-v2-0-3ec0a966d52f@linaro.org> <20240322-topic-sm8x50-upstream-pcie-1-phy-aux-clk-v2-2-3ec0a966d52f@linaro.org> In-Reply-To: <20240322-topic-sm8x50-upstream-pcie-1-phy-aux-clk-v2-2-3ec0a966d52f@linaro.org> From: Dmitry Baryshkov Date: Fri, 22 Mar 2024 12:38:34 +0200 Message-ID: Subject: Re: [PATCH v2 2/7] phy: qcom: qmp-pcie: refactor clock register code To: Neil Armstrong Cc: Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Fri, 22 Mar 2024 at 11:43, Neil Armstrong wrote: > > The PCIe Gen4x2 PHY found in the SM8[456]50 SoCs have a second clock, > in order to expose it, split the current clock registering in two parts: > - CCF clock registering > - DT clock registering > > Keep the of_clk_add_hw_provider/devm_add_action_or_reset to keep > compatibility with the legacy subnode bindings. > > Signed-off-by: Neil Armstrong > --- > drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 15 +++++++++++---- > 1 file changed, 11 insertions(+), 4 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry