Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 759a3f3f authored by Bob Liu's avatar Bob Liu Committed by Mike Frysinger
Browse files

Blackfin: musb-boards: push clkin value to platform resources



In order to not touch the driver file for different xtal usage,
push the clkin value to board file and calculate the register
value instead of hardcoding it.

Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 1a314ad4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ static struct musb_hdrc_config musb_config = {
	 * if it is the case.
	 */
	.gpio_vrsel_active	= 1,
	.clkin          = 24,           /* musb CLKIN in MHZ */
};

static struct musb_hdrc_platform_data musb_plat = {
+1 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@ static struct musb_hdrc_config musb_config = {
	 * if it is the case.
	 */
	.gpio_vrsel_active	= 1,
	.clkin          = 24,           /* musb CLKIN in MHZ */
};

static struct musb_hdrc_platform_data musb_plat = {
+1 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ static struct musb_hdrc_config musb_config = {
	 * if it is the case.
	 */
	.gpio_vrsel_active	= 1,
	.clkin          = 24,           /* musb CLKIN in MHZ */
};

static struct musb_hdrc_platform_data musb_plat = {
+1 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ static struct musb_hdrc_config musb_config = {
	 * if it is the case.
	 */
	.gpio_vrsel_active	= 1,
	.clkin          = 24,           /* musb CLKIN in MHZ */
};

static struct musb_hdrc_platform_data musb_plat = {
+1 −0
Original line number Diff line number Diff line
@@ -504,6 +504,7 @@ static struct musb_hdrc_config musb_config = {
	 * if it is the case.
	 */
	.gpio_vrsel_active	= 1,
	.clkin          = 24,           /* musb CLKIN in MHZ */
};

static struct musb_hdrc_platform_data musb_plat = {
Loading