Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp183588lqg; Wed, 10 Apr 2024 22:01:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7AjtP1ZgotpGP+d8p2kWXv2oSEMj/bkVdWWyvLSqCO9m2av7GFaE3O5HR0hfkxZ4EM+J64Ka8ldb7EdlTRbkKa4+OCTPd3ufer+63cQ== X-Google-Smtp-Source: AGHT+IHs3lTTm9G5SB1YngxsXkTmtKe5H2NV+bAMTuYQlM5JbJNofwaVsRR8c+QOXVzHHL9THnH9 X-Received: by 2002:a17:90b:d94:b0:2a2:b0bc:9573 with SMTP id bg20-20020a17090b0d9400b002a2b0bc9573mr4150988pjb.45.1712811672107; Wed, 10 Apr 2024 22:01:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712811672; cv=pass; d=google.com; s=arc-20160816; b=Md+0Q/tHzwBR3qIqsn3jheninZabEwHX/ockUXu1crd2JK5zqPExOV3P+IQHphcUxJ qp5d7X1WuS47anz2eWiTJKBYn/Oy7kg2/0TDN/p33sczWXEsjVfrw56HSqatMH9xfh3A qN3nVHtVxZFMEcYQmNJXNOv1pi1arVwN0OYGAv1BCJ6W86+s5HbKLkNFw8nmM6f5ANyV MOZ/J4nygilIQvRT67Q7IELZBoYxeLZLw2jrULybkZ44nzkrYCnOPU/bKOAjFM2z/cTQ r8zzSWlR3WIDhEDyN6RHpbZkCLXhJBklhmqStxr6AvFIe1MfIclTXaxFHA1DXYhdj6u6 cQfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=iXUl7mi0PL2dzPz55D0s/Cdt8vWE4qwt/mrMsbksjMw=; fh=c9QwrBvPeIr7F9ujJ8P8Tp2zndsUMiT4HjaPvH2K+ao=; b=bMDQU3AddteOF5YeiYx3dOrOx+ZqtMH5rwRF+veEccfm+Qs99bWBIb+POaYUQuvEPR Fn6bqNwPSHkfYWW/i7j6r/R7ZeD4QBIGmyiL38oHnMr706WfbwCwNO4Zzrh0Yc+m2BPO ifJ07UucFRZ8GNhqSnWT1G1mZ99+LYN33gCElDiImfyW7jmcFp6YzQ+lDgy/dGS+Kh+d ZVXpDL2xZ3DdTlXLq4dKK5cO+CLpZ9z1I7BQV4pWRsklA6LaYKcI74Gox6SBdyF7Er3Y JW++BcNC3beWJKwbiyVheUL1SSxslVwyNOdFQBfAUv508ijIIsyV5lkb07D17QU3e9Bf lswA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nEEXo4jl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i38-20020a632226000000b005d64d951c89si600021pgi.143.2024.04.10.22.01.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 22:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nEEXo4jl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139762-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C101A286A74 for ; Thu, 11 Apr 2024 05:01:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B60A113C694; Thu, 11 Apr 2024 05:01:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nEEXo4jl" 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 D64AB62144; Thu, 11 Apr 2024 05:01:02 +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=1712811664; cv=none; b=N/65BVq6cPhs/nprtXeICr8Eu5HLVs+5l9UZ3D00sWHCfM2c8j6ZVGVaEf4FyH8f7Qhgbk3YU4PSABhERB0Wq1zo/ZPxF7DkRW7/wyxrqR22JJ39HKkvZCIuuPFUjLs6BO0a8jWddX2BQ6X3BcphTQaLjEdbCk0xTHXD4Aolo/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712811664; c=relaxed/simple; bh=iXUl7mi0PL2dzPz55D0s/Cdt8vWE4qwt/mrMsbksjMw=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:To:Date; b=M0swk+sednixdiQGNziCuNkwGYVDnFaGm6OYtSkbuYEWhBS6urKZ7adztOTqH3urMQM+qPP9FvpRQF3aW2aI/UbBDFc3iq2IyphohFZaFlJYb6apV+XmGGe+Q+FCN0IQltmsDIrFKRIOC2H7M+j7DbAh/6jizo52mykPo5yHmpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nEEXo4jl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50611C433F1; Thu, 11 Apr 2024 05:01:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712811662; bh=iXUl7mi0PL2dzPz55D0s/Cdt8vWE4qwt/mrMsbksjMw=; h=In-Reply-To:References:Subject:From:To:Date:From; b=nEEXo4jlkYaL/QJDzWQzfik5QFt5pz715Fw/5QhKKYXy3TODEMb2q4s3zab1iaD6A P/saqOEE7/hVmi5H6RYUt3cBqlgQ+ZLm0DyUGW/WTEF6s16tLnWocN4/ZDOaQEUX/2 BNnxLrm3kbqwjlbYRvM/TfpYS75a8/9DWp6NgttWYyfN5eoApURnFaFZLtaJPbFJ8H TIKfUYvAef1x4oRAqdItWfyLZf+4sEDHbEcQUCpAukTJQQ/59La9wzD14Ih/5YJNMB NrNK7bqvpc+qrTpf7w3NLhCvZ8zU9n/6ToYVtURnAZy8WQ8o39pl1m4PP70A+hsRxh 1PsyQJ1aCtSPA== Message-ID: <5fc87d10b06f8b5b3024ac6c5674b18b.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20231220221724.3822-1-ansuelsmth@gmail.com> Subject: Re: [PATCH v8 0/3] clk: qcom: clk-rcg2: introduce support for multiple conf for same freq From: Stephen Boyd To: Bjorn Andersson , Christian Marangi , Kathiravan Thirumoorthy , Konrad Dybcio , Michael Turquette , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 10 Apr 2024 22:01:00 -0700 User-Agent: alot/0.10 Quoting Kathiravan Thirumoorthy (2024-01-22 09:46:23) >=20 >=20 > On 12/21/2023 3:47 AM, Christian Marangi wrote: > > This small series fix a current problem with ipq8074 where the 2 uniphy > > port doesn't work in some corner case with some clk configuration. The > > port to correctly work require a specific frequency, using the wrong one > > results in the port not transmitting data. > >=20 > > With the current code with a requested freq of 125MHz, the frequency is > > set to 105MHz. This is caused by the fact that there are 2 different > > configuration to set 125MHz and it's always selected the first one that > > results in 105MHz. > >=20 > > In the original QSDK code, the frequency configuration selection is > > different and the CEIL FLOOR logic is not present. Instead it's used a > > BEST approach where the frequency table is checked and then it's checked > > if there are duplicate entry. > >=20 > > This proposed implementation is more specific and introduce an entire n= ew > > set of ops and a specific freq table to support this special configurat= ion. > >=20 > > A union is introduced in rcg2 struct to not duplicate the struct. > > A new set of ops clk_rcg2_fm_ops are introduced to support this new kind > > of frequency table. > >=20 >=20 >=20 > Bjorn / Stephen Boyd, >=20 > I would like to know if there are any comments on this series. To enable = > the clocks required for the Ethernet interfaces on the IPQ platforms,=20 > these patches are needed. If no concerns, can this be picked up for v6.9? >=20 I'm fine if Bjorn wants to pick it up. Acked-by: Stephen Boyd