From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D20B137C; Fri, 23 Feb 2024 00:09:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708646996; cv=none; b=lUGmpmK9J4gY5H98cj106Js29bfIH4ZxEY4ajlIN2t8nSvvfV23HnKqOfVxpMhMjnbZ80RxkoAm452TP48pczOFakEjL80ELpymxH+NtZeomI6mpwLDx6Z5yqxyCUZYM6/APB4XICfGfy65k8SDstPeR6ZBnnxj75idqUHlRImo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708646996; c=relaxed/simple; bh=RhRSFH5NSNo6CkhyLrfKQ5w4p4swe1ANA4xMk2MzezU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JmGIYOExWwBIaDhAUXnuLDa3xENOKWnmvfSN2IKe3c4HWpgkXNtMbLwvUNLUlnEhobxJ97bV3EVdtIKJ7VH7f7n/dGMN/+jPHI8501qligyzFvMcx8LM0PwQFF4GFLHkxq+Ijyq3t4HOToOqrAxhWCpeA+BgYf/olEVuQLj915A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bPd7uYEm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bPd7uYEm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A932C433C7; Fri, 23 Feb 2024 00:09:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708646995; bh=RhRSFH5NSNo6CkhyLrfKQ5w4p4swe1ANA4xMk2MzezU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bPd7uYEmx+5AqH45QTZDVE/QqqrIRqRVliCaONRWsT0EttfngXCdL6t9fvJmNJX9q DL5q0N7U3aQHxTPe0hTjITppjBbMCqegTZhyYh9pcdRCI2wkGBNrvztZO4WKvMnGH6 G26n2TC3XiIS/Z39B4qG95W+6raAP0dZ9mLCv9h27f1WwteRDAQDsgMZ2gMp63nAN3 Cb4qi/Fy/ziIaDR2E1hl6bQJ6bgJ2bU+8uS9yAVJYuiX3xWWfbZJ6/Lglaqm9njm95 NK3HBP0nC4u8OMPurCV8m3XqZlXZj1nhwnboA50I5S+cN2XW4eniu1WGpWVzVSEhtg C2BwAOwHa6u6Q== Date: Thu, 22 Feb 2024 17:09:46 -0700 From: Rob Herring To: Raphael Gallais-Pou Cc: Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 4/4] dt-bindings: display: simple: hardware can use several properties Message-ID: <20240223000946.GA3848625-robh@kernel.org> References: <20240217-ltdc_mp13-v2-0-50881f1b394e@foss.st.com> <20240217-ltdc_mp13-v2-4-50881f1b394e@foss.st.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240217-ltdc_mp13-v2-4-50881f1b394e@foss.st.com> On Sat, Feb 17, 2024 at 12:02:58PM +0100, Raphael Gallais-Pou wrote: > Setting a panel-timing in the device-tree overwrite the one specified in > the driver and set it as preferred. In that case 'height-mm', > 'width-mm' and 'panel-timing' are properties that can be use for simple > panels, according to panel-common.yaml > > Fixes following warnings: > arch/arm/boot/dts/st/stm32mp135f-dk.dtb: panel-rgb: 'height-mm', 'panel-timing', 'width-mm' do not match any of the regexes: 'pinctrl-[0-9]+' > from schema $id: http://devicetree.org/schemas/display/panel/panel-simple.yaml# > > Signed-off-by: Raphael Gallais-Pou > --- > Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > index 634a10c6f2dd..c02cbbc7a100 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > @@ -352,6 +352,9 @@ properties: > no-hpd: true > hpd-gpios: true > data-mapping: true > + height-mm: true > + width-mm: true > + panel-timing: true Instead, just change 'additionalProperties' to 'unevaluateProperties' and drop all these 'prop: true' lines. Pretty much anything from panel-common.yaml should be allowed. Rob