drm/bridge: add it6505 driver
Subsystems (4)
PATCH v2 1/1 drm/bridge: add it6505 driver
This adds support for the iTE IT6505.
This device can convert DPI signal to DP output.
From: Allen Chen <[email protected]>
--- drivers/gpu/drm/bridge/Kconfig | 7 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/ite-it6505.c | 3336 +++++++++++++++++++++++++++ 3 files changed, 3344 insertions(+) create mode 100644 drivers/gpu/drm/bridge/ite-it6505.c
drivers/gpu/drm/bridge/Kconfig +7 -0
@@ -61,6 +61,13 @@ config DRM_LONTIUM_LT9611 HDMI signals Please say Y if you have such hardware. +config DRM_ITE_IT6505 + tristate "ITE IT6505 DisplayPort bridge" + depends on OF + select DRM_KMS_HELPER + help + ITE IT6505 DisplayPort bridge chip driver. + config DRM_LVDS_CODEC tristate "Transparent LVDS encoders and decoders support" depends on OF
drivers/gpu/drm/bridge/Makefile +1 -0
@@ -3,6 +3,7 @@ obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o obj-$(CONFIG_DRM_CHRONTEL_CH7033) += chrontel-ch7033.o obj-$(CONFIG_DRM_DISPLAY_CONNECTOR) += display-connector.o obj-$(CONFIG_DRM_LONTIUM_LT9611) += lontium-lt9611.o +obj-$(CONFIG_DRM_ITE_IT6505) += ite-it6505.o obj-$(CONFIG_DRM_LVDS_CODEC) += lvds-codec.o obj-$(CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW) += megachips-stdpxxxx-ge-b850v3-fw.o obj-$(CONFIG_DRM_NXP_PTN3460) += nxp-ptn3460.o
drivers/gpu/drm/bridge/ite-it6505.c new file +3336 -0
2,980 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.25.1
Part of the diff is not shown here. View the raw message.
kernel test robot
build botI love your patch! Yet something to improve:
Hi allen,
I love your patch! Yet something to improve:
[auto build test ERROR on next-20200902]
[cannot apply to linus/master v5.9-rc3 v5.9-rc2 v5.9-rc1 v5.9-rc3] [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]
url: https://github.com/0day-ci/linux/commits/allen/drm-bridge-add-it6505-driver/20200903-175116 base: 4442749a203151a319a5bb8d0b983b84253a6931 config: arc-allyesconfig (attached as .config) compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/bridge/ite-it6505.c:3324:10: error: 'it6505_bridge_pm_ops' undeclared here (not in a function); did you mean 'it6505_bridge_funcs'?
3324 | .pm = &it6505_bridge_pm_ops,
| ^~~~~~~~~~~~~~~~~~~~
| it6505_bridge_funcs
In file included from include/linux/energy_model.h:10,
from include/linux/device.h:16,
from drivers/gpu/drm/bridge/ite-it6505.c:7:
include/linux/sched/topology.h:40:3: warning: 'sd_flag_debug' defined but not used [-Wunused-const-variable=]
40 | } sd_flag_debug[] = {
| ^~~~~~~~~~~~~
In file included from include/linux/energy_model.h:10,
from include/linux/device.h:16,
from drivers/gpu/drm/bridge/ite-it6505.c:7: include/linux/sched/topology.h:30:27: warning: 'SD_DEGENERATE_GROUPS_MASK' defined but not used [-Wunused-const-variable=]
30 | static const unsigned int SD_DEGENERATE_GROUPS_MASK =
| ^~~~~~~~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/6412b77bfc79fb3e309f39f55590fc610d33692c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review allen/drm-bridge-add-it6505-driver/20200903-175116 git checkout 6412b77bfc79fb3e309f39f55590fc610d33692c
vim +3324 drivers/gpu/drm/bridge/ite-it6505.c
3319
3320 static struct i2c_driver it6505_i2c_driver = {
3321 .driver = {
3322 .name = "it6505",
3323 .of_match_table = it6505_of_match,
> 3324 .pm = &it6505_bridge_pm_ops,
3325 },
3326 .probe = it6505_i2c_probe,
3327 .remove = it6505_i2c_remove,
3328 .shutdown = it6505_shutdown,
3329 .id_table = it6505_id,
3330 };
3331
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org