From patchwork Thu Apr 4 12:38:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13617872 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 9C5D0CD129B for ; Thu, 4 Apr 2024 13:49:40 +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=yNmB8kCH/5NXFrNQCatFcyHoG+wTGjIcVJ3m0EjfbgY=; b=vrA2q0Mcj99QrV q4XUDbMv0ZmQKfwzoJ4vpTZZRoG8/4N/lyCCsiqzBbf5MhPk9n7UMaBWF9U0pccZNGL5c84i7d8gA KCUueRRnas6z1hvvG07yyr5FZyi78RLdyCO0yQQKQEbVpNJIxuqV6280IZkhVlt4RsnXBUdbUoXWq YScov03eNkHOVrHLPqu0td/78yUR3QV/2YmSJZTVPTRzIyjAsNYNMhodsCL+bzmQn0Sxjtafdl22U T5o9H86Plc8UwsDmGuFBwH4IzSZKOhhwbNf5O4RSGrxNvJirSa4t4Yy7V5PNmZ/1asUh0XI+4cgnQ yvW2Zd1omU0DNt0JeccA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsNTH-00000002sqU-0jt2; Thu, 04 Apr 2024 13:49:39 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsMNH-00000002fN8-04iP for linux-arm-kernel@bombadil.infradead.org; Thu, 04 Apr 2024 12:39:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=wNi/RmMCItKSeGuzQOZjN8mQeMLh033CCqWNwAoAHDI=; b=R68eVC3SjuLgzx+JpILj5qajI2 BvkKmlM5sMC9uzS7Bfciqyzh1tTl/1j1YzcXEKiyGwavdNQPGTrh9D1RKzYWhbjDLV5BLb+cPk+bl NjZN7y8fEU6ebuHWDVjf9DCrliAKHrLjSBe/uLerbuSxuNRJgnc0ysFQUqWpAifItfVkym3uKPI1v lGrb1H9x8Af1Q/8c5+eThE8uk1c2rGBpqo0d9rFryWqSpNh04+j6E6IAy51VCEQBEu28mGYsiUrty m6QKbRsbnEeOKUDQsFXto/VYx2V1ZBCZSsEmNyOGcGv3bMAHJuDFyPyv7r1duA+3R+8ZPeaSdQljT aro6Tx5g==; Received: from esa.microchip.iphmx.com ([68.232.153.233]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsMNC-000000052uw-4805 for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2024 12:39:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1712234358; x=1743770358; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WFAQW4FEBR+8bt+oLYnOmpcc/VJfD74WIkGOvY7XBjk=; b=Vz/j1oe6SmcTuEuLPfx7cRokIqOjyQ9AsEFy2fEyKXIEkTMZhQc/F2Qn /HqnijAuUBIrs87RSPg7nqznzO5NSlZqBdV7Lh6qV4eOsnagYvqhxr/13 dW2lHkD+hgNpftknEJbfZibbagXdgU5f6vZw8M2geLxojLr7GbD5wHnqe SWcEov3pS0gux4tQ8zQkZaAzH0zwad7FgVeN4GApxs35aQ7kD90tawB+V 4S/te3/8Y9wjEhKIXgFfEGqmvDAHVOijLbe3oj1pIjl2P7YGjdC6m7vdM BZt7B/i++uf0OdKRYVHy3hH9UvUKdS05B6XphjRQEIiSo8vGhdOvysO1e Q==; X-CSE-ConnectionGUID: uj5RG1T5T4qn7m5+TvSDNg== X-CSE-MsgGUID: K95RXrtMTGCTEsaeo8U6Nw== X-IronPort-AV: E=Sophos;i="6.07,179,1708412400"; d="scan'208";a="21393778" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 04 Apr 2024 05:39:13 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 4 Apr 2024 05:38:33 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 4 Apr 2024 05:38:31 -0700 From: Andrei Simion To: , , , , , , CC: , , , Andrei Simion Subject: [PATCH v2 1/2] ARM: dts: microchip: at91-sama7g5ek: Replace regulator-suspend-voltage with the valid property Date: Thu, 4 Apr 2024 15:38:23 +0300 Message-ID: <20240404123824.19182-2-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240404123824.19182-1-andrei.simion@microchip.com> References: <20240404123824.19182-1-andrei.simion@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240404_133919_531800_05209332 X-CRM114-Status: GOOD ( 11.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 By checking the pmic node with microchip,mcp16502.yaml# 'regulator-suspend-voltage' does not match any of the regexes 'pinctrl-[0-9]+' from schema microchip,mcp16502.yaml# which inherits regulator.yaml# So replace regulator-suspend-voltage with regulator-suspend-microvolt to avoid the inconsitency. Fixes: 85b1304b9daa ("ARM: dts: at91: sama7g5ek: set regulator voltages for standby state") Signed-off-by: Andrei Simion Acked-by: Nicolas Ferre --- v1 -> v2: - drop "boot" from title - put in commit message a snippet with the warning to explain the change --- arch/arm/boot/dts/microchip/at91-sama7g5ek.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts index 217e9b96c61e..20b2497657ae 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts @@ -293,7 +293,7 @@ vddcore: VDD_CORE { regulator-state-standby { regulator-on-in-suspend; - regulator-suspend-voltage = <1150000>; + regulator-suspend-microvolt = <1150000>; regulator-mode = <4>; }; @@ -314,7 +314,7 @@ vddcpu: VDD_OTHER { regulator-state-standby { regulator-on-in-suspend; - regulator-suspend-voltage = <1050000>; + regulator-suspend-microvolt = <1050000>; regulator-mode = <4>; }; @@ -331,7 +331,7 @@ vldo1: LDO1 { regulator-always-on; regulator-state-standby { - regulator-suspend-voltage = <1800000>; + regulator-suspend-microvolt = <1800000>; regulator-on-in-suspend; }; @@ -346,7 +346,7 @@ vldo2: LDO2 { regulator-max-microvolt = <3700000>; regulator-state-standby { - regulator-suspend-voltage = <1800000>; + regulator-suspend-microvolt = <1800000>; regulator-on-in-suspend; }; From patchwork Thu Apr 4 12:38:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13617803 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 1E23ACD1292 for ; Thu, 4 Apr 2024 12:40:14 +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=YuwzXprrls4OAB1D28wPLdOCTPy12vr6BYnRvAF+OyQ=; b=oCcZBjoYCkXEdt y/2ZC7cc8kU5h+sTNnaEpiofWJW9lTjHvEWMsRYgo9qMtB6p0Rk1kfuDn0TsfUbbwHEfqeNgRACgB +cE12pVuUgjM2akZ9JUgGTnLpdMutMRC7G43XfNdDgtaBOuy1bR0ur6oMKNCnKLdtoRGpeOmMEqyt PzbiCPJ8hkkFhdOpGeIIW9Kn3URLv7pUUc/CgHEh/4lrrIla85SXk3Z4g4kUyA24d7S1uhv36HeFH rNGqr0l2+Kp3cwHs7dIx5GKDpNNKiOq1L2+Q2x+nWzxAdqO5QI/vROyg3Laxzc5CKLO1mGezhYPnk fjEMKP9yu1j0YOY+gDmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsMNr-00000002fnJ-3fpY; Thu, 04 Apr 2024 12:39:59 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsMNp-00000002flc-3Viw for linux-arm-kernel@bombadil.infradead.org; Thu, 04 Apr 2024 12:39:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=tE3HryOLLQXe9QZmC6D9v/SadW+Gq+X9V8wTJc4Oxak=; b=R7PFVQTYnxEMbyoa0keRdR3lB0 BXiOb/YpcH9gF06qD5qkACduH7hdcxsOHD9SV6KrtcWDo3eolK5Ts9oxWMMJwQ+9Lrrg43ggKEUT9 Gvm0XYWffphtUazITP56c12boO3WaIT8s1dsAMrjdG4adPdBQ0JBlofyQS1gTgjq12JaA1fE2TMmB xo8bQHQT+6wTyW0GdNQkBpOlzaqex2fmPWqu3Chq5fIs6BZ2H7wDP7eDJLDBIf49mRQSKnt7YC/MH UqrKDLHMhzBB63IVHG4lOweTGzmU9R80NJCeBKkxzsUUi5rvjWwHkrvuWBdF8HdSlifhsOmLDZuBA es3SN+TA==; Received: from esa.microchip.iphmx.com ([68.232.154.123]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsMNm-000000082ZQ-17qR for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2024 12:39:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1712234394; x=1743770394; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=okufumpJnE51A3NhkMnpi9oPjXpx4OXlynMO97qzAak=; b=tJz8yK+dmbef1dKfP5PG4snAjnQT9VMP/pq0ofEi+xOL2ARBlSZABwnF eV7mB8rH0kcX/85YcCvw8nmZLzj66vt4oWFuJ7OwzbajHPxz8fhvmeUeZ mjZoHE0jWXwSm8pezD707gLI1GtoG3/WLoLNCxCn+MpgPY0pq80TRCpTT LdOkXpNfkJ7KBE9Vdr7cXRpdTTW6lf+VGGKIGg+P2d11GYVTrjze1Kj/u hRQWraQP9rJAIOkTCcnQyhA4GTLgcHdF7Zb1zTQN/kRvKSpH8oWDtJCq2 GtBf7YQWh/oJgfFwY4R+Va89egMbCMGctxQnUrb5BE3T12uktJ68T4mCK Q==; X-CSE-ConnectionGUID: XiJHr4MDTzOJ0Z5CIVEelw== X-CSE-MsgGUID: YRbT/4BIRq2+VdNKqi5y2A== X-IronPort-AV: E=Sophos;i="6.07,179,1708412400"; d="scan'208";a="19998678" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 04 Apr 2024 05:39:48 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 4 Apr 2024 05:38:36 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 4 Apr 2024 05:38:34 -0700 From: Andrei Simion To: , , , , , , CC: , , , Andrei Simion Subject: [PATCH v2 2/2] ARM: dts: microchip: at91-sama7g54_curiosity: Replace regulator-suspend-voltage with the valid property Date: Thu, 4 Apr 2024 15:38:24 +0300 Message-ID: <20240404123824.19182-3-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240404123824.19182-1-andrei.simion@microchip.com> References: <20240404123824.19182-1-andrei.simion@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240404_133954_649050_61774D3A X-CRM114-Status: UNSURE ( 9.36 ) 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 By checking the pmic node with microchip,mcp16502.yaml# 'regulator-suspend-voltage' does not match any of the regexes 'pinctrl-[0-9]+' from schema microchip,mcp16502.yaml# which inherits regulator.yaml#. So replace regulator-suspend-voltage with regulator-suspend-microvolt to avoid the inconsitency. Fixes: ebd6591f8ddb ("ARM: dts: microchip: sama7g54_curiosity: Add initial device tree of the board") Signed-off-by: Andrei Simion Acked-by: Nicolas Ferre --- v1 -> v2: - drop "boot" from title - put in commit message a snippet with the warning to explain the change --- arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts index 4f609e9e510e..009d2c832421 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts @@ -242,7 +242,7 @@ vddcore: VDD_CORE { regulator-state-standby { regulator-on-in-suspend; - regulator-suspend-voltage = <1150000>; + regulator-suspend-microvolt = <1150000>; regulator-mode = <4>; }; @@ -263,7 +263,7 @@ vddcpu: VDD_OTHER { regulator-state-standby { regulator-on-in-suspend; - regulator-suspend-voltage = <1050000>; + regulator-suspend-microvolt = <1050000>; regulator-mode = <4>; }; @@ -280,7 +280,7 @@ vldo1: LDO1 { regulator-always-on; regulator-state-standby { - regulator-suspend-voltage = <1800000>; + regulator-suspend-microvolt = <1800000>; regulator-on-in-suspend; }; @@ -296,7 +296,7 @@ vldo2: LDO2 { regulator-always-on; regulator-state-standby { - regulator-suspend-voltage = <3300000>; + regulator-suspend-microvolt = <3300000>; regulator-on-in-suspend; };