From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E0971C54798 for ; Fri, 23 Feb 2024 00:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IXkmFYJDLXAUlZZXQyEVdwqo6ZIZlJNoyl0ltVT9rp4=; b=xMkgkYnotiwnuc ZSgegUSdiC+SbtmhACxVsYhCP+kjRxTHEHfsinB1AgKbYsXGckW0vMDH/6BPhV3odc1wZZ6JaiVws OaFn4e7+fklBvWiG5EHwmEA8z5Vqh5/wQLMURwZ0M8ZpQH09NAXjyYwoPNlWkBBTFEoarklzlqCsK dIU7qdu5ii3dYMWJVe0ISxjj2KVm23J6OXYAWxokqVdd6RV9XZrdQDof4rlSUCNerQrYd+eGFvSVz 9QvMkhAlJtOS6QxKcQEaiYXCyEywA/+txy1oxBx2rGnWZwhA06bHXE2x/6eSpCe9+WgMhWcWgvRDs PAh3zRd/Xrc6DnlKNqyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdJ8Z-000000077yt-0WLs; Fri, 23 Feb 2024 00:09:59 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdJ8W-000000077yU-2CvM for linux-arm-kernel@lists.infradead.org; Fri, 23 Feb 2024 00:09:57 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C60F861967; Fri, 23 Feb 2024 00:09:55 +0000 (UTC) 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240217-ltdc_mp13-v2-4-50881f1b394e@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240222_160956_628958_A7DD2345 X-CRM114-Status: GOOD ( 16.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel