Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6844459rwd; Mon, 19 Jun 2023 13:25:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AdaF3tOZ0Ynjey0FhodVlY4LJJYdE3faeoh6YHqLf9KIpyn8GBmP79i6i8yIAEMyB2YJB X-Received: by 2002:a05:6358:416:b0:130:325d:2a7f with SMTP id 22-20020a056358041600b00130325d2a7fmr3434154rwd.11.1687206308523; Mon, 19 Jun 2023 13:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687206308; cv=none; d=google.com; s=arc-20160816; b=g4qW9Ce/H6i8KgOHZKtNuqr5ZOy+MrV2aGgN5RCl6Im1jC/erShEu5GIGighErc8UK vt8CLJIBbQZHtr1wfVXSMLcfkYGzdqd4HL5idnjIyXufn7kfG3xRH+7T7Z3d5MRCU7IT 1jXEFa0wKfRpdH1L/ku9QVljsf0g+1s5feHuv+3s2kT2srCBUfhovVfpu6xOaA70onLh j36TIdlFKMHAd00ktjshcZ934jUpLUHiWTmTpg56C3w6w+jv6JxqAGGCLPoTDxXDUxP4 R6GJWlTA96OdOrA64v2WDauIRQCJanKh4w6IY3OjV2oUDud/Z8JzQFNTYMsrhFJjAHEZ +oZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SJ0S4TlChGYySqngfsk0Wekl7BlQp1Pnot/obP1SU9I=; b=RjgF0NkBLtSHGoZhugRTAIwM1h0Uq0DcV+ZnqTPNyCDQeGjOL6e7Ad2X5VeffjHApf bs3wERZbsn0m6GF61z5oFrapwAkHNH7MjLX0/4X2eQmWZtJxddm8ZKSnModLiGXBY3Zi hvxkj5rnLAMJQhsgNUw3noiCsuLMVoDdsTx0YmfK++UjdFyv3fwEZY+Tq59a5nRrxV8W vEq2O7Db+lPI4atQ9tyFvBa4amq+y9yBKw5qkxk1+cDx8qT7maHewTPMX5QxyR2N57sx a9Yw8LqjQy8Re1KnS2ClKCB/jCkleziBGO1mnXTsIwAJPhLOOn/Cc7rijVFeKq5+UdbM D5Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JFJ28e8C; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020a63924f000000b00553b02a9a17si219003pgn.256.2023.06.19.13.24.56; Mon, 19 Jun 2023 13:25:08 -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=@kernel.org header.s=k20201202 header.b=JFJ28e8C; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230139AbjFSUSe (ORCPT + 99 others); Mon, 19 Jun 2023 16:18:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230007AbjFSUSd (ORCPT ); Mon, 19 Jun 2023 16:18:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52AFBE72; Mon, 19 Jun 2023 13:18:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D42A460EAE; Mon, 19 Jun 2023 20:18:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDFB9C433C8; Mon, 19 Jun 2023 20:18:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687205911; bh=HhghJ0yctP0ql16cZYZqxzheR0DW80MolXe2adxh4PI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JFJ28e8C/9xbrFv+nFHoy99cXRAzDYp/c1J1kHsrsr0fK0UZGoFs1GeQTFLH5GFBe LGYTdHv/yg8aDWvwuBCREEXjxpv/EyT7i08ksdgAFpWcP+8l9Rjx++O88/5udK+kZJ Hknr4Rkn9Go5AsgmBzjjfpsqtuoKiT57cVyAxVeR/jJESFWk5NwbXME3/XHfa4JmV+ TgcKts6kxfDCyi67QVuFaEJi8tD2hJ2EIiTYe6AyAyDLvpsB5BUcgVp3PX5VS4R0Ej 6/oKCF9bnEFeuC2anUCBG7v60rG1tJuj+gGt39p8EDCWvnjMrQDoUW975N2KrNHxla o3kP7IsfJdEPw== Date: Mon, 19 Jun 2023 21:18:25 +0100 From: Conor Dooley To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, Philippe Cornu , Raphael Gallais-Pou , Amarula patchwork , michael@amarulasolutions.com, 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: Re: [PATCH v4 4/6] dt-bindings: display: stm32-ltdc: add optional st,fb-bpp property Message-ID: <20230619-ion-decree-c63d2eb11e83@spud> References: <20230619165525.1035243-1-dario.binacchi@amarulasolutions.com> <20230619165525.1035243-5-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wB3prgNFdxLAzRiP" Content-Disposition: inline In-Reply-To: <20230619165525.1035243-5-dario.binacchi@amarulasolutions.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --wB3prgNFdxLAzRiP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey, On Mon, Jun 19, 2023 at 06:55:23PM +0200, Dario Binacchi wrote: > 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. Hmm, this sounds quite a lot like "software policy", since the actual display doesn't have these limitations. Rob, Krzysztof? >=20 > Signed-off-by: Dario Binacchi > --- >=20 > (no changes since v1) Really? https://lore.kernel.org/all/?q=3Ddfn:st,stm32-ltdc.yaml%20 You sure this shouldn't be "new in v4"? > .../devicetree/bindings/display/st,stm32-ltdc.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > 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. > =20 > + st,fb-bpp: Is there not a more understandable property name than this? Maybe I just had to think about it because fbdev stuff aint something I've worked with... > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: | > + bit depth of framebuffer (8, 16 or 32) > + maxItems: 1 Why not make it an enum, since there are only 4 values? Cheers, Conor. > + > required: > - compatible > - reg > --=20 > 2.32.0 >=20 --wB3prgNFdxLAzRiP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJC4EQAKCRB4tDGHoIJi 0oPpAP92h4xspKGtI1yHs7XjwoYCJXDpWoGzANgb0IX7QDSxWQEA+mwt+9KLghOY jMdSLkmbkdR8P3BWLJOmAnP6AsLtKQQ= =IYJt -----END PGP SIGNATURE----- --wB3prgNFdxLAzRiP--