From: kernel test robot <lkp@intel.com>
To: Tarang Raval <tarang.raval@siliconsignals.io>,
sakari.ailus@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev, mehdi.djait@linux.intel.com,
Tarang Raval <tarang.raval@siliconsignals.io>,
Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>,
Elgin Perumbilly <elgin.perumbilly@siliconsignals.io>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 13/13] media: i2c: os05b10: add 2-lane support
Date: Sat, 7 Mar 2026 09:56:12 +0800 [thread overview]
Message-ID: <202603070920.GtWqPt5Q-lkp@intel.com> (raw)
In-Reply-To: <20260306123304.76722-14-tarang.raval@siliconsignals.io>
Hi Tarang,
kernel test robot noticed the following build errors:
[auto build test ERROR on sailus-media-tree/master]
[also build test ERROR on linus/master v7.0-rc2 next-20260306]
[cannot apply to sailus-media-tree/streams]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Tarang-Raval/media-i2c-os05b10-drop-unused-group-hold-programming/20260306-212656
base: git://linuxtv.org/sailus/media_tree.git master
patch link: https://lore.kernel.org/r/20260306123304.76722-14-tarang.raval%40siliconsignals.io
patch subject: [PATCH 13/13] media: i2c: os05b10: add 2-lane support
config: openrisc-randconfig-r071-20260307 (https://download.01.org/0day-ci/archive/20260307/202603070920.GtWqPt5Q-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 15.2.0
smatch: v0.5.0-9004-gb810ac53
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260307/202603070920.GtWqPt5Q-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/202603070920.GtWqPt5Q-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/media/i2c/os05b10.c: In function 'os05b10_parse_endpoint':
>> drivers/media/i2c/os05b10.c:1228:56: error: 'struct v4l2_fwnode_endpoint' has no member named 'link_frequencies_2lane'; did you mean 'link_frequencies'?
1228 | bus_cfg.link_frequencies_2lane,
| ^~~~~~~~~~~~~~~~~~~~~~
| link_frequencies
>> drivers/media/i2c/os05b10.c:1229:56: error: 'struct v4l2_fwnode_endpoint' has no member named 'nr_of_link_frequencies_2lane'; did you mean 'nr_of_link_frequencies'?
1229 | bus_cfg.nr_of_link_frequencies_2lane,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| nr_of_link_frequencies
>> drivers/media/i2c/os05b10.c:1240:56: error: 'struct v4l2_fwnode_endpoint' has no member named 'link_frequencies_4lane'; did you mean 'link_frequencies'?
1240 | bus_cfg.link_frequencies_4lane,
| ^~~~~~~~~~~~~~~~~~~~~~
| link_frequencies
>> drivers/media/i2c/os05b10.c:1241:56: error: 'struct v4l2_fwnode_endpoint' has no member named 'nr_of_link_frequencies_4lane'; did you mean 'nr_of_link_frequencies'?
1241 | bus_cfg.nr_of_link_frequencies_4lane,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| nr_of_link_frequencies
vim +1228 drivers/media/i2c/os05b10.c
1196
1197 static int os05b10_parse_endpoint(struct os05b10 *os05b10)
1198 {
1199 struct v4l2_fwnode_endpoint bus_cfg = {
1200 .bus_type = V4L2_MBUS_CSI2_DPHY
1201 };
1202 unsigned long link_freq_bitmap;
1203 struct fwnode_handle *ep;
1204 int ret;
1205
1206 ep = fwnode_graph_get_endpoint_by_id(dev_fwnode(os05b10->dev), 0, 0, 0);
1207 if (!ep) {
1208 dev_err(os05b10->dev, "Failed to get next endpoint\n");
1209 return -EINVAL;
1210 }
1211
1212 ret = v4l2_fwnode_endpoint_alloc_parse(ep, &bus_cfg);
1213 fwnode_handle_put(ep);
1214 if (ret)
1215 return ret;
1216
1217 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 4 &&
1218 bus_cfg.bus.mipi_csi2.num_data_lanes != 2) {
1219 ret = dev_err_probe(os05b10->dev, -EINVAL,
1220 "4 and 2 data lanes are supported\n");
1221 goto error_out;
1222 }
1223
1224 os05b10->data_lanes = bus_cfg.bus.mipi_csi2.num_data_lanes;
1225
1226 if (os05b10->data_lanes == 2) {
1227 ret = v4l2_link_freq_to_bitmap(os05b10->dev,
> 1228 bus_cfg.link_frequencies_2lane,
> 1229 bus_cfg.nr_of_link_frequencies_2lane,
1230 link_frequencies_2lane,
1231 ARRAY_SIZE(link_frequencies_2lane),
1232 &link_freq_bitmap);
1233 if (ret) {
1234 dev_err(os05b10->dev,
1235 "For 2 lane 750MHz frequency is available\n");
1236 goto error_out;
1237 }
1238 } else {
1239 ret = v4l2_link_freq_to_bitmap(os05b10->dev,
> 1240 bus_cfg.link_frequencies_4lane,
> 1241 bus_cfg.nr_of_link_frequencies_4lane,
1242 link_frequencies_4lane,
1243 ARRAY_SIZE(link_frequencies_4lane),
1244 &link_freq_bitmap);
1245 if (ret) {
1246 dev_err(os05b10->dev,
1247 "For 4 lane 600MHz frequency is available\n");
1248 goto error_out;
1249 }
1250 }
1251
1252 os05b10->link_freq_index = __ffs(link_freq_bitmap);
1253
1254 error_out:
1255 v4l2_fwnode_endpoint_free(&bus_cfg);
1256
1257 return ret;
1258 }
1259
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-03-07 1:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 12:32 [PATCH 00/13] media: i2c: os05b10: Refactor driver and Add new features Tarang Raval
2026-03-06 12:32 ` [PATCH 01/13] media: i2c: os05b10: drop unused group-hold programming Tarang Raval
2026-03-06 12:32 ` [PATCH 02/13] media: i2c: os05b10: add register definitions and use them in init table Tarang Raval
2026-03-06 12:32 ` [PATCH 03/13] media: i2c: os05b10: split common and mode-specific init registers Tarang Raval
2026-03-06 12:32 ` [PATCH 04/13] media: i2c: os05b10: add V4L2 digital gain control Tarang Raval
2026-03-06 12:32 ` [PATCH 05/13] media: i2c: os05b10: Add H/V flip support Tarang Raval
2026-03-06 12:32 ` [PATCH 06/13] media: i2c: os05b10: Add test pattern options Tarang Raval
2026-03-06 12:32 ` [PATCH 07/13] media: i2c: os05b10: add 12-bit RAW mode support Tarang Raval
2026-03-06 12:32 ` [PATCH 08/13] media: i2c: os05b10: update pixel rate on 10/12-bit mode switch Tarang Raval
2026-03-06 12:32 ` [PATCH 09/13] media: i2c: os05b10: Add 1080p and 2x2 binning 720p modes Tarang Raval
2026-03-06 12:33 ` [PATCH 10/13] media: i2c: os05b10: keep vblank/exposure in sync on mode switch Tarang Raval
2026-03-06 13:35 ` Sakari Ailus
2026-03-07 5:28 ` Tarang Raval
2026-03-06 12:33 ` [PATCH 11/13] media: i2c: os05b10: Update active format before adjusting framing controls Tarang Raval
2026-03-06 13:36 ` Sakari Ailus
2026-03-07 5:22 ` Tarang Raval
2026-03-09 8:19 ` Tarang Raval
2026-03-24 16:31 ` Tarang Raval
2026-03-25 8:56 ` sakari.ailus
2026-03-25 9:05 ` Tarang Raval
2026-03-06 12:33 ` [PATCH 12/13] media: i2c: os05b10: Rename vmax variable in VBLANK control Tarang Raval
2026-03-06 12:33 ` [PATCH 13/13] media: i2c: os05b10: add 2-lane support Tarang Raval
2026-03-07 1:56 ` kernel test robot [this message]
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=202603070920.GtWqPt5Q-lkp@intel.com \
--to=lkp@intel.com \
--cc=elgin.perumbilly@siliconsignals.io \
--cc=himanshu.bhavani@siliconsignals.io \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mehdi.djait@linux.intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sakari.ailus@linux.intel.com \
--cc=tarang.raval@siliconsignals.io \
/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