From patchwork Thu Oct 2 03:43:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 395740 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 AB9E1140078 for ; Thu, 2 Oct 2014 13:45:05 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 43996A741E; Thu, 2 Oct 2014 05:44:58 +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 f3Kfxpb7g4id; Thu, 2 Oct 2014 05:44:58 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BDF08A7408; Thu, 2 Oct 2014 05:44:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B6D704B5EB for ; Thu, 2 Oct 2014 05:44:46 +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 pDveE9+jffwS for ; Thu, 2 Oct 2014 05:44:46 +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-ie0-f201.google.com (mail-ie0-f201.google.com [209.85.223.201]) by theia.denx.de (Postfix) with ESMTPS id 4CA744B5EC for ; Thu, 2 Oct 2014 05:44:43 +0200 (CEST) Received: by mail-ie0-f201.google.com with SMTP id rl12so261276iec.4 for ; Wed, 01 Oct 2014 20:44:41 -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=j38KL81I6R4ctmCmGbY31BLrU8W232kf1FFyA7sOTKU=; b=NFTBueKlLCtMCzGKkyFdL3TkBn8zEe/jGx1qbbW51k3D553wX38l1GyUxGa6zairtA Q+Lt6KRjh8wRiGoFJ+T+LAhhh4+k4aazc7RL+kSw8RWVAgX9S43k09fYHPEXQhXrqaeI +zpZwjmxRF1Ve+hctGcyY+ylej+CFL0AAaa4BIyEgfqfxoVwrNuX7u5OjExl7yyu3P4j QNN/Re/prSp07701SDUTcFLUe/dBE05yy6eM8OcxnbEgp2vTJXnWZ0rDx8WZihCNi76f s8IeNeloV1mY9SKkVsBVV4z4vBYKBli1VkRCsixlP41wJPM/OxL5HO93vf7JuKQmK8NN 8Yqg== X-Gm-Message-State: ALoCoQlCBqSncFp9f8VY3gT+V1EzuVm0zEzNRkIOh6fEQnqwFDjSEaAoAfsO5kxRgYwfNSy6t+XK X-Received: by 10.50.45.100 with SMTP id l4mr1023169igm.1.1412221481635; Wed, 01 Oct 2014 20:44:41 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id j25si119312yhb.0.2014.10.01.20.44.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Oct 2014 20:44:41 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id D3B8QNBk.1; Wed, 01 Oct 2014 20:44:41 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id AC92B221551; Wed, 1 Oct 2014 21:44:40 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 1 Oct 2014 21:43:32 -0600 Message-Id: <1412221423-10752-5-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1412221423-10752-1-git-send-email-sjg@chromium.org> References: <1412221423-10752-1-git-send-email-sjg@chromium.org> Cc: Chander Kashyap , Przemyslaw Marczak , Ajay Kumar Subject: [U-Boot] [PATCH v5 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 v5: None 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 88c093f..0892bd0 100644 --- a/include/configs/peach-pit.h +++ b/include/configs/peach-pit.h @@ -32,4 +32,6 @@ #define LCD_BPP LCD_COLOR16 #endif +#define CONFIG_POWER_TPS65090_EC + #endif /* __CONFIG_PEACH_PIT_H */