From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:24 +0200 Subject: [U-Boot] [U-Boot, v4, 57/66] rockchip: spi: enable support for the rk_spi driver for the RK3368 In-Reply-To: <1501706105-7490-58-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-58-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > For the RK3368, we can reuse the SPI driver (although we'll have to > eventually investigate whether it can be merged with the > designware_spi.c driver) also used for the RK3288 and RK3399. > This adds the necessary compatible string to support the RK3368. > > Note that the assumption that GPLL will be clocked at 594MHz is not > true for the RK3368, but this will not lead to incorrect functioning > (just to a lower-than-expected SPI operating frequency): this has been > documented in the driver, so it doesn't cause any headaches when > someone next needs to touch the clock code of this driver. > > Signed-off-by: Philipp Tomsich > > Version-changes: 2 > - added in this version > > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/spi/rk_spi.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > Applied to u-boot-rockchip, thanks!