RV1126B has one USB2.0 PHY with two ports, the OTG port
support OTG function and BC1.2, and the Host port only
support Host function. The SoC provides USB GRF to control
the internal UTMI+ interface and it also provides APB to
access the PHY internal registers for the USB HS/FS/LS
signal integrity tuning.
This patch adds the USB2.0 PHY tuning to improve the
signal integrity for RV1126B.
1. Enable pre-emphasis during non-chirp phase.
2. Set HS eye height to 425mv(default is 400mv).
3. Set Rx squelch trigger point configure to 112.5mv.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ief1a0aa532ba6dc6824dce72595bd39d8df8cefe
When build with rv1126b_defconfig, and enable the combphy
config manually:
CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y
size drivers/phy/rockchip/phy-rockchip-naneng-combphy.o
before:
text data bss dec hex filename
14891 224 0 15115 3b0b drivers/phy/rockchip/phy-rockchip-naneng-combphy.o
after:
text data bss dec hex filename
5091 224 0 5315 14c3 drivers/phy/rockchip/phy-rockchip-naneng-combphy.o
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I83cde7bc9fdc373ad934b9f7fd75160719022b55
This patch adds the USB3.0 PHY configurations for
RV1126B USB3.0 interface.
The RV1126B USB3.0 PHY clamp default value is 1'b0 which
means that clamp enable. This patch sets clamp value to
1'b1 for USB3.0 function.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Id285ffd72e849a878b8d338671060ad222143c7e
Add the compatible "rockchip,rv1126b-dwc3" for the RV1126B.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I90f912b68cdaf3ff88045c89ad4ea67b1e736c43
Add the compatible "rockchip,rv1126b-usb3-phy" for the RV1126B.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: If9b7a72e9a96752c21b4dace69e285ab5dd97f33
Add the compatible "rockchip,rv1126b-usb2phy" for the RV1126B.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I4428c04f5ebf3f47b0ecdebf55dde76c0d56cae1
This adds the necessary data for handling otp on the rv1126b.
Change-Id: Ie8114fbb07590556382ccfee63052c67072f3ce2
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
RKCE has redesigned the operational flow of CRYPTO to implement
pipelined computing. Using the standard crypto engine framework on
the driver can greatly simplify the logic of the code.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ia6f5e2321ab4c7ae01d33cbd30a222bf32706ab4
Support 4lane MIPI interface, 1.5Gbps/lane
Max output resolution is 1920x1080@60fps
Change-Id: I6b99b9d42aefd6f07a2bc49c9bb1696d712ed1fa
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com>
RV1126B VOP has a writeback with max 1920 x 1080 output.
Writeback work as a connector in drm system.
Change-Id: I550601e480630a841c9abfadb9eda2204c074592
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
RV1126B supports calculating the exact dclk from the known aclk rate.
Change-Id: I92539f34eda514a5f35ce53ece98109dac888d6c
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
RV1126B support horizontial and vertical color bar.
Change-Id: Idf4fe9d125585286b928f4728b0567ea4c20aa2e
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
VOP on RV1126B support 2 win, max output resolution 1920x1080P60:
Win0 MAX 1920x1080, support line YUV/RGB
Win2 MAX 1920x1080, support RGB
RV1126B VOP also supports write back feature, max resolution 1920x1080.
Change-Id: I07376ec32e5200f29038b5bdcacc0ac31bd7e915
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
This driver is modified to support RV1126B SoCs.
Change-Id: I9f2c09f229e933f68f37af179ef8d6c27bc09a41
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
1.Support data shift.
2.Move the hpf after cic filter.
3.Separate the gain control.
Change-Id: I092360fad0945084c3b44f3a31be6ee67371755a
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
e.g. mask the right channel for play and rec
dai-tdm-slot-num = <2>;
dai-tdm-slot-width = <32>;
dai-tdm-slot-tx-mask = <0 1>;
dai-tdm-slot-rx-mask = <0 1>;
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Id359876f47916417ee6be9e607b05b79665cd9bf