Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD16BC433F5 for ; Fri, 1 Apr 2022 18:46:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 552F410E054; Fri, 1 Apr 2022 18:46:04 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 48D8D10E054 for ; Fri, 1 Apr 2022 18:46:03 +0000 (UTC) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 348F92F7; Fri, 1 Apr 2022 20:46:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1648838761; bh=bIPnJlMFDVmi0C1I8Q2bPj5LFxQ4imZIJVNx9HE6Nwg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j3/dgBqn91Fd07hpAMTcNUbc3I/u9WoPvb38QJyYB6PVZKVIL5lFU+xd+YH30kjob gskPGn8cDTtBhdk1MzLczSI4ejtjRrdoh1OBIz3SruxITLJV4E8e7MwAmIMXrNwTz1 ftDnTnwtRXdLwHlGS4v5exk8Gqc7Oy6gZVu5MxBc= Date: Fri, 1 Apr 2022 21:45:58 +0300 From: Laurent Pinchart To: Rob Herring Subject: Re: [RFC][PATCH 1/3] dt-bindings: display: panel: mipi-dbi-spi: Make width-mm/height-mm mandatory Message-ID: References: <20220401163755.302548-1-marex@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Christoph Niedermaier , devicetree@vger.kernel.org, Daniel Vetter , Robert Foss , Noralf =?utf-8?Q?Tr=C3=B8nnes?= , dri-devel , Thomas Zimmermann , Dmitry Osipenko , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Apr 01, 2022 at 01:36:53PM -0500, Rob Herring wrote: > On Fri, Apr 1, 2022 at 11:38 AM Marek Vasut wrote: > > > > Make the width-mm/height-mm panel properties mandatory > > to correctly report the panel dimensions to the OS. > > Adding required properties is an ABI break. Only if drivers don't provide backward compatibility. There's still the issue of validation warnings of course. We can ensure that DT sources in the kernel are updated. For out-of-tree DT, I'll argue that a validation warning is a good thing, it will notify that an update is needed. > > Signed-off-by: Marek Vasut > > Cc: Christoph Niedermaier > > Cc: Daniel Vetter > > Cc: Dmitry Osipenko > > Cc: Laurent Pinchart > > Cc: Noralf Trønnes > > Cc: Rob Herring > > Cc: Robert Foss > > Cc: Sam Ravnborg > > Cc: Thomas Zimmermann > > Cc: devicetree@vger.kernel.org > > To: dri-devel@lists.freedesktop.org > > --- > > .../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml > > index f29789994b18..c2df8d28aaf5 100644 > > --- a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml > > +++ b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml > > @@ -83,6 +83,8 @@ properties: > > required: > > - compatible > > - reg > > + - width-mm > > + - height-mm > > - panel-timing > > > > unevaluatedProperties: false -- Regards, Laurent Pinchart