From patchwork Wed Jul 10 22:32:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Stark X-Patchwork-Id: 13729790 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 A8F16C3DA41 for ; Wed, 10 Jul 2024 22:33:12 +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-Type: Content-Transfer-Encoding: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=hfI/ofSEp+yYAlRKoLDJJ07qjeCsQBjJxdJc5MY1PJc=; b=POnzZ/Cg4sTRNdeUJijCKGgIX5 mvOcJXsUk2t+Vez4jsNdPEycUmTui8GySqQKYNrmNFDGh+Chi3uXY3//Om4zpUGGh9SfKgKWHpSjz p0itHDa7z6sLJkHaqtgBqpdClgNcgf3Zz5qCibBi8z45lXQEzUCUtVHTgxNoXyPhdOphUmAwkXDRD lbUuXafBkbJc6QtYoBAPDWyLDt6gTH71ZHZSn8sL658xjoCSjbFWEImN6bI/A7qvaHEOFiH08hdjF FeRLDnuwPp2tL00BUQlf/SbxnCU6FYnXtI9hUpwqbgCrMMHPtmA/o/3SeVe9bjNHevzdgo8AwOExD /Ovkvo4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRfrw-0000000Bx76-0HDp; Wed, 10 Jul 2024 22:33:00 +0000 Received: from mx1.sberdevices.ru ([37.18.73.165]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRfrO-0000000Bwut-3vM1; Wed, 10 Jul 2024 22:32:29 +0000 Received: from p-infra-ksmg-sc-msk01.sberdevices.ru (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id D91E110002F; Thu, 11 Jul 2024 01:32:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru D91E110002F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1720650742; bh=hfI/ofSEp+yYAlRKoLDJJ07qjeCsQBjJxdJc5MY1PJc=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=Rk3h/63JlkS9lq9+Ix0C2KPOAKT8iUx3ok3tdG1d06r0bER+7Jng3VRUuBwf+5vn8 R/xgm3Fr9F7lbzZFdgQ7t/T+mTngHHV90a9hm7af0z+8BMuUOuTrxJpT8qDTEZGDgV PvVi69DcVitV2yPvdvJ2sk4Fhje47AL21Rp0jZL5/T7nt1WjmWgYsUuFhxkqpEt1XM sB4u36oiQko56Oc5qPdjoXxoC48QSRk52PJro5mbccyYlhwHXkjeaCDH2A5NALrWRb I3t3PQ5PhZXbOWohUvcYdmLVctwY0KvSY9lupbLoMvtkqraUEVaMO5G+2vVP55PhfN 7zGndYRTUfUXw== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Thu, 11 Jul 2024 01:32:22 +0300 (MSK) Received: from work.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 11 Jul 2024 01:32:22 +0300 From: George Stark To: , , , , , , , , , , , , , , CC: , , , , , , , George Stark Subject: [PATCH v2 3/3] arm64: dts: meson: a1: bind power domain to temperature sensor Date: Thu, 11 Jul 2024 01:32:14 +0300 Message-ID: <20240710223214.2348418-4-gnstark@salutedevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240710223214.2348418-1-gnstark@salutedevices.com> References: <20240710223214.2348418-1-gnstark@salutedevices.com> MIME-Version: 1.0 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 186446 [Jul 10 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 X-KSMG-AntiSpam-Envelope-From: gnstark@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 24 0.3.24 186c4d603b899ccfd4883d230c53f273b80e467f, {Tracking_from_domain_doesnt_match_to}, salutedevices.com:7.1.1;100.64.160.123:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;smtp.sberdevices.ru:5.0.1,7.1.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/07/10 21:42:00 #25942395 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240710_153227_653028_79DC643F X-CRM114-Status: GOOD ( 10.40 ) 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 Meson A1 temperature sensor has dedicated power domain so bind it to the device node. Signed-off-by: George Stark Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index dd5695963caa..86d77f51c25c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -919,6 +919,7 @@ cpu_temp: temperature-sensor@4c00 { assigned-clock-rates = <500000>; #thermal-sensor-cells = <0>; amlogic,ao-secure = <&sec_AO>; + power-domains = <&pwrc PWRC_I2C_ID>; }; hwrng: rng@5118 {