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: 110127 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3146814vqr; Mon, 19 Jun 2023 10:17:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6LUCCTg3N9ljaM1aAoHeraKvLfGYsFqAjlZ3e3ZlxLdjqdsr6+nmXre1AkTl9mtYr2ROnX X-Received: by 2002:a17:90a:55c7:b0:25b:b88b:bd41 with SMTP id o7-20020a17090a55c700b0025bb88bbd41mr5395474pjm.43.1687195037648; Mon, 19 Jun 2023 10:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687195037; cv=none; d=google.com; s=arc-20160816; b=WiMCYAfOB7QGENcVN6S5N5Ki8X9ZLEN9TA+eUTYuBE7faDLyQZqWJikiaoozEY3aRi /g3TWhE6Z0sK74senk2B7vUQ5J6gyraVfKpxDba1nW7Hadi2yztvj9CcIpoeOQzO4JFw vINElFYgSIhlfOtIGa09QzxcUR9KySQZQxtMCl9lgoDQuSlMMvNCA0xtv+N1EdowKr2l fqKe3dHPXn2fhUaM78i0gle0X6fDU1Oy/RuqD02ccX9ISXdOL2VGGmJ7PBrHXLK/h0RI h+R9r4cfthbjqBdm18el2AjwfcUHrVXK9oDBlzIJSVc5Ce5UjwiXTKtoPL6oGNNN8ece YnmQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w26-20020a637b1a000000b00543a6ce8c34si6866057pgc.463.2023.06.19.10.17.04; Mon, 19 Jun 2023 10:17:17 -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 S231466AbjFSQ4B (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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769152223778625435?= X-GMAIL-MSGID: =?utf-8?q?1769152223778625435?= 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