From patchwork Fri Sep 29 15:18:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 1841387 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=FSKaAgR+; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=permerror (SPF Permanent Error: More than 10 MX records returned) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-4669-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RxvBp1z0Hz1ypT for ; Sat, 30 Sep 2023 01:18:58 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by ny.mirrors.kernel.org (Postfix) with ESMTP id 6E4641C20A6F for ; Fri, 29 Sep 2023 15:18:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7ECA51B94; Fri, 29 Sep 2023 15:18:52 +0000 (UTC) X-Original-To: devicetree@vger.kernel.org Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 5BAD651B8A for ; Fri, 29 Sep 2023 15:18:49 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0B5FD6; Fri, 29 Sep 2023 08:18:46 -0700 (PDT) Received: from uno.localdomain (mob-5-90-203-152.net.vodafone.it [5.90.203.152]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BBE5D6EF; Fri, 29 Sep 2023 17:17:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1696000621; bh=pNlNSfMaqFoeS/Mcu3IjP7IHmVIxByHOanuSCV9CGxM=; h=From:To:Cc:Subject:Date:From; b=FSKaAgR+lh6QTp5RzDLA9sWE2pgoCxHns9EEiVtYfOXKWCftxDDdRkgN/KL+uWK3x HDfzAKM4YW11/8YX1Yc9S8gDjrDozt/FLJIwYTy4Gu5RnIGR1hiUnOybrIno/kFf7G Vyb6i7orCa0RsnrgJynum8fGvIF0j7DhVYpMyfcY= From: Jacopo Mondi To: linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: Jacopo Mondi , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sakari Ailus , Laurent Pinchart , Fabio Estevam , martink@posteo.de Subject: [PATCH 0/7] media: bindings: Fix handling of video-interface-device Date: Fri, 29 Sep 2023 17:18:18 +0200 Message-ID: <20230929151825.6535-1-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net As discussed in https://patchwork.linuxtv.org/project/linux-media/patch/20230928121424.388019-1-festevam@gmail.com/ all properties specified in video-interface-device.yaml are valid for image sensors. Some schema however either allow only some of them one by one, or restrict the supported values for no specific reason. Fix this by allowing all properties from video-interface-device.yaml and removing restrictions on the accepted values. Jacopo Mondi (7): media: bindings: hynix,hi846: Add video-interface-device properties media: bindings: hynix,hi846: Restrict endpoint properties media: bindings: ovti,ov02a10: Fix handling of video-interface-device media: bindings: ovti,ov4689: Fix handling of video-interface-device media: bindings: ovti,ov5640: Fix handling of video-interface-device media: bindings: sony,imx214: Fix handling of video-interface-device media: bindings: sony,imx415: Fix handling of video-interface-device .../devicetree/bindings/media/i2c/hynix,hi846.yaml | 10 ++++++++-- .../devicetree/bindings/media/i2c/ovti,ov02a10.yaml | 8 +------- .../devicetree/bindings/media/i2c/ovti,ov4689.yaml | 6 +----- .../devicetree/bindings/media/i2c/ovti,ov5640.yaml | 7 +------ .../devicetree/bindings/media/i2c/sony,imx214.yaml | 2 +- .../devicetree/bindings/media/i2c/sony,imx415.yaml | 10 +--------- 6 files changed, 13 insertions(+), 30 deletions(-) --- 2.42.0