From: kernel test robot <lkp@intel.com>
To: Tony Lindgren <tony@atomide.com>,
Andrzej Hajda <andrzej.hajda@intel.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Simha BN <simhavcs@gmail.com>,
Sam Ravnborg <sam@ravnborg.org>
Cc: oe-kbuild-all@lists.linux.dev,
Carl Philipp Klemm <philipp@uvos.xyz>,
devicetree@vger.kernel.org,
Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>,
Merlijn Wajer <merlijn@wizzup.org>,
Sebastian Reichel <sre@kernel.org>,
dri-devel@lists.freedesktop.org, Pavel Machek <pavel@ucw.cz>
Subject: Re: [PATCH v2 09/10] drm/bridge: tc358775: Add support for tc358765
Date: Wed, 6 Dec 2023 04:19:10 +0800 [thread overview]
Message-ID: <202312060419.B8qmgrsh-lkp@intel.com> (raw)
In-Reply-To: <20231202075514.44474-10-tony@atomide.com>
Hi Tony,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on linus/master v6.7-rc4 next-20231205]
[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/Tony-Lindgren/dt-bindings-display-bridge-tc358775-make-stby-gpio-and-vdd-supplies-optional/20231202-160622
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link: https://lore.kernel.org/r/20231202075514.44474-10-tony%40atomide.com
patch subject: [PATCH v2 09/10] drm/bridge: tc358775: Add support for tc358765
config: x86_64-randconfig-121-20231203 (https://download.01.org/0day-ci/archive/20231206/202312060419.B8qmgrsh-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060419.B8qmgrsh-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/202312060419.B8qmgrsh-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/bridge/tc358775.c:661:13: warning: cast to smaller integer type 'enum tc3587x5_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]
tc->type = (enum tc3587x5_type)of_device_get_match_data(dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +661 drivers/gpu/drm/bridge/tc358775.c
648
649 static int tc_probe(struct i2c_client *client)
650 {
651 struct device *dev = &client->dev;
652 struct tc_data *tc;
653 int ret;
654
655 tc = devm_kzalloc(dev, sizeof(*tc), GFP_KERNEL);
656 if (!tc)
657 return -ENOMEM;
658
659 tc->dev = dev;
660 tc->i2c = client;
> 661 tc->type = (enum tc3587x5_type)of_device_get_match_data(dev);
662
663 tc->panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node,
664 TC358775_LVDS_OUT0, 0);
665 if (IS_ERR(tc->panel_bridge))
666 return PTR_ERR(tc->panel_bridge);
667
668 ret = tc358775_parse_dt(dev->of_node, tc);
669 if (ret)
670 return ret;
671
672 tc->vddio = devm_regulator_get(dev, "vddio-supply");
673 if (IS_ERR(tc->vddio)) {
674 ret = PTR_ERR(tc->vddio);
675 dev_err(dev, "vddio-supply not found\n");
676 return ret;
677 }
678
679 tc->vdd = devm_regulator_get(dev, "vdd-supply");
680 if (IS_ERR(tc->vdd)) {
681 ret = PTR_ERR(tc->vdd);
682 dev_err(dev, "vdd-supply not found\n");
683 return ret;
684 }
685
686 tc->stby_gpio = devm_gpiod_get_optional(dev, "stby", GPIOD_OUT_HIGH);
687 if (IS_ERR(tc->stby_gpio))
688 return PTR_ERR(tc->stby_gpio);
689
690 tc->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
691 if (IS_ERR(tc->reset_gpio)) {
692 ret = PTR_ERR(tc->reset_gpio);
693 dev_err(dev, "cannot get reset-gpios %d\n", ret);
694 return ret;
695 }
696
697 tc->bridge.funcs = &tc_bridge_funcs;
698 tc->bridge.of_node = dev->of_node;
699 tc->bridge.pre_enable_prev_first = true;
700 drm_bridge_add(&tc->bridge);
701
702 i2c_set_clientdata(client, tc);
703
704 ret = tc_attach_host(tc);
705 if (ret)
706 goto err_bridge_remove;
707
708 return 0;
709
710 err_bridge_remove:
711 drm_bridge_remove(&tc->bridge);
712 return ret;
713 }
714
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-12-05 20:19 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-02 7:54 [PATCH v2 00/10] Improvments for tc358775 with support for tc358765 Tony Lindgren
2023-12-02 7:54 ` [PATCH v2 01/10] dt-bindings: display: bridge: tc358775: make stby gpio and vdd supplies optional Tony Lindgren
2023-12-03 16:49 ` Krzysztof Kozlowski
2023-12-04 9:33 ` Michael Walle
2023-12-02 7:54 ` [PATCH v2 02/10] dt-bindings: display: bridge: tc358775: Add data-lanes Tony Lindgren
2023-12-03 16:51 ` Krzysztof Kozlowski
2023-12-02 7:54 ` [PATCH v2 03/10] dt-bindings: display: bridge: tc358775: Add support for tc358765 Tony Lindgren
2023-12-03 16:52 ` Krzysztof Kozlowski
2023-12-02 7:54 ` [PATCH v2 04/10] drm/bridge: tc358775: fix support for jeida-18 and jeida-24 Tony Lindgren
2023-12-02 7:54 ` [PATCH v2 05/10] drm/bridge: tc358775: make standby GPIO optional Tony Lindgren
2023-12-03 23:37 ` Dmitry Baryshkov
2023-12-04 9:29 ` Michael Walle
2023-12-02 7:54 ` [PATCH v2 06/10] drm/bridge: tc358775: Get bridge data lanes instead of the DSI host lanes Tony Lindgren
2023-12-03 23:47 ` Dmitry Baryshkov
2023-12-07 15:14 ` Michael Walle
2023-12-02 7:54 ` [PATCH v2 07/10] drm/bridge: tc358775: Add burst and low-power modes Tony Lindgren
2023-12-07 15:01 ` Michael Walle
2023-12-02 7:54 ` [PATCH v2 08/10] drm/bridge: tc358775: Enable pre_enable_prev_first flag Tony Lindgren
2023-12-03 23:48 ` Dmitry Baryshkov
2023-12-07 15:03 ` Michael Walle
2023-12-02 7:54 ` [PATCH v2 09/10] drm/bridge: tc358775: Add support for tc358765 Tony Lindgren
2023-12-03 23:52 ` Dmitry Baryshkov
2023-12-04 9:52 ` Michael Walle
2024-01-31 6:20 ` Tony Lindgren
2023-12-05 20:19 ` kernel test robot [this message]
2023-12-02 7:54 ` [PATCH v2 10/10] drm/bridge: tc358775: Configure hs_rate and lp_rate Tony Lindgren
2023-12-03 23:48 ` Dmitry Baryshkov
2023-12-07 16:13 ` Michael Walle
2024-01-31 6:14 ` Tony Lindgren
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=202312060419.B8qmgrsh-lkp@intel.com \
--to=lkp@intel.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=ivo.g.dimitrov.75@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=krzk@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=merlijn@wizzup.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pavel@ucw.cz \
--cc=philipp@uvos.xyz \
--cc=rfoss@kernel.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=simhavcs@gmail.com \
--cc=sre@kernel.org \
--cc=tony@atomide.com \
--cc=tzimmermann@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).