From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (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 3703E2BCF5D; Wed, 18 Mar 2026 17:14:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773854069; cv=none; b=nEvNDUC/lB2jrLC6RfUxUaGluYk1BFannFdLojJbXBw7EVe6aUTF8+ow5Yr6LO9CP1SiFE1FYld0MtUj7DYxItv27L6irZmqJxCMQRuaaVu1dlip8DTv62x9k9ZF0TQHdQ/K3pNtUQvScKBjHyyTHR1JrSOYk76cV6jyOY1SJKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773854069; c=relaxed/simple; bh=2f6SY21HIHKTWALsoKhdsKNISHYJnM7rcNMIAWcMzSg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OjWJooI3z2CMvVgWVkpY0KplM83gkf5H/LP0lkOS11rncUnhnFxaZ/LGyvttpmOyoHiBBdayzMyUOWd8QwLeW0DAXs1yG0dDQimIwsgGGpx563/hBO8uQuyfxWd9kz5vWcLbCMV2sMjhQJiphkdDyk9e/QCQiDybfF98HUVA7nQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=QnJqHirE; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="QnJqHirE" Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 30F35460; Wed, 18 Mar 2026 18:13:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1773853993; bh=2f6SY21HIHKTWALsoKhdsKNISHYJnM7rcNMIAWcMzSg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QnJqHirEZCbXmp7zBAabFz6fF9t4t2L5g5Ib474/Ctt94BC/xW5reLD/b1ExW+ZGB 7NlaIwhhqeS0H567AqsXz9u29l19lw+fhMLbfeDOpCLE41xt9B3xwjOnEDE8sBsOY/ c0PoZlXmY5Ilcs2u7uYs9xeoOnhMb7k0s+W/2d/U= Date: Wed, 18 Mar 2026 19:14:24 +0200 From: Laurent Pinchart To: Krzysztof Kozlowski Cc: Krzysztof Kozlowski , Tommaso Merciai , Martin Hecht , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Alain Volmat , Jacopo Mondi , Kieran Bingham , Niklas =?utf-8?Q?S=C3=B6derlund?= , Sakari Ailus , Dave Stevenson , Geert Uytterhoeven , Magnus Damm , Vladimir Zapolskiy , Dongchun Zhu , Paul Kocialkowski , Quentin Schulz , Todor Tomov , "Paul J. Murphy" , Daniele Alessandrelli , Marco Felsch , Lubomir Rintel , linux-renesas-soc@vger.kernel.org, Lad Prabhakar , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] media: dt-bindings: Drop redundant endpoint properties Message-ID: <20260318171424.GI633439@killaraus.ideasonboard.com> References: <20260316134533.56941-3-krzysztof.kozlowski@oss.qualcomm.com> <20260316134533.56941-4-krzysztof.kozlowski@oss.qualcomm.com> <9ea2c5d6-8d75-43cd-9e1f-f39bf714d2e5@kernel.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <9ea2c5d6-8d75-43cd-9e1f-f39bf714d2e5@kernel.org> On Mon, Mar 16, 2026 at 07:08:01PM +0100, Krzysztof Kozlowski wrote: > On 16/03/2026 14:45, Krzysztof Kozlowski wrote: > > The "endpoint" node references video-interfaces.yaml schema with > > "unevaluatedProperties: false" which means that all properties from > > referenced schema apply. Listing some of them with ": true" is simply > > redundant and does not make this code easier to read. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > .../devicetree/bindings/media/marvell,mmp2-ccic.yaml | 6 ------ > > Documentation/devicetree/bindings/media/renesas,ceu.yaml | 3 --- > > .../devicetree/bindings/media/renesas,rzg2l-cru.yaml | 6 ------ > > 3 files changed, 15 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml b/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml > > index de3e483f146a..a8bf06108158 100644 > > --- a/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml > > +++ b/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml > > @@ -35,12 +35,6 @@ properties: > > $ref: video-interfaces.yaml# > > unevaluatedProperties: false > > > > - properties: > > - hsync-active: true > > - vsync-active: true > > - pclk-sample: true > > - bus-type: true > > - > > clocks: > > minItems: 1 > > items: > > diff --git a/Documentation/devicetree/bindings/media/renesas,ceu.yaml b/Documentation/devicetree/bindings/media/renesas,ceu.yaml > > index d527fc42c3fd..5f78c77b10a3 100644 > > --- a/Documentation/devicetree/bindings/media/renesas,ceu.yaml > > +++ b/Documentation/devicetree/bindings/media/renesas,ceu.yaml > > @@ -43,9 +43,6 @@ properties: > > unevaluatedProperties: false > > > > properties: > > - hsync-active: true > > - vsync-active: true > > - field-even-active: false > > Removed too much, this must stay. Disabling properties not relevant for a device doesn't scale. You would need to disable way more than that one here. The better option is to use "additionalProperties: false" and list the allowed properties. > > > bus-width: > > enum: [8, 16] -- Regards, Laurent Pinchart