From patchwork Wed Jan 29 21:05:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1231108 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=V6FEhrzN; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 487GHY044tz9s1x for ; Thu, 30 Jan 2020 08:06:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8EA0281AC2; Wed, 29 Jan 2020 22:06:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="V6FEhrzN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A19C481A11; Wed, 29 Jan 2020 22:06:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EC08281815 for ; Wed, 29 Jan 2020 22:06:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=offougajoris@gmail.com Received: by mail-wr1-x443.google.com with SMTP id z7so1135857wrl.13 for ; Wed, 29 Jan 2020 13:06:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sDPsw92j6x9gvMRJBtZBueis3naso3E3PMWYuGiNm7g=; b=V6FEhrzNyldaSHBlimR2pflpxTM512711vdmcNbAeU6Z1BQFYBl8N3ebnhQelwJLZ7 Lz9UoLPmPok7ZdF+iWJevPZoEiD3481mlCcSvx492HZmhd53xMNt4absps3AOM0QNzPG ywbPYIoyLyAOrJpW3ZKe4t5IIZGW4s7ca8j7h5B93krBWsLAjoQ1q0EaTuNA86iNvyV6 dmLwU4qEYCvWAYLtLFfuXiOS5v7dRIyDg9OoW6dP+izfJyPKUGJtSsjTxxNi1yaGvsyL L5X25LtcGS7oLLwsd+LI9qWLC7zgfmA7OMjXHob7PuSgubIFbdE2IpkB+qf7oWkTLgxJ 8Xfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sDPsw92j6x9gvMRJBtZBueis3naso3E3PMWYuGiNm7g=; b=pf1kpnZVCSmAc3Oyc3hYxLAHFLDQx2lMr1WMH8wjSObeueKG2yolIZJm+YvYq5tK8J 8PFur1ZZmJo/O+/bi1Xin8A/2ZohWqJ+rWhbdlb/EclSlZxgZ6V3GR1ISiCDuSSJ3Euo psGUYzB8B7Woy6npQEmUlG8SEUi/xuXCgHDJJfMe/MR3SbHqEWGko/1RrOt7cMzE1wOX 0S5Jd+ApdEOGqZ/q3JROs+LcYQW2JcqPffaQVnHexeOOJGMzcmQgyaofvN6Ti7bn5sVu 8ZtN6on9bJ73/3PG1WbWMAtb1sHzJu2ZXsF6usredhY4/4+RWFCDRsB8gQA57taOg5SP C1pA== X-Gm-Message-State: APjAAAXWY1QarzGJgAzPmg0orYGSis4+bqdCfztYCqBRKEOAF8Wvi2hz Osn9fvbvtknXH6J3E5p4UDlyxVUZ X-Google-Smtp-Source: APXvYqx5BTDP7onbi3C4h7lvW0yG+p5Y5p+icHijCZ8PHEWGTxNZpVeS4MzbOfUCopV/EhaN3a08dQ== X-Received: by 2002:adf:ab14:: with SMTP id q20mr793348wrc.274.1580331966780; Wed, 29 Jan 2020 13:06:06 -0800 (PST) Received: from XPS-15-7590.home ([2a01:cb19:16b:9900:9874:2fab:b01e:2324]) by smtp.gmail.com with ESMTPSA id n12sm3793240wmi.18.2020.01.29.13.06.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2020 13:06:06 -0800 (PST) From: Joris Offouga To: u-boot@lists.denx.de Subject: [PATCH V2 1/4] warp7: Fix the pmic_get() parameter in the DM case Date: Wed, 29 Jan 2020 22:05:58 +0100 Message-Id: <20200129210602.14521-1-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean When pmic_get() is used with DM the first parameter must be the complete node name plus the unit address, so fix it accordingly Signed-off-by: Joris Offouga Reviewed-by: Fabio Estevam --- changes v1->v2: add commit log change commit message add reviewed board/warp7/warp7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c index 9efc62f2fb..1ebec93916 100644 --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -67,7 +67,7 @@ int power_init_board(void) struct udevice *dev; int ret, dev_id, rev_id; - ret = pmic_get("pfuze3000", &dev); + ret = pmic_get("pfuze3000@8", &dev); if (ret == -ENODEV) return 0; if (ret != 0) From patchwork Wed Jan 29 21:05:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1231109 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Z+4sjVql; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 487GHl6Mg7z9sPJ for ; Thu, 30 Jan 2020 08:06:27 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DE0E981AF9; Wed, 29 Jan 2020 22:06:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Z+4sjVql"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E1D4818D7; Wed, 29 Jan 2020 22:06:14 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 29576818D7 for ; Wed, 29 Jan 2020 22:06:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=offougajoris@gmail.com Received: by mail-wm1-x32c.google.com with SMTP id s10so1322964wmh.3 for ; Wed, 29 Jan 2020 13:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6bw2l/hKVc2ymEPBfjRdTInlpi+vYcJVYqIRJpap82k=; b=Z+4sjVqlwkmKLrxsb0DXnnC2FoDntvhVXOvk/w3WPJE/c7g+iys1RqOFL/HqKcuq4r eRzSWOZzPEnEGJdaWaT9E9CQ8G1JeWhLPqMIp7FQXxVy8p8mQmT6MBnrDfRCNRed8rB3 7C65ohtXNKR2ZVmIHqKQRA77HoXL96Raew1Okx0x36n+/vDSt4stM1/xTd6xtIoGHc6Y 0MuauoLu51x+xIxUD+XQ8JZpLC7wUixJ8HMXLKg0Ecym9B5Ku86YI++C5RdLncVSUlBX 9riVHCZ+k7DHhHEkjm5mVpmtVUEO5fzRi0n3sjZw6k8CZuz6rLLAPbx2KGJ9f7j25XvQ u+rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6bw2l/hKVc2ymEPBfjRdTInlpi+vYcJVYqIRJpap82k=; b=HHvgIDpHGteFGXrK2ELZ8vuTaSWYhdYqilkA6MINWeZGhnww8ddiTb887HvBX5V736 uFzVShKueLhEIPjALTiUXtR/sKyluS3IeUAePpD5TRSIQwm9JiS366kLoFol4p/yMXAv YdyVjOn5pdUqgaxbO7dob+vqFwr5PD8kqH2bmZA3OMhAzFhOz39f2BmGQ/Cleesg2/46 bhVyxDlFTIbXbYbID9uMi+/0R2AIrVfNHIC6C8OZ+5+ra0lHNoxth/ZjB4grg+2BS50Z 5b5RbMkugwbI+w+QUlbPN1mCzRMYblWYRlKTrNeiZjwpvG2N1W4GBfUEkMnqFuYjFaES AGqg== X-Gm-Message-State: APjAAAUiw8h4UMzv5YD+uGKGUsIJtYrIiLK1UQiTUKS3o67ldW2U7wJd UxnTOoAPR/hy9csC0u0m/FnFuY+A X-Google-Smtp-Source: APXvYqxa1eOdMSoniR998s6Mfzkcx8rGthoAjMKSWV1A2kupIiG5YJj4BGu3k+0tLhZ1YPkWqXE4/w== X-Received: by 2002:a7b:c8d3:: with SMTP id f19mr1125380wml.26.1580331969354; Wed, 29 Jan 2020 13:06:09 -0800 (PST) Received: from XPS-15-7590.home ([2a01:cb19:16b:9900:9874:2fab:b01e:2324]) by smtp.gmail.com with ESMTPSA id n12sm3793240wmi.18.2020.01.29.13.06.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2020 13:06:08 -0800 (PST) From: Joris Offouga To: u-boot@lists.denx.de Subject: [PATCH V2 2/4] warp7: remove unused usb configs Date: Wed, 29 Jan 2020 22:05:59 +0100 Message-Id: <20200129210602.14521-2-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200129210602.14521-1-offougajoris@gmail.com> References: <20200129210602.14521-1-offougajoris@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean With commit 6b503f9e6549("warp7: Switch to DM USB"). These configs are not necessary Signed-off-by: Joris Offouga Reviewed-by: Fabio Estevam --- changes v1->v2: add 12 digits for commit ID fix typo in commit log include/configs/warp7.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/configs/warp7.h b/include/configs/warp7.h index da894ec0ca..39c00480bd 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -149,12 +149,8 @@ #define CONFIG_SYS_MMC_ENV_DEV 0 #define CONFIG_SYS_MMC_ENV_PART 0 -/* USB Configs */ -#define CONFIG_EHCI_HCD_INIT_AFTER_RESET #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) -#define CONFIG_MXC_USB_FLAGS 0 -#define CONFIG_USB_MAX_CONTROLLER_COUNT 1 /* Only OTG1 port enabled */ #define CONFIG_IMX_THERMAL From patchwork Wed Jan 29 21:06:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1231110 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=AzNAvoAw; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 487GHw0TB6z9s1x for ; Thu, 30 Jan 2020 08:06:35 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9689381B04; Wed, 29 Jan 2020 22:06:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="AzNAvoAw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4C90081AF3; Wed, 29 Jan 2020 22:06:15 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2751B81815 for ; Wed, 29 Jan 2020 22:06:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=offougajoris@gmail.com Received: by mail-wm1-x344.google.com with SMTP id b17so1602338wmb.0 for ; Wed, 29 Jan 2020 13:06:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t3HPqkhQPeCwF3QTPylqyJ+N0iMZWxxMtiCB9SpLfiA=; b=AzNAvoAwLIaGYgmOopBPc9xal1JfNnKnnfi5JJA4C0K9Xo8LSGnr0p0NuSkijU3SAX TloBr15hqtYDYwzLXpzqJPI3CnXV8dpCmNdmg5OSA0ra1QX4VyExjwULXSjfFIUCfNGC O5h+anP1YIuHARhD6hLfTiIf+QthyT4tGLTsWRJsUI04wQorzjbRqHyQz5d7u2CbRvwD hi1kFQZAEapouL2Zar6t8FetCY/1DcsKeYAifA9A2IE6LnTOSxK8osqBuB6IvzuMlGAi XISQebJubAqe7SQK0lxdH8AwKsa1SWSduHvNg2l2QADgtcv525vtHr90NmGBSwHbTOWI IDow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t3HPqkhQPeCwF3QTPylqyJ+N0iMZWxxMtiCB9SpLfiA=; b=go0G9NF2SPuvO5AmhMxaKEn8D6Pel/lFrrKdWPWNg94FRPj8dbQw4cVkfH5pJC/Z7+ qDT4OSze7LarojvonmyO7p7/WcCBT7NuTyLMVzG4jwN0grJL7l3b8H20M2H22PmRHGcB FV+5dcUG8y9wApsU82s3JdRZvgn0E02EI8S0/GLYxSZFgASAnArwn69scOKs+N5kERDD ORK34HqLcDrU0Hud1xhKqQD2E21kxEkmNwqwKrTXZUR/2Pemr1rKbvIMOftK7EcXKhEm ZSoJXzNcfOLVfAa0LUys+NZs5XFGcEalCJBV0qo03gtrBLaJBHUdNyToOf22gmb5kOGj vZGQ== X-Gm-Message-State: APjAAAXwJVdXGGIrVN3V0CUY3LT20Man/GWxHVfEGMrWfsmm6ZWyOPmc a6n/OkjWKzZHlYHkBHgBtFBjnXi7 X-Google-Smtp-Source: APXvYqzNeHWq1Xhl3hjkQNz/zYUvBtE/7UbPkeorIA3yVJadHaNC91rXXAA6ChRlOkI0/ofFk9iODA== X-Received: by 2002:a1c:5ac2:: with SMTP id o185mr1079673wmb.179.1580331971343; Wed, 29 Jan 2020 13:06:11 -0800 (PST) Received: from XPS-15-7590.home ([2a01:cb19:16b:9900:9874:2fab:b01e:2324]) by smtp.gmail.com with ESMTPSA id n12sm3793240wmi.18.2020.01.29.13.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2020 13:06:10 -0800 (PST) From: Joris Offouga To: u-boot@lists.denx.de Subject: [PATCH V2 3/4] arm: dts: imx7s-warp7: Move u-boot specific node in u-boot.dtsi Date: Wed, 29 Jan 2020 22:06:00 +0100 Message-Id: <20200129210602.14521-3-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200129210602.14521-1-offougajoris@gmail.com> References: <20200129210602.14521-1-offougajoris@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "NXP i.MX U-Boot Team" Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean These nodes are not in upstream kernel, so move these in u-boot.dtsi Signed-off-by: Joris Offouga Reviewed-by: Fabio Estevam --- changes v1->v2: fix stdoutpath in to stdout-path add commit log arch/arm/dts/imx7s-warp-u-boot.dtsi | 10 ++++++++++ arch/arm/dts/imx7s-warp.dts | 9 --------- 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 arch/arm/dts/imx7s-warp-u-boot.dtsi diff --git a/arch/arm/dts/imx7s-warp-u-boot.dtsi b/arch/arm/dts/imx7s-warp-u-boot.dtsi new file mode 100644 index 0000000000..6319840b1c --- /dev/null +++ b/arch/arm/dts/imx7s-warp-u-boot.dtsi @@ -0,0 +1,10 @@ +/ { + aliases { + mmc0 = &usdhc3; + usb0 = &usbotg1; + }; + + chosen { + stdout-path = &uart1; + }; +}; diff --git a/arch/arm/dts/imx7s-warp.dts b/arch/arm/dts/imx7s-warp.dts index db5ef67eb1..f7ba2c0a24 100644 --- a/arch/arm/dts/imx7s-warp.dts +++ b/arch/arm/dts/imx7s-warp.dts @@ -17,15 +17,6 @@ reg = <0x80000000 0x20000000>; }; - aliases { - mmc0 = &usdhc3; - usb0 = &usbotg1; - }; - - chosen { - stdout-path = &uart1; - }; - gpio-keys { compatible = "gpio-keys"; pinctrl-0 = <&pinctrl_gpio>; From patchwork Wed Jan 29 21:06:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1231111 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=kXnR1W0h; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 487GJ555hPz9s1x for ; Thu, 30 Jan 2020 08:06:45 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4222B81AC2; Wed, 29 Jan 2020 22:06:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kXnR1W0h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7AD5C81AF8; Wed, 29 Jan 2020 22:06:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3A06381AF6 for ; Wed, 29 Jan 2020 22:06:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=offougajoris@gmail.com Received: by mail-wr1-x444.google.com with SMTP id z7so1136229wrl.13 for ; Wed, 29 Jan 2020 13:06:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R43ccxqlndyPvcx+NxoJ7lkclGt4b0o2RRJQTrtPUh0=; b=kXnR1W0hVBM+HMwdY0juDWj2FSbxujeSFPc5b09SbDE/r2fVI8b2TKaq9SjG8syyAj p1YnlC5pctt09OEAth/k/9oVJi+R6zmoapl0jDfdXsdnbNwVQNJlUaFSY96EUBAabpLR Hc3HzOvrIDKuat2fXbpnauAnmvmq1I7+isL5QI6GI78jfZ7F3GLQakhdeeXmUSnMSjbD tFwiNhAME3sdzDsHbW0Fe5FyGGYzlC4OCx9+6pwtMcgUfy3Bkb9YNq9fu1PVBltU0DD8 Zm17FPrCy0DeFrnf2qE3VdXxHBR0U/zqf/FnGlq3Bx6i3CSLzwybfCqRbY/g8F0ak3/E kFUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R43ccxqlndyPvcx+NxoJ7lkclGt4b0o2RRJQTrtPUh0=; b=EfXXfxBOIy7SGKrQODuesAJPY/12U68au/ztyyUbBFFZUIDZdcBgs+V/CuJvN0ityb IyKlJV67N2teTHNcT3554K4pt36gCK3UE3FrGpmyQR4PsvshfC6ghpX0p75o23O2Zccq FmL1VYOJtIZDPTrP2qihlpExeT7tr9v1AGMXsHbzxo/2h28MP6AcL62nCc6W8GFP7/go YTRDaTRk7lXu/8eDgeeRcF6NlyYLkDd6EpdRbIB/SmFHfiCAauzDOqfipIFM2k9nfE8a 4XuZfV1L31ucIS4Q0FfQrOaBk6cfq7n1QI1qMhnvG1G+cTKk1Z3FZ6IxaoyTJTvqnFhO UHvA== X-Gm-Message-State: APjAAAWbyP3yRj5znU+nOxI9YTZCxBQxr4DbhVZf3mVV/6wYsztSmwAO oGddZhkHavIspnnQKWRYPxqrWdZl X-Google-Smtp-Source: APXvYqzo28G8y/NT5+YxwtBVOIS6wAV09MpAR2JLyQKnViZC08u9WG/kk8pKWbzRUJx1WeqHQ6PWjQ== X-Received: by 2002:adf:b605:: with SMTP id f5mr724855wre.383.1580331973146; Wed, 29 Jan 2020 13:06:13 -0800 (PST) Received: from XPS-15-7590.home ([2a01:cb19:16b:9900:9874:2fab:b01e:2324]) by smtp.gmail.com with ESMTPSA id n12sm3793240wmi.18.2020.01.29.13.06.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2020 13:06:12 -0800 (PST) From: Joris Offouga To: u-boot@lists.denx.de Subject: [PATCH V2 4/4] mx7dsabre: Fix usbtog probe when use dfu or ums Date: Wed, 29 Jan 2020 22:06:01 +0100 Message-Id: <20200129210602.14521-4-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200129210602.14521-1-offougajoris@gmail.com> References: <20200129210602.14521-1-offougajoris@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "NXP i.MX U-Boot Team" Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean Before: => ums 0 mmc 0 UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1dacc00 usb dr_mode not found CTRL+C - Operation aborted => dfu 0 mmc 0 usb dr_mode not found After : => ums 0 mmc 0 UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1dacc00 => dfu 0 mmc 0 Signed-off-by: Joris Offouga Reviewed-by: Fabio Estevam --- changes v1->v2: none arch/arm/dts/imx7d-sdb-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx7d-sdb-u-boot.dtsi b/arch/arm/dts/imx7d-sdb-u-boot.dtsi index 05dd74eee1..b78358fa13 100644 --- a/arch/arm/dts/imx7d-sdb-u-boot.dtsi +++ b/arch/arm/dts/imx7d-sdb-u-boot.dtsi @@ -1,3 +1,7 @@ &fec2 { status = "disable"; }; + +&usbotg1 { + dr_mode = "peripheral"; +};