Message ID | 20240911151039.2914886-23-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBCHGQ23QMGQECOMJ5EA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 76ACD43562 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 11 Sep 2024 17:11:05 +0200 (CEST) Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-42cb9e14ab6sf20682905e9.3 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 11 Sep 2024 08:11:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726067465; cv=pass; d=google.com; s=arc-20240605; b=Z+k4JAnfqNf22LVBBkccVbypB522PLud5CeXa2/rYwK6+lBf4gNp1XaNXwO1fLGACD eYrCGI2iV+iriHDaPfwkRQNyMtbI8pVX0Zzb43AlFWinzzioeUXmM1JH0pIAntVNaNCv T+Rnm95aFj+B/f9y+8hvtXsCudaOEp41CTmxNlioD/rqtz7bOTSzjVl+Yq4P1n75NXBR PRBbU/ZsL0jdteeIGmaz/F3bbQ6lXMQlTW8zfS79y7qEOwewfTkUspO/TB/9RjvYxMdy JtCN3yj5brXXV3P3TFke7Qt7WYnBLGFVBeCkv7er6914w4uhaIqm/s+CYew9EaFb5aht AcKA== 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:to:from:dkim-signature; bh=DcRYhecmxRt+4pS0Aj+xzpaGfhNEfwD3pMJY/3AdMDM=; fh=be4ayNPQk9GB3Kuu8/996a7pOFcaa6bAyDomGdvffnU=; b=QptsMHLtqiqATNZLh/9Xz07FpwjkKOO1EBQACbz7fn1mN+Zkd4czJBwQ95QGXnj2Ap LLpN5mQOH24K3WNM39V10yPxV91eNPN9irgU/OcIvq19pzxYIWNHpS9JmBdDJs4kMFi4 hIjQ21whoxOY8JfFCNa/wrY0gnSeCG7Dn/lowA0PiY9qL8rOhGbRU40umCQEA3DxnIRG 78nClE4zGZiKX8lNFn50uAClb/4GB2QSDCxek9h0zDDRF+g2hEeBZjrVzLubdbYYUZG1 5bCvG/rZGhZnvN2HT4RDHOslaEBmY5aoX/+rWAMzSKhddjp7SdEngXZhtM8T4O/7Magz BfaA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JqgsZO5X; 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=1726067465; x=1726672265; 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:to:from:from:to:cc:subject:date:message-id:reply-to; bh=DcRYhecmxRt+4pS0Aj+xzpaGfhNEfwD3pMJY/3AdMDM=; b=riIAOxt6eeI5chWNV4Irp4hv57E/3hxrRYpR/LVMLQ6+IyOSlMe8M+DEFLv1KEn31J oE7ihGByQxWfQ/qGA9ENVU7KWTpIEgBTa1/1BZ9lWnXURzg3Mn6MVIuAjDqFrTZCcYrF HA1CeHpfISHCDufEz4DDV1fRbVDlyO90Rjd8A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726067465; x=1726672265; 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:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DcRYhecmxRt+4pS0Aj+xzpaGfhNEfwD3pMJY/3AdMDM=; b=UVGbOe/DBQJsIpEDOnRCKbziobNAtMrWAY4QYxblKQrRCCkP5Ozck6kNPoC4x6CgG9 STU875PMlFlZG9/fL+DOGG54qGPkVKozUS9vcxLImmgphKLjY+mDVCzRTpwRl42nlce/ eRAUbWzuEDN/Ecda76nVFl1bw/g6GidI9CpTQFYvXbJS1YMRw7Z5aTYq/jsA4wK3YZAF 6KsQI1yyg7Ely4olqxgDHZU9HqZy/7bXY/SfOZvzjH8B97eqv6X6RaZHBarF2zLjWnEV pivzXV/V6Kip+g445xd3WKBE/ubIIB2+Kkttq/nbisH8hrb8RcWjRtYLeD5utUuPi5bR 2QFg== X-Forwarded-Encrypted: i=2; AJvYcCW57aLMhZu2d8Nxkty3jd1Bq1H5eycGd5xW2rY6fAH6lzHAkFHKskwdB+gKZUNSjLIQDanaIw+u7rPjVOwS@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YwqqaRG72HpNZnoFpob5Kt1Qp4wrhQpt4rGej6s4UazA+gla9Q4 IXM6eOl1chxJ7K+AEh/da1XEy1IPukgsK3miR7ELI3ooAJMorL4m3Z2VzrkPJLWQhg== X-Google-Smtp-Source: AGHT+IFhuKmyoz6C8UqWnneS3eTRjfiIrO+VHHz4k6FB7VXAtIaY8PFFHGnatuuvELAuiVcC19pZQg== X-Received: by 2002:a05:600c:5246:b0:42c:b843:792b with SMTP id 5b1f17b1804b1-42cb8437b03mr79198495e9.2.1726067465104; Wed, 11 Sep 2024 08:11:05 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:4fcc:b0:42c:b0f2:87f7 with SMTP id 5b1f17b1804b1-42cb0f28b2als19204375e9.1.-pod-prod-01-eu; Wed, 11 Sep 2024 08:11:04 -0700 (PDT) X-Received: by 2002:a05:600c:3b29:b0:42c:bae0:f059 with SMTP id 5b1f17b1804b1-42cbae0f243mr67682955e9.5.1726067463669; Wed, 11 Sep 2024 08:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726067463; cv=none; d=google.com; s=arc-20160816; b=RB8Ls1ZAUbvzkSdIM2QVU6a8X0pJq/IpntFhMCqGiMpdYPTFyG54z15FIQwyfLZVcp RkNohUtYgE7twLo1QeB+1wsqHhYYzrwEM4wpTnQaEdJcn3D4/XqS3Dhu4273NcxnE5nK UTr8eVwDiFJv3rbDXhTTW/66jTjZjFWv8aMeaUfflygFs9bQ6aVxVf+dGONzlmR9k6jK ds3B5RdXsRgb5iOdSW8D37XOOu2WFTf8GGG7rA/IjHM4uX5rBzF7xE4jqRTUoq0g78lG Qo7FlaITfE8AfAzU/UQfd1wohUdrl4+3ZqMs14I1ES9Q88qme//VIQBo7d7CFTMn6wkB zPDw== 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:to:from:dkim-signature; bh=ALh9R2Q2/nmneDvWCm9dK0rj17eHj1CtEQoS84jlZJc=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=jhVslk1YWOqx1sE4hlo1VVbBUwZNFdgjHuddqJLefMyqeMzXqFDv7vxLkmYTZQWhQT ZEVBSE/V5EpQYnbPv7VqkwlG1p5SGzxhRAEOwVVzBC9gEMreBM0vBJE5swkz5KTxsHpy jiF1kvVmFqDliHLf/gdbcu5AI5LEYg+ZedM8w2Bgeal6mHgIocjXnn4GEYmAsJlVM3sy RkbOC6NDXKkNZZRqUOwponTB7rHIhCW29gnGDgFG90RxYtWp9CnVlO1XW88EjjnjwVWD rS9I6VZ+ldumXWP1dLwnQ+eqWRyJNTiFezb1NKBwpTfn+xV9vb0c6comD4Z9ok7m+T56 GU6g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JqgsZO5X; 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 5b1f17b1804b1-42caf308b12sor35782455e9.12.2024.09.11.08.11.03 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Wed, 11 Sep 2024 08:11:03 -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-Received: by 2002:a05:600c:1d0f:b0:42c:b4f1:f281 with SMTP id 5b1f17b1804b1-42cb4f1f41amr90384215e9.34.1726067463002; Wed, 11 Sep 2024 08:11:03 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.41.3]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42cb116f44esm137688375e9.45.2024.09.11.08.11.02 for <linux-amarula@amarulasolutions.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 08:11:02 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-amarula@amarulasolutions.com Subject: [PATCH v2 23/27] video: mxsfb: support simple frame-buffer Date: Wed, 11 Sep 2024 17:10:35 +0200 Message-ID: <20240911151039.2914886-23-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240911151039.2914886-1-dario.binacchi@amarulasolutions.com> References: <20240911151039.2914886-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=JqgsZO5X; 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 4186ccd00209..254e470230c7 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -424,7 +424,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; } @@ -447,6 +448,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), };