From patchwork Mon Jul 12 08:55:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 75708 X-Patchwork-Delegate: sakari.ailus@iki.fi Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1m2rs4-003p9g-Gq; Mon, 12 Jul 2021 09:05:00 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357707AbhGLJHn (ORCPT + 1 other); Mon, 12 Jul 2021 05:07:43 -0400 Received: from mickerik.phytec.de ([195.145.39.210]:45270 "EHLO mickerik.phytec.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382904AbhGLJCa (ORCPT ); Mon, 12 Jul 2021 05:02:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1626080137; x=1628672137; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uC8cBQL1xFdGBkFPFEx8KFNhS1ChOLH8o8ZHun1kY00=; b=bH8rxWtzV2H/DIIZ3MBOQc2kPIm60IM50J0Bm2EbE2gWRXG4XkmRsq5PJwlYohek +n5es4yCod/CMyBGpPdAnfGIbkl56xI3ST6Z+Vc5VgGYD7rK2FxsjwIDQC6COx+J MfT22lu6dLtwpalX/Ecz4qMbA5eOs1F3h340DUcZKOM=; X-AuditID: c39127d2-1e4f970000001daf-27-60ec03896928 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id ED.8D.07599.9830CE06; Mon, 12 Jul 2021 10:55:37 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021071210553709-1131636 ; Mon, 12 Jul 2021 10:55:37 +0200 From: Stefan Riedmueller To: Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring Cc: Stefan Riedmueller , Sakari Ailus , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 6/6] media: dt-bindings: mt9p031: Add missing required properties Date: Mon, 12 Jul 2021 10:55:35 +0200 Message-Id: <20210712085535.11907-7-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210712085535.11907-1-s.riedmueller@phytec.de> References: <20210712085535.11907-1-s.riedmueller@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 12.07.2021 10:55:37, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 12.07.2021 10:55:37 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNLMWRmVeSWpSXmKPExsWyRoCBS7eT+U2CwZ2r0hbzj5xjteicuITd 4vKuOWwWPRu2slos2/SHyaJ17xF2i09bvjE5sHvM7pjJ6rFpVSebx7yTgR6fN8kFsERx2aSk 5mSWpRbp2yVwZew8No2toI+3Yu+EgywNjB84uxg5OSQETCRef/7I1MXIxSEksI1RYur2HawQ znVGibVLtjKBVLEJGEksmNYIViUi0MYoseNIM5jDLLCFUWL65eVsIFXCAiESc5eeYgGxWQRU JV4vXcUMYvMK2EjsujmNBWKfvMTMS9/Zuxg5ODgFbCX2/LAECQsBlVyfv4EFolxQ4uTMJywg 8yUErgDNf3ibGaJXSOL04rNgNrOAtsSyha+ZJzAKzELSMwtJagEj0ypGodzM5OzUosxsvYKM ypLUZL2U1E2MwAA+PFH90g7GvjkehxiZOBgPMUpwMCuJ8H7rfZUgxJuSWFmVWpQfX1Sak1p8 iFGag0VJnHcDb0mYkEB6YklqdmpqQWoRTJaJg1OqgTF43mvZc8sVlpQkeuwtfvDrxHub9RGv Fp+d3PM24hrzx/55zIbzipc+nuy/yGfeScts58SUDQHJZfvjImWvya/YvJPH+amh0GqliL6f T4z5eXKKD6/TmTZpncsn14aHno6b+mKvJZrd1jVWddNZ9v6UW8qCa56zOQxSpcpfWTgUBE/P tUiwjVRiKc5INNRiLipOBAAeoPmeTgIAAA== Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.3 (--) X-LSpam-Report: No, score=-2.3 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_NONE=-0.0001,T_DKIM_INVALID=0.01 autolearn=ham autolearn_force=no Add missing required clocks and supply regulator properties for the sensor input clock and vdd, vdd_io and vaa supply regulators. Signed-off-by: Stefan Riedmueller Reviewed-by: Rob Herring --- .../bindings/media/i2c/aptina,mt9p031.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml b/Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml index ad9a2db73d86..487a3facfcbc 100644 --- a/Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml +++ b/Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml @@ -24,6 +24,18 @@ properties: description: I2C device address maxItems: 1 + clocks: + maxItems: 1 + + vdd-supply: + description: Digital supply voltage, 1.8 V + + vdd_io-supply: + description: I/O supply voltage, 1.8 or 2.8 V + + vaa-supply: + description: Analog supply voltage, 2.8 V + reset-gpios: maxItems: 1 description: Chip reset GPIO @@ -48,6 +60,10 @@ properties: required: - compatible - reg + - clocks + - vdd-supply + - vdd_io-supply + - vaa-supply - port additionalProperties: false @@ -63,6 +79,12 @@ examples: reg = <0x5d>; reset-gpios = <&gpio_sensor 0 0>; + clocks = <&sensor_clk>; + + vdd-supply = <®_vdd>; + vdd_io-supply = <®_vdd_io>; + vaa-supply = <®_vaa>; + port { mt9p031_1: endpoint { input-clock-frequency = <6000000>;