From patchwork Fri Mar 1 08:40:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13578141 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 DF060C5478C for ; Fri, 1 Mar 2024 08:40:55 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5LgSFGKmuBiBEc6s82Ny3DuDBaQn59puZkK148s+92Q=; b=zEoAQ+GDYCj4Nv t4eETSH8rlQ7ELccGl1iXe74VxsHx7+JX9Jof0mdWZyaMko3oz+pTV+c0uLArko3zQhRplxJVni0F zPhXRoNZCyRdXg3NEoCpvenTr5aFvvFe7qnezs9sI5wPm4WYymXuOel0HuNaWoStPda2OdQ4rKsnV OFIxNtNn7Ur9q6jJ43s66sfiiFTNheyzCoykyq8Fx8xGC4+cM7qfk2t+wEeKx+bVtOBtQf1aSw8FR RfAhJ5NAoDlephDHJNoCsyjPwyNsY0NJ0nlMxsm2/1LvaXLpD+BDEhpz0xwtT0xK1QW3iJ9Dkm6dk zQBHCBJU4w8u8bvgbHEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfyRd-0000000GwXG-2u16; Fri, 01 Mar 2024 08:40:41 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfyRa-0000000GwW3-22K4 for linux-arm-kernel@lists.infradead.org; Fri, 01 Mar 2024 08:40:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1709282438; x=1740818438; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Lx7L1yeDQfLG89Mz94ToNu0CzTt1dUUrZHxQtg+EH88=; b=lTD6fQFB8I2IgXKE463MFJZJZhNOPWUJGAIJzBg6YWdIIRjZlbehTjbz goWbbiNBzhkEOFIp9X9CRwz2pjQ2dt7Qsu94QjyvMD8ZFakD3cave66sJ a6WJuISKjkY4zga0fw0l7nJT0M/VSCuFJzj0kV8qbFKhVxYFEjDH07qaD myriq6HC3ElwQwfIjhW3t6kPL67i/kPGMvw599bXK8ITK6NTWLxCF2vsr Flc7UWeXpk/mZifE65lBBLbNZkjbgbdPkbDBNZbqOMvKE0huJWAjYLtoQ MBctLOVpY541DFvo6ZKLENVKahk78LVyZsjP4oUpa0IrfmtZ7XG7lJRb6 g==; X-IronPort-AV: E=Sophos;i="6.06,195,1705359600"; d="scan'208";a="35680479" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 01 Mar 2024 09:40:36 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 61003173639; Fri, 1 Mar 2024 09:40:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1709282432; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=Lx7L1yeDQfLG89Mz94ToNu0CzTt1dUUrZHxQtg+EH88=; b=MJxkvT+au9F5IKIzgwBJN2leQ1QuowHlrAJwinv9p/8a9Is+HEhBQT95ACJD+lowO6PEFd zqta59lnUKdt7xgbzLTqEgBK9laV+tzEPgIPLVlmU8BHHSaXGZ9m1jEnHSIQL0BwAEWCYr jStUATwWSghi+gZrqU5oKKohkuAwQkbem1plX19W9UH52k+FW7UnnQ2Cev6tmcRHsqMGDL A1TQZkhGJ1No5nDrjTqGp43ZsBcbPNAxYeKdXeVgJfPCOCHh0nwL6oRmc9D5VMucYlQc2v jflPoDtDMODF+RVicD5ce520XAdn6xEzPKOqodULfu74Xmk/jlV39UvTHV+UQA== From: Alexander Stein To: Sebastian Reichel , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alain Volmat , Ricardo Ribalda , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Manivannan Sadhasivam , Michael Riesch , Laurent Pinchart Cc: Alexander Stein , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Conor Dooley , Krzysztof Kozlowski Subject: [PATCH v3 1/2] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Date: Fri, 1 Mar 2024 09:40:07 +0100 Message-Id: <20240301084009.3030753-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240301_004038_925734_A90C0BF9 X-CRM114-Status: GOOD ( 11.12 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Allow properties from video-interface-devices. This aligns the bindings to sony,imx415.yaml. Changes inspired by commit e2e73ed46c395 ("media: dt-bindings: sony,imx415: Allow props from video-interface-devices") Signed-off-by: Alexander Stein Reviewed-by: Laurent Pinchart Acked-by: Conor Dooley Reviewed-by: Krzysztof Kozlowski --- Changes in v3: * Collected R-b & A-b Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml index a531badc16c98..bf05ca48601ab 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml @@ -23,6 +23,9 @@ description: |- is treated the same as this as it was the original compatible string. imx290llr is the mono version of the sensor. +allOf: + - $ref: /schemas/media/video-interface-devices.yaml# + properties: compatible: oneOf: @@ -101,7 +104,7 @@ required: - vdddo-supply - port -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Mar 1 08:40:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13578142 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 B089DC5478C for ; Fri, 1 Mar 2024 08:40:58 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9c1mPgUNOyKr2nnc+OjJ7pIY1bdzXIiHsB48SlSz1gw=; b=2u4tTVdXKSKFmB vxxTd8jMFXry8HSZGY0QG3+kw3nOhlhjXN954oXV9oECVjVuUNkeUrSRte9gehx7xSBi79/+Rzv/a +LUApRITfijNIAqL2oe/45whTqSiYRIN7ZvFuWK1i2bObFx9LP+aX9OilXqeXunBIc4v/PDhnKRxp VHMNbugyiwBNE9GBfmau6wHPaFTSpgIjQlkg9CNZN4AhKP55q9IOgxMJgYqd2GFKkl0OnAcsEQJ6L YNJUSg2X/hmihbOdMbzSr6ctU2CtXtw53d3KxfVidrpg+BK8A+J3AbK2+cbj/8eSaofmU+UFO2liA gAxZmKn3Vjmnx9MaiYVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfyRh-0000000GwYs-1XvC; Fri, 01 Mar 2024 08:40:45 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfyRe-0000000GwW3-2M01 for linux-arm-kernel@lists.infradead.org; Fri, 01 Mar 2024 08:40:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1709282442; x=1740818442; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=roDEc9/Haw8V4ko75VQ2V+i9NSA1sqHboyikroeqvpU=; b=TyWd1hA7p3qusdqymOnMA03oY4bzGFMldXNROgElEw49ePUkuLP+d5Ua jrKGwtZJNqKHVpGCATLA7r+wX9RGX8JZfpfUvxhVsLcG+wSsgHos0/ykr sNUqprPhL177kigT/bAMInH4Ee1uJvwetsfWH08Zlc/KAmANSZH13ZqFy +Cfx6u8uYKqJZMBOrEOrP3fcoblCyQ94wls+f7sMFwSYhKCpnLm2wgObN FZbkbFr3oc9p8x1FWg/yvT1hmEkF5j8426RCzE7qw6nEBnzqcjyn1djaI TqM1XlXEf/nc+S2uo6NnRRQpqAQ02H9b39hPvYJ3O+87PlYJ8eHhN47ZW g==; X-IronPort-AV: E=Sophos;i="6.06,195,1705359600"; d="scan'208";a="35680482" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 01 Mar 2024 09:40:42 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2AB55172297; Fri, 1 Mar 2024 09:40:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1709282437; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=roDEc9/Haw8V4ko75VQ2V+i9NSA1sqHboyikroeqvpU=; b=VF4EUw2dWOvr9Az8Mz6MvLM1QNZJPS4oX42yBYbsCY+DuNqooHtriFos2IqGagQkAb9es8 Y5Daiq4Qrz7y4znauxYqGWeZ+oqHKPXx4h3CIVPI0FQ2j8LCQdoxQcJWIKyoQAZZ7cHmge DZnFYBxnjv1YsJAwzxRZNgTJBhD0O96GzUSHtVerUQnI5bMMIM7MF5gluzToL8yYK1IfJM AAYcf/QWDysRtdy9hbfZfvx7012YR7H2S/X3X1T+5hc19pVGp3jhH0kVLz7HYsqBq+SnFW SXxAMGje8zBpKAqGGJ1YUtOUQp2slkWaccKUV9kcI7HmeXMK7YjSJepxAV8f4w== From: Alexander Stein To: Sebastian Reichel , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alain Volmat , Ricardo Ribalda , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Manivannan Sadhasivam , Michael Riesch , Laurent Pinchart Cc: Alexander Stein , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 2/2] media: dt-bindings: i2c: use absolute path to other schema Date: Fri, 1 Mar 2024 09:40:08 +0100 Message-Id: <20240301084009.3030753-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240301084009.3030753-1-alexander.stein@ew.tq-group.com> References: <20240301084009.3030753-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240301_004043_068636_051A7C3B X-CRM114-Status: GOOD ( 10.97 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Absolute path to other DT schema is preferred over relative one. Signed-off-by: Alexander Stein Reviewed-by: Laurent Pinchart Acked-by: Krzysztof Kozlowski --- Changes in v3: * Squashed patches 2-5 from v2 into a single one .../devicetree/bindings/media/i2c/galaxycore,gc0308.yaml | 2 +- .../devicetree/bindings/media/i2c/galaxycore,gc2145.yaml | 2 +- Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml | 2 +- Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml index f81e7daed67b6..2bf1a81feaf47 100644 --- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml @@ -15,7 +15,7 @@ description: | They include an ISP capable of auto exposure and auto white balance. allOf: - - $ref: ../video-interface-devices.yaml# + - $ref: /schemas/media/video-interface-devices.yaml# properties: compatible: diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml index 1726ecca4c77e..9eac588de0bc2 100644 --- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml @@ -19,7 +19,7 @@ description: either through a parallel interface or through MIPI CSI-2. allOf: - - $ref: ../video-interface-devices.yaml# + - $ref: /schemas/media/video-interface-devices.yaml# properties: compatible: diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml index 60903da84e1f3..0162eec8ca993 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml @@ -16,7 +16,7 @@ description: | maximum throughput of 1.2Gbps/lane. allOf: - - $ref: ../video-interface-devices.yaml# + - $ref: /schemas/media/video-interface-devices.yaml# properties: compatible: diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml index 9a00dab2e8a3f..34962c5c70065 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml @@ -18,7 +18,7 @@ description: |- available via CSI-2 serial data output (two or four lanes). allOf: - - $ref: ../video-interface-devices.yaml# + - $ref: /schemas/media/video-interface-devices.yaml# properties: compatible: