The original drm format name will print fourcc along with the other
info, just take fourcc.
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: Id438f5be90a81f1d163f40fcef86cb9cba0f9105
Currently, the dump vop buffer feature is turned on and off through
`CONFIG_ROCKCHIP_DRM_DEBUG` marco. We want to control this at
runtime, so this patch adds a new option for enable to dump debugfs.
- DUMP_DISABLE: Disable dump and do not record plane info into list.
- DUMP_ENABLE: Record plane info into list.
- DUMP_KEEP: Record plane info into list and keep to dump plane.
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I96ad88068b383e93071896c63c3cc68aa05c8834
This patch disable DP/DM pull-down resistor during
charger detection, it can avoid mistakenly detected
floating charger as SDP charger.
Fixes: aedf737234 ("phy: rockchip: inno-usb2: Add usb2 phys support for rk3576")
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I16a3b984204e6db3f94a011d96a6e0bed57d6b4d
Ensure that ddc signals comply with protocol requirements.
Change-Id: I4cd343061f2f6030951a71915d2086946b5cb722
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
When mask rk3588 hpd irq, hpd irq status bit
`ohpd_int` will be clear automatically.
Change-Id: I462e1f9e5e2b1ac923e32a0c7e08a06d4f867083
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
When mask rk3576 hpd irq, hpd irq status bit
`ohpd_int` will be clear automatically.
Change-Id: Ia3261ee439657f33bce36e244d52573586f2d92c
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
While TCPM invoke set_vbus(), we checked the vbus and charge status
to disable 24M OSC to save power consumption via a delay worker.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I4e5b191d4071b3668413fc7362498d6ea3889b7a
1. Set the default tx dll tap value to 0x7 for hs400.
2. Set the default cmd dll tap value to 0x7.
3. Configure the RK_TAP_VALUE_SEL flag.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: If9d920756b0ecc960bb607f1fcec889daff51f46
drivers/media/platform/rockchip/cif/capture.c:5159:6: error: conflicting types for 'rkcif_do_stop_stream' due to enum/integer mismatch; have 'void(struct rkcif_stream *, unsigned int)' [-Werror=enum-int-mismatch]
5159 | void rkcif_do_stop_stream(struct rkcif_stream *stream,
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/media/platform/rockchip/cif/capture.c:24:
drivers/media/platform/rockchip/cif/dev.h:949:6: note: previous declaration of 'rkcif_do_stop_stream' with type 'void(struct rkcif_stream *, enum rkcif_stream_mode)'
949 | void rkcif_do_stop_stream(struct rkcif_stream *stream,
| ^~~~~~~~~~~~~~~~~~~~
drivers/media/platform/rockchip/cif/capture.c:6344:5: error: conflicting types for 'rkcif_do_start_stream' due to enum/integer mismatch; have 'int(struct rkcif_stream *, unsigned int)' [-Werror=enum-int-mismatch]
6344 | int rkcif_do_start_stream(struct rkcif_stream *stream, unsigned int mode)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/rockchip/cif/dev.h:947:5: note: previous declaration of 'rkcif_do_start_stream' with type 'int(struct rkcif_stream *, enum rkcif_stream_mode)'
947 | int rkcif_do_start_stream(struct rkcif_stream *stream,
| ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:273: recipe for target 'drivers/media/platform/rockchip/cif/capture.o' failed
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ibbd427bf07937c655a93bf84d33f25e86fece9d0
before:
text data bss dec hex filename
538 232 0 770 302 drivers/mfd/rkx110_x120/rkx120.o
after:
text data bss dec hex filename
468 32 0 500 1f4 drivers/mfd/rkx110_x120/rkx120.o
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic1b6fe5fef13e64756797e28b48935ac570aa80b
Previous versions did not update the acm status in real time.
This causes the input color format of post csc to be
wrongly judged.
Change-Id: I1213ec3962682a09d9ad80827564b1d68b97cb20
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>