Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hardware-enablement
Rockchip upstream enablement efforts
u-boot
Commits
6f54fe40
Commit
6f54fe40
authored
1 month ago
by
Jonas Karlman
Browse files
Options
Downloads
Patches
Plain Diff
phy: rockchip-inno-usb2: Add support for RK3528
Signed-off-by:
Jonas Karlman
<
jonas@kwiboo.se
>
parent
c709eb82
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/phy/rockchip/phy-rockchip-inno-usb2.c
+20
-0
20 additions, 0 deletions
drivers/phy/rockchip/phy-rockchip-inno-usb2.c
with
20 additions
and
0 deletions
drivers/phy/rockchip/phy-rockchip-inno-usb2.c
+
20
−
0
View file @
6f54fe40
...
...
@@ -414,6 +414,22 @@ static const struct rockchip_usb2phy_cfg rk3399_usb2phy_cfgs[] = {
{
/* sentinel */
}
};
static
const
struct
rockchip_usb2phy_cfg
rk3528_phy_cfgs
[]
=
{
{
.
reg
=
0xffdf0000
,
.
clkout_ctl_phy
=
{
0x041c
,
7
,
2
,
0
,
0x27
},
.
port_cfgs
=
{
[
USB2PHY_PORT_OTG
]
=
{
.
phy_sus
=
{
0x6004c
,
1
,
0
,
2
,
1
},
},
[
USB2PHY_PORT_HOST
]
=
{
.
phy_sus
=
{
0x6005c
,
1
,
0
,
2
,
1
},
}
},
},
{
/* sentinel */
}
};
static
const
struct
rockchip_usb2phy_cfg
rk3568_phy_cfgs
[]
=
{
{
.
reg
=
0xfe8a0000
,
...
...
@@ -495,6 +511,10 @@ static const struct udevice_id rockchip_usb2phy_ids[] = {
.
compatible
=
"rockchip,rk3399-usb2phy"
,
.
data
=
(
ulong
)
&
rk3399_usb2phy_cfgs
,
},
{
.
compatible
=
"rockchip,rk3528-usb2phy"
,
.
data
=
(
ulong
)
&
rk3528_phy_cfgs
,
},
{
.
compatible
=
"rockchip,rk3568-usb2phy"
,
.
data
=
(
ulong
)
&
rk3568_phy_cfgs
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment