From: Johan Jonker <jbx6244@gmail.com>
To: kever.yang@rock-chips.com
Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, lukma@denx.de,
marex@denx.de, u-boot@lists.denx.de
Subject: [PATCH v1 3/4] rockchip: board: change condition board_usb_init() in function
Date: Fri, 29 Apr 2022 23:40:07 +0200 [thread overview]
Message-ID: <20220429214008.26977-3-jbx6244@gmail.com> (raw)
In-Reply-To: <20220429214008.26977-1-jbx6244@gmail.com>
Change define condition in board_usb_init() function
to allow rk3066/rk3188 to use the USB PHY driver.
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
arch/arm/mach-rockchip/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c
index 5304eb05..cbe00d64 100644
--- a/arch/arm/mach-rockchip/board.c
+++ b/arch/arm/mach-rockchip/board.c
@@ -90,7 +90,7 @@ int board_usb_init(int index, enum usb_init_type init)
}
otg_data.regs_otg = ofnode_get_addr(node);
-#ifdef CONFIG_ROCKCHIP_RK3288
+#ifdef CONFIG_ROCKCHIP_USB2_PHY
int ret;
u32 phandle, offset;
ofnode phy_node;
--
2.20.1
next prev parent reply other threads:[~2022-04-29 21:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-29 21:40 [PATCH v1 1/4] rockchip: usb: gadget: add rk3066 product id Johan Jonker
2022-04-29 21:40 ` [PATCH v1 2/4] rockchip: usb: phy: add rk3066/rk3188 support Johan Jonker
2022-05-26 7:01 ` Kever Yang
2022-04-29 21:40 ` Johan Jonker [this message]
2022-05-26 7:01 ` [PATCH v1 3/4] rockchip: board: change condition board_usb_init() in function Kever Yang
2022-04-29 21:40 ` [PATCH v1 4/4] arm: dts: rockchip: remove usb-phy fallback string for rk3188 Johan Jonker
2022-05-26 7:02 ` Kever Yang
2022-05-26 7:01 ` [PATCH v1 1/4] rockchip: usb: gadget: add rk3066 product id Kever Yang
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=20220429214008.26977-3-jbx6244@gmail.com \
--to=jbx6244@gmail.com \
--cc=kever.yang@rock-chips.com \
--cc=lukma@denx.de \
--cc=marex@denx.de \
--cc=philipp.tomsich@vrull.eu \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.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