From patchwork Mon Mar 20 11:40:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Heiko_St=C3=BCbner?= X-Patchwork-Id: 740961 X-Patchwork-Delegate: sjg@chromium.org 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 3vmvGR1lH3z9s1y for ; Mon, 20 Mar 2017 22:43:27 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D3EF0C21C78; Mon, 20 Mar 2017 11:41:59 +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 A892DC21C76; Mon, 20 Mar 2017 11:41:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 282A1C21C2C; Mon, 20 Mar 2017 11:41:38 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [95.129.55.99]) by lists.denx.de (Postfix) with ESMTPS id A3C89C21C36 for ; Mon, 20 Mar 2017 11:41:37 +0000 (UTC) Received: from p5b127f1d.dip0.t-ipconnect.de ([91.18.127.29] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1cpvgu-0003XX-43; Mon, 20 Mar 2017 12:41:36 +0100 From: Heiko Stuebner To: sjg@chromium.org Date: Mon, 20 Mar 2017 12:40:35 +0100 Message-Id: <20170320114036.21475-8-heiko@sntech.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170320114036.21475-1-heiko@sntech.de> References: <20170320114036.21475-1-heiko@sntech.de> Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 7/8] rockchip: i2c: Add compatibles for Rockchip Cortex-A9 socs 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" The Cortex-A9 socs rk3066 and rk3188 share the IP but have their own compatible values, so add them to make the i2c on these platforms accessible. Signed-off-by: Heiko Stuebner Acked-by: Simon Glass --- drivers/i2c/rk_i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c index 7c701cbed0..af925cecdb 100644 --- a/drivers/i2c/rk_i2c.c +++ b/drivers/i2c/rk_i2c.c @@ -380,6 +380,8 @@ static const struct dm_i2c_ops rockchip_i2c_ops = { }; static const struct udevice_id rockchip_i2c_ids[] = { + { .compatible = "rockchip,rk3066-i2c" }, + { .compatible = "rockchip,rk3188-i2c" }, { .compatible = "rockchip,rk3288-i2c" }, { } };