Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp338887rwl; Wed, 29 Mar 2023 02:33:54 -0700 (PDT) X-Google-Smtp-Source: AKy350axtlZjCPTpUVgPRU4u0vvuBF3Gc3U6edXITZPEGKpJRmTsYvukjnEMyXd9cxykEUyqPxR0 X-Received: by 2002:aa7:9696:0:b0:627:fae5:b3d0 with SMTP id f22-20020aa79696000000b00627fae5b3d0mr17252350pfk.24.1680082434481; Wed, 29 Mar 2023 02:33:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680082434; cv=none; d=google.com; s=arc-20160816; b=JwAR6Dz7KR3WLhcl9cuh1QfU6blrGbu7YhF535wA4VjR1HiSCAQjFFZXSk3/sNkvLV CAlZ+RSlatwK3D61e6vxta/Hw4t5exmLpoiXZwKpmR4hItoqRwUghfvBlEs4jKuTqLDC 3eQrCj3WaOfPR01gy7ARxFf5V6utjsD3E3mR5zWaINvGxG6OTo74lMuiIrGuU8EbbuaN dEbPgRgIUrE5vnOMiOEuAn/8qo5zDMbIEEZyvIlV43hquMHSLM97sE4EqsoWiwjrH7A2 bP3MsIJveGJhpip7rR/sHMgNqkVjJFl8hOKZ3IMdzyzQxyHs0JKgOSp0/ReXSIhLRV60 Vf3A== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature:dkim-signature; bh=dklyY2cLc/yDrfewYfHoYxh7ZU+4CMdDwAXbz++KqV0=; b=hvM5M0k1X+hOF29Dt3sFClM9VN1904fYFCoTctzxKOx5Y1QCUIhSGQelSBEski5VWv 8T0j7yXdxlGdaiqF6GvezeQ9KaZ+KXz7+uKTbQ2nr1yf4GgCrbIqtyoph+Aud6FQ+oaZ fmBNAioqP/jIJWXNCJU8Xk8H1mRNXqWGukk8w4VwDcN7LMD7cjMGaq/++WsxYse73Mum rATYEaT55E0qH6xdnbAd050rvkJ7WYGa4gtJuNa96LRJO/GLZhxoje1y7SxOuT9iOyyI YmnNj5bYKTlEbzvcHEiyAw2NEcnsR+TZgv7FCoNHVQe4ayP07FXRoHEULegKZuNTUeK4 2fNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=CrRp2GoM; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=EROYHZaj; 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=cerno.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j14-20020a056a00234e00b00622b9204356si31549193pfj.204.2023.03.29.02.33.42; Wed, 29 Mar 2023 02:33:54 -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=@cerno.tech header.s=fm3 header.b=CrRp2GoM; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=EROYHZaj; 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=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230039AbjC2JQw (ORCPT + 99 others); Wed, 29 Mar 2023 05:16:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229878AbjC2JQn (ORCPT ); Wed, 29 Mar 2023 05:16:43 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C910A1708; Wed, 29 Mar 2023 02:16:41 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6D58C5C0082; Wed, 29 Mar 2023 05:16:39 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 29 Mar 2023 05:16:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1680081399; x=1680167799; bh=dklyY2cLc/yDrfewYfHoYxh7ZU+4CMdDwAX bz++KqV0=; b=CrRp2GoMwoCprrzkqXyCs6hl29PE5jk5SUuAmwcSioEUihCGjtd QQlBjVyow7xKPuwKPTG/y+5BJ95xPTxI3eqLifd7LT6QPlOmGf/QFKaN7pJATlXN x0B0o+9ndir/4HwhClbptZHu+ewc0WQvq/OpbBVHiUUTyE4bGvsehlv9nS6xf1kZ YWafQY7duV5W9DSwJ7I448Q9TxB5m86DipbJp2aH18GjPDJw3Na2KUAvP/9BYp14 YcBW3k7Nn0q+BJfCyo2S57dqyuhz4RIXPWY6na6Kcfjr56238UQLYjLR0pj9L6sb 8GeKe9s3qi11fUEHMjGvqqCRkYwHu2hvfBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1680081399; x=1680167799; bh=dklyY2cLc/yDrfewYfHoYxh7ZU+4CMdDwAX bz++KqV0=; b=EROYHZaj3oKGYbjwiiDbMshFUQgi9reb674r2Fted9QtgZzAAti uFIwtAusal4gVFYmv1EXUdJVn/PFd9ue/oo7sYEf2G76WIFg89UivcKrUrtCv31F /qsFU1bKeOWkoSsWNvMMEFhqPg5rbfyKG1I/RV1sb4JT26+uxMH+XGcwHeMgU50T tY1sRsUaNf80K3L0Z5I4LGJjL5266sNWuWJVDgTgeJpk+pempdTxMmJSrrT6YcuT 9iyBqh8l44EPYH3CkCblMsGY5DNIdo/AKpVTXXvSbRN57V71EjXe+kwdj5hTdklK QQ/cnelwZzyzE0QNTSMoUl25LMV7ryRA3Cg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehiedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtqhertddttddvnecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnheptefgleeggfegkeekgffgleduieduffejffegveevkeejudektdduueet feetfefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Mar 2023 05:16:38 -0400 (EDT) Date: Wed, 29 Mar 2023 11:16:36 +0200 From: Maxime Ripard To: Michael Riesch Cc: Rob Herring , Gerald Loacker , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Krzysztof Kozlowski Subject: Re: [PATCH 7/7] dt-bindings: display: add panel-timing property to sitronix,st7789v Message-ID: <20230329091636.mu6ml3gvw5mvkhm4@penduick> References: <20230314115644.3775169-1-gerald.loacker@wolfvision.net> <20230314115644.3775169-8-gerald.loacker@wolfvision.net> <20230316215735.GA3940832-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 On Thu, Mar 16, 2023 at 11:29:53PM +0100, Michael Riesch wrote: > Hi Rob, >=20 > On 3/16/23 22:57, Rob Herring wrote: > > On Tue, Mar 14, 2023 at 12:56:44PM +0100, Gerald Loacker wrote: > >> The sitronix-st7789v driver now considers the panel-timing property. > >=20 > > I read the patch for that and still don't know 'why'. Commit messages= =20 > > should answer why. > >=20 > >> Add the property to the documentation. > >=20 > > We generally don't put timings in DT for panels. Why is this one=20 > > special? >=20 > For now, having the timings in the device tree allows for setting the > hsync/vsync/de polarity. >=20 > As a next step, we aim to implement the partial mode feature of this > panel. It is possible to use only a certain region of the panel, which > is helpful e.g., when a part of the panel is occluded and should not be > considered by DRM. We thought that this could be specified as timing in D= T. > > (The hactive and vactive properties serve as dimensions of this certain > region, of course. We still need to specify somehow the position of the > region. Maybe with additional properties hactive-start and vactive-start?) >=20 > What do you think about that? I don't see why we would need the device tree to support that. What you described is essentially what overscan is for HDMI/analog output, and we already have everything to deal with overscan properly in KMS. Maxime