Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2964482imm; Thu, 17 May 2018 00:40:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr/nBh0OTwM13CuM+zz0uiU2JXBx58qRTn/9DLz3Lt4F37lS9blGV2MGkbpSU4gI+zQCUm/ X-Received: by 2002:a17:902:70c4:: with SMTP id l4-v6mr4225100plt.174.1526542846998; Thu, 17 May 2018 00:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526542846; cv=none; d=google.com; s=arc-20160816; b=htFTxAM/P2Uym9pW/E+3nRoY5XHioQd+uuQyd+EE1AMxcUpdLlIpB1bLUBI/yaKCf/ 0HYXD8SlNHEZIpurQonOCU2gj6eLCh1b2A6UEMA6HwNkUarqEjgWrfLK/rj5LUnobsTD OgIjUW29vgoNl4zYiuvY6oEUplgsxZU8JbOx2G0nViO7ZqZhUZIvtzM1pFcgi/RptNSe 4OXHxEfjwVVCpeUhSAzAIf5fYG3mPogo7+C43MYgKmQ//KBj/42uvTiZMV9wXVXd/y32 tX8yxPzR+fyILcYMyADTYxpWhcl3e07GhS+Xrn2Q/GNVEUuXbCRnAknhk5ubZSy5Nq+X UHlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=sprPRCzyjFj10zZXcuwk9g53kulUEZdNWYk/1kzJcu4=; b=a91g9NbhlAbJfP1ajECl2kuCe7zSXTer8kqe+xWgzZBhpk3TA+kbJ1j2fIXOmXXfAx /2fZckOorn67atmKHHMYPOe9FArU3NuVfuSKfFCIE89GrDH5fBZ9NGd+XXPuyWpqZe0t URLPBmB2vNzg5EaSqiaxqEdSNr1pJCw8IEOzmJvVUeJFUByiI3grujNX9+l8HrYT5uzF 2eZfCtXc1MozCSp2Y0f/rJBoEqQ0o31fXExD01fehCPpnvU7Wjm6HkDskMZInPxYDAuc lD/z+7c7vZ5o8+pAIvkamauxXyHhsefRqr9dqf+nHKn+wdE54Dp7unz64IpxMUV/OXjk FsHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Hgl+k1Ks; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23-v6si3552654pgn.326.2018.05.17.00.40.31; Thu, 17 May 2018 00:40:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Hgl+k1Ks; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752266AbeEQHkT (ORCPT + 99 others); Thu, 17 May 2018 03:40:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:51648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751644AbeEQHkR (ORCPT ); Thu, 17 May 2018 03:40:17 -0400 Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 357C22084E; Thu, 17 May 2018 07:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526542816; bh=MTf7pnLX4LXm9KqYqDZPWJp7+fDj/A/LlZ8AtaKSah8=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=Hgl+k1KsePpqytuxeAKVVqgMVrKbw9GHz98SYHrnyW7gwG5JtPDJAU3v7iTUmQ6r4 7pb1vSZiW/vLwwdLW/nkPknhjWeEfSLJ09F9zxeUmb2sunoEvl0sqfJFHrybTEJf/H bMqeQWFoj+6n8VQvgs/XvH4VP5dp4nTeQsGW0+AI= Received: by mail-wm0-f44.google.com with SMTP id a8-v6so6615309wmg.5; Thu, 17 May 2018 00:40:16 -0700 (PDT) X-Gm-Message-State: ALKqPwfkflALlr10yLLgjEt1pzyWrcaj5aUS9jm8QQmBdJgVUvetLLx4 O7omRa6+kj2JLkcYL/aPNSFvosRvjgiAk2yg74E= X-Received: by 2002:a1c:d50a:: with SMTP id m10-v6mr962020wmg.72.1526542814701; Thu, 17 May 2018 00:40:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.199.70 with HTTP; Thu, 17 May 2018 00:40:14 -0700 (PDT) In-Reply-To: References: <1526395285-19006-1-git-send-email-krzk@kernel.org> <1526395285-19006-4-git-send-email-krzk@kernel.org> From: Krzysztof Kozlowski Date: Thu, 17 May 2018 09:40:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 3/3] ARM: dts: tegra: Work safely with 256 MB Colibri-T20 modules To: Stefan Agner Cc: Rob Herring , Mark Rutland , Thierry Reding , Jonathan Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Ziswiler , Lucas Stach Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 15, 2018 at 11:20 PM, Stefan Agner wrote: > On 15.05.2018 16:41, Krzysztof Kozlowski wrote: >> Colibri-T20 can come in 256 MB RAM (with 512 MB NAND) or 512 MB RAM >> (with 1024 MB NAND) flavors. Both of them will use the same DTSI >> expecting the bootloader to do the fixup of /memory node. However in >> case it does not happen, let's stay on safe side by limiting the memory >> to 256 MB for both versions of Colibri-T20. >> >> Signed-off-by: Krzysztof Kozlowski >> >> --- >> >> RFT: >> Not tested on 512 MB module as I have only the 256 MB one. >> >> Changes since v3: >> 1. Reduce the memory in existing DTSI instead of creating a new one >> (suggested by Marcel). >> >> Changes since v2: >> 1. Do not add new compatible but use everywhere existing >> "toradex,colibri_t20-512" (suggested by Rob). >> >> Changes since v1: >> 1. Fix memory size in tegra20-colibri-256.dtsi (was working fine because >> my bootloader uses mem= argument). >> --- >> arch/arm/boot/dts/tegra20-colibri-512.dtsi | 9 +++++++-- >> arch/arm/boot/dts/tegra20-iris-512.dts | 2 +- > > I don't like this variant too much. > > Can we not just drop the 512? And while at it, I would prefer to see the > usual $soc-$module-$carrier schema, as we use with all the other modules > of the Colibri and Apalis family. > > e.g. > tegra20-colibri-512.dtsi -> tegra20-colibri.dtsi > tegra20-iris-512.dts -> tegra20-colibri-iris.dts Sure, let me resend it. BR, Krzysztof