From patchwork Thu Apr 20 20:05:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Tomsich X-Patchwork-Id: 752991 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3w88z14Jnrz9s75 for ; Fri, 21 Apr 2017 06:06:53 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 54029C21CE8; Thu, 20 Apr 2017 20:06:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A8CEFC21CA0; Thu, 20 Apr 2017 20:06:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0B85EC21C4F; Thu, 20 Apr 2017 20:06:10 +0000 (UTC) Received: from mail.theobroma-systems.com (vegas.theobroma-systems.com [144.76.126.164]) by lists.denx.de (Postfix) with ESMTPS id 9A74FC21C4F for ; Thu, 20 Apr 2017 20:06:10 +0000 (UTC) Received: from [86.59.122.178] (port=55234 helo=android.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1d1IL9-0002pz-Sh; Thu, 20 Apr 2017 22:06:08 +0200 From: Philipp Tomsich To: u-boot@lists.denx.de Date: Thu, 20 Apr 2017 22:05:54 +0200 Message-Id: <1492718755-14331-7-git-send-email-philipp.tomsich@theobroma-systems.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1492718755-14331-1-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1492718755-14331-1-git-send-email-philipp.tomsich@theobroma-systems.com> Cc: Lin huang , Klaus Goger , Philipp Tomsich , Jagan Teki , Jakob Unterwurzacher Subject: [U-Boot] [PATCH v4 6/7] rockchip: spi: enable support for the rk_spi driver for the RK3399 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Jakob Unterwurzacher The existing Rockchip SPI (rk_spi.c) driver also matches the hardware block found in the RK3399. This has been confirmed both with SPI NOR flashes and general SPI transfers on the RK3399-Q7 for SPI1 and SPI5. This change adds the 'rockchip,rk3399-spi' string to its compatible list to allow reuse of the existing driver. X-AffectedPlatforms: RK3399-Q7 Signed-off-by: Philipp Tomsich Tested-by: Jakob Unterwurzacher Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/spi/rk_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index 050eacb..ea20980 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -444,6 +444,7 @@ static const struct dm_spi_ops rockchip_spi_ops = { static const struct udevice_id rockchip_spi_ids[] = { { .compatible = "rockchip,rk3288-spi" }, + { .compatible = "rockchip,rk3399-spi" }, { } };