From: kernel test robot <lkp@intel.com>
To: Tzu-Hao Wei <twei@axiado.com>,
SriNavmani A <srinavmani@axiado.com>,
Prasad Bolisetty <pbolisetty@axiado.com>,
Vinod Koul <vkoul@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org,
Tzu-Hao Wei <twei@axiado.com>
Subject: Re: [PATCH 2/4] phy: axiado: add Axiado eMMC PHY driver
Date: Fri, 16 Jan 2026 06:22:08 +0800 [thread overview]
Message-ID: <202601160610.y8FbB5x1-lkp@intel.com> (raw)
In-Reply-To: <20260109-axiado-ax3000-add-emmc-phy-driver-support-v1-2-dd43459dbfea@axiado.com>
Hi Tzu-Hao,
kernel test robot noticed the following build errors:
[auto build test ERROR on f0b9d8eb98dfee8d00419aa07543bdc2c1a44fb1]
url: https://github.com/intel-lab-lkp/linux/commits/Tzu-Hao-Wei/dt-bindings-phy-axiado-ax3000-emmc-phy-add-Axiado-eMMC-PHY/20260109-174938
base: f0b9d8eb98dfee8d00419aa07543bdc2c1a44fb1
patch link: https://lore.kernel.org/r/20260109-axiado-ax3000-add-emmc-phy-driver-support-v1-2-dd43459dbfea%40axiado.com
patch subject: [PATCH 2/4] phy: axiado: add Axiado eMMC PHY driver
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260116/202601160610.y8FbB5x1-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260116/202601160610.y8FbB5x1-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/202601160610.y8FbB5x1-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/swab.h:5,
from include/uapi/linux/byteorder/big_endian.h:14,
from include/linux/byteorder/big_endian.h:5,
from arch/m68k/include/uapi/asm/byteorder.h:5,
from include/asm-generic/bitops/le.h:6,
from arch/m68k/include/asm/bitops.h:569,
from include/linux/bitops.h:67,
from include/linux/thread_info.h:27,
from include/asm-generic/preempt.h:5,
from ./arch/m68k/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:79,
from arch/m68k/include/asm/processor.h:11,
from include/linux/sched.h:13,
from include/linux/delay.h:13,
from drivers/phy/axiado/phy-axiado-emmc.c:11:
drivers/phy/axiado/phy-axiado-emmc.c: In function 'axiado_emmc_phy_power_on':
>> drivers/phy/axiado/phy-axiado-emmc.c:69:34: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
69 | #define OTAP_SEL(x) (FIELD_PREP(OTAP_SEL_MASK, x) | OTAPDLY_EN)
| ^~~~~~~~~~
include/uapi/linux/swab.h:118:38: note: in definition of macro '__swab32'
118 | (__u32)(__builtin_constant_p(x) ? \
| ^
include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32'
88 | #define cpu_to_le32 __cpu_to_le32
| ^~~~~~~~~~~~~
arch/m68k/include/asm/io_mm.h:373:26: note: in expansion of macro 'out_le32'
373 | #define writel(val,addr) out_le32((addr),(val))
| ^~~~~~~~
drivers/phy/axiado/phy-axiado-emmc.c:147:9: note: in expansion of macro 'writel'
147 | writel(val | OTAP_SEL(OTAP_DLY), ax_phy->reg_base + PHY_CTRL_2);
| ^~~~~~
drivers/phy/axiado/phy-axiado-emmc.c:147:22: note: in expansion of macro 'OTAP_SEL'
147 | writel(val | OTAP_SEL(OTAP_DLY), ax_phy->reg_base + PHY_CTRL_2);
| ^~~~~~~~
vim +/FIELD_PREP +69 drivers/phy/axiado/phy-axiado-emmc.c
> 11 #include <linux/delay.h>
12 #include <linux/io.h>
13 #include <linux/iopoll.h>
14 #include <linux/module.h>
15 #include <linux/of.h>
16 #include <linux/phy/phy.h>
17 #include <linux/platform_device.h>
18
19 /* Arasan eMMC 5.1 - PHY configuration registers */
20 #define CAP_REG_IN_S1_LSB 0x00
21 #define CAP_REG_IN_S1_MSB 0x04
22 #define PHY_CTRL_1 0x38
23 #define PHY_CTRL_2 0x3C
24 #define PHY_CTRL_3 0x40
25 #define STATUS 0x50
26
27 #define DLL_ENBL BIT(26)
28 #define RTRIM_EN BIT(21)
29 #define PDB_ENBL BIT(23)
30 #define RETB_ENBL BIT(1)
31
32 #define REN_STRB BIT(27)
33 #define REN_CMD BIT(12)
34 #define REN_DAT0 BIT(13)
35 #define REN_DAT1 BIT(14)
36 #define REN_DAT2 BIT(15)
37 #define REN_DAT3 BIT(16)
38 #define REN_DAT4 BIT(17)
39 #define REN_DAT5 BIT(18)
40 #define REN_DAT6 BIT(19)
41 #define REN_DAT7 BIT(20)
42 #define REN_CMD_EN (REN_CMD | REN_DAT0 | REN_DAT1 | REN_DAT2 | \
43 REN_DAT3 | REN_DAT4 | REN_DAT5 | REN_DAT6 | REN_DAT7)
44
45 /* Pull-UP Enable on CMD Line */
46 #define PU_CMD BIT(3)
47 #define PU_DAT0 BIT(4)
48 #define PU_DAT1 BIT(5)
49 #define PU_DAT2 BIT(6)
50 #define PU_DAT3 BIT(7)
51 #define PU_DAT4 BIT(8)
52 #define PU_DAT5 BIT(9)
53 #define PU_DAT6 BIT(10)
54 #define PU_DAT7 BIT(11)
55 #define PU_CMD_EN (PU_CMD | PU_DAT0 | PU_DAT1 | PU_DAT2 | PU_DAT3 | \
56 PU_DAT4 | PU_DAT5 | PU_DAT6 | PU_DAT7)
57
58 /* Selection value for the optimum delay from 1-32 output tap lines */
59 #define OTAP_DLY 0x02
60 /* DLL charge pump current trim default [1000] */
61 #define DLL_TRM_ICP 0x08
62 /* Select the frequency range of DLL Operation */
63 #define FRQ_SEL 0x01
64
65 #define OTAP_SEL_MASK GENMASK(10, 7)
66 #define DLL_TRM_MASK GENMASK(25, 22)
67 #define DLL_FRQSEL_MASK GENMASK(27, 25)
68
> 69 #define OTAP_SEL(x) (FIELD_PREP(OTAP_SEL_MASK, x) | OTAPDLY_EN)
70 #define DLL_TRM(x) (FIELD_PREP(DLL_TRM_MASK, x) | DLL_ENBL)
71 #define DLL_FRQSEL(x) FIELD_PREP(DLL_FRQSEL_MASK, x)
72
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-15 22:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-09 9:43 [PATCH 0/4] Add eMMC PHY support for Axiado AX3000 SoC Tzu-Hao Wei
2026-01-09 9:43 ` [PATCH 1/4] dt-bindings: phy: axiado,ax3000-emmc-phy: add Axiado eMMC PHY Tzu-Hao Wei
2026-01-11 10:37 ` Krzysztof Kozlowski
2026-01-12 8:34 ` Krzysztof Kozlowski
2026-01-12 10:27 ` Tzu-Hao Wei
2026-01-09 9:43 ` [PATCH 2/4] phy: axiado: add Axiado eMMC PHY driver Tzu-Hao Wei
2026-01-15 22:22 ` kernel test robot [this message]
2026-01-09 9:43 ` [PATCH 3/4] MAINTAINERS: Add Axiado AX3000 " Tzu-Hao Wei
2026-01-11 10:40 ` Krzysztof Kozlowski
2026-01-13 3:38 ` Tzu-Hao Wei
2026-01-12 6:02 ` Prasad Bolisetty
2026-01-09 9:43 ` [PATCH 4/4] arm64: dts: axiado: Add eMMC PHY node Tzu-Hao Wei
2026-01-12 8:32 ` [PATCH 0/4] Add eMMC PHY support for Axiado AX3000 SoC Krzysztof Kozlowski
2026-01-13 6:16 ` Tzu-Hao Wei
2026-01-12 15:17 ` Rob Herring
2026-02-04 9:19 ` Tzu-Hao Wei
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=202601160610.y8FbB5x1-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=openbmc@lists.ozlabs.org \
--cc=pbolisetty@axiado.com \
--cc=robh@kernel.org \
--cc=srinavmani@axiado.com \
--cc=twei@axiado.com \
--cc=vkoul@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox