| Message ID | 20261202102716.572884-11-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBHXFX7MAMGQENB2HDXA@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com
[209.85.128.70])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 804F03F336
for <linux-amarula@patchwork.amarulasolutions.com>;
Wed, 2 Dec 2026 11:27:43 +0100 (CET)
Received: by mail-wm1-f70.google.com with SMTP id
5b1f17b1804b1-4a009f82bedsf91859335e9.0
for <linux-amarula@patchwork.amarulasolutions.com>;
Wed, 02 Dec 2026 02:27:43 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1796207263; cv=pass;
d=google.com; s=arc-20260327;
b=YEe2FMPpucubh7Dn9MSvVHPTngUk+0vLErF/VUp/oCivpTYvBRnSQNdxNOJjWyIKD3
Iz25uBYx2siOcQJ8HvYA42Vr2mWaWP+sFQyDVu5FaqJOh2rYbe4aeOGpqER4c9tXpbIh
TJnwqQyJp55uq8LodKILLMZsYVQ0Lofmqy0nR1sX35pMOmtmdPJSQj8i4StmQ3gQdORx
T1oBf5Q/hqOV1HlP8vgcUUIh8imDzwSnn2rbsFLNutIqSbwea5cEcIOxgj1wHZavpgOP
vKfZfrHVCGoBDCiya6Q6pjlbY9Dgam9Zzpb8LVYV1+E43j7ocsuPe8ZtQkV/FxGbAOBm
fsgQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
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=Aw+gjvFgOf5S2Inl4JviLQFg25BuACS2solDdNv9D10=;
fh=IhBh3uvwqhyFeRNCNGYva2nmjwMltF6v5k3eI9osneo=;
b=N2rNn6cPTS/DZ5aDqBzLWt9U88LoiqEmY43NDD4lXiogqir++ClZxVjsO6EiD40Wlv
P1KHvyBpRIr/xdrg5J5lnn8ylAA0HhnHMjEgDo03832GEEHxD3ruY2CIvwUZF2lF9//y
t3eTcQw+B6bDR4OVlIBSITH4brBH63dnshd59ts33l+Uxkzd813k8w+4Fr1hwg6WMQGB
02jRZXNC96jukF3IrIlJVD/N2kI2OePoahOAMFJHDzMwjHPJwSZSievauFrjLLWH8iZ/
q1wdJkl/j3boxx8AcGxRI4QWRMn7RZl+479xDAiljAvTFmyf4+OAsig74dSYs1PwsFjO
Y3MQ==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=iT247wld;
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=neutral header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1796207263; x=1796812063;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:content-type
: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:content-type;
bh=Aw+gjvFgOf5S2Inl4JviLQFg25BuACS2solDdNv9D10=;
b=Wk3hQUCbKS/tpYSiKFqG5WhYUBhlSWXRQc4GeN3+cXIq2AGjSGp4nZRSdJ5NikGXVP
p5/7dM3eDWJubIMuXEVVMEM1LbY3Rz14SyPh8JaxulH7aCRptEFpevWT1GFnUzBnaJMc
LXk+qyTiuRuZuXS3Gyyw3yv/dBwGB4jccxjgQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796207263; x=1796812063;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:content-type:x-original-authentication-results:x-original-sender
:mime-version:references:in-reply-to:message-id:date:subject:cc:to
:from:x-gm-gg:x-beenthere:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=Aw+gjvFgOf5S2Inl4JviLQFg25BuACS2solDdNv9D10=;
b=wn7/Y0Cy00SZ9HpP4eU4p68mJTpvDD6+pzEYcWiROl+guomC+NOyVHCb5YqmvJXQlb
6LzE75oRXOeVjMbwR/NBtYrgPUpcRBhjEea1qBGoYELNbZioup8NP+ol1E87Fng+uv0s
YdPW0MsY2znHLggutpQe05c5AlQdHe0pcMYlDbPMkomZVeS9rVqF3yVQhhWW8728TSZR
Ylw/VwbuPj/Y0WQSIS5FLeF2ImEjW2TYkoA3yocosBHzw84l2v1wUiPqZ6Bjw6dHACIx
XirOUQLw4bu+I/0uIfTrOodXuo6Nvan5CslBygcsIVKj8piAqswHx4rBPNkFZp6dwdr5
lF0A==
X-Forwarded-Encrypted: i=2;
AL+hErHZNOSnx/vQgCyoasvRigy0rpMwdn9t4xtRrvgD2e2sB6Wrg2IR4EzFXmrgyBSwaBI1Y4u5uBZTS0AXGdgS@patchwork.amarulasolutions.com
X-Gm-Message-State: APuU4Z/1693Q/Fze7bYngocjwnt9WwSfbE4pxGe0rCk3Rn5KlC1Rwi0v
KhsSrS4v1KQXdTPgP14Jdvs2eMEO5OTCI6TJhfdav50dzbXz/4idG48SxjKjYjKx8WabGA==
X-Received: by 2002:a05:600c:3e1a:b0:4bb:6814:7391 with SMTP id
5b1f17b1804b1-4bb8881921cmr779554785e9.25.1796207263171;
Wed, 02 Dec 2026 02:27:43 -0800 (PST)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="ATskLdc1PJpZ0qUuASxu/2wK9Yt34WIefsAMDwwSSu+39KJzhA=="
Received: by 2002:a05:6000:1788:b0:48e:5e64:b481 with SMTP id
ffacd0b85a97d-4b56e95ed0cls5023606f8f.0.-pod-prod-04-eu; Wed, 02 Dec 2026
02:27:42 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AL+hErG3LpT8d1Z2iDer74YPc5LaIl8LpeII/rO4NFZK/OJdR3MLO70kf3A54RsWC+8+7/4kxtujeA+rmg8mQERV@amarulasolutions.com
X-Received: by 2002:a05:6000:4304:b0:4b7:6d41:f12d with SMTP id
ffacd0b85a97d-4b76d608a13mr53734682f8f.27.1796207261803;
Wed, 02 Dec 2026 02:27:41 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1796207261; cv=none;
d=google.com; s=arc-20260327;
b=Ruh8jL5FTBo2xSLZURwLJUDxjRSK3uFzs7U/0qYEYLI0jwMQKECuAzPBjKaYOpMR4Y
2W4z31E+Ac5q/MCwq+kyN7thJYUDPkmRSD3Jzo+BcvIcDnaoDh5mFl38yx4vLRkjrABJ
nRWTgEii8+RqoKzHIyCTNP4OSHflJcLeOSYUxmh83zN2YjKmE0+UTd9ZEVq3J9pfRDQ2
ttZXUj8FwXxi0Qnk3e0vbhvRzbzhga3SU6dspZQ0xvprFw0gBcws92ZYtqqhQlfrMLeX
NyFQWbBgCnkkJ+bmMjva7Xn5GzjpfI1IrA+CNvqZBNdoazjot6T+HyJN4WGN6uPCM0lF
t3Yw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=YSD9g6FFXv0vRxyn/97d+a5eAOdcqaL2sKElpiqE8M8=;
fh=cZvr07qjo/f256b/vua1OzwRY+uvAjS8No4ElA0O+14=;
b=RlJROX/enb90GaS96X0dITKB6GJkjubLkNePJOZgSdMntamCldObN8rU/OCYiPcch2
KMU6eKtdR5pPs2W1ml1ZJhrA1jkpyBT2twzrfvYwvU4PNHQyzwic3wurLTeUMxU4XbM1
Q9kgtUfuPsaHRnPjy8gyd/eso83ugGb2VNcOyI/e/w7LCirHZ6Hqc5fVBlWtyxH37AcV
ZkPkbLJPyxclQVJ28+8IJEPVgjgBWTAeN0wao4zcGsr6l2TQzub/nmHA0QEo89QCClT7
w0lOqXRZYrYvpMYxuUT3pfx37MM716ePDxPbGO9XH9OCcrCHPo+4lFpERFiA+jo+M5eU
KFEA==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=iT247wld;
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=neutral 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
ffacd0b85a97d-4ab5a6d75ccsor1344044f8f.5.2026.12.02.02.27.41
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Wed, 02 Dec 2026 02:27:41 -0800 (PST)
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;
AL+hErGTuaL+4nAYx7ktNjBb9mkXcPYWjNAaRLKywG1IZHj0fauuPcucAzUcyzs2hdWWtrpYEsuc/e9Ub+aZ2mDj@amarulasolutions.com
X-Gm-Gg: AZFdTZefexscUvyMLtgLmwmAskKkz2MTS0VJ4IkraMdOiIyHAMMgj8bGniAJ+wLrvr0
+lFJh6qFSOU4Tv4ae6QSChdmFAIApC8Jo0n5wEL8yEf6UiqkZz5WFGTjiELm1M87qW2NxFt5xTO
0bQH0CCAzArHujgMKBKy+IjkS7H9l9HXSk+Oj1UOksxNGtf3mKIk9uAfjmyjW3NIm2r1D54o1Re
IxJXxzH7isj/NeLmrtKlXLVfxOBYQxLPIKV2ey9QUAZzAJO8QlOD6QDJIQm+GaBZbdF3utDoL7x
wHlklxG2jTudxjRyxprY4db7fWR7Qzcgeo7ODPLRr2Mv9nz7Q0btR4Focqm/MJLhPk65tCfKbaj
syFfIsXsl5hAg3I2dWOl835p9Dz/gEuPysKHM2B22Z6MepN73j5l9Tlej5BnqXS96z9qR42Lhzn
W4tqzKdeJkSchjYIjeSojbRn+UAojMQmNJpQFwDsV9O6DsycASObkkgcjrH8kDe6qX7rl8tJg05
0M82fzG1K5h+gcfUifKuxOy/mpGlH/ij6vmp2qGQLc65UGWIZeOnc+nUwCddY7BiyEzMXyF31/e
Q4Pt3RtBDX/TArp9nDZmfYu8P2ldwFJrei3rcX/kLFDn2e1u+hsrVjKkkyBfzHT2tKhaKAfFL6H
lf9udt4RafBh0oLyZw7pk
X-Received: by 2002:a05:600c:1d0a:b0:4a2:59:f568 with SMTP id
5b1f17b1804b1-4bb8880ef6amr839584885e9.14.1796207261339;
Wed, 02 Dec 2026 02:27:41 -0800 (PST)
Received: from localhost.localdomain ([2001:b07:6474:ebbf:6962:3ebc:7df:e6bf])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4bbbaeb1e4csm366823865e9.13.2026.12.02.02.27.40
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 02 Dec 2026 02:27:40 -0800 (PST)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: u-boot@lists.u-boot-project.org
Cc: Heiko Schocher <hs@nabladev.com>,
linux-amarula@amarulasolutions.com,
Peng Fan <peng.fan@nxp.com>,
simon.holesch@bshg.com,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Valeriy.Yatsenko@bshg.com,
Leonhard Hesse <leonhard.hesse@bshg.com>,
michael@amarulasolutions.com,
Miquel Raynal <miquel.raynal@bootlin.com>,
Ye Li <ye.li@nxp.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Anatolij Gustschin <ag.dev.uboot@gmail.com>,
Tom Rini <trini@konsulko.com>
Subject: [PATCH v3 10/26] video: dsi_host: add disable host interface
Date: Wed, 2 Dec 2026 11:26:21 +0100
Message-ID: <20261202102716.572884-11-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20261202102716.572884-1-dario.binacchi@amarulasolutions.com>
References: <20261202102716.572884-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=iT247wld;
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=neutral 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 |
Support display on the BSH SMM S2/PRO boards
|
|
Commit Message
Dario Binacchi
Dec. 2, 2026, 10:26 a.m. UTC
From: Michael Trimarchi <michael@amarulasolutions.com> Current operations structure has provided disable callback, but there is no API from dsi_host uclass to use it. Add this disable host interface, so that dsi bridge can call it to disable host Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- (no changes since v1) drivers/video/dsi-host-uclass.c | 10 ++++++++++ include/dsi_host.h | 8 ++++++++ 2 files changed, 18 insertions(+)
diff --git a/drivers/video/dsi-host-uclass.c b/drivers/video/dsi-host-uclass.c index fde275ad7e2e..745991f8dd94 100644 --- a/drivers/video/dsi-host-uclass.c +++ b/drivers/video/dsi-host-uclass.c @@ -34,6 +34,16 @@ int dsi_host_enable(struct udevice *dev) return ops->enable(dev); } +int dsi_host_disable(struct udevice *dev) +{ + struct dsi_host_ops *ops = dsi_host_get_ops(dev); + + if (!ops->disable) + return -ENOSYS; + + return ops->disable(dev); +} + UCLASS_DRIVER(dsi_host) = { .id = UCLASS_DSI_HOST, .name = "dsi_host", diff --git a/include/dsi_host.h b/include/dsi_host.h index 83f8839db68d..5873ab698d9e 100644 --- a/include/dsi_host.h +++ b/include/dsi_host.h @@ -70,4 +70,12 @@ int dsi_host_init(struct udevice *dev, */ int dsi_host_enable(struct udevice *dev); +/** + * dsi_host_disable + * + * @dev: dsi host device + * @return 0 if OK, -ve on error + */ +int dsi_host_disable(struct udevice *dev); + #endif