Message ID | 20240913095622.72377-23-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBCEZSC3QMGQEPYL6JHQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4319341280 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 13 Sep 2024 11:57:29 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-5c25e0a50bfsf1252950a12.0 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 13 Sep 2024 02:57:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726221449; cv=pass; d=google.com; s=arc-20240605; b=UXyXDOvztFO9KA/5WhneoMQkJ5sbcqwMJe19trhcHUJ3Pj4qHcjExlTF34JrH/AENu 8C9mtosR5sl/IB/Lg7qoocV/W3+WkI+xJ5DQjwhwvwtQoidKexkFCGZXiaqihdqlxjuY To85I15WTdU80v1aWzieZQ3smdV8felfJoNXZC5rKZiWJ5+ErQuRocRw2x2i2h+y1wyn KVxI+oIiDdjMur4zIzn4C+fNITGiRqnm5kj+otX9a7zfYQFUgG1ML3qKG+GVE0lsCRBT KbfYfLHngMDwt3B4qBM/eIeVdhL5L0hsI0u9dAwsopv+bAIEJKFlGVTQsOU/lEmB/ew6 QwoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=1SCW9OyiOoMbhxoyd9NXY7+Z1Gv4KOrpmaTsxAhiIBU=; fh=y5vDFOYhjBUBuYaqy0SVwDzwjlwTB8fSdvMehYdqVcQ=; b=UyrpnMogxy93gcx0zY54XF+VAyiiYlViu+3h/3XuDuEj4hX0sleOWUA59P2Y2QHgQr mClI2ffIhwODCAsiqeCNOfh4/jtRu8WxFgHS7CbjUNrb3WfXIZ5tSyoyhB+XDe+QKeef VIg7DVFHX2hRVQej+mCldQUvA1cvcuof6NyR+DiN1jmoYuDdDPvgg638VnT6LOfdbUah Mkb1Akatw0ahAvk+e12lEGgbqvqv6cpDg+DExYzHR49YoCyfPadB6lqQ+pzawQXJvGNn 5gnc1fgb2peMvV/YfhGz3lpz1yk5BMCnCrtUT9VC3Z5iNf8rw/FkwkzHbSMPWJF6af/6 fQUg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M9xS+gav; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1726221449; x=1726826249; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=1SCW9OyiOoMbhxoyd9NXY7+Z1Gv4KOrpmaTsxAhiIBU=; b=a9MM+gxmDYk8A0isvcg7pbPB+hZnLeaxFqdHpTSfyeQMM6WiCZnh3rIGoQ5uw7AKtw XEBHrqLGQ1sejyJU+YEJxnhsCCAMFVYK+PMPFd9fDKYezgNx6/Rd4zSfErZ0dx9cU1nX VI28Q5JTMNer75nxCyf/eT09r1ntUbWQybxZQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726221449; x=1726826249; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1SCW9OyiOoMbhxoyd9NXY7+Z1Gv4KOrpmaTsxAhiIBU=; b=iyzuptvsgTpazVqKDbSg2OyKoev4TV1/zhNuwpyU9LTXsbpND8PC4XrSWiT92Z8Q+h FjcjyC56g4QABS8Dd9H+dgbyaWnuEdjmiYhL08v89bkS5olUEUylktCUx9gw5HJnmeuw 6D/GprWLXJEx4QAXcDrG5WrWeJS7+0PEaRD4kLHHPNgHdQ4y3yuEDNkSYHg5XBfZAJaJ hQuwhB5y79ADJjwxP/EAwbidVGc7jLjlTbtjIXdEKsQrDx51LmWI3Uy+fIS1KIeeF2X7 pjrY8eLsfJz3aOcMj2xGfL9w8N+kfUW82WyGhhdJhw4xRmjddXrDAR2Ykdrhkuf+0UJL 6o3A== X-Forwarded-Encrypted: i=2; AJvYcCU41AFIBvrBlkoiKJlxw7nENiwTV+VQay66Zd8z+QvLK07HOa7x46Vna4YMYj0AgPUhq9bVhwSiCnkyiTVB@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxjEzWT4TXpKVk6MBmi7Zzoj5CqtEcSdGIS7i27k4CnOghyhBmr DFscLLTirnEiWecf1waMw7aF3Ky6C1WGLZRY470UOKA9Hf26GV8Z/frA8PQbXVq5Ug== X-Google-Smtp-Source: AGHT+IGAdJd+FjlpruObXKxG5+BEatrme+3pbn5ARVXIsDeyFHPYDTt/1TagWYQgHuzD+4SIZOku5Q== X-Received: by 2002:a05:6402:4012:b0:5c2:7699:fa95 with SMTP id 4fb4d7f45d1cf-5c413e1ff4amr5163360a12.19.1726221448789; Fri, 13 Sep 2024 02:57:28 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:35cc:b0:5c2:7524:8454 with SMTP id 4fb4d7f45d1cf-5c4140908e4ls1352160a12.2.-pod-prod-01-eu; Fri, 13 Sep 2024 02:57:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXUs6WgoCXzff6WYPLDUu3L0wUriJhMxv0FuK5IICF+6Dmn2Ccs5y1b0IjO8sj0a1siK3wawMTFoYj8XI3s@amarulasolutions.com X-Received: by 2002:a17:907:e6c3:b0:a8a:6c5d:63b2 with SMTP id a640c23a62f3a-a9029438c89mr563890666b.18.1726221447240; Fri, 13 Sep 2024 02:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726221447; cv=none; d=google.com; s=arc-20160816; b=aJb6lTPMgybOB4HB+7Ajd70ZMOBWAegmW5eT8RdnrzkaLcWbG5uC6W8UMBRmwPibV6 57rX5FFl4/RHxyHunTv9VSXtHNWZH9d3VwpbM/SeX+mwOPWf55Y31XSH4Rd+b4vZPCqb S6KuF/yLRTAHUFTFMTEs2vadYpaadZ3fbAuz1gM+dbRZ2bo/kHZmaIlYnfzeYGm59N+5 FsTh1Z7UzSY+khl1f9qx+lIRQyyWwcAuYH85J9bD5Dh2YqpwTsT36UM+3pJXGFVz+KZ2 J/H0Dvgn7GIQaS1MBaKC9Z4Pfm6P7cCsk6BTdPkDK1Z8G9Gxhf6F78LgjRLE3faljMGY 7Ihw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XyZMgmVmdG4fiZHCiw9uZQLu6FufQEMaaUVl/Ul2c4M=; fh=vOfbJGEJndI8ZyXOJGzrxh8kcxovIW23dIe1kjXooB0=; b=zVjr3jpdFir3PDfZ7xOUOYSs0stPqcYynR16DM7m4w3o3xmrI6D0DumAPSqqewO1jJ bX+C/Cap+1wmj3Pq3rD/V1izNSbU1zsJOjtVzJud3L1OIGuqzJGZZaZZschDlFx2jY2o QV4PyjImz73N7jCs5Cq/F+k8DAfq/2wpchowBxy38nrn6NAKpucQdhCPhgPOlwpNl3xO WPuAGaZ2JeYZpSLdQfRSp3AWOERSFZnp5VHZWeiPJx1Vd0Rvkmh6tse0tbFNutPTkABT h0wYp8lLeCauUReauoHdYDG6BWMO1Tk0MdOTWBHokjyctX4Xr/FqARY85IUO2kGGWgnz oD3Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M9xS+gav; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a8d25c2374csor471265066b.16.2024.09.13.02.57.26 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Fri, 13 Sep 2024 02:57:27 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCUDblE2aqvWl/wpWdjUh/SRQCS9lir9FPblQVbyO4Ux8otBLcK0LnYkHYXtu41YOe/te/uvDnXKlvoYD7eY@amarulasolutions.com X-Received: by 2002:a17:906:d7ce:b0:a8d:4e13:55f9 with SMTP id a640c23a62f3a-a9029438220mr553279966b.19.1726221446083; Fri, 13 Sep 2024 02:57:26 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-4-102-18.retail.telecomitalia.it. [87.4.102.18]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25cee72bsm863224766b.173.2024.09.13.02.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 02:57:25 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: u-boot@lists.denx.de Cc: Fabio Estevam <festevam@denx.de>, linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Miquel Raynal <miquel.raynal@bootlin.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Anatolij Gustschin <agust@denx.de>, Peter Robinson <pbrobinson@gmail.com>, =?utf-8?q?S=C3=A9bastien_Szymanski?= <sebastien.szymanski@armadeus.com>, Tom Rini <trini@konsulko.com>, Ye Li <ye.li@nxp.com> Subject: [PATCH 22/26] video: mxsfb: support simple frame-buffer Date: Fri, 13 Sep 2024 11:56:04 +0200 Message-ID: <20240913095622.72377-23-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240913095622.72377-1-dario.binacchi@amarulasolutions.com> References: <20240913095622.72377-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M9xS+gav; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 45431f0a1047..06b2a2461246 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -422,7 +422,8 @@ static int mxs_video_remove(struct udevice *dev) if (priv->disp_dev) device_remove(priv->disp_dev, DM_REMOVE_NORMAL); - mxs_remove_common(priv->reg_base, plat->base); + if (!IS_ENABLED(CONFIG_VIDEO_DT_SIMPLEFB)) + mxs_remove_common(priv->reg_base, plat->base); return 0; } @@ -445,6 +446,10 @@ U_BOOT_DRIVER(mxs_video) = { .bind = mxs_video_bind, .probe = mxs_video_probe, .remove = mxs_video_remove, +#if !IS_ENABLED(CONFIG_VIDEO_DT_SIMPLEFB) .flags = DM_FLAG_PRE_RELOC | DM_FLAG_OS_PREPARE, +#else + .flags = DM_FLAG_PRE_RELOC | DM_FLAG_OS_PREPARE | DM_FLAG_LEAVE_PD_ON, +#endif .priv_auto = sizeof(struct mxsfb_priv), };