| Message ID | 20241028102559.1451383-1-dario.binacchi@amarulasolutions.com |
|---|---|
| Headers | show
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBQ6N7W4AMGQEMZ3YQMI@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com
[209.85.208.71])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AC4603F338
for <linux-amarula@patchwork.amarulasolutions.com>;
Mon, 28 Oct 2024 11:26:12 +0100 (CET)
Received: by mail-ed1-f71.google.com with SMTP id
4fb4d7f45d1cf-5c9452d6321sf3046943a12.3
for <linux-amarula@patchwork.amarulasolutions.com>;
Mon, 28 Oct 2024 03:26:12 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1730111172; cv=pass;
d=google.com; s=arc-20240605;
b=Sm5gy4pk8LYGSlD+zUKc8X07gnWcuBXI6m0DBIa//BPXo+pNLL6rsHwoOoqBzyLNPS
ILkS2WIg/rw5vALw7cwC5UPWe2P0QtiiTAvnK9lTTY6DEIvxbj+nIv+VeeWnXF3alSjD
6X9n3aSauRks7caTuBEv/HCPPTN69//gxRZQKKWC5xns1jGmPm9EJETAKHD0cYkUilAV
juwQRqkpPo1wSU/HzZBorruRiEASUoO3UI9KEyqjObMWE7SPlE2e/dyHzUtNllQWJoRG
3qvyiF1sVZq8lGrRXTvYLvkI+Z1ZHly3AQfzHcRVs9xnuvMaQqWZbdbFmqYl3sI2rkPN
fPvw==
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:message-id:date:subject:cc:to
:from:dkim-signature;
bh=ethVoD65OlFRH66CfetP47s2zPPl+25bMHgf4JaH9Eo=;
fh=yqYQrvV6FTPRRemnnh5gPbuyt4LRHYK1s1kC+V9syh8=;
b=D+eveVpIs159QWeYwkoMjZJ63d1MQ2OajCHwOMu47pAlspBMwJKSz2vO3rH8OmtuE5
rVIo6vIfAUcQyWUilQxkYD2fzCx0AKMZvGDj2Q82AfjEWJg4/68MHy/CuLiTYMNWt78T
91bsTnOPiFtmLCKemNqB5pHs9/X2zHaeQ55FiWpcirhx01BaKdxPouug62Wkcs4iWZ6V
MQOuTMbRQRtKZRulQiAIGm9LvabX12utMwOj+X8WmIUl6qZODRTizOEOYBTEqiZ7ln44
o7lzQxeXLUVijLLycsqnZXEWbKw0pbYWxllKOyMD70m1l7w+SqQrA0Sdae4v4tbqKvOV
TiDw==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=eIbuy+Hc;
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=1730111172; x=1730715972;
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:message-id:date:subject:cc:to:from
:from:to:cc:subject:date:message-id:reply-to;
bh=ethVoD65OlFRH66CfetP47s2zPPl+25bMHgf4JaH9Eo=;
b=ok6jfhCMF0L09XpbtyFsm/XnTJgrpwQ/ro9DAeAaFXwcTb7tAvolzkciuI88JBPXxn
hgGrmshcgC4sNDa/aeNPn21xJGGdRldifM3Zs54dCwHvhVvRsETmgxKcnCc7qe3DIrx6
OlO8AG8AY5li6m82pOT9v81USpqzUFRE1vHdU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1730111172; x=1730715972;
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
:message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=ethVoD65OlFRH66CfetP47s2zPPl+25bMHgf4JaH9Eo=;
b=xP207RpJBJp+cafttOMM72k6QBD9GPTHvTp1hGFbgc936D1pKI2w7BZoqluhzK2pNM
nuVtkbimMAoNZo2f/j3Mk0ew/mYg1LWrgaLBalWWc68rwVhCHNfAlEgegAGwLHFKqflK
Xxka2McUmeJI/Ios/xRZitYmhUc/a0v1DR/NeZ3cx1bniXDP+7zcn7URv+H7K1xEOl6H
D4V+gRsHKCPHHLhp4h3kBjTB+Oj9rnIYt7Goyvf+dRvnT0D0pCJiPPTEazYcWW2NNANO
WEF0vsEoO30rREmlJestTtbif0/bW7rL5axpnXFVSepiDqCq+l/YPKZtViITCgWcOGEk
D6iQ==
X-Forwarded-Encrypted: i=2;
AJvYcCWDlrI4n1yjgmPDepewHXFm3qRxJqVknYvFM9u9pg7LtmvTsTgv6ipV70i8/7E+43iAAvIgNQWfAOW88tP8@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YyANDbXz/WPH7bv/mJcUcMwIvvCPC50OrvNV11Q8H3wTxYxZ5NR
7/xRHuG4SgB+HR32S6aL+qyEzRIGKeEcmhgMo+qpe2guNW1B4/B2w8G/hq4B0lfg8A==
X-Google-Smtp-Source:
AGHT+IG5Q59J/2MuCzFZMdyaqCNdMX9w/T7NT4KOtJ5rCu7S9U4KbTLe9CZ9ay6sebPWmOzvk7kK5w==
X-Received: by 2002:a05:6402:51d0:b0:5cb:66c6:d82a with SMTP id
4fb4d7f45d1cf-5cbbf88a35fmr5978438a12.3.1730111171897;
Mon, 28 Oct 2024 03:26:11 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com
Received: by 2002:a05:6402:234a:b0:5c4:6c19:f74f with SMTP id
4fb4d7f45d1cf-5cb99a1999bls100626a12.2.-pod-prod-04-eu; Mon, 28 Oct 2024
03:26:10 -0700 (PDT)
X-Received: by 2002:a17:907:7244:b0:a99:4ce4:27eb with SMTP id
a640c23a62f3a-a9de615c4bemr800548966b.46.1730111170174;
Mon, 28 Oct 2024 03:26:10 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1730111170; cv=none;
d=google.com; s=arc-20240605;
b=KWzwX0K7/1YBKNpTaftnewMzoOkxZ2tSeWrgaos5MEDDu28iM8fmz955cO1iZ6UnZw
pPjoC/JpEFQLWwiI73KAXFIEteHa0XGQIypAMqyLIyUfdJKwYiGz206uP8M/bx52I2Ff
2w4wSinuTVfMOsh4l4pjxitsvayshfPdgHoVrx+CECeMYimKvznETiukDticnuvTrKUT
QPLYq9/GfvVYrCNoZxTMTqcn2ipPRsL8KR2OCDpuRXC7Yd6MHfmJnTY+V6/yyQD/f9Rt
mIea495VHuCbgbWZhy6XOCNZ903gsPqTHWnOfREeBuCe7cFxfWA2su7oegLRtcNYdihP
yBSA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:dkim-signature;
bh=Tjf17nGxadGEosYCdQe1mRaeFLEYOHfj3xwJxxS9C4Y=;
fh=9Q4rLAtj8U2iir37XKPV/DRcOrwPHTC8yHHGcNw5SYI=;
b=ApgnSArhvW3TioqD4c9v1TAVp0cCZS4ZDSRMy+iYeP98sZRS2UStQw1IpMMhUweobK
x8UekwBiU4JzC+mTdnkIhF9ULoGGBCBo0ou+QXty/LeS6Rod6ba1eB6G1A2x1SzPaqGW
vUbf+tHnzXMgXdTV7TiE+FlN3KdpSoE/Q4VcwLQ1g2YDMEZ8eZCr+dUQmo68ZDwqf0r5
UxVXJWJhcDWjIpH7YOMuklsImaZ9lsLOJB8hXc7Cp3iz768mMY2jc3SX8bMgNWmjyGSN
P5JobwOIr8LpdEbhlQAoui46d4muPq0vUriWXpSp96UHknlFZEIsAbyw4lcEQUHdFUjQ
NAxA==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=eIbuy+Hc;
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-a9b1f29a506sor263974566b.16.2024.10.28.03.26.10
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Mon, 28 Oct 2024 03:26:10 -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:a17:907:3f23:b0:a8a:8d81:97ac with SMTP id
a640c23a62f3a-a9de5c9f5f9mr669847666b.4.1730111169568;
Mon, 28 Oct 2024 03:26:09 -0700 (PDT)
Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com
([2.196.41.121])
by smtp.gmail.com with ESMTPSA id
a640c23a62f3a-a9b1f297b04sm363613966b.134.2024.10.28.03.26.07
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 28 Oct 2024 03:26:09 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: linux-amarula@amarulasolutions.com,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Andrey Smirnov <andrew.smirnov@gmail.com>,
Andrzej Hajda <andrzej.hajda@intel.com>, Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>, Fabio Estevam <festevam@gmail.com>,
Inki Dae <inki.dae@samsung.com>, Jagan Teki <jagan@amarulasolutions.com>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Jessica Zhang <quic_jesszhan@quicinc.com>, Jonas Karlman <jonas@kwiboo.se>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Lucas Stach <l.stach@pengutronix.de>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Marek Szyprowski <m.szyprowski@samsung.com>, Marek Vasut <marex@denx.de>,
Maxime Ripard <mripard@kernel.org>,
Michael Trimarchi <michael@amarulasolutions.com>,
Neil Armstrong <neil.armstrong@linaro.org>, Peng Fan <peng.fan@nxp.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Rob Herring <robh@kernel.org>, Robert Foss <rfoss@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>,
Shengjiu Wang <shengjiu.wang@nxp.com>, Simona Vetter <simona@ffwll.ch>,
Stefan Agner <stefan@agner.ch>, Thomas Zimmermann <tzimmermann@suse.de>,
Ulf Hansson <ulf.hansson@linaro.org>,
=?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>,
devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-pm@vger.kernel.org
Subject: [RFC PATCH 00/10] Support simple-framebuffer on imx8m
Date: Mon, 28 Oct 2024 11:25:23 +0100
Message-ID: <20241028102559.1451383-1-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
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=eIbuy+Hc;
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
|
Hi, On Mon, Oct 28, 2024 at 11:25:23AM +0100, Dario Binacchi wrote: > This series is the Linux counterpart of what was sent to U-Boot [1] > for the support of the simple-framebuffer for the BSH SMM S2Pro board. I'm confused. simple-framebuffer is a mechanism for which the entire point is that the kernel doesn't need the driver for. Why do you need to have patches for bridges and panels for simple-framebuffer? They won't be used. > The need to avoid re-initializing the hardware (power domains, > controllers, bridges, display panels) that has already been initialized > and kept powered on by the bootloader has required updating more than > one YAML file, with the addition of boolean properties to inform the > driver that the corresponding hardware has been initialized and left > on by the bootloader. All these properties are added on the fly by the > bootloader to the various relevant nodes. So it's not about simple-framebuffer at all, but rather that you don't want to re-initialize the hardware that has already been setup? If so, this isn't how you should do it, but rather: https://lore.kernel.org/all/CAKMK7uHtqHy_oz4W7F+hmp9iqp7W5Ra8CxPvJ=9BwmvfU-O0gg@mail.gmail.com/ Maxime To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
This series is the Linux counterpart of what was sent to U-Boot [1] for the support of the simple-framebuffer for the BSH SMM S2Pro board. The need to avoid re-initializing the hardware (power domains, controllers, bridges, display panels) that has already been initialized and kept powered on by the bootloader has required updating more than one YAML file, with the addition of boolean properties to inform the driver that the corresponding hardware has been initialized and left on by the bootloader. All these properties are added on the fly by the bootloader to the various relevant nodes. Support for the simple framebuffer for the dts of imx8mn-bsh-smm-s2/pro board has been sent with a separate patch from this series [2]. [1] https://lore.kernel.org/all/20240913095622.72377-18-dario.binacchi@amarulasolutions.com/T/ [2] https://lore.kernel.org/imx/20241024102800.3481574-1-dario.binacchi@amarulasolutions.com/T/ Dario Binacchi (10): dt-bindings: soc: imx-blk-ctrl: add 'fsl,power-domains-boot-on' property pmdomain: imx8m-blk-ctrl: don't turn on a power domain already on dt-bindings: power: gpcv2: add 'fsl,boot-on' property pmdomain: imx: gpcv2: don't turn on a power domain already on dt-bindings: display: panel: add 'syna,boot-on' property drm/panel: synaptics-r63353: don't re-activate the panel if already setup dt-bindings: bridge: samsung-dsim: add 'samsung,boot-on' property drm: bridge: samsung-dsim: don't re-activate the bridge if already setup dt-bindings: lcdif: add 'fsl,boot-on' property drm/mxsfb: stop controller and drain FIFOs if already initialized .../display/bridge/samsung,mipi-dsim.yaml | 5 ++ .../bindings/display/fsl,lcdif.yaml | 5 ++ .../display/panel/synaptics,r63353.yaml | 5 ++ .../bindings/power/fsl,imx-gpcv2.yaml | 6 +++ .../soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml | 9 ++++ drivers/gpu/drm/bridge/samsung-dsim.c | 13 ++++- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 3 ++ drivers/gpu/drm/mxsfb/mxsfb_drv.h | 1 + drivers/gpu/drm/mxsfb/mxsfb_kms.c | 14 ++++- .../gpu/drm/panel/panel-synaptics-r63353.c | 10 +++- drivers/pmdomain/imx/gpcv2.c | 32 +++++++++++- drivers/pmdomain/imx/imx8m-blk-ctrl.c | 51 ++++++++++++++++++- 12 files changed, 148 insertions(+), 6 deletions(-)