From patchwork Fri Oct 6 12:41:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 731306 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58890E81DF1 for ; Fri, 6 Oct 2023 12:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232170AbjJFMlh (ORCPT ); Fri, 6 Oct 2023 08:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232156AbjJFMlg (ORCPT ); Fri, 6 Oct 2023 08:41:36 -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 AFFE7C2; Fri, 6 Oct 2023 05:41:35 -0700 (PDT) Received: from uno.LocalDomain (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 20AD32D5E; Fri, 6 Oct 2023 14:39:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1696595985; bh=64Q+9ZGwSE5yDzSOTBm7E/+3Wa5f/BX3ys6xGIJYFKI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m4nhx5XgP06EPdQnw3FPiauHm6WgT9a/HuwI0sm9Q3zTpnINL6IgF1r0jJ6/2jfOU Als/L4Tk0dD9OYWRywgtpKsezy9aStEnamEL4TGoQigFY0pt9vshY/k5u99/+QJD1/ lN1z5ksm/wa/k4Z7glY0xu1yAjhbu4xT62Pi2adI= 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, Michael Riesch , Rob Herring Subject: [PATCH v4 6/6] media: dt-bindings: sony,imx415: Allow props from video-interface-devices Date: Fri, 6 Oct 2023 14:41:01 +0200 Message-ID: <20231006124101.181555-7-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231006124101.181555-1-jacopo.mondi@ideasonboard.com> References: <20231006124101.181555-1-jacopo.mondi@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org All the properties described by video-interface-devices.yaml are allowed for the image sensor, make them accepted by changing "additionalProperties: false" to "unevaluatedProperties: false" at the schema top-level. Because all properties are now accepted, there is no need to explicitly allow them in the schema. Signed-off-by: Jacopo Mondi Reviewed-by: Rob Herring --- .../devicetree/bindings/media/i2c/sony,imx415.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) -- 2.42.0 diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml index ffccf5f3c9e3..8ea3ddd251f6 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml @@ -44,14 +44,6 @@ properties: description: Sensor reset (XCLR) GPIO maxItems: 1 - flash-leds: true - - lens-focus: true - - orientation: true - - rotation: true - port: $ref: /schemas/graph.yaml#/$defs/port-base @@ -88,7 +80,7 @@ required: - ovdd-supply - port -additionalProperties: false +unevaluatedProperties: false examples: - |