From nobody Thu Nov 28 11:35:00 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 7744D199FA2; Tue, 1 Oct 2024 15:26:59 +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=1727796421; cv=none; b=lDQpdMfKtFwkEBzxrkVGKjdVUzHwfbnS04TuzcX/xGnWABXGcEUCk49hZpu4o444+r9VPow0T8hTcZp3egI2sC2c2jA3cQXDsSUKnSM1tqzPiMSrP2EPOvvr/RcO7lRr9HHi1CGKVu1dQVbpjdb2PWq6SZaZwjDflSu466jh+vs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727796421; c=relaxed/simple; bh=1CS7IXXxhzCsaOS2yUbRx7snP+l4ECpOpnDYr7z3/x0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=E7jHmG4MGSDoI7f+B4hO5VEXFrwi1V+c97ZvB+xwsmav8GRjiW3A6LsC7AXdqNAtuEVHwBCmAF38TEhm6pcMW8QlSEgUIj4mdeJ887sQ70Qv8bFV0bAEH9GMN7K7uZN7vOfN3T6keDqQHXhfPI8c7EDK+w6Y3F3CMp7kE422ovU= 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=vQxGIm96; 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="vQxGIm96" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727796419; x=1759332419; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1CS7IXXxhzCsaOS2yUbRx7snP+l4ECpOpnDYr7z3/x0=; b=vQxGIm96AuK4i2jpmocNHC0Ib8nssCOifkOC5iQXNjLwKPjRGQPPTFga dP2qQd65JKAyoUjp+hpq1JrxPARxCxFyjKNhqrMDDUxrnF9rZ8lZ+8+Pt OQhlx9+YGwaHD7fLzX1J2IJj9klqRs2ey1E4ob+XssmEotoG5HJ/JM1Jw o/Mwk16YdjgGaLkG2pumYyc307sN/QhU/WDbGcKMIim+8bSekqqf7wVEU qeRb2mJGeXsoK2D7hp9raWxWstLgXT10QoCbS2Vdfg6SdJlfC6ZFJUvM/ wR35BmQqAy1hfiLwxOLdSuccmR28ZtYz25uPHd2PUUcNvDTy8GGY/n665 g==; X-CSE-ConnectionGUID: C4iJhjyxTv2OpDXExwgrvQ== X-CSE-MsgGUID: JxhGita2T7CwsJ2FUh7IEA== X-IronPort-AV: E=Sophos;i="6.11,167,1725346800"; d="scan'208";a="35727105" 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; 01 Oct 2024 08:26:58 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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; Tue, 1 Oct 2024 08:26:38 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 1 Oct 2024 08:26:34 -0700 From: Andrei Simion To: , , , , , CC: , , , Andrei Simion Subject: [PATCH v2 1/4] ARM: dts: microchip: Rename the eeprom nodename Date: Tue, 1 Oct 2024 18:25:38 +0300 Message-ID: <20241001152541.91945-2-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241001152541.91945-1-andrei.simion@microchip.com> References: <20241001152541.91945-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 --- 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 11:35:00 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 4832E1C9EA3; Tue, 1 Oct 2024 15:27:01 +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=1727796422; cv=none; b=rD+16Ta2N8dEwEaB9Z1OBL6r/XpP5LcR4TymWJbqKE84vvSjhx7KLoZTMm+haKUwxz5Ui6NdeEbcTEXK3YPYLOUR4wihU1ingwY3IVrV/aL+/kqX/9ZWbsYrupEJF4UGbmoje6RUfl9mnmDNfPciB2ZsHPSa6YGFwPENCofFQFE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727796422; c=relaxed/simple; bh=SL4U8XMdyDnpU8gfWa0S+99lw78Ji/G7+KppA7QWofY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jDK88bATFQhEm2yS311lIrtgcXKxzq1lW+hhqUTS++P+7cLA81an2T3MddCuskP/VWF7UFHCFCBAHjz2/AY7cQRwStMpZ9BsGCkWWHYpY1ru1JEK3/cGOcUjY7iZcFCeNfybf/Mc81LdZCs93WMcfYz4L2UR0fH6Vry/x/uPAaU= 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=Orrxk9oU; 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="Orrxk9oU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727796421; x=1759332421; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SL4U8XMdyDnpU8gfWa0S+99lw78Ji/G7+KppA7QWofY=; b=Orrxk9oUn7ve82Uw+npk5sFrI9lcioFEata7kw8hQgcu0VPHeyGALcf4 Kd9Wub/YU+EDzkXMQrIZgqS9F21Rk3ylVMjoSO+ru56cAatLxNloRQFci CuA8V2Pa1M5KY8AFkXJWOeh6zHIqGrz3jEg6uh/JS0+1N8pCKj316whkN VVCsiuj8Ko+KmUJPao4OuQSYqqK9z6hd9M5qAuFu87bewL0pzRlxmePRY JF9L4OGIwEzvZp1FDP91yTubf2O56+XAnFOqLnvFJ3ppD/jw9oeFB1tuk RduUR/YTSo45+C/+xMas3Mzv4s1ib1dz/2XRppXoRTli0YT6Gqy3CeIhf A==; X-CSE-ConnectionGUID: C4iJhjyxTv2OpDXExwgrvQ== X-CSE-MsgGUID: IKlAB4FXQ9OYzRqppf5JAg== X-IronPort-AV: E=Sophos;i="6.11,167,1725346800"; d="scan'208";a="35727107" 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; 01 Oct 2024 08:26:59 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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; Tue, 1 Oct 2024 08:26:41 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 1 Oct 2024 08:26:38 -0700 From: Andrei Simion To: , , , , , CC: , , , Andrei Simion Subject: [PATCH v2 2/4] ARM: dts: microchip: Rename the pmic node Date: Tue, 1 Oct 2024 18:25:39 +0300 Message-ID: <20241001152541.91945-3-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241001152541.91945-1-andrei.simion@microchip.com> References: <20241001152541.91945-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 --- 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 11:35:00 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 CB5821C9ECC; Tue, 1 Oct 2024 15:27:01 +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=1727796423; cv=none; b=RNY73G6PeppSopnh9hw+YAdg+v1cYjRBbvV77rlGN0mEtoLx6f3/FCSWm6RT+yZVYmmJyfCT7VpXCkEz+pvSJTbeyCsF02hRJavOnIVZlQg7J8D+ua/9YFMZKVzF4IMPHz9bwkrLeO3jEDqtj+UX0XjLbCeSk1QdJ4fNZagrT14= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727796423; c=relaxed/simple; bh=trRBFATpR648P3udrT6WnKHGd1pf7C9JdpR92dcdcfU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=n1iA4Yrx1GkTwlk1kDKa46Hnk16fbjQ1y+Ftm6SalSz9xVsErHNyIen+Ie/9357MNeTNbrpmcC+rIz0xIN0RW1WR6PneOUeU2TLx32i3dKYsrvlMmjVITDL8q3xzq0+N2yv0NOMN2gcACzRMStWbqm3rFkvSTfOgAh2Us/HhiO0= 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=Iobx3EGf; 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="Iobx3EGf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727796421; x=1759332421; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=trRBFATpR648P3udrT6WnKHGd1pf7C9JdpR92dcdcfU=; b=Iobx3EGftFw6aMuijubhHCPdV00VVZOXWszUptYj/SZsNKaUPJcCldcZ Xkna5qzaffzgL25cBfC39VE7yhmoyN9Lh4VQaDQirOcjKpmHMMlxbwEUB Q1kURg5kJk3HVou7h4uMDvTR3hYYZa+54WZ4Z4SujObIG0yie9hR/jQjd BO619Pv3TdPSKHlinycz9qyv3+Hi4ImT8t5qaKxnk2UJJhdw9mdOoQg7U xdH1gI50gzxsD2y8E76bEImF/WgWRnxsk5BARv7UgCURdBpzDiBRTl3lb ZOO39XN/53+ll4W7UifdhrPx3BR9ANRYxD5gx8BN+6mQN/wSYAR+LIFPX A==; X-CSE-ConnectionGUID: C4iJhjyxTv2OpDXExwgrvQ== X-CSE-MsgGUID: V/7H1qO2T8uKp3h4HKrElA== X-IronPort-AV: E=Sophos;i="6.11,167,1725346800"; d="scan'208";a="35727109" 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; 01 Oct 2024 08:26:59 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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; Tue, 1 Oct 2024 08:26:46 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 1 Oct 2024 08:26:42 -0700 From: Andrei Simion To: , , , , , CC: , , , Andrei Simion , Krzysztof Kozlowski Subject: [PATCH v2 3/4] ARM: dts: microchip: Rename LED sub nodes name Date: Tue, 1 Oct 2024 18:25:40 +0300 Message-ID: <20241001152541.91945-4-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241001152541.91945-1-andrei.simion@microchip.com> References: <20241001152541.91945-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 Acked-by: Krzysztof Kozlowski Signed-off-by: Andrei Simion --- v1 -> v2: - add acked-by - use pattern led- when rename sub nodes - rewrap commit message --- arch/arm/boot/dts/microchip/aks-cdu.dts | 8 ++++---- 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, 23 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..0c3373ad1723 100644 --- a/arch/arm/boot/dts/microchip/aks-cdu.dts +++ b/arch/arm/boot/dts/microchip/aks-cdu.dts @@ -98,23 +98,23 @@ rootfs@500000 { leds { compatible =3D "gpio-leds"; =20 - red { + led-red { gpios =3D <&pioC 10 GPIO_ACTIVE_HIGH>; linux,default-trigger =3D "none"; }; =20 - green { + led-green { gpios =3D <&pioA 5 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; default-state =3D "on"; }; =20 - yellow { + led-yellow { gpios =3D <&pioB 20 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; }; =20 - blue { + led-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 From nobody Thu Nov 28 11:35:00 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 EBDBC1CB30F; Tue, 1 Oct 2024 15:27:02 +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=1727796424; cv=none; b=IVy0l5jJcmThSAzFM7gnMJvUgIZl4DyXCoMlEGnVpQV6xYKkfx+hh6AVKgCssd/DpruUuI7tZ4JRUYfhbOoXWexBzl4rhjX0XGzXWs08Qz91nJGkhxZXtpyB3Gl4uzQs62Adj5XgAC/8GUJuUv8ZGboz3IVpFtRMBA+E9xzlz6w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727796424; c=relaxed/simple; bh=/Kd5u0VINYMqh2PljtqzaupEDdOzidndfBWAwnTst8E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d5rOUhk+CpWrZBdn2BYa/eBi7slXNU1qxSFQv6YXrsaodbPH1PvQ60O2UHMgEuH+IKw+nbLSRS7Fyvkze5idnwHDar35KFdgx71VvZAtvI2qSE5m0K+Z6e/p5azad2d3LEWi9KbiFGHiz8c7ltBqG1M0O9ajijCNjCI5O6y+H+8= 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=G6RjIYwv; 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="G6RjIYwv" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727796423; x=1759332423; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/Kd5u0VINYMqh2PljtqzaupEDdOzidndfBWAwnTst8E=; b=G6RjIYwvJf+N1oh+faBQp1GXFCrkwgHSNcpwa+1R9v9LaWircSNTywPq jb4ofNb/tDnRbeo78NXxtFpN4+LruduRO4Kaa20B5PkeC6tjCyapUvimQ RGmxxoWzWPBq/+Ja6TZJAC+yicu4odjWBnWOWKoVm7YLRh+itkz1zMV8L 35MUKADG/XWzxH0/UQIUP+f4OM+FbpWXZdin+mJpQYbK9fDZNPcB66IHj rIyOscIBMcNOUOMa1w3pBhynG3g7FWTM7hbMhmCgxJkJlq5Z8vm9gYuD9 iHNGmaca3w4M4To3z4PJd0mi43ejdYFogfglmYxxHTugbHNEV2Y7EeMNe A==; X-CSE-ConnectionGUID: C4iJhjyxTv2OpDXExwgrvQ== X-CSE-MsgGUID: 33QSdtsNSSKdrxGNvmedKA== X-IronPort-AV: E=Sophos;i="6.11,167,1725346800"; d="scan'208";a="35727110" 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; 01 Oct 2024 08:26:59 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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; Tue, 1 Oct 2024 08:26:50 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 1 Oct 2024 08:26:46 -0700 From: Andrei Simion To: , , , , , CC: , , , Andrei Simion , Alexander Dhal Subject: [PATCH v2 4/4] ARM: dts: microchip: aks-cdu: Add label for LED sub nodes Date: Tue, 1 Oct 2024 18:25:41 +0300 Message-ID: <20241001152541.91945-5-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241001152541.91945-1-andrei.simion@microchip.com> References: <20241001152541.91945-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" Add the label property here and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths. Suggested-by: Alexander Dhal Signed-off-by: Andrei Simion --- v1 -> v2: - added in v2 by suggestion of Alexander Dhal --- arch/arm/boot/dts/microchip/aks-cdu.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/aks-cdu.dts b/arch/arm/boot/dts/mi= crochip/aks-cdu.dts index 0c3373ad1723..b65f80e1ef05 100644 --- a/arch/arm/boot/dts/microchip/aks-cdu.dts +++ b/arch/arm/boot/dts/microchip/aks-cdu.dts @@ -99,22 +99,26 @@ leds { compatible =3D "gpio-leds"; =20 led-red { + label =3D "red"; gpios =3D <&pioC 10 GPIO_ACTIVE_HIGH>; linux,default-trigger =3D "none"; }; =20 led-green { + label =3D "green"; gpios =3D <&pioA 5 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; default-state =3D "on"; }; =20 led-yellow { + label =3D "yellow"; gpios =3D <&pioB 20 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; }; =20 led-blue { + label =3D "blue"; gpios =3D <&pioB 21 GPIO_ACTIVE_LOW>; linux,default-trigger =3D "none"; }; --=20 2.34.1