Date: Thu, 19 May 2016 04:03:41 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300183 - head/sys/dev/siba Message-ID: <201605190403.u4J43fP7059797@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu May 19 04:03:41 2016 New Revision: 300183 URL: https://svnweb.freebsd.org/changeset/base/300183 Log: [siba] handle the PMU resource setup/init for 0x4322 series chips. Tested (with other changes): * BCM4322 11abgn device, chip id 0x4322. Modified: head/sys/dev/siba/siba_core.c Modified: head/sys/dev/siba/siba_core.c ============================================================================== --- head/sys/dev/siba/siba_core.c Thu May 19 04:02:13 2016 (r300182) +++ head/sys/dev/siba/siba_core.c Thu May 19 04:03:41 2016 (r300183) @@ -945,6 +945,17 @@ siba_cc_pmu_init(struct siba_cc *scc) siba_cc_pmu1_pll0_init(scc, 0 /* use default */); /* use the default: min = 0xcbb max = 0x7ffff */ break; + case 0x4322: + if (scc->scc_pmu.rev == 2) { + DPRINTF(siba, SIBA_DEBUG_PMU, "%s: chipid 0x4322; PLLing\n", + __func__); + SIBA_CC_WRITE32(scc, SIBA_CC_PLLCTL_ADDR, 0x0000000a); + SIBA_CC_WRITE32(scc, SIBA_CC_PLLCTL_DATA, 0x380005c0); + } + /* use the default: min = 0xcbb max = 0x7ffff */ + break; + case 43222: + break; case 0x4325: siba_cc_pmu1_pll0_init(scc, 0 /* use default */);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605190403.u4J43fP7059797>