From patchwork Mon Jun 19 16:55:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2925 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D27003F1DB for ; Mon, 19 Jun 2023 18:55:51 +0200 (CEST) Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-63015df952csf24102586d6.0 for ; Mon, 19 Jun 2023 09:55:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687193751; cv=pass; d=google.com; s=arc-20160816; b=do1aEBbWptUHDx4uBf+ppFR+N+vo1l0Pz8Q7xTuK/GSOcQPjR268r8la0qWz7qQPrv cp1BRvo/mz/xnb8Da67BTBijHFqzkLABLyLwURJXTf6ZWDrjBXFBB+o2KupXAvbubFgu qN5jB1RnV3rvSrJRmTnMGW47VrGPM0xBW8ainTcBWCro04W04TANFq5+yxpmuzSCr9jr o7oJpm9Cneh9qMSaCLTWJf1sxdBUkJ6oekwfy0WK3c9yojMtCbbaNIrO88ZtZy3ZHjE5 IRIiEP2WBOshIlAZiR9KfRzBM0BT0gfXuAZm0PVKTyxstTDOZaV4Uzx6Cz1AqJye2+ZM dgyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=krbRjJH4HQYyq1zjxnd7Vrzxv7WnWHCbuHBHf0XDiD4=; b=wY1UuVp7JFEtWXo419UA8liHeMKZTLPnU0bKFQPuFyhPfy1+jZlOrKteY9gYWkXTM4 MO4yzGDb3gbagFSrYyzznl5zOoXSG7ZVbUkn76P3mCeUQtuitN1972qrhnZ1WN+z7IGR gYTaHyXA6laovRKbYYw24l96kTm9htcS6O1/zkykUzQamolGW0lR/aUe397HV9dIXQMn aV1ZjP/SlUUV0rxgfA7+NRDLRGLyX8ymff64TYF9HaUMivxEOTZsUwnGCibZtdJ771Re 6TOS1FQbrmruaLgoo1eGlcjIGia64kD+ZwuSSJWeccyvrOSRJ4e07fl3C8j1tv4S8FDz JDYA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PouTpA+2; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1687193751; x=1689785751; 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=krbRjJH4HQYyq1zjxnd7Vrzxv7WnWHCbuHBHf0XDiD4=; b=buMwCHfzY9me6JE7dRLhmJEv+y/hm9VVWa8avBm4LHi4Qx9HY6QRuVQLTSNW9ZLzae yhsB/pY2k3ofg3UbBkLJQ8LxMa3bvsdNiLx/sZm9Jbdz5TASwgH4T2v4bMZeTXd+MbKy QbCWciu3abz/f4nIp7FJ2qfPne2od7Z1p7/zc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687193751; x=1689785751; 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=krbRjJH4HQYyq1zjxnd7Vrzxv7WnWHCbuHBHf0XDiD4=; b=IT/NM/+/bEgwH7o9/d6z2n9ANDIZq26VgXwsmdxmGl0LnDaZmrtABvfyxTugbLYerP ZYOIsg0Uy0sPozBCG5uIT0cLSa0V7wIMYAe7U1WT744rSnyqGOvx1z0gWahJ6+mT/SPb p9JyTPFtpz/6rSf0hquYzPQqdKfJyo/XLkSl1lUENDSq49BBc1r3jljHF6CEXNwhkOCe 5GTQUGIZx9jn6EWAqvgYKjUlqb+f3gZWUHWCLRQO0lsc7D7FYRzVPs2N0S6m5GmKAAyg og9OTmjz6hryvazJUiNX/avpNFhSgDVvmHJoqdrvuOp2DzaCIV612JH0K3gfZongZGC7 s+Uw== X-Gm-Message-State: AC+VfDxRRef/BxrG1g7W5mtyq7AThW4WPevErf51jrbAjpIz1Red9fb4 vcRoEciTv3MZIZ94hqDqAFc76RzT X-Google-Smtp-Source: ACHHUZ7LzZfPVgYvxd+dDb4ACN4LxSnajBC389EJEzXYIIv/scHsRbaCFVwwsHur1UluMjPWgASbQg== X-Received: by 2002:ad4:5c87:0:b0:62d:f8e7:304e with SMTP id o7-20020ad45c87000000b0062df8e7304emr15365183qvh.44.1687193750858; Mon, 19 Jun 2023 09:55:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ad4:5912:0:b0:626:3bf3:c6bb with SMTP id ez18-20020ad45912000000b006263bf3c6bbls497330qvb.1.-pod-prod-04-us; Mon, 19 Jun 2023 09:55:50 -0700 (PDT) X-Received: by 2002:a05:620a:26a6:b0:75d:fefa:f342 with SMTP id c38-20020a05620a26a600b0075dfefaf342mr13344055qkp.5.1687193749975; Mon, 19 Jun 2023 09:55:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687193749; cv=none; d=google.com; s=arc-20160816; b=dA9fAfxIEJvlq1t1ui7DvrX8xe/QRc6yiMV6jGaUJEUxatSjtkqGXgegZAeq9T75+Y qjAx82WuxAlwtmIx0yRKnwHn/7Fiw2/bLG1vC3xpYUEqbax/IIjsaC/ZHfkntiV13jtW +XBZybnaEQPsjU811V/KBX0DXqlHVA3vm4uXh7EaPqYkGlo6TTSMeLIRlyMWVZ4ds9Tw z1Sy4nbMdo4CqOp4VsreGeQkCoZPMIbVagMBaa+3UqeS4I5WWEGs6szSl3e/u3NuKFuK 0KP8JAUybhLtF7sU9e4NIsRJxYNQh/jj+U/WGLeJbb/mZNXQLtd7O9g4G6qlHRsPDOYq UsQw== 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=HXhpNMq77ixD+XgN0GcYbuylNiGuY9CxnraNzjgz9ZY=; b=rnX1+0pV7WtQfJylZJeJ/8Zd/7D2/GD4vv57/4tpfhZAHMgyPquGfvwTwFC3Q/vgIq vroDMcW2bKlvT/tbpcguLLs/qcsZCFkILVxQGt5RKSi95RtLovHRAavV5CFWQF4a4zn5 bwihOYlVy9nrjHu05LAV4l5ho/DZ4Q74Iiq86VwjwtlDA4cPYeYlXixBD/D/avPmhBf+ bhaAEi/iC8Qe5Jmy+l11xO3D5I44/rRyvRCYXrgpgyy/aq7+Hwq8i0gwfSYOEcQh+Gxk /XesvNz9MrlhK5N5PvK3BI9eL5MZ5/rYU3yqAvuuccpn3d+HhrVDDJFc9CnnenUNnmSv IakQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PouTpA+2; 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 Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id dl13-20020a05620a1d0d00b0076226de3abcsor143893qkb.6.2023.06.19.09.55.49 for (Google Transport Security); Mon, 19 Jun 2023 09:55:49 -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:620a:cd2:b0:762:52a1:4687 with SMTP id b18-20020a05620a0cd200b0076252a14687mr4387025qkj.22.1687193749648; Mon, 19 Jun 2023 09:55:49 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-79-25-27-4.retail.telecomitalia.it. [79.25.27.4]) by smtp.gmail.com with ESMTPSA id p23-20020a05620a15f700b0075d49ce31c3sm109103qkm.91.2023.06.19.09.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 09:55:49 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , Raphael Gallais-Pou , Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , Yannick Fertre , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v4 4/6] dt-bindings: display: stm32-ltdc: add optional st, fb-bpp property Date: Mon, 19 Jun 2023 18:55:23 +0200 Message-Id: <20230619165525.1035243-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230619165525.1035243-1-dario.binacchi@amarulasolutions.com> References: <20230619165525.1035243-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=PouTpA+2; 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 Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Boards that use the STM32F{4,7} series have limited amounts of RAM. The added property allows to size, within certain limits, the memory footprint required by the framebuffer. Signed-off-by: Dario Binacchi --- (no changes since v1) .../devicetree/bindings/display/st,stm32-ltdc.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml b/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml index d6ea4d62a2cf..1c3a3653579f 100644 --- a/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml +++ b/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml @@ -42,6 +42,12 @@ properties: - for internal dpi input of the MIPI DSI host controller. Note: These 2 endpoints cannot be activated simultaneously. + st,fb-bpp: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + bit depth of framebuffer (8, 16 or 32) + maxItems: 1 + required: - compatible - reg