From patchwork Sat Sep 30 05:51:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 95348 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1qmStA-001TTV-2z; Sat, 30 Sep 2023 05:51:40 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231551AbjI3Fvj (ORCPT + 1 other); Sat, 30 Sep 2023 01:51:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229766AbjI3Fvi (ORCPT ); Sat, 30 Sep 2023 01:51:38 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF3DA1A7; Fri, 29 Sep 2023 22:51:34 -0700 (PDT) Received: from uno.lan (unknown [IPv6:2001:861:388f:1650:2f32:b6ff:a885:7d5e]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id EDCFC8D; Sat, 30 Sep 2023 07:49:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1696052989; bh=vMGZHJvmuyL9BBK61IAhhBPP4I9hFANCfHoWe7Ga6qY=; h=From:To:Cc:Subject:Date:From; b=ZfyJTCqT/d9nRwJYotjvIRcJU/cJDyhIdpVlMpApb0GiB5KKdhamVNEFf4ZHqcvb+ L2NeFbHKJR6aCreCfztY1Ui3JDR7oTybAs0Ciqdr28PUFOe2UVtOx9YBICB64dTGco FyZWfAGH/lnvxKyzva7FUwm306Fzply43NIXm5qQ= 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 v2 0/7] media: bindings: Fix handling of video-interface-device Date: Sat, 30 Sep 2023 07:51:02 +0200 Message-ID: <20230930055110.1986-1-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.42.0 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no v1->v2: - Fix a typo in the ov5640 bindings 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