Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6643787rwd; Mon, 19 Jun 2023 10:03:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tN4MzCx9Wy9s+Ixq5WgsPp6DJOpLDYrU28wX2ZUHnE2VIy6vOKOiJF3dgmZfm9Z9FbPUa X-Received: by 2002:a05:6a00:1887:b0:668:6eed:7c0f with SMTP id x7-20020a056a00188700b006686eed7c0fmr3574885pfh.12.1687194209792; Mon, 19 Jun 2023 10:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687194209; cv=none; d=google.com; s=arc-20160816; b=Dwy8gfLrr8mtXD1/C6nCr7hplJmSjViN4eFcwXYeEqZxZOIHF/XstOkmP9GpkDLhQf k9uVSjMSz+D6BEXxR7YgFm1XfBdZZTsKd32YyAYOQHHNH23yVleFEcGP05mLvd1pcxRm 5b5d0wLGlcdgfm0xyRhhf1ckB8pU3Q2x2KMslTN65iOw+bEUWP6epWI3GZ0bt4iltMBv D1m1SfgJCZWXZ4E1hn95MQ5ZXq+UIKmp1w5olrp7a9y037VWTAD8A2tXfETUbH2p8atW /gdsMDC1HadFgtbsv0a45PkhvmH0qAfeAFoy9ILpoftkFf3Hnsxc3RHy4lm15d8C9Mg7 SozA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HXhpNMq77ixD+XgN0GcYbuylNiGuY9CxnraNzjgz9ZY=; b=E//76fCMyuphE3IhyEUuLqf6fHngi23CfvY6re4hBEqIEglCSWlaQhosergejJLvdn FKu/f9De4b5kkZKpGt0fjXnKl/AdjKfS7UwW8S3PP5bFJtAR5Q68YYkuNm2CrnlUOtjJ Feqntv+x07lsFdezmXhZK53rNU43si72K+O54oH5hL5QyMMvuNlQ7lUO/5HDJcG9DBt2 xe0A91y8egADDEpRv/UZs2GTM625A1vDCbksgORc2f5wblm4Hgg4RZvLQj5oreKgs+Sf XzLOJy5UCwhxWxspzozWFFKmGoQb6nKqaJ1vXLRJZjN0bNBGdFAw8BetQaLST9BYYs2/ 7oLA== 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 linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020a637f07000000b0053f32b910c1si17491359pgd.700.2023.06.19.10.02.54; Mon, 19 Jun 2023 10:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PouTpA+2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231698AbjFSQ4B (ORCPT + 99 others); Mon, 19 Jun 2023 12:56:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbjFSQz4 (ORCPT ); Mon, 19 Jun 2023 12:55:56 -0400 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB2A710D9 for ; Mon, 19 Jun 2023 09:55:50 -0700 (PDT) Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-76241c98586so282347585a.0 for ; Mon, 19 Jun 2023 09:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1687193749; x=1689785749; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HXhpNMq77ixD+XgN0GcYbuylNiGuY9CxnraNzjgz9ZY=; b=PouTpA+2eidqrl2NfeWbcV1LWEd+x0sWxTYQqZBmR29e20+aBqMcRvmbdsZHxk/2Kq RlWwI7B6oc4NIV+fZrj9r54OOU1KWGPD93E/gAX81LmHhbzAz0pjOmQ9MyzQOqhaQ325 8/nMG/HMKeVZlzv/TM7cOrnvPqkTZAVZWRW5c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687193749; x=1689785749; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HXhpNMq77ixD+XgN0GcYbuylNiGuY9CxnraNzjgz9ZY=; b=Pynv83PSAsvhBVJOa0G2MTw1aU/7KB8mPlBzMPgAMVPS/Sy0N4RdTqhWRrmOvs0k3t uZbSjl6yoBmwOfgU6Ara5rnfaU4IpvAt4VaSKZCeKR6EywFMlIimJxvQ3V3ceomFTm/V MPtzRigopzWe138joSXBJXPv9xWM2s6lDGCIpSxAsJK+ei0us9wINQiYP5zW934mKM+p aa7E5pxwf6oHN5o5k043P5DRKw2teGW7jsvA4h4cGDhBalECUQuPDWUFCGhuDpgDZcLr qxQXnolsfx3Tz9FWmGHaCyOMu1Fc7k1dCzsMtb2uJu6XB4wE+OkIp7aQWezeoWf89Z63 d7pA== X-Gm-Message-State: AC+VfDwAyEIv+BNjcA+SLS9TzX9Ll+eiUQt3heGxuNGTeyvtZpwY7YNU k98TBu907oJ+lOR+k9jJBlMpf7QR1nz3E68TaP4= 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.32.0