From: kernel test robot <lkp@intel.com>
To: Melody Olvera <quic_molvera@quicinc.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v2 6/9] phy: qcom: Add M31 based eUSB2 PHY driver
Date: Thu, 6 Mar 2025 13:41:01 +0800 [thread overview]
Message-ID: <202503061341.jnPRINny-lkp@intel.com> (raw)
In-Reply-To: <20250304-sm8750_usb_master-v2-6-a698a2e68e06@quicinc.com>
Hi Melody,
kernel test robot noticed the following build errors:
[auto build test ERROR on 20d5c66e1810e6e8805ec0d01373afb2dba9f51a]
url: https://github.com/intel-lab-lkp/linux/commits/Melody-Olvera/dt-bindings-phy-qcom-sc8280xp-qmp-usb43dp-phy-Add-SM8750-to-QMP-PHY/20250305-060056
base: 20d5c66e1810e6e8805ec0d01373afb2dba9f51a
patch link: https://lore.kernel.org/r/20250304-sm8750_usb_master-v2-6-a698a2e68e06%40quicinc.com
patch subject: [PATCH v2 6/9] phy: qcom: Add M31 based eUSB2 PHY driver
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250306/202503061341.jnPRINny-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250306/202503061341.jnPRINny-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503061341.jnPRINny-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/phy/qualcomm/phy-qcom-m31-eusb2.c: In function 'm31eusb2_phy_init':
>> drivers/phy/qualcomm/phy-qcom-m31-eusb2.c:180:38: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
180 | FIELD_PREP(FSEL, data->fsel));
| ^~~~~~~~~~
vim +/FIELD_PREP +180 drivers/phy/qualcomm/phy-qcom-m31-eusb2.c
147
148 static int m31eusb2_phy_init(struct phy *uphy)
149 {
150 struct m31eusb2_phy *phy = phy_get_drvdata(uphy);
151 const struct m31_eusb2_priv_data *data = phy->data;
152 int ret;
153
154 ret = regulator_bulk_enable(ARRAY_SIZE(phy->vregs), phy->vregs);
155 if (ret) {
156 dev_err(&uphy->dev, "failed to enable regulator, %d\n", ret);
157 return ret;
158 }
159
160 ret = phy_init(phy->repeater);
161 if (ret) {
162 dev_err(&uphy->dev, "repeater init failed. %d\n", ret);
163 goto disable_vreg;
164 }
165
166 ret = clk_prepare_enable(phy->clk);
167 if (ret) {
168 dev_err(&uphy->dev, "failed to enable cfg ahb clock, %d\n", ret);
169 goto disable_repeater;
170 }
171
172 /* Perform phy reset */
173 reset_control_assert(phy->reset);
174 udelay(5);
175 reset_control_deassert(phy->reset);
176
177 m31eusb2_phy_write_sequence(phy, data->setup_seq, data->setup_seq_nregs);
178 msm_m31_eusb2_write_readback(phy->base,
179 USB_PHY_HS_PHY_CTRL_COMMON0, FSEL,
> 180 FIELD_PREP(FSEL, data->fsel));
181 m31eusb2_phy_write_sequence(phy, data->override_seq, data->override_seq_nregs);
182 m31eusb2_phy_write_sequence(phy, data->reset_seq, data->reset_seq_nregs);
183
184 return 0;
185
186 disable_repeater:
187 phy_exit(phy->repeater);
188 disable_vreg:
189 regulator_bulk_disable(ARRAY_SIZE(phy->vregs), phy->vregs);
190
191 return 0;
192 }
193
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-06 5:41 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 21:56 [PATCH v2 0/9] phy: qcom: Introduce USB support for SM8750 Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-04 21:56 ` [PATCH v2 1/9] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add SM8750 to QMP PHY Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-04 21:56 ` [PATCH v2 2/9] dt-bindings: phy: Add the M31 based eUSB2 PHY bindings Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-05 7:32 ` Krzysztof Kozlowski
2025-03-05 7:32 ` Krzysztof Kozlowski
2025-03-04 21:56 ` [PATCH v2 3/9] dt-bindings: usb: qcom,dwc3: Add SM8750 compatible Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-04 21:56 ` [PATCH v2 4/9] phy: qcom: qmp-combo: Add new PHY sequences for SM8750 Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-05 2:37 ` Dmitry Baryshkov
2025-03-05 2:37 ` Dmitry Baryshkov
2025-03-04 21:56 ` [PATCH v2 5/9] phy: qcom: Update description for QCOM based eUSB2 repeater Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-05 2:38 ` Dmitry Baryshkov
2025-03-05 2:38 ` Dmitry Baryshkov
2025-03-08 14:33 ` Konrad Dybcio
2025-03-08 14:33 ` Konrad Dybcio
2025-03-04 21:56 ` [PATCH v2 6/9] phy: qcom: Add M31 based eUSB2 PHY driver Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-05 2:45 ` Dmitry Baryshkov
2025-03-05 2:45 ` Dmitry Baryshkov
2025-03-06 5:41 ` kernel test robot [this message]
2025-03-06 12:01 ` kernel test robot
2025-03-11 11:19 ` Konrad Dybcio
2025-03-11 11:19 ` Konrad Dybcio
2025-03-19 19:03 ` Wesley Cheng
2025-03-19 19:03 ` Wesley Cheng
2025-03-26 13:53 ` Konrad Dybcio
2025-03-26 13:53 ` Konrad Dybcio
2025-03-04 21:56 ` [PATCH v2 7/9] arm64: dts: qcom: sm8750: Add USB support to SM8750 SoCs Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-05 2:57 ` Dmitry Baryshkov
2025-03-05 2:57 ` Dmitry Baryshkov
2025-03-08 15:07 ` Konrad Dybcio
2025-03-08 15:07 ` Konrad Dybcio
2025-03-04 21:56 ` [PATCH v2 8/9] arm64: dts: qcom: sm8750: Add USB support for SM8750 MTP and QRD platforms Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-05 2:58 ` Dmitry Baryshkov
2025-03-05 2:58 ` Dmitry Baryshkov
2025-03-08 15:05 ` Konrad Dybcio
2025-03-08 15:05 ` Konrad Dybcio
2025-03-04 21:56 ` [PATCH v2 9/9] arm64: defconfig: Add M31 eUSB2 PHY config Melody Olvera
2025-03-04 21:56 ` Melody Olvera
2025-03-05 2:59 ` Dmitry Baryshkov
2025-03-05 2:59 ` Dmitry Baryshkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202503061341.jnPRINny-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_molvera@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.