From nobody Thu Nov 28 08:32:18 2024 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE4A61CF5FD; Wed, 2 Oct 2024 12:31:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727872284; cv=none; b=a5LJsnlYgPS5JlSwXFPeutia1yYtRpd0+99G9Xf7/7jhPLGbAiv/bHEgiFgzmPM6gy+e0JNHbJe/r4sJ5FT2uH+ukY0kYAC1W9KOhzJO5S+UXiAFX4KUcJ5lU+bVy4J1MSBofKpuyp9zKfAf7nCIEiVjPTMcnKsNwLLYck24zW8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727872284; c=relaxed/simple; bh=WO/smrGD3ebukNODU46ka2YZTqKp5vMEaPeLMx5s4eM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Br8NyZ6yEnSIrJX6EbKPIna4pNUMDFuqsDFDlm7hIxTAxgdD7Q+I6nj+hPpNWW1bDPeBJggn/K3RUipQiJ5m58NABkxqP5FHBToLvOST0A0zRoDawrILs7aTrPOEVpZX3NpZDLy9IiEEbO/1mXSBbLq0Mmu28+aLIEXF+PdtjWA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=YJq2yA0a; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="YJq2yA0a" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727872282; x=1759408282; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WO/smrGD3ebukNODU46ka2YZTqKp5vMEaPeLMx5s4eM=; b=YJq2yA0adWcApgxeykNlFVcfbRbQs7AjbSs5zMy5T9KBDo5Zm24lZnsl mCCFkYof0DYJW6LxZunKJ+rrIpmpugFmHykzEaeXiz/0nA2vXUy8BmW8x 7t2pwFcSA1YZfmZgWxBlCZPr7WXa6g/SMJIaQV5B30ZP73Fg/l04Mdu15 tQIVY4UYzBz76MgLhFrOpkiCH+SOuMwVNUN0mScPDuo6xeN6jZLct5+DG 5lI71Y6CqoATbGqNxFl+cGeOCKFOU6wzc2WEBGkgze0De3a0ERVIveVjm GlyucBsywaUKgJU5GTnjAQCDLxbvFiYECY8CWvGJpsdA4oojqCBv/jr9B Q==; X-CSE-ConnectionGUID: gsXlODJpTSiMie2QZcRNiA== X-CSE-MsgGUID: GPr5NJK3SbGQKzA578Xe0w== X-IronPort-AV: E=Sophos;i="6.11,171,1725346800"; d="scan'208";a="33109839" 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; 02 Oct 2024 05:31:18 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 2 Oct 2024 05:31:00 -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; Wed, 2 Oct 2024 05:30:58 -0700 From: Andrei Simion To: , , , , , CC: , , , Andrei Simion Subject: [PATCH v3 1/3] ARM: dts: microchip: Rename the eeprom nodename Date: Wed, 2 Oct 2024 15:30:09 +0300 Message-ID: <20241002123010.111028-2-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241002123010.111028-1-andrei.simion@microchip.com> References: <20241002123010.111028-1-andrei.simion@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Align the eeprom nodename according to devicetree specification and at24.yaml Signed-off-by: Andrei Simion --- v2 -> v3: - no change v1 -> v2: - adjust commit message length --- arch/arm/boot/dts/microchip/at91-sama5d27_som1.dtsi | 2 +- arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts | 2 +- arch/arm/boot/dts/microchip/at91sam9260ek.dts | 2 +- arch/arm/boot/dts/microchip/at91sam9263ek.dts | 2 +- arch/arm/boot/dts/microchip/at91sam9g20ek_common.dtsi | 2 +- arch/arm/boot/dts/microchip/sama5d34ek.dts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_som1.dtsi b/arch/arm= /boot/dts/microchip/at91-sama5d27_som1.dtsi index 95ecb7d040a8..8ac85dac5a96 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_som1.dtsi +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_som1.dtsi @@ -106,7 +106,7 @@ i2c0: i2c@f8028000 { scl-gpios =3D <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status =3D "okay"; =20 - at24@50 { + eeprom@50 { compatible =3D "atmel,24c02"; reg =3D <0x50>; pagesize =3D <8>; diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts b/arch/arm= /boot/dts/microchip/at91-sama5d2_ptc_ek.dts index 200b20515ab1..e4ae60ef5f8a 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts @@ -231,7 +231,7 @@ i2c1: i2c@fc028000 { scl-gpios =3D <&pioA PIN_PC7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status =3D "okay"; =20 - at24@50 { + eeprom@50 { compatible =3D "atmel,24c02"; reg =3D <0x50>; pagesize =3D <8>; diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts b/arch/a= rm/boot/dts/microchip/at91-sama5d2_xplained.dts index 6680031387e8..4bab3f25b855 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts @@ -411,7 +411,7 @@ i2c1: i2c@fc028000 { scl-gpios =3D <&pioA PIN_PD5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status =3D "okay"; =20 - at24@54 { + eeprom@54 { compatible =3D "atmel,24c02"; reg =3D <0x54>; pagesize =3D <16>; diff --git a/arch/arm/boot/dts/microchip/at91sam9260ek.dts b/arch/arm/boot/= dts/microchip/at91sam9260ek.dts index 720c15472c4a..6bd60dce8378 100644 --- a/arch/arm/boot/dts/microchip/at91sam9260ek.dts +++ b/arch/arm/boot/dts/microchip/at91sam9260ek.dts @@ -165,7 +165,7 @@ button-4 { i2c-gpio-0 { status =3D "okay"; =20 - 24c512@50 { + eeprom@50 { compatible =3D "atmel,24c512"; reg =3D <0x50>; }; diff --git a/arch/arm/boot/dts/microchip/at91sam9263ek.dts b/arch/arm/boot/= dts/microchip/at91sam9263ek.dts index ce8baff6a9f4..bad7dbecba3c 100644 --- a/arch/arm/boot/dts/microchip/at91sam9263ek.dts +++ b/arch/arm/boot/dts/microchip/at91sam9263ek.dts @@ -253,7 +253,7 @@ button-right-click { i2c-gpio-0 { status =3D "okay"; =20 - 24c512@50 { + eeprom@50 { compatible =3D "atmel,24c512"; reg =3D <0x50>; pagesize =3D <128>; diff --git a/arch/arm/boot/dts/microchip/at91sam9g20ek_common.dtsi b/arch/a= rm/boot/dts/microchip/at91sam9g20ek_common.dtsi index 565b99e79c52..4e7cfbbd4241 100644 --- a/arch/arm/boot/dts/microchip/at91sam9g20ek_common.dtsi +++ b/arch/arm/boot/dts/microchip/at91sam9g20ek_common.dtsi @@ -220,7 +220,7 @@ usb0: ohci@500000 { i2c-gpio-0 { status =3D "okay"; =20 - 24c512@50 { + eeprom@50 { compatible =3D "atmel,24c512"; reg =3D <0x50>; vcc-supply =3D <®_3v3>; diff --git a/arch/arm/boot/dts/microchip/sama5d34ek.dts b/arch/arm/boot/dts= /microchip/sama5d34ek.dts index bffd61397cb5..18943b873fff 100644 --- a/arch/arm/boot/dts/microchip/sama5d34ek.dts +++ b/arch/arm/boot/dts/microchip/sama5d34ek.dts @@ -36,7 +36,7 @@ i2c0: i2c@f0014000 { i2c1: i2c@f0018000 { status =3D "okay"; =20 - 24c256@50 { + eeprom@50 { compatible =3D "atmel,24c256"; reg =3D <0x50>; pagesize =3D <64>; --=20 2.34.1 From nobody Thu Nov 28 08:32:18 2024 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F86A1CFEAD; Wed, 2 Oct 2024 12:31:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727872285; cv=none; b=VrGI5ql4n2VRApOHfFK0qwTiD24WsEuL73Ww0UX727UwsoXyVAjrBPYZkuO3LzImggybCkTlkkE4MJIcO0RIMDOpAMGptIqgG+Cf/z6cDwkcs93bxORu5zpAKswjRrSJoauAY4pz/0kJd+DmCv0kaxzVIlyLzDaigfJsOzISda4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727872285; c=relaxed/simple; bh=t3xbVTB8hOmMcXYfqn1i/NT/cEx1oPiyHA9GkHRQSdk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QKVgwueNtSf8ZcZq5iBkTj7LmF0qB5seS48cb3Q3P5tM0p/R7zUPrLNXafIM4KRleh4CyrQJSt6WUy2VSAie+kZILhujFp5rUWGUngkGOngJJouddUX/B/mfRqF2m3T6FAn9rtum7Ol13uRDDSAORdevXA7lgTAa7ijZJo+hDeQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=X5xjXmlm; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="X5xjXmlm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727872283; x=1759408283; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=t3xbVTB8hOmMcXYfqn1i/NT/cEx1oPiyHA9GkHRQSdk=; b=X5xjXmlmKzknYmah9LdvlVO8yOZp7MlcXI9XkvjM+yEIyI0gOMC9S+RL 8b9Qlnh/lsuIm4fzkXLKDK9EqI8oWoPQih8iYKZ/Us3Akce/sAWu1G3z2 atThU6AmWuDzy0UH59xtysygCiuLCN4MxdFoD7lN/Rid8bNowExoZCs+L xVygfK4qhGsguHThaZ6LGYKgp3u3lhzhH9dlacfZK7AK1F6toIFd0Ma3G W4Gn7PHRFvMcAHf7pp77DR01MRGKtooEIK27/IA9Yb6jLGdkUYfN15i6H xy54MSgtm/XlmkOZYYyw0hVPDNd+2MoY4B4SiOr1rmFDdLZnwqF9mdSKF w==; X-CSE-ConnectionGUID: gsXlODJpTSiMie2QZcRNiA== X-CSE-MsgGUID: qBkR5YYxTFyxNg5sSoVRKg== X-IronPort-AV: E=Sophos;i="6.11,171,1725346800"; d="scan'208";a="33109841" 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; 02 Oct 2024 05:31:18 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 2 Oct 2024 05:31:02 -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; Wed, 2 Oct 2024 05:31:00 -0700 From: Andrei Simion To: , , , , , CC: , , , Andrei Simion Subject: [PATCH v3 2/3] ARM: dts: microchip: Rename the pmic node Date: Wed, 2 Oct 2024 15:30:10 +0300 Message-ID: <20241002123010.111028-3-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241002123010.111028-1-andrei.simion@microchip.com> References: <20241002123010.111028-1-andrei.simion@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Rename the pmic node according to the devicetree specification. Signed-off-by: Andrei Simion --- v2 -> v3: - no change v1 -> v2: - act8865 to pmic nodename - label pmic to act8865 for pmic - rewrap commit message --- arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi | 2 +- arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi | 2 +- arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama7g5ek.dts | 2 +- arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi b/arch/ar= m/boot/dts/microchip/at91-kizbox2-common.dtsi index e5e21dff882f..a44d92305dbb 100644 --- a/arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi +++ b/arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi @@ -85,7 +85,7 @@ led-3 { &i2c1 { status =3D "okay"; =20 - pmic: act8865@5b { + act8865: pmic@5b { compatible =3D "active-semi,act8865"; reg =3D <0x5b>; status =3D "okay"; diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi b/arch/a= rm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi index c173f49cb910..ef11606a82b3 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi @@ -75,7 +75,7 @@ &i2c1 { scl-gpios =3D <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status =3D "okay"; =20 - mcp16502@5b { + pmic@5b { compatible =3D "microchip,mcp16502"; reg =3D <0x5b>; lvin-supply =3D <®_5v>; diff --git a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts b/arch= /arm/boot/dts/microchip/at91-sama5d29_curiosity.dts index 951a0c97d3c6..b6684bf67d3e 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts @@ -149,7 +149,7 @@ &i2c0 { i2c-sda-hold-time-ns =3D <350>; status =3D "okay"; =20 - mcp16502@5b { + pmic@5b { compatible =3D "microchip,mcp16502"; reg =3D <0x5b>; lvin-supply =3D <®_5v>; diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts b/arch/arm/bo= ot/dts/microchip/at91-sama5d2_icp.dts index 5e2bb517a480..9edf91c187c0 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts @@ -195,7 +195,7 @@ i2c6: i2c@600 { i2c-digital-filter-width-ns =3D <35>; status =3D "okay"; =20 - mcp16502@5b { + pmic@5b { compatible =3D "microchip,mcp16502"; reg =3D <0x5b>; lvin-supply =3D <®_5v>; diff --git a/arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts b/arch/a= rm/boot/dts/microchip/at91-sama5d3_xplained.dts index 820033727088..5662992cf213 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts @@ -87,7 +87,7 @@ i2c0: i2c@f0014000 { i2c1: i2c@f0018000 { status =3D "okay"; =20 - pmic: act8865@5b { + act8865: pmic@5b { compatible =3D "active-semi,act8865"; reg =3D <0x5b>; status =3D "disabled"; diff --git a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts b/arch/arm/boot= /dts/microchip/at91-sama7g5ek.dts index ed75d491a246..f7bcc96bcd19 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts @@ -244,7 +244,7 @@ i2c1: i2c@600 { i2c-digital-filter-width-ns =3D <35>; status =3D "okay"; =20 - mcp16502@5b { + pmic@5b { compatible =3D "microchip,mcp16502"; reg =3D <0x5b>; lvin-supply =3D <®_5v>; diff --git a/arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi b/arch/arm/boo= t/dts/microchip/sama5d3xcm_cmp.dtsi index 830a0954ba1b..362806afef44 100644 --- a/arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi +++ b/arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi @@ -79,7 +79,7 @@ ethernet-phy@7 { }; =20 i2c1: i2c@f0018000 { - pmic: act8865@5b { + act8865: pmic@5b { compatible =3D "active-semi,act8865"; reg =3D <0x5b>; status =3D "disabled"; --=20 2.34.1 From nobody Thu Nov 28 08:32:18 2024 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7FEE1CF7B4; Wed, 2 Oct 2024 12:32:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727872342; cv=none; b=oF9oPHGUz6rx54MC2oM/Ppl0ryj7lE4aYGLN+2BGw/9gxO9FZ1oCJZpJ6c9dBWLQyhq4ugxBJ1Qp2M274EYOqfrT73M7w2axA7CKXMox09ruvw3zasrf+A+ZljQZ9WRh3YbnpqcWNqwY0wj7BLrNGghfqSJVEP6z47se8wK2Uio= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727872342; c=relaxed/simple; bh=1KPMHR+qoSXWDATf97dUZSsEqXPn2O3scWgcw60WuUU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZKQsZo+iddItotSWDZo+vg3CMidVkDignLR2tJiwQa7tiOx31x6YWiMZmNgy7AQWYIWhfv173W3CNZXHMofaC0kNG2q+khIUrcMevB6yjBnTlZlLiK8BvCIy9LgiUvkaMODBY0UJEDNcyQn3Q7aQyP+khNPDJxjCQJTY+Vcv9VI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=Ra/btmZf; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Ra/btmZf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727872341; x=1759408341; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1KPMHR+qoSXWDATf97dUZSsEqXPn2O3scWgcw60WuUU=; b=Ra/btmZf/3YMY5RJhHj1Led5VrGnyJSLY4HDVEI7ubiGPnL/PnZyIV2R CFu4Mf5a39UkQKIaFKRbzObCtH4ZocZoQIzujK2jP8mDF7nVFeNx1+rF2 JxCOf5+cNpzw6dboeyRZvKRqVwZymCGwdWD8QHgtiUXdSYfOI1mfTsl4c ZYWFbBhNHetTGUpfVm5IOD5rIro0C5gWJ+WDy0FhoMlGaG+cpo9+GEBsu WOqhYv/OoU0jLLDv0yWFJOihtfBGqZOHJlysr57qCzs4cVDBB4k4XrJBV fmGX1K2zvNoqgsX0V9CKJ64Mn88KqwYZ8iMQdckXGI2xRzGclwp4JzFPd g==; X-CSE-ConnectionGUID: bC3PJkpdQaubmgASvokKyw== X-CSE-MsgGUID: vUrSO4urT4iKNZ4kxGhwhA== X-IronPort-AV: E=Sophos;i="6.11,171,1725346800"; d="scan'208";a="32506432" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Oct 2024 05:32:20 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 2 Oct 2024 05:31:05 -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; Wed, 2 Oct 2024 05:31:03 -0700 From: Andrei Simion To: , , , , , CC: , , , Andrei Simion , Krzysztof Kozlowski Subject: [PATCH v3 3/3] ARM: dts: microchip: Rename LED sub nodes name Date: Wed, 2 Oct 2024 15:30:11 +0300 Message-ID: <20241002123010.111028-4-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241002123010.111028-1-andrei.simion@microchip.com> References: <20241002123010.111028-1-andrei.simion@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" dtbs_check warnings: leds: 'd[0-9]', 'ds[0-9]' do not match any of the regexes : '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' leds: 'red', 'green', 'blue' do not match any of regexes : '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Rename the led sub nodes according to devicetree specification and leds-gpio.yaml and for aks-cdu add label property and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths. Acked-by: Krzysztof Kozlowski Signed-off-by: Andrei Simion --- v2 -> v3: - squash ARM: dts: microchip: aks-cdu: Add label for LED sub nodes - update commit message v1 -> v2: - add acked-by - use pattern led- when rename sub nodes - rewrap commit message --- arch/arm/boot/dts/microchip/aks-cdu.dts | 12 ++++++++---- arch/arm/boot/dts/microchip/animeo_ip.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91rm9200ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91sam9260ek.dts | 4 ++-- arch/arm/boot/dts/microchip/at91sam9261ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91sam9263ek.dts | 4 ++-- arch/arm/boot/dts/microchip/at91sam9g20ek.dts | 4 ++-- 8 files changed, 27 insertions(+), 23 deletions(-) diff --git a/arch/arm/boot/dts/microchip/aks-cdu.dts b/arch/arm/boot/dts/mi= crochip/aks-cdu.dts index 742fcf525e1b..b65f80e1ef05 100644 --- a/arch/arm/boot/dts/microchip/aks-cdu.dts +++ b/arch/arm/boot/dts/microchip/aks-cdu.dts @@ -98,23 +98,27 @@ rootfs@500000 { leds { compatible =3D "gpio-leds"; =20 - red { + led-red { + label =3D "red"; gpios =3D <&pioC 10 GPIO_ACTIVE_HIGH>; linux,default-trigger =3D "none"; }; =20 - green { + led-green { + label =3D "green"; gpios =3D <&pioA 5 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; default-state =3D "on"; }; =20 - yellow { + led-yellow { + label =3D "yellow"; gpios =3D <&pioB 20 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; }; =20 - blue { + led-blue { + label =3D "blue"; gpios =3D <&pioB 21 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; }; diff --git a/arch/arm/boot/dts/microchip/animeo_ip.dts b/arch/arm/boot/dts/= microchip/animeo_ip.dts index 29936bfbeeb7..7f527622d3f2 100644 --- a/arch/arm/boot/dts/microchip/animeo_ip.dts +++ b/arch/arm/boot/dts/microchip/animeo_ip.dts @@ -146,23 +146,23 @@ usb0: ohci@500000 { leds { compatible =3D "gpio-leds"; =20 - power_green { + led-power-green { label =3D "power_green"; gpios =3D <&pioC 17 GPIO_ACTIVE_HIGH>; linux,default-trigger =3D "heartbeat"; }; =20 - power_red { + led-power-red { label =3D "power_red"; gpios =3D <&pioA 2 GPIO_ACTIVE_HIGH>; }; =20 - tx_green { + led-tx-green { label =3D "tx_green"; gpios =3D <&pioC 19 GPIO_ACTIVE_HIGH>; }; =20 - tx_red { + led-tx-red { label =3D "tx_red"; gpios =3D <&pioC 18 GPIO_ACTIVE_HIGH>; }; diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts b/arch/arm/boot= /dts/microchip/at91-sam9x60ek.dts index 3b38707d736e..c416cbe99580 100644 --- a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts @@ -53,17 +53,17 @@ leds { pinctrl-0 =3D <&pinctrl_gpio_leds>; status =3D "okay"; /* Conflict with pwm0. */ =20 - red { + led-red { label =3D "red"; gpios =3D <&pioB 11 GPIO_ACTIVE_HIGH>; }; =20 - green { + led-green { label =3D "green"; gpios =3D <&pioB 12 GPIO_ACTIVE_HIGH>; }; =20 - blue { + led-blue { label =3D "blue"; gpios =3D <&pioB 13 GPIO_ACTIVE_HIGH>; linux,default-trigger =3D "heartbeat"; diff --git a/arch/arm/boot/dts/microchip/at91rm9200ek.dts b/arch/arm/boot/d= ts/microchip/at91rm9200ek.dts index 4624a6f076f8..0bf472b157a5 100644 --- a/arch/arm/boot/dts/microchip/at91rm9200ek.dts +++ b/arch/arm/boot/dts/microchip/at91rm9200ek.dts @@ -127,19 +127,19 @@ root@350000 { leds { compatible =3D "gpio-leds"; =20 - ds2 { + led-ds2 { label =3D "green"; gpios =3D <&pioB 0 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "mmc0"; }; =20 - ds4 { + led-ds4 { label =3D "yellow"; gpios =3D <&pioB 1 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "heartbeat"; }; =20 - ds6 { + led-ds6 { label =3D "red"; gpios =3D <&pioB 2 GPIO_ACTIVE_LOW>; }; diff --git a/arch/arm/boot/dts/microchip/at91sam9260ek.dts b/arch/arm/boot/= dts/microchip/at91sam9260ek.dts index 6bd60dce8378..e8e65e60564d 100644 --- a/arch/arm/boot/dts/microchip/at91sam9260ek.dts +++ b/arch/arm/boot/dts/microchip/at91sam9260ek.dts @@ -174,13 +174,13 @@ eeprom@50 { leds { compatible =3D "gpio-leds"; =20 - ds1 { + led-ds1 { label =3D "ds1"; gpios =3D <&pioA 9 GPIO_ACTIVE_HIGH>; linux,default-trigger =3D "heartbeat"; }; =20 - ds5 { + led-ds5 { label =3D "ds5"; gpios =3D <&pioA 6 GPIO_ACTIVE_LOW>; }; diff --git a/arch/arm/boot/dts/microchip/at91sam9261ek.dts b/arch/arm/boot/= dts/microchip/at91sam9261ek.dts index 045cb253f23a..a8f523131cd6 100644 --- a/arch/arm/boot/dts/microchip/at91sam9261ek.dts +++ b/arch/arm/boot/dts/microchip/at91sam9261ek.dts @@ -192,19 +192,19 @@ watchdog@fffffd40 { leds { compatible =3D "gpio-leds"; =20 - ds8 { + led-ds8 { label =3D "ds8"; gpios =3D <&pioA 13 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; }; =20 - ds7 { + led-ds7 { label =3D "ds7"; gpios =3D <&pioA 14 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "nand-disk"; }; =20 - ds1 { + led-ds1 { label =3D "ds1"; gpios =3D <&pioA 23 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "heartbeat"; diff --git a/arch/arm/boot/dts/microchip/at91sam9263ek.dts b/arch/arm/boot/= dts/microchip/at91sam9263ek.dts index bad7dbecba3c..f25692543d71 100644 --- a/arch/arm/boot/dts/microchip/at91sam9263ek.dts +++ b/arch/arm/boot/dts/microchip/at91sam9263ek.dts @@ -219,13 +219,13 @@ &pioA 21 GPIO_ACTIVE_HIGH leds { compatible =3D "gpio-leds"; =20 - d3 { + led-d3 { label =3D "d3"; gpios =3D <&pioB 7 GPIO_ACTIVE_HIGH>; linux,default-trigger =3D "heartbeat"; }; =20 - d2 { + led-d2 { label =3D "d2"; gpios =3D <&pioC 29 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "nand-disk"; diff --git a/arch/arm/boot/dts/microchip/at91sam9g20ek.dts b/arch/arm/boot/= dts/microchip/at91sam9g20ek.dts index 6de7a7cd3c07..1e62fd371ddb 100644 --- a/arch/arm/boot/dts/microchip/at91sam9g20ek.dts +++ b/arch/arm/boot/dts/microchip/at91sam9g20ek.dts @@ -14,13 +14,13 @@ / { leds { compatible =3D "gpio-leds"; =20 - ds1 { + led-ds1 { label =3D "ds1"; gpios =3D <&pioA 9 GPIO_ACTIVE_HIGH>; linux,default-trigger =3D "heartbeat"; }; =20 - ds5 { + led-ds5 { label =3D "ds5"; gpios =3D <&pioA 6 GPIO_ACTIVE_LOW>; }; --=20 2.34.1