svn commit: r344585 - head/sys/arm64/rockchip

Emmanuel Vadot manu at FreeBSD.org
Tue Feb 26 15:29:17 UTC 2019


Author: manu
Date: Tue Feb 26 15:29:16 2019
New Revision: 344585
URL: https://svnweb.freebsd.org/changeset/base/344585

Log:
  arm64: rockchip: rk_pinctrl: Fix two banks in RK3328
  
  The last two banks don't have 3 bits for the pin function but only 2.
  This fixes eMMC on the Rock64.
  
  MFC after:	1 week

Modified:
  head/sys/arm64/rockchip/rk_pinctrl.c

Modified: head/sys/arm64/rockchip/rk_pinctrl.c
==============================================================================
--- head/sys/arm64/rockchip/rk_pinctrl.c	Tue Feb 26 15:06:44 2019	(r344584)
+++ head/sys/arm64/rockchip/rk_pinctrl.c	Tue Feb 26 15:29:16 2019	(r344585)
@@ -191,13 +191,13 @@ static struct rk_pinctrl_bank rk3328_iomux_bank[] = {
 		.bank_num = 3,
 		.subbank_num = 2,
 		.offset = 0x48,
-		.nbits = 3,
+		.nbits = 2,
 	},
 	{
 		.bank_num = 3,
 		.subbank_num = 3,
 		.offset = 0x4c,
-		.nbits = 3,
+		.nbits = 2,
 	},
 };
 


More information about the svn-src-head mailing list