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

Commit 19372b24 authored by Florian Fainelli's avatar Florian Fainelli Committed by Ralf Baechle
Browse files

MIPS: BCM63xx: Add BCM6368 SPI clock mask



Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: grant.likely@secretlab.ca
Cc: spi-devel-general@lists.sourceforge.net
Patchwork: https://patchwork.linux-mips.org/patch/3319/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 9e368e49
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -181,9 +181,11 @@ static void spi_set(struct clk *clk, int enable)
		mask = CKCTL_6338_SPI_EN;
	else if (BCMCPU_IS_6348())
		mask = CKCTL_6348_SPI_EN;
	else
		/* BCMCPU_IS_6358 */
	else if (BCMCPU_IS_6358())
		mask = CKCTL_6358_SPI_EN;
	else
		/* BCMCPU_IS_6368 */
		mask = CKCTL_6368_SPI_EN;
	bcm_hwclock_set(mask, enable);
}