From patchwork Wed Apr 3 19:04:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13616601 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 C7957CD128A for ; Wed, 3 Apr 2024 19:04:32 +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=mE2x4ea2+FVbuyO5IBN30fNwPGEDfsMzwaKTU0jIrJQ=; b=SDvmO5C5oyKTvN 5HR7CwH1cI5N3LzXAzXYk/ny7QRNm3cZX6FQhLj75NoFOexva0ciY9trKhC5KfWze7ACKqqtiMal1 klP27m2YSFqcgeNHiOtIaKnCvmjHqlkAF0UzgsE+N9CBrGNip4yV7TYZcKmNJ5KmCxbuPgvNvhqbK gaT9RyEMEMVEj8I7qMcxObg3gN8ozqdpR/L7/jxgJCuwG+51Jy5/CZ5r/ZuwOjcOFl9WRRHwVrreN QwEr1rupB8cr1Gf9WGTAP4OvdQPimBv1P/Du4j/Lvqb2QGZLyGWkmvwZ586XY3AquMfdkGoZqKqCY pqOGe325X6wz0CbcVnZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs5uF-0000000HVKI-1mn7; Wed, 03 Apr 2024 19:04:19 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs5uC-0000000HVJA-10Hh for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2024 19:04:17 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6e694337fffso18592b3a.1 for ; Wed, 03 Apr 2024 12:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712171055; x=1712775855; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=O3BajVfbQY5lZvIeziaejNvsZgduAT8hRZMkdoEU+EA=; b=JfGXvMTtz6g/AfNzyD/MJtCa9wrmt0N2txG85tH1tUbG25KVGHLIa2vUXj52m6nKWi 4mX2nowkt+6z9/RbJDj6HfZHuyQlSLKOb8p/N40zAWVfscWkGvkDUzSfaBI+i/+IkkSs B98WPRL1/s33tAFbXE6bu0bjj72XSDU+RBAYvRACNvATTLUSGPuwKGMKQix57TqfgG/0 Xe0MXpQuFFGZxlbesto8xscAXi1XB3632jmn5h2+wEDvlhKQ0RuvgGXBWkGLru1OENpm yw/mnW5NxS1t8i+5lDUBl43wxqSd7tW0yP+WYEVQeWP79ebmDmfxsu7HtaQXb8Ijgtkh jN/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712171055; x=1712775855; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=O3BajVfbQY5lZvIeziaejNvsZgduAT8hRZMkdoEU+EA=; b=t6LROMc/IW00rZXGTMwhL9HNoMyfB0vKbBkI0GMngYF8BMaokUn5iOJBsTw9YQjZ4I K/cwn16SMnZoD8J3kw7CHKZiHMZKuty+UvSd0orEys8OeJdhSnvS3/ALXtwuAd9lDwGp BCIVGYBOQ876KOUp18WkowA7Ol37K1Hj3u0KItJ7z7oHhhnqxlJHnziu1AzC3GXKucRl hQYrSN7PWcDVGLbzSi4AdWo1/ZXlpQBmg1CDQGG7KSEWunvc7aoLv64Ss23Dtpuj3lX+ bOavg/tFR8kSJnnllBjT+bjE2U4g3SlwXvf7zz6rIcEg0oEDuq5A8ADNcj2h+qQOnQCX DlAA== X-Forwarded-Encrypted: i=1; AJvYcCVCPe+quadxCCdD6RyDkXA7ezY4oGkkHiNNdSe0sNAuk71G/qpVJxGhaM6/cXEZZgEGGKb1kisoM8Cuj8epTbeX2P30xqOqMDC8GbfdJryPFXgYzww= X-Gm-Message-State: AOJu0YzKVHesioaLCEhuwRGxy1Ce0McH2HPd4NHB0tVnMvCbVn+GoivI FBDyXZ5kC2V1GiGNqVDrhUfzAJVfD2hq8EuuYap1mcusOBRdSkv4tdadm7f1 X-Google-Smtp-Source: AGHT+IGRX8G4wNEUddDJ3Skzi/AX6cKMyNDI/cA0GeLkXUEnJ/aasZViuTcb2R2PMEjOUaknzVttvg== X-Received: by 2002:a05:6a00:3a09:b0:6ea:b1f5:8aa with SMTP id fj9-20020a056a003a0900b006eab1f508aamr411699pfb.3.1712171055054; Wed, 03 Apr 2024 12:04:15 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:dbdb:4185:2ffc:f19b]) by smtp.gmail.com with ESMTPSA id gu5-20020a056a004e4500b006ead4eb1b09sm12108841pfb.124.2024.04.03.12.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 12:04:14 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: victor.liu@nxp.com, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 1/3] arm64: dts: imx8mn-evk: Fix ADV7535 dt-schema warnings Date: Wed, 3 Apr 2024 16:04:07 -0300 Message-Id: <20240403190409.446522-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_120416_522554_04ACF775 X-CRM114-Status: GOOD ( 12.24 ) 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 From: Fabio Estevam Currently, there are several ADV7535 dt-schema warnings. Fx them the same way as in commit efa97aed071e060 ("arm64: dts: imx8mm-evk: Fix hdmi@3d node"). As there are two different PMICs used on the imx8mn-evk variants, describe the ADV7535 power supplies in each board devicetree. Fixes: 5aafda608f73 ("arm64: dts: imx8mn-evk: Add camera support") Signed-off-by: Fabio Estevam --- .../boot/dts/freescale/imx8mn-ddr3l-evk.dts | 10 +++++++ .../boot/dts/freescale/imx8mn-ddr4-evk.dts | 10 +++++++ arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 10 +++++++ arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 27 ++++++++++--------- 4 files changed, 45 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts index 000e2c0596df..9ebd81e7eb7c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts @@ -112,3 +112,13 @@ ldo5: LDO5 { }; }; }; + +&i2c2 { + hdmi@3d { + avdd-supply = <&buck5>; + dvdd-supply = <&buck5>; + pvdd-supply = <&buck5>; + a2vdd-supply = <&buck5>; + v1p2-supply = <&buck5>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts index cc2ff59ac53b..1a4ac39ebde8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts @@ -158,3 +158,13 @@ ldo6_reg: LDO6 { }; }; }; + +&i2c2 { + hdmi@3d { + avdd-supply = <&buck5_reg>; + dvdd-supply = <&buck5_reg>; + pvdd-supply = <&buck5_reg>; + a2vdd-supply = <&buck5_reg>; + v1p2-supply = <&buck5_reg>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts index 0b71f50d936e..6f7f409c4181 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts @@ -125,3 +125,13 @@ ldo5: LDO5 { }; }; }; + +&i2c2 { + hdmi@3d { + avdd-supply = <&buck5>; + dvdd-supply = <&buck5>; + pvdd-supply = <&buck5>; + a2vdd-supply = <&buck5>; + v1p2-supply = <&buck5>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 269e70f66a13..c06bcf86bb73 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -30,7 +30,7 @@ hdmi-connector { port { hdmi_connector_in: endpoint { - remote-endpoint = <&adv7533_out>; + remote-endpoint = <&adv7535_out>; }; }; }; @@ -52,6 +52,13 @@ reg_usdhc2_vmmc: regulator-usdhc2 { enable-active-high; }; + reg_vddext_3v3: regulator-vddext-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VDDEXT_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + ir-receiver { compatible = "gpio-ir-receiver"; gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; @@ -193,15 +200,11 @@ &i2c2 { hdmi@3d { compatible = "adi,adv7535"; - reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; - reg-names = "main", "cec", "edid", "packet"; + reg = <0x3d>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; adi,dsi-lanes = <4>; - - adi,input-depth = <8>; - adi,input-colorspace = "rgb"; - adi,input-clock = "1x"; - adi,input-style = <1>; - adi,input-justification = "evenly"; + v3p3-supply = <®_vddext_3v3>; ports { #address-cells = <1>; @@ -210,7 +213,7 @@ ports { port@0 { reg = <0>; - adv7533_in: endpoint { + adv7535_in: endpoint { remote-endpoint = <&dsi_out>; }; }; @@ -218,7 +221,7 @@ adv7533_in: endpoint { port@1 { reg = <1>; - adv7533_out: endpoint { + adv7535_out: endpoint { remote-endpoint = <&hdmi_connector_in>; }; }; @@ -335,7 +338,7 @@ port@1 { reg = <1>; dsi_out: endpoint { - remote-endpoint = <&adv7533_in>; + remote-endpoint = <&adv7535_in>; data-lanes = <1 2 3 4>; }; }; From patchwork Wed Apr 3 19:04:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13616602 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 4AA62CD1288 for ; Wed, 3 Apr 2024 19:04:34 +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=WyWmjEsVVfAVAuxN4uLacQNkrAdWynhe1UaMCd00SLY=; b=l5CUbB7R+g9mlp 5ha0JJ0PdPzc5yQ2ISE1ZDL0GFNZ2rXxlxdv8AzZq7Z7LwJKwQA4ODPJfpHNQCgzCksERS1puvff/ Dorip4g8p2FjSSx7Qqe7oEpcpGqOftCTCP9XoFYnzQyXlOlVzrUiWXYvhSfauuUckW/BGVqBv4u0b VAO2ypH+8p3C09A4g+CtaD64EsVQOutsNqJJNwqa74eIzpZE3DihsNm/YYKX4swrGtpyGUAXjUFgl /poGPldWCzW9xIdREGX/te9C8nRAb2OP1f6U/R8asO0P8tlYkTq4LXzWzAQl58no2/XpopsQZuO3s JKbaYd1pQrxBlYg0ZPpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs5uI-0000000HVLZ-2Sa0; Wed, 03 Apr 2024 19:04:22 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs5uF-0000000HVJp-1ZCH for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2024 19:04:21 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6e694337fffso18601b3a.1 for ; Wed, 03 Apr 2024 12:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712171057; x=1712775857; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JNPFFL8oP046EogGc5eQ6rohNSa+elKk3WfzCZ89lQQ=; b=dL/XX9f+AwxtMjkRs8+3OZQ7X9NNybCP/c8MNOFI/vAUbQ3BLtj/Mgo6gkeicJTEGR YwRlJ0MU0bp6UKB4o1g638m1qQs1OxFV6WPmFOxB4yPMbyvoexAf8Qd8Drhe+HEx4Y9M sDLZIA+v8oDzu3tp4OTRo5eujpEVZDFduVfSHTixp9a1I8p1u7iOJRbSKCov1TQW2kJp nfc2ioaKX81muPSseg8fRsrm0rJ5uwrF1xoZ07Pip58SBtNpErNehUpiW4srwIK7bicv FUAOaCgt8QZ1ORibNrtHwE85G3pS+cjsCKvInKuurJ/LwLwKQo1W70D2d7Xd/UqWgA9T Y/Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712171057; x=1712775857; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JNPFFL8oP046EogGc5eQ6rohNSa+elKk3WfzCZ89lQQ=; b=dAO5AjPprfUH2roJx4aA5hEnchShKZrSkcVMc44DuobbKq11rM05rB8vtHXmENPJZp bJAR0RhshYkEHByP36Vecxd63ZravBvmAAEIeF66uhfU6PdEoTfReF2FCLQfZJydrwrK YXoPY+XtYn1ecdrjrwXCIMuqrGIH/+muQdK+Hp8xNmDbVXTfYzotgXM2NeXaiJVRkiGt ylavj6o8uMTFQP2kSFtAlz3QRpUd8Ouz7cYqtE1w3SVRrPCZcShcRx1cxJk4uCUx5wEV x+oOCzm7b1SZ5xEfTw35Ub9ilqcEaPWTrLHafCBXbUPvWw4ju9sNUaJE3J/vlkhrydoA aYkA== X-Forwarded-Encrypted: i=1; AJvYcCUDAtCfH2dPx/vGEyTB+5esOPnkjAiKMElsIMDNFq57hX3YvCKR1lKIg5s2PibVG13Gn53clkBUtXhQSuGESbX7SX5FDh6pJuSDFopSVGP9SNQLP/o= X-Gm-Message-State: AOJu0YyUBHCHn0XpLvvbT02tHFfcFZVkPjpv6uuJt8+G1FXXfO8yUp7Y EfaUL2kuENwjFwxKphbJDFs40emvhkj/rS8Ftxd7h4pjw2CUNaDVJCwfK+TQ X-Google-Smtp-Source: AGHT+IEXn7gqVUt/YycNdJZLdsL7xBBY9igAV+WRtPZD/rVPZSh0XC9NGonOuKU2ECaKHmh9cOxfSQ== X-Received: by 2002:a05:6a00:1d8f:b0:6ea:6f18:887a with SMTP id z15-20020a056a001d8f00b006ea6f18887amr452724pfw.1.1712171057117; Wed, 03 Apr 2024 12:04:17 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:dbdb:4185:2ffc:f19b]) by smtp.gmail.com with ESMTPSA id gu5-20020a056a004e4500b006ead4eb1b09sm12108841pfb.124.2024.04.03.12.04.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 12:04:16 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: victor.liu@nxp.com, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 2/3] arm64: dts: imx8mn-evk: Describe the OV5640 supplies Date: Wed, 3 Apr 2024 16:04:08 -0300 Message-Id: <20240403190409.446522-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240403190409.446522-1-festevam@gmail.com> References: <20240403190409.446522-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_120419_456959_7B57BDD1 X-CRM114-Status: GOOD ( 11.41 ) 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 From: Fabio Estevam Per ovti,ov5640.yaml, the OV5640 power supplies are mandatory properties. Describe them to fix dt-schema warnings. As there are two different PMICs used on the imx8mn-evk variants, describe the OV5640 power supplies in each board devicetree. Signed-off-by: Fabio Estevam --- .../boot/dts/freescale/imx8mn-ddr3l-evk.dts | 6 ++++++ .../arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 6 ++++++ arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 6 ++++++ arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 16 ++++++++++++++++ 4 files changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts index 9ebd81e7eb7c..d25032e3ceab 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts @@ -122,3 +122,9 @@ hdmi@3d { v1p2-supply = <&buck5>; }; }; + +&i2c3 { + camera@3c { + DOVDD-supply = <&buck5>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts index 1a4ac39ebde8..6d85a0b052c9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts @@ -168,3 +168,9 @@ hdmi@3d { v1p2-supply = <&buck5_reg>; }; }; + +&i2c3 { + camera@3c { + DOVDD-supply = <&buck5_reg>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts index 6f7f409c4181..41330210a05f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts @@ -135,3 +135,9 @@ hdmi@3d { v1p2-supply = <&buck5>; }; }; + +&i2c3 { + camera@3c { + DOVDD-supply = <&buck5>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index c06bcf86bb73..690da24a4335 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -52,6 +52,20 @@ reg_usdhc2_vmmc: regulator-usdhc2 { enable-active-high; }; + reg_1v5: regulator-1v5 { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V5"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + }; + + reg_1v8: regulator-1v8 { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + reg_vddext_3v3: regulator-vddext-3v3 { compatible = "regulator-fixed"; regulator-name = "VDDEXT_3V3"; @@ -287,6 +301,8 @@ camera@3c { assigned-clock-rates = <24000000>; powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + AVDD-supply = <®_1v8>; + DVDD-supply = <®_1v5>; port { ov5640_to_mipi_csi2: endpoint { From patchwork Wed Apr 3 19:04:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13616603 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 37C35CD128A for ; Wed, 3 Apr 2024 19:04:36 +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=J+qrpbiZbPhx9P4LXBcxF4Ggn8BAIMqKY6NqTwPxO1g=; b=1Dj3Jfmw3fak1n Sbj7K1hc176m77026h8epYeJlOX0z6dzsvmsS5wMSO8xb6PDBaE0XwRafNQrdevFrSyAkQuhwnrBV FYQGczEM0q17yGbiRzUvZ8iHdAjht0pC4uYrR/eKEPELBrrOidA4v7HGjaBAQV0kKSzpdzMV70pLK vIp+1hP1nui7iFRByijcEjzhRyxZmXSU48ZzwowhlE8ZdZQ3xgAdHxVA5hqPxIaWHOg7MW61LgzOu BOQbt7CmVRcdzlTVo/xMD2cRQt25SkWlhSI/ma1nzQrLGt5F+ahHqdH3ErGREFmnNH0EqMm112/sY OTLxN87/NRM+UXaBjIAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs5uL-0000000HVMj-2Ahz; Wed, 03 Apr 2024 19:04:25 +0000 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs5uH-0000000HVKi-49RP for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2024 19:04:23 +0000 Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-5d862e8b163so34269a12.1 for ; Wed, 03 Apr 2024 12:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712171060; x=1712775860; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VQBKV0fcjBB7Zm1bdVoIWP7uh7sIns1H2qR98ImdMLM=; b=Qar6QAVpzai0E5OwJBuWnLQNcDjuRmA3H7bF5mr08cOfvzZgkeGR3FnJNHshmsf6OK mmSIsBWTMKOsBxYz7ianoY1K4TUdnZYi3D7rqB5DO3Znr5XzR74UvRpk/WWXJTDCSn4c pQj8Qf6WqW2lL9YiqMdktNygbKf0T0n3Uaj2pg8vkLjoqFOvVyBtke7eXuNouvyHgQrI mMmWNilzGndnoOnr/+qGQmp+ZfghoTyjj7OgyvHeBV+McsJ7MGWCrGDIlR8CFxBCWBxw YBkX3IPR05FBvuPcyW5f9+aUhR/IjNtnyeywczmvtOxs5D1TnL2TIpIuEuxFYmroI5EV DGeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712171060; x=1712775860; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VQBKV0fcjBB7Zm1bdVoIWP7uh7sIns1H2qR98ImdMLM=; b=cAvmWtd5JY17qi8of6Ahb3SmrGLiC2WnYu3MgyYRna8bJ8erM19nhXUOv8jD9JQWga z6q/Q8eMmXoeS/XTn4skEobIW45U27bq6It4VgemdK8+qA48rSuA5s1aq8Ie5/JN54hS jVoFnlt+L/er3hqDrXcUP/asQs+PNpRZXU0zaOiCnFv7sCLB2RpSYQJiMaFX2ZIAtZn7 uPq7cM9NLRdr/YgqfY7Uww7cJLr36Pg7eG1bE0EWQS9yuq2v1YHHYJlHLLjWsd9ptVNG jS/sZbLoNo1dWdk6SUIyLsUHKuZ4mKxWu6r9UL/LM6spdzs0iOKeVkEA4xyaKA79GxXr YKRg== X-Forwarded-Encrypted: i=1; AJvYcCWOUwRT8qD254vzHRQG+Zq/J5Vyq8BBenuQ1c0V3m0fffBKng7XYkRUpy16+nTZrrTqhOXyXmPAg1+fZXQs309WcBGSqdCXtg4FtwRc+BCwUV+lwpg= X-Gm-Message-State: AOJu0YydqNiFx3y9PK+vCcY7TgbAxpWwf3B50BrjJiRaAwlpFFGghip1 6QZuXup5Stut/eF9KpZUAihGoscP2BTWMDElN4FuhDePzdUaMXfW X-Google-Smtp-Source: AGHT+IHEjQZ3Ch174jbkBXGceBIw5+vPeXBWcyrcyHEnXYT29GLGBBsasycz+dUTzkRuvDk1Rj0aRw== X-Received: by 2002:a05:6a20:8425:b0:1a7:c2e:f3ee with SMTP id c37-20020a056a20842500b001a70c2ef3eemr591794pzd.4.1712171059675; Wed, 03 Apr 2024 12:04:19 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:dbdb:4185:2ffc:f19b]) by smtp.gmail.com with ESMTPSA id gu5-20020a056a004e4500b006ead4eb1b09sm12108841pfb.124.2024.04.03.12.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 12:04:18 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: victor.liu@nxp.com, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 3/3] imx8mm-evk: Describe the OV5640 supplies Date: Wed, 3 Apr 2024 16:04:09 -0300 Message-Id: <20240403190409.446522-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240403190409.446522-1-festevam@gmail.com> References: <20240403190409.446522-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_120422_183149_2BF9EAD7 X-CRM114-Status: GOOD ( 10.84 ) 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 From: Fabio Estevam Per ovti,ov5640.yaml, the OV5640 power supplies are mandatory properties. Describe them to fix dt-schema warnings. As there are two different PMICs used on the imx8mn-evk variants, describe the OV5640 power supplies in each board devicetree. Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index bd5b365867fd..888070b8b287 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -72,6 +72,20 @@ reg_usdhc2_vmmc: regulator-usdhc2 { enable-active-high; }; + reg_1v5: regulator-1v5 { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V5"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + }; + + reg_1v8: regulator-1v8 { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + reg_vddext_3v3: regulator-vddext-3v3 { compatible = "regulator-fixed"; regulator-name = "VDDEXT_3V3"; @@ -441,6 +455,9 @@ camera@3c { assigned-clock-rates = <24000000>; powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + DOVDD-supply = <&buck5_reg>; + AVDD-supply = <®_1v8>; + DVDD-supply = <®_1v5>; port { ov5640_to_mipi_csi2: endpoint {