From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9EBEEB64DA for ; Tue, 13 Jun 2023 22:12:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229543AbjFMWMQ (ORCPT ); Tue, 13 Jun 2023 18:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjFMWMP (ORCPT ); Tue, 13 Jun 2023 18:12:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A3A010E9; Tue, 13 Jun 2023 15:12:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A622F61F35; Tue, 13 Jun 2023 22:12:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2937CC433C0; Tue, 13 Jun 2023 22:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686694334; bh=sKrQ7hdq4mSomL4LDC24g6oc1MHOuvi2wLr6vE0lxhU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cLiwMUlahN9DTyi23DbZ6NqIxjOb6N1knEUWKRKVTtnPtDYzzbQraEF4t0foek5ve GTEEBrrxCnfBK4XplQfmh1XS6Yxf3vk72uqDxfWOg1Ozi7GbSnSOzSBvFMkkQ0n+0n KD15Qsm5oJ6bBZQuPiMZ7EvIM/zYLyRbbd92TLZ7kI8YWvtxT+efgDI7AdQH54SmDP anH1OdDexSZ1PqSmnOgLApBCoN0JdLZdOkRvaC1MUIwiNSSzRoYzBKHPndwfI5ml0P eiXrm7VnPP3ZZBpIOmElsQ3jMp0pD2xLV9QD+n4TJno/EAJyfPLADZVFNb7swRHNfC i5KMJ7S4VGU2g== Date: Tue, 13 Jun 2023 15:15:36 -0700 From: Bjorn Andersson To: Dmitry Baryshkov Cc: Andy Gross , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 02/11] phy: qcom-qmp-ufs: populate offsets configuration Message-ID: <20230613221536.6tikam262jjvzcfx@ripper> References: <20230523140622.265692-1-dmitry.baryshkov@linaro.org> <20230523140622.265692-3-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230523140622.265692-3-dmitry.baryshkov@linaro.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Tue, May 23, 2023 at 05:06:13PM +0300, Dmitry Baryshkov wrote: > Populate offsets configuration for the rest of UFS PHYs to make it > possible to switch them to the new (single-node) bindings style. > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c > index 8c877b668bb9..d99dc1043f74 100644 > --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c > +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c > @@ -833,6 +833,8 @@ static const struct qmp_ufs_offsets qmp_ufs_offsets_v6 = { > static const struct qmp_phy_cfg msm8996_ufsphy_cfg = { > .lanes = 1, > > + .offsets = &qmp_ufs_offsets, > + > .tbls = { > .serdes = msm8996_ufsphy_serdes, > .serdes_num = ARRAY_SIZE(msm8996_ufsphy_serdes), > @@ -924,6 +926,8 @@ static const struct qmp_phy_cfg sc8280xp_ufsphy_cfg = { > static const struct qmp_phy_cfg sdm845_ufsphy_cfg = { > .lanes = 2, > > + .offsets = &qmp_ufs_offsets, > + > .tbls = { > .serdes = sdm845_ufsphy_serdes, > .serdes_num = ARRAY_SIZE(sdm845_ufsphy_serdes), > @@ -1038,6 +1042,8 @@ static const struct qmp_phy_cfg sm8150_ufsphy_cfg = { > static const struct qmp_phy_cfg sm8250_ufsphy_cfg = { > .lanes = 2, > > + .offsets = &qmp_ufs_offsets, > + > .tbls = { > .serdes = sm8150_ufsphy_serdes, > .serdes_num = ARRAY_SIZE(sm8150_ufsphy_serdes), > @@ -1070,6 +1076,8 @@ static const struct qmp_phy_cfg sm8250_ufsphy_cfg = { > static const struct qmp_phy_cfg sm8350_ufsphy_cfg = { > .lanes = 2, > > + .offsets = &qmp_ufs_offsets, > + > .tbls = { > .serdes = sm8350_ufsphy_serdes, > .serdes_num = ARRAY_SIZE(sm8350_ufsphy_serdes), > @@ -1102,6 +1110,8 @@ static const struct qmp_phy_cfg sm8350_ufsphy_cfg = { > static const struct qmp_phy_cfg sm8450_ufsphy_cfg = { > .lanes = 2, > > + .offsets = &qmp_ufs_offsets, > + > .tbls = { > .serdes = sm8350_ufsphy_serdes, > .serdes_num = ARRAY_SIZE(sm8350_ufsphy_serdes), > -- > 2.39.2 >