From patchwork Tue Feb 25 05:10:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nazzareno Trimarchi X-Patchwork-Id: 1243843 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=deCfEuCi; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 48RRpP3LtLz9sPK for ; Tue, 25 Feb 2020 16:10:37 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6E2888127E; Tue, 25 Feb 2020 06:10:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="deCfEuCi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C19ED8127E; Tue, 25 Feb 2020 06:10:27 +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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (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 151EA80D3F for ; Tue, 25 Feb 2020 06:10:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@amarulasolutions.com Received: by mail-wm1-x341.google.com with SMTP id q9so1560436wmj.5 for ; Mon, 24 Feb 2020 21:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=DOGmJxUy4TyMEfMv2a10nwA4xcNGB1wzFJ+D5mEF/yo=; b=deCfEuCi5Xym0JztXzMChd50LfwR4F0ratUqOODsy/W35PJC2SLckY1FWuXQPvBspd 4fdYTu+ftzuSjclGXmsrIADAre0IakIYhCP6Hh5FXygMKXUmuANWCVDEhmdP3zBVOoDQ K3yvDZO8z4J3GCmqVa5kve3FGA09bHOQEBvQg= 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; bh=DOGmJxUy4TyMEfMv2a10nwA4xcNGB1wzFJ+D5mEF/yo=; b=fAGCh54X3PRioQGGknxyPTyH095drfmAZ/+0j4OFEcY7ljpmmDE1+zXGiYsnsROKCt sJWNf4C/MLIUJ0bTgeTVf/88rML9WuTCzHZ3pFnWlqfANL6ZTXB60XSNf+24EFKn2K3x 41HA4ll73/vdqlkoVckX0zBNopAFLrBGmykCDl4UmGz1pUBJhabbjwiW76JsxhjB0F4B E3H9ZqsRbucldPCipEQfpVruyLlmsW9DufYvGYHBw0vxZ92fPe4D8VEieUwKZQ2MYmQ1 xhYAoUUunlMu5d2a8fpM5GdTOuLcEffKsLLTNrHUISAipFmh7Idgv6Tqu5bd6ERZMwa7 uEAw== X-Gm-Message-State: APjAAAUCfiZbqiSBDgL5RF2CMD0l07orfRx34Q8yFrK+x89JIB7EZJ0N P8yNCSOFrGElQt37uN79C9XaLw== X-Google-Smtp-Source: APXvYqxCBWbD084vUyPiInKup3dKiJNh9tttd5fHii73sr5rekpCTBajo+g720iA+qg/Ftntg1yJ2A== X-Received: by 2002:a1c:9646:: with SMTP id y67mr2893863wmd.42.1582607423495; Mon, 24 Feb 2020 21:10:23 -0800 (PST) Received: from localhost.localdomain (static-187-95-145-212.ipcom.comunitel.net. [212.145.95.187]) by smtp.gmail.com with ESMTPSA id y8sm2450690wma.10.2020.02.24.21.10.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2020 21:10:22 -0800 (PST) From: Michael Trimarchi To: Simon Glass , Anatolij Gustschin , Neil Armstrong Cc: u-boot@lists.denx.de, u-boot-amlogic@groups.io Subject: [PATCH 0/2] Update reserved memory for simple framebuffer Date: Tue, 25 Feb 2020 06:10:19 +0100 Message-Id: <20200225051021.15311-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Reserved memory for simple frame buffer should be created in a different way: + aliases { + display0 = &lcdif; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + display_reserved: framebuffer@86fa2000 { + reg = <0x86fa2000 0x80000>; + no-map; + }; + + }; We add a function to change the loaded dts and inject those information. I have added another patch for meson. Right now I'm testing on tinker-s board. Michael Trimarchi (2): common: fdt: Add a function for reserving memory without kernel linear mapping video: meson: Use reserving memory function without kernel linear mapping common/fdt_support.c | 40 +++++++++++++++++++++++++++++++++ drivers/video/meson/meson_vpu.c | 6 ++--- include/fdt_support.h | 11 +++++++++ 3 files changed, 54 insertions(+), 3 deletions(-)