From patchwork Mon Aug 7 20:26:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ladislav Michl X-Patchwork-Id: 798855 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xR8G96Dy8z9sDB for ; Tue, 8 Aug 2017 06:27:12 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 430E5C21DF3; Mon, 7 Aug 2017 20:27:07 +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=RCVD_IN_DNSWL_NONE, T_FRT_BELOW2, UNPARSEABLE_RELAY 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 16072C21C4E; Mon, 7 Aug 2017 20:27:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E879BC21C4E; Mon, 7 Aug 2017 20:27:03 +0000 (UTC) Received: from cvs.linux-mips.org (eddie.linux-mips.org [148.251.95.138]) by lists.denx.de (Postfix) with ESMTP id DB6D5C21C41 for ; Mon, 7 Aug 2017 20:27:02 +0000 (UTC) Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23995085AbdHGU1CQYdfl (ORCPT ); Mon, 7 Aug 2017 22:27:02 +0200 Date: Mon, 7 Aug 2017 22:26:57 +0200 From: Ladislav Michl To: Pau Pajuelo Message-ID: <20170807202657.jn2nrzikizt3ld5q@lenoch> References: <1502016698-7715-1-git-send-email-ppajuel@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1502016698-7715-1-git-send-email-ppajuel@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] igep00x0: merge igep0020 and igep0030 defconfigs to igep00x0_defconfig 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Hello Pau, On Sun, Aug 06, 2017 at 12:51:38PM +0200, Pau Pajuelo wrote: > Update igep00x0 code with the following features: > - Add board and revision detection for the boards: > - IGEP0020-RF > - IGEP0020-RC > - IGEP0030-RG > - IGEP0030-RE (it would be great to see this page updated: http://labs.isee.biz/index.php/IGEP_Technology_devices_revisions) > - Merge IGEP0020 and IGEP0030 mux tables > - Add suport to use GPIO_126, GPIO_127 and GPIO_129 > - board_name environment variable displays board and revision information nice idea! > Signed-off-by: Pau Pajuelo Reviewed-by: Ladislav Michl Btw, once here, it would be nice to detect also CPU family as OMAP3530 devices cannot boot with omap3-igep0020.dtb and patch bellow is needed (unless there is a better solution, I'll provide patch): diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi index c16d17efe38e..1cafae7d8468 100644 --- a/arch/arm/boot/dts/omap3-igep.dtsi +++ b/arch/arm/boot/dts/omap3-igep.dtsi @@ -10,7 +10,7 @@ */ /dts-v1/; -#include "omap36xx.dtsi" +#include "omap34xx.dtsi" / { memory@80000000 { diff --git a/arch/arm/boot/dts/omap3-igep0020.dts b/arch/arm/boot/dts/omap3-igep0020.dts index cc09842ad21b..0fa4ad499bec 100644 --- a/arch/arm/boot/dts/omap3-igep0020.dts +++ b/arch/arm/boot/dts/omap3-igep0020.dts @@ -13,7 +13,7 @@ / { model = "IGEPv2 Rev. C (TI OMAP AM/DM37x)"; - compatible = "isee,omap3-igep0020", "ti,omap36xx", "ti,omap3"; + compatible = "isee,omap3-igep0020", "ti,omap3430", "ti,omap3"; vmmcsdio_fixed: fixedregulator-mmcsdio { compatible = "regulator-fixed";