From nobody Wed Nov 27 04:55:43 2024 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 38191156871 for ; Sat, 12 Oct 2024 15:02:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728745378; cv=none; b=pESihxr71LJUeEK+4Kq7mkfcf2PFQKnjJYDLQCPFf7DNJ5v2wx5jNAHbuK1P+o5gLFqlzGlsO6ChSkAQuJ6cKxyyf5uf4YO6AAlkkzMXcsN+BPXOUFyJC5wOPJnPbeCRTnf4C6e/55sb0KggkGEE0uQJ8drF1cUirMGI0mPKczA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728745378; c=relaxed/simple; bh=7/wKzul0scp9pQ5g512GmaXU8tMjoZV1C9VucuWy3qk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HW0+7vE6ls1gTOmNf1dN0ikmIrc5RPcj1rdD+XBZCHaoeKKMaF44+BpQaO+DIJRskaNJyuwfJhsx/1ZTjZWjT6hkVOvnj9ghNNTsUA18UDN6IZHaYfs4bJZ2P3uy3PGm6ILb7PC9fAJ0TcjAnPD/wsLAro2S+cJXED8LGan5cRs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=w75+xHPy; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="w75+xHPy" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a999521d0c3so473589266b.1 for ; Sat, 12 Oct 2024 08:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728745374; x=1729350174; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=/n15P79kGSTnE8MuMR1LpYchP7c+rsbkgGOXacYIjPE=; b=w75+xHPyM+SsvqQDYnR9xhf33oIwBwh90IqOep83B+c3wdkSkIvNKDjff4rTGZYVYq bW+IIETSHq6zzzkV8WdxvdNtOSE0ZnrIA59b+boe2WXY3pcrZ6Rg/9rC3cj6MjF06o0v oZblIQ75+hrH5R1cD6q147ZVkzKFYax5mE/QJ04vmGc4EoVcoDIrJa/G4EpG5CzZs/DV GfkcsOAFHOwWqDyur0IqjxduwMgDIEGj6vUeToRFeesh/kzBxTtkprhwBXl+2HI8jwxu pIQDrpHx5zZyg2YcinCIS5hdVXMGUAo0UzLE1pwNJD180ziPZ6OIe5aPDnn6DOhitodo QI7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728745374; x=1729350174; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/n15P79kGSTnE8MuMR1LpYchP7c+rsbkgGOXacYIjPE=; b=xIFUturnkl4YQtJ2Hm4ZsZv9XImlawbej3tv3a/nxNWtrQGOvXb+UOegduA4x581aT L3BC0D4sNkuEdVLDEyCogzM79fEAZg+vF+iclgvy8jVb+v3sqX+ahb2t8qCQGAAUg5S/ CFZenh9dvlYDQX92Puvum62Q1XfmLQ6iTV/feeHqoJVPOxU7/Z3jlfa6lstKYaFEC0nR XMewo3Kwa6rdW9PwJeP3zc3NIDby0g7bkrF+Znisd3iEVSHmA+WUvJK6CPFLqcVm0fgB CsClbphs3JQI4dt7qCUBcAmrdhx4Sp+Ou+nxG4NWluTdLhw3hP+zMeAhbk1YQ6uW0JnE kYJg== X-Forwarded-Encrypted: i=1; AJvYcCVHz8+/vN54VYQOYrSK+kJe4foRsjHEoBfOkdpZalnsaCWsTElBxwLKxnJCoOv5v87vTm1fN2FGzt0N0BY=@vger.kernel.org X-Gm-Message-State: AOJu0Yyy7I4ogBgqGiieLUxEddmfWuOxRAiqOEwVscPDLthqoGCkhOB9 pG5o8lajyBHFcns/Ko7EwG5t7+L6i7H+L939sggxrQDvLjexLSGg5vQB2X+3dNA= X-Google-Smtp-Source: AGHT+IHziNZj9PpTrQmX1i7t/EH8XoqG/RaNoa4pDWvdo14/Czfa5WvohIYfJG1PE2K4Y5haJ2eqOA== X-Received: by 2002:a17:907:d17:b0:a99:ee42:1f38 with SMTP id a640c23a62f3a-a99ee421fdamr208327366b.31.1728745374508; Sat, 12 Oct 2024 08:02:54 -0700 (PDT) Received: from [127.0.0.1] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99f148b224sm63730166b.50.2024.10.12.08.02.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2024 08:02:54 -0700 (PDT) From: Bryan O'Donoghue Date: Sat, 12 Oct 2024 16:02:50 +0100 Subject: [PATCH 1/2] media: dt-bindings: Remove assigned-clock-* from various schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241012-b4-linux-next-202041004-i2c-media-yaml-fixes-v1-1-a2bb12a1796d@linaro.org> References: <20241012-b4-linux-next-202041004-i2c-media-yaml-fixes-v1-0-a2bb12a1796d@linaro.org> In-Reply-To: <20241012-b4-linux-next-202041004-i2c-media-yaml-fixes-v1-0-a2bb12a1796d@linaro.org> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dave Stevenson , Sakari Ailus , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Martin Kepplinger , Paul Kocialkowski , "Paul J. Murphy" , Daniele Alessandrelli , Tommaso Merciai , Martin Hecht , Zhi Mao , Alain Volmat , Mikhail Rudenko , Ricardo Ribalda , Kieran Bingham , Umang Jain , Manivannan Sadhasivam , Vladimir Zapolskiy , Dongchun Zhu , Quentin Schulz , Todor Tomov , Laurent Pinchart Cc: Krzysztof Kozlowski , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Bryan O'Donoghue X-Mailer: b4 0.15-dev-dedf8 Remove extraneous assigned-clock* from media/i2c/* schemas, retain in the relevant examples. Link: https://lore.kernel.org/linux-media/j7kgz2lyxnler5qwd7yiazdq6fmsv77ky= ozdrxf33h54ydakjz@uqjhwhoyv6re Signed-off-by: Bryan O'Donoghue Acked-by: Krzysztof Kozlowski Reviewed-by: Laurent Pinchart --- Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml | 8 -------- Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml | 8 -------- Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml | 8 -------- Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml | 4 ---- Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml | 4 ---- Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml | 4 ---- Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml | 4 ---- Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml | 4 ---- 8 files changed, 44 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml b= /Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml index 60f19e1152b33128cf3baa15b8c70a874ca6d52e..d18ead8f7fc43bfacc291aed85b= 5ca9166c46edb 100644 --- a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml +++ b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml @@ -28,12 +28,6 @@ properties: items: - description: Reference to the mclk clock. =20 - assigned-clocks: - maxItems: 1 - - assigned-clock-rates: - maxItems: 1 - reset-gpios: description: Reference to the GPIO connected to the RESETB pin. Active= low. maxItems: 1 @@ -82,8 +76,6 @@ required: - compatible - reg - clocks - - assigned-clocks - - assigned-clock-rates - vddio-supply - vdda-supply - vddd-supply diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml index 1f497679168c8395a94b3867beb49b251ef621fc..622243cae03caa5d14aa312df40= ef5907e190d2c 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml @@ -20,12 +20,6 @@ properties: items: - description: XVCLK Clock =20 - assigned-clocks: - maxItems: 1 - - assigned-clock-rates: - maxItems: 1 - dvdd-supply: description: Digital Domain Power Supply =20 @@ -68,8 +62,6 @@ required: - compatible - reg - clocks - - assigned-clocks - - assigned-clock-rates - dvdd-supply - dovdd-supply - port diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml index 8a70e23ba6abed67d8b61c33bd7a261089bddda2..382d7de7a89bcea11be384a2a38= 00512994f9346 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml @@ -20,12 +20,6 @@ properties: items: - description: EXTCLK Clock =20 - assigned-clocks: - maxItems: 1 - - assigned-clock-rates: - maxItems: 1 - dvdd-supply: description: Digital Domain Power Supply =20 @@ -68,8 +62,6 @@ required: - compatible - reg - clocks - - assigned-clocks - - assigned-clock-rates - dvdd-supply - avdd-supply - dovdd-supply diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml index 79a7658f6d0547e4d6fb2267e5757eedf49fd416..38325cf318f7bd2cd60a4c7bbb6= a65b54b855e26 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml @@ -27,10 +27,6 @@ properties: description: I2C address maxItems: 1 =20 - assigned-clocks: true - assigned-clock-parents: true - assigned-clock-rates: true - clocks: description: Clock frequency from 6 to 27MHz maxItems: 1 diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml index c978abc0cdb35cfe2b85069946cf1be435a58cb8..f0f9726a2add89492b8c56e17ed= 607841baa3a0d 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml @@ -24,10 +24,6 @@ properties: - sony,imx258 - sony,imx258-pdaf =20 - assigned-clocks: true - assigned-clock-parents: true - assigned-clock-rates: true - clocks: description: Clock frequency from 6 to 27 MHz. diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml index bce57b22f7b63bd73f08d8831d9bb04858ef03e0..872b8288948b2bba743f2365a55= 165181df156ae 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml @@ -24,10 +24,6 @@ properties: description: I2C address maxItems: 1 =20 - assigned-clocks: true - assigned-clock-parents: true - assigned-clock-rates: true - clocks: description: Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz maxItems: 1 diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml index 77bf3a4ee89db3b5d16149470c0380ef8f1aeac1..38bd1c7304a59bb5fea90954c1e= 4e626a7c86f2f 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml @@ -24,10 +24,6 @@ properties: description: I2C address maxItems: 1 =20 - assigned-clocks: true - assigned-clock-parents: true - assigned-clock-rates: true - clocks: description: Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz maxItems: 1 diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml index d9b7815650fdb890418fc96c828acc9147dfb6e8..ece1e17fe34553671e61c965eb1= 833c5eb08131b 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml @@ -26,10 +26,6 @@ properties: description: I2C address maxItems: 1 =20 - assigned-clocks: true - assigned-clock-parents: true - assigned-clock-rates: true - clocks: description: Clock frequency 6MHz, 12MHz, 18MHz, 24MHz or 27MHz maxItems: 1 --=20 2.46.2 From nobody Wed Nov 27 04:55:43 2024 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A7481990C7 for ; Sat, 12 Oct 2024 15:02:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728745380; cv=none; b=RF18iTSQdVXhmt9IqCwRgw9Y6BEL7NJGdBXUV9utUUtRUBwTPEOCCS1uRptOJHoPCcOgdnWh6Xiivx9iz53j0TJl/qspOORP0zadlI39b9rIT/A5fzRxiyq0ztRkRChoj8bQiuaQ5zLzcDKD+kajxOuZur8Yl22nBCvykdDMO5o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728745380; c=relaxed/simple; bh=W8yJlUz5UZxhN48KhcJWj8ZiGss+D+koeHOp9dX54p8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=raBtiCgwv0YuR+M66T/tIah0bS7K4ciCrmoS1aMBLD5+UIpDyVqZ4dvElvBj+c6tPzDCDMG9FxONGwBJofUpsarYUNBgr8EukQmI7J08pPBeZAhB+KBkKNjvWWUdF94EYcaIHQOZTeLwfwmZ9N5A+HzP7gO/TKexMjlwSqGTCGs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Z0fFQb7F; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z0fFQb7F" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a99422c796eso487084366b.3 for ; Sat, 12 Oct 2024 08:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728745376; x=1729350176; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xKIBDz/pGEcC/RWCK6xHK9NwCEfuNa53f1N9XJeausI=; b=Z0fFQb7Fk/tPOGSsQli9atbesnqHVMsA4pheK3Snv3Ck4yMQN/NZb7JKravu+Rl+rX +dK2UehKJZFg2V2rZyhnyN9GmNsttbxxbgP/C5oi2ZWucOT1q7Qf5uUA2IqY621iF30O XGZFYvKcr/laiaQAFEykR8mYRZ36YjRzaOdCx56kKdHnz3d6HX8SiKpmsd7BA0JlrVME eKCZL4ZJaMoKpbTnJNUgDg5AQYnt2Y4hnD6JBd3OUzkA1NAvMl+L0RXFTCmCI6hYuNmU 681lCMehkZpfsx1kEMmdT0D+oMF76PHYZfRw8OTeQRaFSI3efkTRTLOHW9ZuZJcz2jo0 H4uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728745376; x=1729350176; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xKIBDz/pGEcC/RWCK6xHK9NwCEfuNa53f1N9XJeausI=; b=S3IsaJlaWSrAOVhbOdnF6kGZOz9sqZdqEe05/Qa2rrwdl6XjLNem3c3QUNMxyFC/Tk tyTImQ+F7UaTHmkzu5gQjlCyo8L6YALqbAWFyChoue1VYqn3hIcm4uEzEn4wsx4P6d80 wGrl4GuAtGUZXQm1T42yFVVwXkD+aeOmHs73uIKmmb0VSfwcdfCq2tXEuy3imKNbuKEv S35FW4AEtHwmLSvMs4xKywogu/YQUTHFcyfv8IypydK1F0LrwFgGHNfm7chGmfVdoEOZ xGc5TaEag6RbcKDSkcFly/VVcTCrk32HW4m8JkW67aI8r/WIajiFjm/Jjr1iEyC8WmDF 43Kw== X-Forwarded-Encrypted: i=1; AJvYcCUfYk8p6gKAiUyP6EcKccyRMkB2Ml+VZ6ZibunC7JV7hIFVinyyke0DUGUEEdohwbH2+h6rRoHVYCbNA8I=@vger.kernel.org X-Gm-Message-State: AOJu0Yw16YCmnVafU/q+YwJQAEHgXy5ikpwsArtaMrgBn6CnhbZJmsnn 6LzO3hGlaTyD49KZnfx3rDtOfcbRczdUb3AFrAQAq1Xr2POmF1+ZgDyYuQhQ9Do= X-Google-Smtp-Source: AGHT+IHfKJPB81YSI7X5tl2yziY2/V++B5J3JfUfnnFhjCThuVGl7ODACL8Vk62yQu7ZvE6ykFUcOA== X-Received: by 2002:a17:906:4fc6:b0:a99:5234:c56c with SMTP id a640c23a62f3a-a99b93cbb76mr607047366b.33.1728745376503; Sat, 12 Oct 2024 08:02:56 -0700 (PDT) Received: from [127.0.0.1] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99f148b224sm63730166b.50.2024.10.12.08.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2024 08:02:56 -0700 (PDT) From: Bryan O'Donoghue Date: Sat, 12 Oct 2024 16:02:51 +0100 Subject: [PATCH 2/2] media: dt-bindings: Use additionalProperties: false for endpoint: properties: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241012-b4-linux-next-202041004-i2c-media-yaml-fixes-v1-2-a2bb12a1796d@linaro.org> References: <20241012-b4-linux-next-202041004-i2c-media-yaml-fixes-v1-0-a2bb12a1796d@linaro.org> In-Reply-To: <20241012-b4-linux-next-202041004-i2c-media-yaml-fixes-v1-0-a2bb12a1796d@linaro.org> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dave Stevenson , Sakari Ailus , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Martin Kepplinger , Paul Kocialkowski , "Paul J. Murphy" , Daniele Alessandrelli , Tommaso Merciai , Martin Hecht , Zhi Mao , Alain Volmat , Mikhail Rudenko , Ricardo Ribalda , Kieran Bingham , Umang Jain , Manivannan Sadhasivam , Vladimir Zapolskiy , Dongchun Zhu , Quentin Schulz , Todor Tomov , Laurent Pinchart Cc: Krzysztof Kozlowski , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Bryan O'Donoghue X-Mailer: b4 0.15-dev-dedf8 Some of our sensor schemas use unevaluatedProperities: false for endpoint: properties: while other schemas use additionalProperties: false. The effect of using unevaluatedProperities: false in this instance is that any property in media/video-interfaces.yaml can be considered in a dts for an endpoint. Converting to additionalProperties: false and running DT checkers show that such a liberal policy is unnecessary. We should have a consistent way of defining these properties if for no other reason than aid other developers in the preferred way of writing these schemas for media/i2c in the future. Convert to additionalProperties: as a result remote-endpoint needs to be added to the property list for most sensors. In a few cases some additional properties clock data-lanes or clock-lanes need to be added too but, for-the-most-part remote-endpoint is the only missing property. Signed-off-by: Bryan O'Donoghue --- .../devicetree/bindings/media/i2c/alliedvision,alvium-csi2.yaml | 5 ++= ++- Documentation/devicetree/bindings/media/i2c/galaxycore,gc05a2.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml | 6 ++= +++- Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/imx219.yaml | 6 ++= +++- Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml | 5 ++= ++- Documentation/devicetree/bindings/media/i2c/ovti,ov5675.yaml | 3 ++- Documentation/devicetree/bindings/media/i2c/ovti,ov7251.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml | 5 ++= ++- Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml | 4 ++= +- Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml | 4 ++= +- 23 files changed, 75 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/alliedvision,alviu= m-csi2.yaml b/Documentation/devicetree/bindings/media/i2c/alliedvision,alvi= um-csi2.yaml index d3329e991d1652936fcf671012b8018e4317ea40..ba166ecf4fcbb77efab69ebcbdb= 46f5666af8e77 100644 --- a/Documentation/devicetree/bindings/media/i2c/alliedvision,alvium-csi2.= yaml +++ b/Documentation/devicetree/bindings/media/i2c/alliedvision,alvium-csi2.= yaml @@ -32,7 +32,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: link-frequencies: true @@ -45,9 +45,12 @@ properties: - const: 3 - const: 4 =20 + remote-endpoint: true + required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc05a2.= yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc05a2.yaml index 0e7a7b5ac89f618e6cba0d86f6f7ea853e59ae1e..8b42440586aa8c853d8bf6046cc= ab0c3b23cb907 100644 --- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc05a2.yaml +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc05a2.yaml @@ -44,7 +44,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -59,10 +59,12 @@ properties: - const: 2 =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.= yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml index 51b8ece09c722e057fdb01b38d3e360e7604f39a..c15169ef901139411273e110523= a311d87b4322e 100644 --- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml @@ -44,7 +44,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -59,10 +59,12 @@ properties: - const: 2 =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.= yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml index 9eac588de0bc28d85f44663afe5472e35f1e652c..702625962d90ea7fafb4f4f4f86= 5659097b51406 100644 --- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml @@ -56,13 +56,17 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: + data-lanes: true link-frequencies: true + remote-endpoint: true =20 required: + - data-lanes - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml b= /Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml index d18ead8f7fc43bfacc291aed85b5ca9166c46edb..52bb089bd67fd0f9b5464e068b8= db0b8e4406b3d 100644 --- a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml +++ b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml @@ -52,7 +52,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -67,10 +67,12 @@ properties: - const: 2 =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/imx219.yaml b/Docu= mentation/devicetree/bindings/media/i2c/imx219.yaml index 07d088cf66e0bde362b12d3494e5c91a1dd96bf3..5f395cf04b95ca47d5e685b8c43= b8265db6910ae 100644 --- a/Documentation/devicetree/bindings/media/i2c/imx219.yaml +++ b/Documentation/devicetree/bindings/media/i2c/imx219.yaml @@ -52,7 +52,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -65,10 +65,14 @@ properties: - const: 2 =20 clock-noncontinuous: true + clock-lanes: true link-frequencies: true + remote-endpoint: true =20 required: + - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml b/Do= cumentation/devicetree/bindings/media/i2c/mipi-ccs.yaml index f8ace8cbccdbac482ffba733d5b28a3a38aaf822..ce45bd8409597fa6989f632d68c= d4aa1a468d152 100644 --- a/Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml +++ b/Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml @@ -77,7 +77,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: link-frequencies: true @@ -87,11 +87,13 @@ properties: - 1 # CSI-2 C-PHY - 3 # CCP2 - 4 # CSI-2 D-PHY + remote-endpoint: true =20 required: - link-frequencies - data-lanes - bus-type + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml = b/Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml index ca57c01739d2b93100a37db56255ab717c1197ff..9b3738956c482d8826bf64f557c= 2e91630ea9799 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml @@ -55,7 +55,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -65,10 +65,12 @@ properties: enum: [1, 2] =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml = b/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml index 67c1c291327b7febb6a039bf6f28c8dc1f32ed7f..b8db4be137085fe31ec2f076c7d= c66b30bf0b66c 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml @@ -77,7 +77,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: link-frequencies: true @@ -88,9 +88,11 @@ properties: the link speed defined by the 'link-frequencies' property. If present, the value shall be in the range of 0-4. default: 4 + remote-endpoint: true =20 required: - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml index d96199031b66c5c162a034824f195e277f2a1795..7499523a6e0fbd64b9b980333ad= aa14a0c40a33b 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml @@ -61,7 +61,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -77,10 +77,12 @@ properties: - items: - const: 1 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml index 622243cae03caa5d14aa312df40ef5907e190d2c..358c0422451f7faa8e0ebfc9226= a5cfb087e3598 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov5648.yaml @@ -45,7 +45,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: link-frequencies: true @@ -54,9 +54,12 @@ properties: minItems: 1 maxItems: 2 =20 + remote-endpoint: true + required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov5675.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov5675.yaml index ad07204057f979ade534d29c99c3aff7372bd332..eff212524bf3c7b1ec6aa7e826d= 4318d58ba53a5 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov5675.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov5675.yaml @@ -60,7 +60,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -69,6 +69,7 @@ properties: =20 # Supports max data transfer of 900 Mbps per lane link-frequencies: true + remote-endpoint: true =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov7251.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov7251.yaml index 2e5187acbbb89728cbb8a402559d24766198a3da..cbbe3c9ce151eb33d2b0cc1a44e= 6ebf66d9b59fa 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov7251.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov7251.yaml @@ -53,7 +53,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: clock-lanes: @@ -63,10 +63,12 @@ properties: maxItems: 1 =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml index 382d7de7a89bcea11be384a2a3800512994f9346..dd5c5715fdcfc00e6d851f375f4= 1e4d077b92bc0 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml @@ -45,7 +45,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: link-frequencies: true @@ -54,9 +54,12 @@ properties: minItems: 1 maxItems: 4 =20 + remote-endpoint: true + required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml b= /Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml index 38325cf318f7bd2cd60a4c7bbb6a65b54b855e26..dde4e7426bf00920f1bd9ed1bf4= d8594932dedaf 100644 --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml @@ -51,15 +51,17 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: true link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml index 0162eec8ca993a7614d29908f89fa9fe6d4b545d..9b78ff6bd5f114c7f63ac90e71f= a677445ddf702 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml @@ -58,7 +58,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -73,10 +73,12 @@ properties: - const: 4 =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 additionalProperties: false =20 diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml index f0f9726a2add89492b8c56e17ed607841baa3a0d..4cf49472c24f1b800f6d2e41b87= 16e2ac32f959a 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml @@ -56,7 +56,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -71,10 +71,12 @@ properties: - const: 2 =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - compatible diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml index e4f49f1435a5c2e6e1507d250662ea6ecbf3c7dc..75b78a3e925ed2fd09f56c8349d= 234a32739f141 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx283.yaml @@ -48,7 +48,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -60,10 +60,12 @@ properties: - const: 4 =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml index bf05ca48601abda53d60a3d03aa556e7b8fd825b..e6aec7a1ba2b22a11111d19a613= 84f1200041df5 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml @@ -71,7 +71,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -86,10 +86,12 @@ properties: - const: 4 =20 link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 additionalProperties: false =20 diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml index 872b8288948b2bba743f2365a55165181df156ae..d30ef330e5af225728d1a6c40b2= 6050cd33ba4be 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml @@ -38,15 +38,17 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: true link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml index 38bd1c7304a59bb5fea90954c1e4e626a7c86f2f..36c3a0ba7822475770cd903cec3= 343d31bb66520 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml @@ -48,15 +48,17 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: true link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml b= /Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml index ece1e17fe34553671e61c965eb1833c5eb08131b..0bbdf657a8c0643ffe512ae04c1= 4dfc8e6b4fc94 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml @@ -50,15 +50,17 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: true link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - endpoint diff --git a/Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.y= aml b/Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml index 1c476b635b690865cff0882578d72b1db2dc7c50..367d669ad864ed6b2a8762f953f= 58e206c8c8194 100644 --- a/Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml +++ b/Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml @@ -96,7 +96,7 @@ properties: properties: endpoint: $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false + additionalProperties: false =20 properties: data-lanes: @@ -105,10 +105,12 @@ properties: =20 clock-noncontinuous: true link-frequencies: true + remote-endpoint: true =20 required: - data-lanes - link-frequencies + - remote-endpoint =20 required: - port@0 --=20 2.46.2