From patchwork Mon Jul 8 19:48:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Stark X-Patchwork-Id: 13727009 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 67E86C3271E for ; Mon, 8 Jul 2024 19:49:29 +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=4pw3BIb7UkYmI26H52edi0SuBLQRphrtybtYpFnSD/I=; b=4T6SCp8T4ZdXBhX6MTsDskEaO2 fNzqIbcmnw7DhrfbZpuBlzXZlNSL122RwXKCw5IC7SxRG61i7elu2FJoZOrgjZDKCTIvMizL8CIfR heGu/tXCoSrLEuHZrumq8Tv4Ar03HkW3+H3/AG5uTiEUgeNn+Kzs17Lz/eT3iLOzBOcKiFRAIzQ9g xz8dT1JQ2FicKZu6TINo+JFs5o+fBaZkYcJ0w/EqgOFCjtN+FHw2ddHwuZOfSbDK+ws82dloseYeR V11e6xCpF41gNOKHcDMtzsBXaa0Q5Rg+DxnM8L8+dYwPVs0f4sVCAx4WQvErn4WH10vKEUW53UAlC IN/C4/Fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQuMQ-00000004so0-2mzX; Mon, 08 Jul 2024 19:49:18 +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 1sQuLU-00000004sNf-2NJr; Mon, 08 Jul 2024 19:48:24 +0000 Received: from p-infra-ksmg-sc-msk01.sberdevices.ru (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 573F3100008; Mon, 8 Jul 2024 22:48:16 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 573F3100008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1720468096; bh=4pw3BIb7UkYmI26H52edi0SuBLQRphrtybtYpFnSD/I=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=CQjlXO7nvTTKO2ZWZdTc0wDSsPXzv8AAv4RgHv5hfoEyWr2gQVvwsgLjpIMcnd/zO NhrEUrZ1IBqTPA333iIjp1UCt1UBhzicESCV0x821YeWnlhx6b6wdZJ+3aw3CK129c 9B0xZCjP1pK7pEMqnHEwNH2/yJjaTeBGqLAHXS6BSCDJAPuOSw50TYdIClfUklaTVU cNoN02KvrnlLxvsmAIVqxnhtoPGksKnkQGMdlpfq+jmuayoVqAjsECSVONgoUCkyqB u8sLFOrZRNzG6JikG4M0sgIpJxpeWC14gshOhIuTRT/Kn/zd325Loik7geSZorh+6B gYT5ou/cx280g== 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; Mon, 8 Jul 2024 22:48:16 +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; Mon, 8 Jul 2024 22:48:15 +0300 From: George Stark To: , , , , , , , , , , , , , , , CC: , , , , , , , , George Stark Subject: [PATCH 1/4] dt-bindings: spi: amlogic,a1-spifc: make power-domains required Date: Mon, 8 Jul 2024 22:48:05 +0300 Message-ID: <20240708194808.1819185-2-gnstark@salutedevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240708194808.1819185-1-gnstark@salutedevices.com> References: <20240708194808.1819185-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: 186376 [Jul 08 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: 23 0.3.23 8881c50ebb08f9085352475be251cf18bb0fcfdd, {Tracking_from_domain_doesnt_match_to}, smtp.sberdevices.ru:7.1.1,5.0.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;salutedevices.com:7.1.1;100.64.160.123:7.1.2;127.0.0.199:7.1.2, 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/08 19:07:00 #25919740 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_124821_280048_7FB441DA X-CRM114-Status: GOOD ( 10.89 ) 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 SPI Flash Controller has dedicated power domain so make the corresponding property required. Signed-off-by: George Stark --- Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml b/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml index 043879b434ac..e704aff8a862 100644 --- a/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml +++ b/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml @@ -30,15 +30,19 @@ required: - compatible - reg - clocks + - power-domains unevaluatedProperties: false examples: - | + #include + spi@fd000400 { compatible = "amlogic,a1-spifc"; reg = <0xfd000400 0x290>; clocks = <&clkc_clkid_spifc>; #address-cells = <1>; #size-cells = <0>; + power-domains = <&pwrc PWRC_SPIFC_ID>; }; From patchwork Mon Jul 8 19:48:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Stark X-Patchwork-Id: 13727010 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 A62B9C3DA41 for ; Mon, 8 Jul 2024 19:49:39 +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=eYYjDzOe3nYpG5HmNbnsVn4oH2wx26XOb/Mak2E95m8=; b=GEOiwqbAYuE0C2ra74ifDz+kEm aipcZKkQTBAfogC1XHXDRnoNGhkAC4gMeu4k4ihmU4+iX3dQ2/S5MiqXCzPEYwapMyVWfH3xTDsXK CW7m+NTsuZY8+fMXtjXjNCPrtBcQHGlLhOmCnm3ctPSrrtNBcV4rFwuwmUe7sSynY9JtE13UmG2F2 Der8VLIISFU2fTSF5yowccNhnL312V3X62GlFBdyssR68rgjtxO6VvhPVEXO+sE7x54D/qi2VcWrf fUp4P1Bv5CvCq1EI1G9VpJ49TArn0FXVXHR5ctQohtUicoKScQuZBJXwr9qshdQ4w0FX+qIz2FB0M 0z77fabw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQuMe-00000004suz-12F2; Mon, 08 Jul 2024 19:49:32 +0000 Received: from mx2.sberdevices.ru ([45.89.224.132] helo=mx1.sberdevices.ru) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQuLU-00000004sNV-2DNE; Mon, 08 Jul 2024 19:48:24 +0000 Received: from p-infra-ksmg-sc-msk02.sberdevices.ru (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 8D5F1120008; Mon, 8 Jul 2024 22:48:16 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 8D5F1120008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1720468096; bh=eYYjDzOe3nYpG5HmNbnsVn4oH2wx26XOb/Mak2E95m8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=ZMHqgFrA5GFPtPF/Td8d7r4FodzDXFsxN/3QvscNO7gMtyX8yPtUgx8oDUKiO5fie fppAx22Hz+DvFpUpf/fOIk6L6tAYDWfwrfyX8bgAUbhJPtkJZqpCb0XJhD6/QszYd3 28VCriXjRC71aIAYru6PZLJX1xPOyxLDN6vsZU1NYSgJWH4joAbUiNWw7365WNmNm2 MOR/LUtBEacaD4cxaabeXUefySbHUxEnvJWbdduc1o9Y1/GLDCKxFBdIa3LkJnQDkM tynldDGnemxss5+jx6Dbd75Lb0408J53ceG1a8FCahmMNcgA8JwOuC01g0MQbg05+f HnSmnsPKGiTqg== 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; Mon, 8 Jul 2024 22:48:16 +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; Mon, 8 Jul 2024 22:48:15 +0300 From: George Stark To: , , , , , , , , , , , , , , , CC: , , , , , , , , George Stark Subject: [PATCH 2/4] dt-bindings: i2c: amlogic,meson6-i2c: add optional power-domains Date: Mon, 8 Jul 2024 22:48:06 +0300 Message-ID: <20240708194808.1819185-3-gnstark@salutedevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240708194808.1819185-1-gnstark@salutedevices.com> References: <20240708194808.1819185-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: 186376 [Jul 08 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: 23 0.3.23 8881c50ebb08f9085352475be251cf18bb0fcfdd, {Tracking_from_domain_doesnt_match_to}, 127.0.0.199:7.1.2;100.64.160.123:7.1.2;salutedevices.com:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;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/08 16:01:00 #25918429 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_124821_277201_898F2878 X-CRM114-Status: GOOD ( 10.68 ) 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 newer SoCs, the I2C hardware can require a power domain to operate. Since the same compatible is used for older and newer SoCs make power-domains property optional. Signed-off-by: George Stark Reviewed-by: Neil Armstrong Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml b/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml index 26bed558c6b8..c4cc8af18280 100644 --- a/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml @@ -30,6 +30,9 @@ properties: clocks: minItems: 1 + power-domains: + maxItems: 1 + required: - compatible - reg From patchwork Mon Jul 8 19:48:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Stark X-Patchwork-Id: 13727007 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 0FE28C3271E for ; Mon, 8 Jul 2024 19:49:02 +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=AykYDjY8q3WXRCPSUKxvV879bXlNqxPuT07GICE1L0s=; b=rTTTJlpAlMUPDXCQecDt3VZ1Lb beK39vPwYOMlhpK/rOzEmJL31Y6/9F7MSIM9A/U19UzcEMxkI20kKiXVuFeExcPxcVZiC3jqmq2bY pctBqSFcw+i0bFCTN4xmZuhcP1fI/RKpscFxFnstufogCVAmTCeeA9amn/4vMsc3yF9APIP48Vkx4 zeUykt7GFzv0Ywj9SQeJVHMYki4w8Pk/dKe9OJa/eY8ArnwZ5QqtF0DiSzSTzP7H1kGnB42XYPxDW h4erxJRRepz7NIcMugavMi9o5UtEd7wQsY5COWHuld2/AsNFykeHxMNfG1WEH2k3kquC1nnhYUlPc 0+HJl/tg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQuLy-00000004sXs-1qfr; Mon, 08 Jul 2024 19:48:50 +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 1sQuLU-00000004sNg-2NQg; Mon, 08 Jul 2024 19:48:23 +0000 Received: from p-infra-ksmg-sc-msk01.sberdevices.ru (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id CDDA210000B; Mon, 8 Jul 2024 22:48:16 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru CDDA210000B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1720468096; bh=AykYDjY8q3WXRCPSUKxvV879bXlNqxPuT07GICE1L0s=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=TzqfUoocWNhHo7kmW+OLm2lfN2KAMKggWXheTWWu5neQN+6r5dDvxYUAW0SMc1Jti +y39wdQQz9d2Gtw2LktT9EwGRC0NrZDQlwo4c74gaieimeh+0smmfPGbGb3l0QrHMx uFP48oYj0d0OX6K+lZh9YxKnXBWj+qn4nd1yXqt6Jps5dACR9q3MNErBfrs5xHeikF DENtJVany/K2eV+uW/7c+0vzhpQyqHrHaumv8nMGnAXM/HDXcknJDlHPnxtFFJibZB n2Y+lgMiumTwh/rfpJpiU0cXuABnsQYZ6033Sop2E1IkMM27Ih/PBbDwYa7hzeEcJb F8br8czROaMMw== 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; Mon, 8 Jul 2024 22:48:16 +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; Mon, 8 Jul 2024 22:48:16 +0300 From: George Stark To: , , , , , , , , , , , , , , , CC: , , , , , , , , George Stark Subject: [PATCH 3/4] dt-bindings: thermal: amlogic,thermal: add power-domains Date: Mon, 8 Jul 2024 22:48:07 +0300 Message-ID: <20240708194808.1819185-4-gnstark@salutedevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240708194808.1819185-1-gnstark@salutedevices.com> References: <20240708194808.1819185-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: 186376 [Jul 08 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: 23 0.3.23 8881c50ebb08f9085352475be251cf18bb0fcfdd, {Tracking_from_domain_doesnt_match_to}, smtp.sberdevices.ru:7.1.1,5.0.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;salutedevices.com:7.1.1;100.64.160.123:7.1.2;127.0.0.199:7.1.2, 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/08 19:07:00 #25919740 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_124821_269718_8458A99F X-CRM114-Status: GOOD ( 10.11 ) 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 newer SoCs, the thermal hardware can require a power domain to operate so add corresponding property as optional by default and as required for Meson A1 due to it's temperature sensor has dedicated power domain. Signed-off-by: George Stark --- .../bindings/thermal/amlogic,thermal.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml index 01fccdfc4178..5c9147e3b734 100644 --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml @@ -30,6 +30,9 @@ properties: clocks: maxItems: 1 + power-domains: + maxItems: 1 + amlogic,ao-secure: description: phandle to the ao-secure syscon $ref: /schemas/types.yaml#/definitions/phandle @@ -44,6 +47,17 @@ required: - clocks - amlogic,ao-secure +allOf: + - if: + properties: + compatible: + contains: + enum: + - amlogic,a1-cpu-thermal + then: + required: + - power-domains + additionalProperties: false examples: From patchwork Mon Jul 8 19:48:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Stark X-Patchwork-Id: 13727008 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 DCC4EC3DA41 for ; Mon, 8 Jul 2024 19:49:13 +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=IoalWO5CwiNil7FYL/DMHEzj0S1zxI7MgZa/AXwCx+c=; b=4Pj/JyirlVxHlnrVpxjg66N9ML gq9pLvXelo+6+KwPdQ/BL1Zvi5Hu9XAxQiIhXQze5NwaKH7iOFvqclincdEW7g7VxNWN4L+lItUH7 kEe7E8it9QFkvHnNIr15dvQ3phdofKxdD4YALhbbUFyEbK11lyrk0I+QaKBZ8N1oifxbD8Wj0zzih CvXObsp3QH364dpchaU0sF1SODkhNMsl/zJlU7uVJ0w4uCAspf7TPQAwTueJy6Gh4FVAGSqiN2vGH kAntxQioZqLfjC2Z/+rMV0o7uWbEvpQNvNYv3o2h2kLHNq3NJhqc/AAdDizD4oDBkxmIzkFLIRiOs q9m5p1RQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQuMC-00000004sgS-2D7K; Mon, 08 Jul 2024 19:49:04 +0000 Received: from mx2.sberdevices.ru ([45.89.224.132] helo=mx1.sberdevices.ru) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQuLU-00000004sNW-2DEP; Mon, 08 Jul 2024 19:48:24 +0000 Received: from p-infra-ksmg-sc-msk02.sberdevices.ru (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 15264120009; Mon, 8 Jul 2024 22:48:17 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 15264120009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1720468097; bh=IoalWO5CwiNil7FYL/DMHEzj0S1zxI7MgZa/AXwCx+c=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=k/ZYvHijSyaxjVd6FjyDk2b9Q+nrSpnhEQfYB2s9SVf5L6/Ksy319BkAuL9yEIcbE cla0ec1AiC7uch8Tzv4gM5TlUbxJrD6eufVhFtQPwglv5Y2KoyN3WfLCVA+HuXl1up +9clovB1wnQ+d6W0PzAEE6V3XsGP4sSYwqioEFDCSVh7c6bxt3vBfCQ0mFD60WlBF5 /PpBbfvcceyvitt/5f+62j9OFxU7sHnqqPBUTI032xIbgAVocgC7heF+LouzYt50gH V+DYF85kYs+Y4GPZIpaMAbvIZ/4v92v+BNJxgwZ5NpbHUsf1vEo3JFxb3qQPzavC4/ ZnfRL0/uqUQ6A== 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; Mon, 8 Jul 2024 22:48:16 +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; Mon, 8 Jul 2024 22:48:16 +0300 From: George Stark To: , , , , , , , , , , , , , , , CC: , , , , , , , , George Stark Subject: [PATCH 4/4] arm64: dts: meson: a1: bind power domain to temperature sensor Date: Mon, 8 Jul 2024 22:48:08 +0300 Message-ID: <20240708194808.1819185-5-gnstark@salutedevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240708194808.1819185-1-gnstark@salutedevices.com> References: <20240708194808.1819185-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: 186376 [Jul 08 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: 23 0.3.23 8881c50ebb08f9085352475be251cf18bb0fcfdd, {Tracking_from_domain_doesnt_match_to}, 127.0.0.199:7.1.2;100.64.160.123:7.1.2;salutedevices.com:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;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/08 16:01:00 #25918429 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_124821_286457_41EB0DB3 X-CRM114-Status: GOOD ( 10.39 ) 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 {