From mboxrd@z Thu Jan 1 00:00:00 1970 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 5B6FFC3ABA3 for ; Fri, 2 May 2025 11:33:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=e+w5Qh2JRjlMFyhkZEHnj7ml/ugQxghiOlkLkqWDVzI=; b=x2S4DqBtp/m5vnvDm66UBCc+UT +yyojHgCgnAImSKCzo+SgmnnqQdWX+oWlH0C6BqNqhRn8cUwvx9JXW0uCh/K9IR2pXofs3gc/UhS1 rvqQHeJy70FA5e4hT4i9JbNfQebMnoOQThhM3xjZr2raWUzkDFehqnGxMDcGkafygaYKwRdqgfHDf ZMvp7INh/6gxMIVNm6eqpqSLt7eC093r4A8n4N0sRe4/uMmhe0NBcOS/oii3K9BF55sFv2+ECAWWO lFyJ4yVv4HKeFnXmsjrBGUoulZajrMGKuYhHuwyvniX1ragUpGnZTZoXQ25LU9FcQ1G8542mMTopE BWIz2grA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uAoeC-00000001n4x-163z; Fri, 02 May 2025 11:33:40 +0000 Received: from lelvem-ot01.ext.ti.com ([198.47.23.234]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uAoL3-00000001kf8-15gy for linux-arm-kernel@lists.infradead.org; Fri, 02 May 2025 11:13:54 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 542BDiEq3848530 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 2 May 2025 06:13:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1746184424; bh=e+w5Qh2JRjlMFyhkZEHnj7ml/ugQxghiOlkLkqWDVzI=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=W5idxvhyn32t6wedPrduYdssQK5QNiQNVACARTf5WAYDH/BhLh3dbVBMNj/NwP7KM EwoDxSKVEf4W8FnSoPItBAul40ymbqBUrCRleffoQB9aTk+9bU4/e/qDATBznFViSk 04h4bDSQw6y5r2o4tbHNkK+NMUkf/DUYWNFmO4Dg= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 542BDiT1019558 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 2 May 2025 06:13:44 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 2 May 2025 06:13:43 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 2 May 2025 06:13:43 -0500 Received: from [10.249.134.35] ([10.249.134.35]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 542BDb39062789; Fri, 2 May 2025 06:13:38 -0500 Message-ID: <87d38b3d-607d-45c3-8f29-70f6c01187db@ti.com> Date: Fri, 2 May 2025 16:43:37 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 4/4] arm64: dts: ti: k3-am62x: Add required voltage supplies for TEVI-OV5640 To: Devarsh Thakkar , , CC: , , , , , , , , , , , , References: <20250429154133.3377962-1-r-donadkar@ti.com> <20250429154133.3377962-5-r-donadkar@ti.com> Content-Language: en-US From: "Donadkar, Rishikesh" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250502_041353_400174_07DFD21E X-CRM114-Status: GOOD ( 13.57 ) 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 On 02-05-2025 14:37, Devarsh Thakkar wrote: > > On 29/04/25 21:11, Rishikesh Donadkar wrote: >> The device tree overlay for TEVI-OV5640 requires following voltage >> supplies: >> >> AVDD-supply: Analog voltage supply, 2.8 volts >> DOVDD-supply: Digital I/O voltage supply, 1.8 volts >> DVDD-supply: Digital core voltage supply, 1.5 volts >> > I think this contradicts the voltage mentioned in TEVI-OV56540 doc [1] > which mention digital voltage as 3.3 volts ? Thank you for pointing out, I will fix it. > >> Add them in the DT overlay. >> > [1]: > https://www.technexion.com/wp-content/uploads/2023/09/product-brief_tevi-ov5640.pdf > > Regards > Devarsh >> Signed-off-by: Rishikesh Donadkar >> --- >> .../dts/ti/k3-am62x-sk-csi2-tevi-ov5640.dtso | 32 +++++++++++++++++++ >> 1 file changed, 32 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-tevi-ov5640.dtso b/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-tevi-ov5640.dtso >> index b6bfdfbbdd984..123ab0e5e8dfa 100644 >> --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-tevi-ov5640.dtso >> +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-tevi-ov5640.dtso >> @@ -15,6 +15,33 @@ clk_ov5640_fixed: ov5640-xclk { >> #clock-cells = <0>; >> clock-frequency = <24000000>; >> }; >> + >> + reg_2p8v: regulator-2p8v { >> + compatible = "regulator-fixed"; >> + regulator-name = "2P8V"; >> + regulator-min-microvolt = <2800000>; >> + regulator-max-microvolt = <2800000>; >> + vin-supply = <&vcc_3v3_sys>; >> + regulator-always-on; >> + }; >> + >> + reg_1p8v: regulator-1p8v { >> + compatible = "regulator-fixed"; >> + regulator-name = "1P8V"; >> + regulator-min-microvolt = <1800000>; >> + regulator-max-microvolt = <1800000>; >> + vin-supply = <&vcc_3v3_sys>; >> + regulator-always-on; >> + }; >> + >> + reg_1p5v: regulator-1p5v { >> + compatible = "regulator-fixed"; >> + regulator-name = "1P5V"; >> + regulator-min-microvolt = <1500000>; >> + regulator-max-microvolt = <1500000>; >> + vin-supply = <&vcc_3v3_sys>; >> + regulator-always-on; >> + }; >> }; >> >> &main_i2c2 { >> @@ -40,6 +67,11 @@ ov5640: camera@3c { >> >> clocks = <&clk_ov5640_fixed>; >> clock-names = "xclk"; >> + >> + AVDD-supply = <®_2p8v>; >> + DOVDD-supply = <®_1p8v>; >> + DVDD-supply = <®_1p5v>; >> + >> powerdown-gpios = <&exp1 13 GPIO_ACTIVE_LOW>; >> >> port {