From patchwork Thu Sep 28 11:45:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 13402858 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 7E99DE732C5 for ; Thu, 28 Sep 2023 11:46:08 +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=axXtW6dfEOAX75En+QNpD57P5ImZs3/16Q4uqDP0H+8=; b=vaWtQwiLGQA6V/ PPzzLXm1Z59W76qtB9SoQzPZ+RomSd8VrwcvZ1P2Cq+lYyvp43kzHR1opX8cYLupq1In+bEQ+eMVu SJORDQg4SNAsGgEWKjG2QIlQlkt/pMCZ7C7U/kz7ek2ci3KZjakjmmrjOmT3KlNWM+j1rQ2K4MWr5 ce1QwFzahvdIdEHX1JzOm88yfwn6sAwNuc5E1i3gSq6jjrTJSKfzOsZJcsmanUmwcleQOAs5nUIQN 1XKrtmwk3r8BaTx26rx91jW111tQ34qpi3VYcTy01V7XW3JMbvVEtRK8lLM2qWmXXebpNfOAOA80p 5GvX0z03Ocjlc6F5BQrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlpSd-003ME6-2W; Thu, 28 Sep 2023 11:45:39 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qlpSY-003M89-32 for linux-arm-kernel@lists.infradead.org; Thu, 28 Sep 2023 11:45:38 +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=1695901535; x=1727437535; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ACdZxoKAKh1jcC+SyibkwaZ8XbsuqZqpltxrCHKXjwY=; b=j53DxleaiQZoxnYIvqSQz1Dwm11uYONa7Iy4ikaNer/1Ht9RZZX2aFH7 OKcLvyenzHlMlVw/WncxmZvTReJvXJz/z0S6OasoMcSgxXCR5+s1hOXoC 4Lvh+kZd/J+e2a9/u6cnA6MixogKowUPP+dsqw7fYJTWhGSdQ+yIWZhjh dcRwRJE5f6WGra8AQqCC0IKI78tL/FHea8OdqwQu6rq8k0WECF0eumFQ9 IU8LSCyQxVRHbTKfWThSRC58fK8DZyZ9CCmGWqQe6Hlde1GHHJElGapNQ 0nz9LzkPboruhuvsun/uhABj55MwpFVspdxcOfLmxyv7o0n5nbogvOyi2 A==; X-IronPort-AV: E=Sophos;i="6.03,183,1694728800"; d="scan'208";a="33198949" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 28 Sep 2023 13:45:30 +0200 Received: from localhost.localdomain (SCHIFFERM-M2.tq-net.de [10.121.49.20]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id E53BB280075; Thu, 28 Sep 2023 13:45:29 +0200 (CEST) From: Matthias Schiffer To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com, Matthias Schiffer Subject: [PATCH 1/4] arm64: dts: ti: k3-am64-tqma64xxl: add supply regulator for I2C devices Date: Thu, 28 Sep 2023 13:45:10 +0200 Message-Id: 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-20230928_044535_386560_B276A3A1 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. 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 Describes the hardware better, and avoids a few warnings during boot: lm75 0-004a: supply vs not found, using dummy regulator at24 0-0050: supply vcc not found, using dummy regulator at24 0-0054: supply vcc not found, using dummy regulator Signed-off-by: Matthias Schiffer --- arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi b/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi index 6229849b5d968..d82d4a98306a7 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi @@ -85,6 +85,15 @@ rtos_ipc_memory_region: ipc-memories@a5000000 { no-map; }; }; + + reg_1v8: regulator-1v8 { + compatible = "regulator-fixed"; + regulator-name = "V_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; }; &main_i2c0 { @@ -96,11 +105,13 @@ &main_i2c0 { tmp1075: temperature-sensor@4a { compatible = "ti,tmp1075"; reg = <0x4a>; + vs-supply = <®_1v8>; }; eeprom0: eeprom@50 { compatible = "st,24c02", "atmel,24c02"; reg = <0x50>; + vcc-supply = <®_1v8>; pagesize = <16>; read-only; }; @@ -114,6 +125,7 @@ pcf85063: rtc@51 { eeprom1: eeprom@54 { compatible = "st,24c64", "atmel,24c64"; reg = <0x54>; + vcc-supply = <®_1v8>; pagesize = <32>; }; };