From patchwork Mon Sep 29 01:18:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 394233 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 30FE214012C for ; Mon, 29 Sep 2014 11:19:45 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A296CA7485; Mon, 29 Sep 2014 03:19:33 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RGDRhrBiM6Is; Mon, 29 Sep 2014 03:19:33 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 243FCA7473; Mon, 29 Sep 2014 03:19:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DDC12A742E for ; Mon, 29 Sep 2014 03:19:12 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r1kAoltfdNrk for ; Mon, 29 Sep 2014 03:19:12 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f73.google.com (mail-pa0-f73.google.com [209.85.220.73]) by theia.denx.de (Postfix) with ESMTPS id 8EE1AA742B for ; Mon, 29 Sep 2014 03:19:08 +0200 (CEST) Received: by mail-pa0-f73.google.com with SMTP id lj1so103539pab.0 for ; Sun, 28 Sep 2014 18:19:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YLL72y0HL4GlbAe1i9VSDLPLrl7I04obuVXVh5jkMXo=; b=ShO0Dq8yXHoVezu4pjyp+Lh4bHf5ty6QTYD3FafmIDZ1jqdz1ucRrTYo0MsMngX1go 7uTgYG1eEgtf00TO7d13gLh0A7Va3IYtd9TyKW1yFVlYVYJJu9Z3mv1+v310D/bJwFO8 U3bYFI3AzDjPuwJqBFLFt46VidKb1G5WR1vy09Jg8bhqSXrRkkp0l6l3r1149v81m5jU 1fILKXdVSqHJG3ErH+CMIlx68fLtNSsx7TRced5G7BbAPt15JDVt7dopQkHB4lG+6B+f /eEhmY/HEHuIf9jqJTrHOBRS1sDXlc6hTVwZ8FGJU03+j+qgY7DTxrSZj+PORIA1zroS yQoQ== X-Gm-Message-State: ALoCoQkK9KycQEMvNBExBHZvNJP3Z7fwohPu+QGBo3Xn9qQSMC5+3n7ToGS2CAGQi3qkKdEEjd/f X-Received: by 10.66.66.1 with SMTP id b1mr30665580pat.38.1411953546698; Sun, 28 Sep 2014 18:19:06 -0700 (PDT) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id j25si669326yhb.0.2014.09.28.18.19.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Sep 2014 18:19:06 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id X9Cs8pY1.1; Sun, 28 Sep 2014 18:19:06 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id A85C8221D41; Sun, 28 Sep 2014 19:19:05 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Sun, 28 Sep 2014 19:18:43 -0600 Message-Id: <1411953534-4652-5-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1411953534-4652-1-git-send-email-sjg@chromium.org> References: <1411953534-4652-1-git-send-email-sjg@chromium.org> Cc: Chander Kashyap , Przemyslaw Marczak , Ajay Kumar Subject: [U-Boot] [PATCH v4 04/15] cros_ec: exynos: Use the correct tps65090 driver in each case X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Exynos 5250 boards (snow, spring) use the I2C driver but Exynos 5420 boards cannot due to a hardware design decision. Select the correct driver to use in each case. Signed-off-by: Simon Glass Tested-by: Ajay Kumar --- Changes in v4: None Changes in v3: None Changes in v2: - Don't enable the cros_ec on smdk5420 - Slightly reword the commit message drivers/power/pmic/Makefile | 2 +- include/configs/exynos5250-dt.h | 1 + include/configs/peach-pit.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile index 0b76611..e7b07eb 100644 --- a/drivers/power/pmic/Makefile +++ b/drivers/power/pmic/Makefile @@ -11,7 +11,7 @@ obj-$(CONFIG_POWER_MAX8997) += pmic_max8997.o obj-$(CONFIG_POWER_MUIC_MAX8997) += muic_max8997.o obj-$(CONFIG_POWER_MAX77686) += pmic_max77686.o obj-$(CONFIG_POWER_PFUZE100) += pmic_pfuze100.o -obj-$(CONFIG_POWER_TPS65090) += pmic_tps65090.o +obj-$(CONFIG_POWER_TPS65090_I2C) += pmic_tps65090.o obj-$(CONFIG_POWER_TPS65090_EC) += pmic_tps65090_ec.o obj-$(CONFIG_POWER_TPS65217) += pmic_tps65217.o obj-$(CONFIG_POWER_TPS65218) += pmic_tps65218.o diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index c24984b..5504515 100644 --- a/include/configs/exynos5250-dt.h +++ b/include/configs/exynos5250-dt.h @@ -42,6 +42,7 @@ /* PMIC */ #define CONFIG_POWER_MAX77686 +#define CONFIG_POWER_TPS65090_I2C /* Sound */ #define CONFIG_CMD_SOUND diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h index 987cef5..34734ad 100644 --- a/include/configs/peach-pit.h +++ b/include/configs/peach-pit.h @@ -30,4 +30,6 @@ #define LCD_BPP LCD_COLOR16 #endif +#define CONFIG_POWER_TPS65090_EC + #endif /* __CONFIG_PEACH_PIT_H */