From nobody Thu Jan 30 05:16:43 2025 Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DF6513C908; Thu, 21 Nov 2024 02:53:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157614; cv=none; b=XtN+cwYFRmHij8KijhD7J9P+IdeMbnL/Q69qgyNECQ4w+eYmREUaWAyFrZ2vANa1nXacpawoJNCJLc/cxD874x6821vrVj3vrYaQRLx7PjI/fjLn5vrHrFiD1Eg/CbjaKrxI6m5gW8KApl6RMPE1tJ4ag5x0wDaO5au6LU4A8MQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157614; c=relaxed/simple; bh=0mMdFNOzsC0U1lp8XyHpp8Hojsli+MusqKb2/EaE5UM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=W9V3xlSmirFxj/GpVRId7Xwk9ixVsbsrup82dGp6VeqqsZGxXojcaeALJyp2G0tG8lKkpW8sOc8OAFPqrVrroCH1HkRHkvsLx/DZcXD8+ZXuF+LAwHgQBpp7ap228ApVmXFTZlDvfvasYB+ddZEV4LFEE/b6Fff+lFKdGMFSTrs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SoOZTgLL; arc=none smtp.client-ip=209.85.128.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SoOZTgLL" Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-6eebae6f013so4095557b3.0; Wed, 20 Nov 2024 18:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732157612; x=1732762412; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=58c4YWEBXyCwGMl0ggHufA6EWS8/x/3Jjol810uZQ1Y=; b=SoOZTgLL47udL5izpJ4KIrX9RA2gSSoumBGc4W2+s5vXDfykRFHX3yCP+7axaBObH8 U40HV4Vc3QDAEqdJwExrsRSueneBvuYzC1LBgn0q5hk5ARvRti4rQAsxn01ijEO/PfhQ EdqoOGWz/beMyEBbaJAzIURh7gcngEsvSX7cxT5gn0639lA0NLUTWoC6DCeUdqjtUPAK J7DCK/plhHFPBTcKXVtTrsoUYGl2CNVQ8ZNcGbXaqU92/WphKvwDg9gtr7L7ZXgO0lSA 56uoInEcP9QXVu15x7+FCwMDlvm7zfTnAqPLPSJ9ZbgKENo3jn9u+HfD0XxyAvgLW8Zb hhhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732157612; x=1732762412; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=58c4YWEBXyCwGMl0ggHufA6EWS8/x/3Jjol810uZQ1Y=; b=bZXswF9qmeNCY+r+cnKxpoiOHKPeYKfOkC5dkMLpXSatj2ssYxfPD8bjb3k3xt/boy bIsDbM04uiAybASK5ZgZtojIjzwEEJvUcCbWGefetPgRByao+pCnsWvl3Gm8H77NO8o1 XfSqR0IinFLDDBDxndKE1Xumtz9uGQ2dL+lqjKftgHGIAlztDQKjbnyKvMmz6YiWjBaO sqSq7Dbg7T5Ky6KlSXNFagmwCqPWC9Yt/zWnnMxGw5OMGSB8UyFh3/rDkwuUPyHx3Mjs NDjteprqpDKK8LJsS9AVWdPGRErL5HTBqcGz7hbGxm9ALniT3338eOBrEd9PJLZpvI3y Lo+w== X-Forwarded-Encrypted: i=1; AJvYcCVKc3JQGgW7s5p747Yno01CYvqvxcUAeF3tW9OGEBJ72Ite9S4eGNMgSEqrB/HQ/dt2Mal72Yf4kLOdH5yJ@vger.kernel.org, AJvYcCW3qSyut1+ZRb8lwZR/Pc4Q9/9D0+e2YJsRosWOKzCbPPZeszhxYLofixVfClI+AZJNfyxsYHiA9eDm@vger.kernel.org X-Gm-Message-State: AOJu0YwNVPGiYcD+diay59R7qOt9+QZvF6DTjKT1b6dChfb3s71Y/iDB TqteEktC88OzQxoqrM8psZizPJZheZAxAzAARNG9B0xgCLxEWW++ X-Google-Smtp-Source: AGHT+IHXjRyb8nS28IN/wtJ8a+jvzEJ9+GyffRQ8T5afNpb4mgS2TbqNu1e0VRuzfkOWg4BumlDkPA== X-Received: by 2002:a05:690c:4c0f:b0:6ee:b8ab:56a1 with SMTP id 00721157ae682-6eebd17f2a5mr59339787b3.20.1732157612091; Wed, 20 Nov 2024 18:53:32 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e309-7a4e-e779-1177-8427-3602.emome-ip6.hinet.net. [2001:b400:e309:7a4e:e779:1177:8427:3602]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fbb64f5514sm285513a12.34.2024.11.20.18.53.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 18:53:31 -0800 (PST) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/6] ARM: dts: aspeed: Harma: Revise node name Date: Thu, 21 Nov 2024 10:53:18 +0800 Message-Id: <20241121025323.1403409-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241121025323.1403409-1-peteryin.openbmc@gmail.com> References: <20241121025323.1403409-1-peteryin.openbmc@gmail.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" Revise max31790 and delta_brick node name. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/= arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index d175e37c45c1..ccb45ca840cd 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -183,7 +183,7 @@ &kcs3 { &i2c0 { status =3D "okay"; =20 - max31790@5e{ + pwm@5e{ compatible =3D "max31790"; reg =3D <0x5e>; #address-cells =3D <1>; @@ -238,7 +238,7 @@ eeprom@50 { &i2c2 { status =3D "okay"; =20 - max31790@5e{ + pwm@5e{ compatible =3D "max31790"; reg =3D <0x5e>; #address-cells =3D <1>; @@ -311,7 +311,7 @@ eeprom@52 { reg =3D <0x52>; }; =20 - delta_brick@69 { + power-monitor@69 { compatible =3D "pmbus"; reg =3D <0x69>; }; --=20 2.25.1 From nobody Thu Jan 30 05:16:43 2025 Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB12015539F; Thu, 21 Nov 2024 02:53:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157618; cv=none; b=J1WddZ//GOjEisAVydube4Y5Rd8K6uk7fU07C7h/jtp72eK1Y8pjC0cctIQsim+fD3sePBwDexJ8NpXfmrkXEFjovRkYya2lJizkuiuNMmLb4jQD31e5OhKJDNKd1Bz9VncofEEUYY3zzALW5MpMX2NYB/JmS0Qhh0E1hBb26u8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157618; c=relaxed/simple; bh=V1hOGXGZiBL/idQ/It2mFYhUKDhAasilhxXrcPpY+xs=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FEZWWscM3mAvqP8khzgZNP9rsfxCtCxlPVxBJ8/QUry+sSQrH42kTomRmlH6wdCOYwvhFSKTKEZMaiQtuT7JYgcD/2fyhrSefj6Wlrlrd7N4yijPL+1ItWJ1DJUS8Dblkn8yCUuvHf/6vbybEBdgkEPKuEsCff6F5tZXCkGtWho= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=LFav3kwR; arc=none smtp.client-ip=209.85.210.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LFav3kwR" Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-7180ab89c58so183499a34.1; Wed, 20 Nov 2024 18:53:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732157615; x=1732762415; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=qh0sbGLe3R9T6iLNooRlLszG+yIe2rtAwnz37rl7QI0=; b=LFav3kwRZrASAH29nlVtwyvweVON0zdO96HI0GEG+0synHLbogjhKvayFcVo+NM0u0 ObgJRqy33SvnHPtWACWemQs/KT0OxonLdtS8NeKo4Uy7JMIzAiWvh6k/skmKloi2u97w R66u+YKXWUuXzRmh7qC/oX9+Rz2CQsSQmcG8s1Ybtnaf6tftYJq5aFmczHaugyb4i72b pkRm7kr+cwU5RNtYw2dg6WkJYoyDzXRzPiVWfqAoBxf+pwmEYf0pVp0EjYsbG2eT/5dO p5MIIpatligE7zz+szguWL/+Y0LxOokJGkj06D53a4UpxLRg1ScUVoGA/vlodZLDsTD4 7VwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732157615; x=1732762415; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qh0sbGLe3R9T6iLNooRlLszG+yIe2rtAwnz37rl7QI0=; b=JOU65AffVQaVQj3BEzpo+QDctzcUJtLmJL++hj87yWw3ScAjTunZLucUwCCSrRM9QY lSEbvd9ypMhnHl2/FOGLjncMSnjDI1OKUNJ57BZj6SSgQaeJkAn4cM9gAJq2RrCSvcQ2 p27ORfcLfSjJjSgarxK0SI8fPmT03JXsKGBjIQwSl9GF/Nh7XNXuMueAIs24Aq9j5n9+ eV6Xmuq3voouQGH6J6dpSI4ChLMjLivSM7ErOwzeOm63o8Ka7ItIYO75G3bgoJYIfIlW inCqclX5FrMTUbd71ODiLeDs0VARtjWPLvglUD3A/pxw6O8l8pKOuExzjY6AWiUTqIqp sSPw== X-Forwarded-Encrypted: i=1; AJvYcCURU49tfqk32j3i14f7X9t6YjfTsFZnvFkHTj/V3aSfBH3oEfsDUNOWpvKTajWXbv7ApN0IYp+VDwiy@vger.kernel.org, AJvYcCUdhFC5HoGB7jPIEU/TSxr8+nT1/VLNjg67yevzr2YcbiriYiVbO0f9MLr62CpzgLyQrvWQAPgmuUDor3Oe@vger.kernel.org X-Gm-Message-State: AOJu0Yz8mjOVeHlMHYTlclrNDCzEi5rrBDwYx5ESqYEb/2GYfbCXbo0n O32h4NBJecH0ubPSPV9qJvB2hSZlpGVG9E3GYN5Dl0C3yN8spSCA X-Google-Smtp-Source: AGHT+IFA5UwjT3Bz4C/L6hFLi+1S8wr3VskYBXFhSYkypjXSN3g0a4vpxOgETQNmIQ+Tu9bYoG+89g== X-Received: by 2002:a05:6830:441f:b0:718:6da0:72b with SMTP id 46e09a7af769-71ab3131e00mr5128365a34.7.1732157614993; Wed, 20 Nov 2024 18:53:34 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e309-7a4e-e779-1177-8427-3602.emome-ip6.hinet.net. [2001:b400:e309:7a4e:e779:1177:8427:3602]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fbb64f5514sm285513a12.34.2024.11.20.18.53.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 18:53:34 -0800 (PST) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] ARM: dts: aspeed: Harma: Add retimer device Date: Thu, 21 Nov 2024 10:53:19 +0800 Message-Id: <20241121025323.1403409-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241121025323.1403409-1-peteryin.openbmc@gmail.com> References: <20241121025323.1403409-1-peteryin.openbmc@gmail.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 pt5161l device in i2c bus12 and bus21. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/= arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index ccb45ca840cd..fd85d5e34a55 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -299,6 +299,10 @@ imux21: i2c@1 { #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <1>; + retimer@24 { + compatible =3D "asteralabs,pt5161l"; + reg =3D <0x24>; + }; }; }; }; @@ -429,6 +433,10 @@ eeprom@52 { =20 &i2c12 { status =3D "okay"; + retimer@24 { + compatible =3D "asteralabs,pt5161l"; + reg =3D <0x24>; + }; }; =20 &i2c13 { --=20 2.25.1 From nobody Thu Jan 30 05:16:43 2025 Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E05CE156F30; Thu, 21 Nov 2024 02:53:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157620; cv=none; b=ULKTFIJ9QKmG0J1tYSzG9ZpdlNz7j2cYRnIU388q8tC8gW8A8KN34NkjjfkY4jVlqUAudO8rvCCN3AlVu4h9qWhpjSc/t7yZUHi2nLonXGgNIHK1qNxmD697ilanInQ7CnGN/udf0WY5Fj2aHkRsX1evm4r/Bhxa+kq0ywnrSpU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157620; c=relaxed/simple; bh=GryuZGEu/a+ZzDtvUjyjCWZ4FMldjV+M4EwxpZGJeEo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tK0ODZeVdfuBeE3qcw+QvZmCi/7HR6NNN17lShJgEmjJ2/D2sh6b71heuRF8LjnmqQpBa++y6xmHclYSzoHGwePnJhPDEn6Ov4wuFJxLC6m5Y4eOrLu6tv/1VwX8aCKJL+wLE3bVPmXvpQToV6L0x6pgTE0JK0v/xOLEjgquBcM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=icQLkNSl; arc=none smtp.client-ip=209.85.210.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="icQLkNSl" Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-71a9a02b499so173823a34.1; Wed, 20 Nov 2024 18:53:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732157618; x=1732762418; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7hFpMGE8s7psUHx3+Wdj8euFlIX9fVjcGzp1EwkK8LE=; b=icQLkNSlTXhixz1XAhaazZ+ac3k6c0e1YDNTwzpe7liUXzv8fP+4jJiscwKa8dlIyt Z7KyVkhLNRI0W1OCHH/UP3eL4v7p3ejfWHhHnSf9STY8zbZyqpVCWpUkTzLzQeL/Sxji /DeNaWaTplI8X5CWJeBDX7FiQVtYnjH2rNCPMMS2LhPEnOQzjqWl5YVxfmclxlxaRrAU lq/O4FY0ZNavC9utOiY53An4gS2ETpqLlz9tjxuiWEc5HlEhOw6H3aN2u6UtS16lPYZI 7njfzfGDGjmG0Q31w5EocjPMt/LNN3i6fY/0+uORSKdKmUfxFNfn2ftjb9tjuawWUoTb FFlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732157618; x=1732762418; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7hFpMGE8s7psUHx3+Wdj8euFlIX9fVjcGzp1EwkK8LE=; b=q6bV0CObgpf3iifuMaFSwsO/7mRbhbDYLZvM5KOjGfxnRx0UDyJkcKz9Ox5SzgiGsm u4xkMCR5gDTnC0jemy1miO6qSS/uTtUWyeAFz0NyJF/vW4OmarRdombXxm3JKo6o3t16 M+00Q1s422JYH2BeMmOPnhStlMukAM8IsFk8jAFqR+aRgupgf5anPd9FEKUHwjooUxfA X0qPbOboBPjj0KUJjtGhxcYPk9H7rptkbNOKmZFhOdiWqza3X3Qrh89+knykxFP6/l+P +CeD5TacpZFu0bKez07o87PfeaXozF7ugq07creDdlI8d0rjWFjUJGlYdire+/5IJeDX D31Q== X-Forwarded-Encrypted: i=1; AJvYcCWjS7eQ0g94D2EwAYmkKKYBFVEEU6V4spF08yWndGdiH41UjDSZmFuuyCB1ungv7hvIt+odK2xYX5UP@vger.kernel.org, AJvYcCXmPbQNSM6FLkZ/bwzqaYbzB2ZrkhSHTc9ktHGQAB7YtkAbTD7uZEgicRBpfOTfW6HsqmYksJB3RTQoHUeC@vger.kernel.org X-Gm-Message-State: AOJu0YwKz+2QTc9FpFTyGj0Yiox7zQ0bLnYul/oppEGxba2PvsPLAbmn 9zw9PFHNp3Yckdb44dUMSQee7fYTUFXHiM3XLMcFJyIOEV+vwS8/ X-Google-Smtp-Source: AGHT+IFinVzwidv3KxbK4poEFtxDXiNYFFKy7ns+/JV5m2BWBfiQ/ywhmjk5vggcq044ZI8cYP3oKQ== X-Received: by 2002:a05:6830:6e99:b0:71a:6cbf:7e96 with SMTP id 46e09a7af769-71ab30ed2c8mr6011687a34.9.1732157617978; Wed, 20 Nov 2024 18:53:37 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e309-7a4e-e779-1177-8427-3602.emome-ip6.hinet.net. [2001:b400:e309:7a4e:e779:1177:8427:3602]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fbb64f5514sm285513a12.34.2024.11.20.18.53.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 18:53:37 -0800 (PST) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/6] ARM: dts: aspeed: Harma: Revise GPIO line name Date: Thu, 21 Nov 2024 10:53:20 +0800 Message-Id: <20241121025323.1403409-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241121025323.1403409-1-peteryin.openbmc@gmail.com> References: <20241121025323.1403409-1-peteryin.openbmc@gmail.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: "ac-power-button", // AC power button input signal "asic0-card-type-detection0-n", // ASIC0 detection signal 0 "asic0-card-type-detection1-n", // ASIC0 detection signal 1 "asic0-card-type-detection2-n", // ASIC0 detection signal 2 "cpu0-prochot-alert", // CPU 0 processor hot alert signal "cpu0-thermtrip-alert", // CPU 0 thermal trip alert signal "irq-uv-detect-alert", // IRQ for undervoltage detection alert "irq-hsc-alert", // IRQ for hot-swap controller alert "uart-switch-button", // Button to switch UART interfaces "uart-switch-lsb", // UART switch signal, least significant bit "uart-switch-msb", // UART switch signal, most significant bit "leakage-detect-alert", // Leakage detection alert signal "power-card-enable", // Power card enable signal "power-fault-n", // Power fault signal "power-hsc-good", // Hot-swap controller power good signal "power-chassis-good", // Chassis power good signal "presence-post-card", // Presence for debug card "presence-cmm", // Presence for chassis manager "pvdd11-ocp-alert", // PVDD11 overcurrent protection alert sign= al "reset-control-cmos-clear", // Reset control signal for clearing CMOS "reset-cause-pcie", // Reset cause indication for PCIe "reset-cause-platrst", // Reset cause indication for platform reset "P0_I3C_APML_ALERT_L", // APML alert signal Rename: // Rename the power signal to match PSM defined "power-cpu-good" to "host0-ready", "host-ready-n" to "post-end-n Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 58 ++++++++++++------- 1 file changed, 37 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/= arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index fd85d5e34a55..ce1731bdc1af 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -416,12 +416,6 @@ gpio@31 { reg =3D <0x31>; gpio-controller; #gpio-cells =3D <2>; - - gpio-line-names =3D - "","","","", - "","","presence-cmm","", - "","","","", - "","","",""; }; =20 // Aegis FRU @@ -559,7 +553,8 @@ &gpio0 { /*A0-A7*/ "","","","","","","","", /*B0-B7*/ "","","","", "bmc-spi-mux-select-0","led-identify","","", - /*C0-C7*/ "","","","","","","","", + /*C0-C7*/ "reset-cause-platrst","","","","", + "power-hsc-good","power-chassis-good","", /*D0-D7*/ "","","sol-uart-select","","","","","", /*E0-E7*/ "","","","","","","","", /*F0-F7*/ "","","","","","","","", @@ -568,7 +563,8 @@ &gpio0 { /*I0-I7*/ "","","","","","","","", /*J0-J7*/ "","","","","","","","", /*K0-K7*/ "","","","","","","","", - /*L0-L7*/ "","","","","","","","", + /*L0-L7*/ "","","","", + "leakage-detect-alert","","","", /*M0-M7*/ "","","","","","","","", /*N0-N7*/ "led-postcode-0","led-postcode-1", "led-postcode-2","led-postcode-3", @@ -577,18 +573,29 @@ &gpio0 { /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "power-button","power-host-control", "reset-button","","led-power","","","", - /*Q0-Q7*/ "","","","","","power-chassis-control","","", + /*Q0-Q7*/ + "","","","", + "","power-chassis-control","","uart-switch-button", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","","","","","","", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","led-identify-gate","", /*V0-V7*/ "","","","", "rtc-battery-voltage-read-enable","", - "power-chassis-good","", + "","", /*W0-W7*/ "","","","","","","","", /*X0-X7*/ "","","","","","","","", /*Y0-Y7*/ "","","","","","","","", - /*Z0-Z7*/ "","","","","","","",""; + /*Z0-Z7*/ "","","","","","","presence-post-card",""; +}; + +&gpio1 { + gpio-line-names =3D + /*18A0-18A7*/ "ac-power-button","","","","","","","", + /*18B0-18B7*/ "","","","","","","","", + /*18C0-18C7*/ "","","","","","","","", + /*18D0-18D7*/ "","","","","","","","", + /*18E0-18E3*/ "","","","","","","",""; }; =20 &sgpiom0 { @@ -636,10 +643,10 @@ &sgpiom0 { "","reset-control-cpu0-p1-mux", "","reset-control-e1s-mux", "power-host-good","reset-control-mb-mux", - "power-cpu-good","reset-control-smb-e1s-0", + "host0-ready","reset-control-smb-e1s-0", /*E0-E3 line 64-71*/ "","reset-control-smb-e1s-1", - "host-ready-n","reset-control-srst", + "post-end-n","reset-control-srst", "presence-e1s-0","reset-control-usb-hub", "","reset-control", /*E4-E7 line 72-79*/ @@ -656,7 +663,7 @@ &sgpiom0 { "presence-asic-modules-0","rt-cpu0-p1-force-enable", "presence-asic-modules-1","bios-debug-msg-disable", "","uart-control-buffer-select", - "","ac-control-n", + "presence-cmm","ac-control-n", /*G0-G3 line 96-103*/ "FM_CPU_CORETYPE2","", "FM_CPU_CORETYPE1","", @@ -668,7 +675,7 @@ &sgpiom0 { "FM_BOARD_REV_ID2","", "FM_BOARD_REV_ID1","", /*H0-H3 line 112-119*/ - "FM_BOARD_REV_ID0","", + "FM_BOARD_REV_ID0","reset-control-cmos-clear", "","","","","","", /*H4-H7 line 120-127*/ "","", @@ -683,22 +690,31 @@ &sgpiom0 { /*I4-I7 line 136-143*/ "","","","","","","","", /*J0-J3 line 144-151*/ - "","","","","","","","", + "","","power-card-enable","","","","","", /*J4-J7 line 152-159*/ "SLOT_ID_BCB_0","", "SLOT_ID_BCB_1","", "SLOT_ID_BCB_2","", "SLOT_ID_BCB_3","", /*K0-K3 line 160-167*/ - "","","","","","","","", + "","","","","","","P0_I3C_APML_ALERT_L","", /*K4-K7 line 168-175*/ - "","","","","","","","", + "","","","","","","irq-uv-detect-alert","", /*L0-L3 line 176-183*/ - "","","","","","","","", + "irq-hsc-alert","", + "cpu0-prochot-alert","", + "cpu0-thermtrip-alert","", + "reset-cause-pcie","", /*L4-L7 line 184-191*/ - "","","","","","","","", + "pvdd11-ocp-alert","", + "power-fault-n","", + "asic0-card-type-detection0-n","", + "asic0-card-type-detection1-n","", /*M0-M3 line 192-199*/ - "","","","","","","","", + "asic0-card-type-detection2-n","", + "uart-switch-lsb","", + "uart-switch-msb","", + "","", /*M4-M7 line 200-207*/ "","","","","","","","", /*N0-N3 line 208-215*/ --=20 2.25.1 From nobody Thu Jan 30 05:16:43 2025 Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0A7716DC36; Thu, 21 Nov 2024 02:53:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157623; cv=none; b=bQyQunKgqMlyrUXvdplMV0WQgsAeT/pWZ+GvGD7cWaCAf5o+GcQsgtw9JM+uf5tJQe2qZXgA8XHuFOcQvBjWEPlKBZG2Ab2UtQ3V0SyuU+Oqn33EIRRseopu/joze7MoUjVnfxf2K20YQGIj3XN36kiMR1WT5U5PmaJ2NAY4Nm4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157623; c=relaxed/simple; bh=/GpinvJD+IE1gFPCcRsT5yiq3ogqQ+inUNNKgo7ReqM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=H91wb/pBxLgYgtj9Kx3IHR8dtM+Ct6BRfIW6UTkFyiTzDu+nnhniQon9WfBvEg7WKujJPiRprxYdFP3Z6mMzB+tCZfYyVILjc7nl8d6nLiTWecU5AJVdP4K6mDnpdVHvGMjjMdMsaS/PcskDHshG2PZ17JXv6ZWOuBAwE4Po1qs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Wkms7zqe; arc=none smtp.client-ip=209.85.128.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Wkms7zqe" Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-6ee9d50efaaso3811557b3.1; Wed, 20 Nov 2024 18:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732157621; x=1732762421; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Moeko09cNn/tBMWxRyaAP4nMoxzoQVrPZMKwS5ag9u4=; b=Wkms7zqeGgXzThiJFEBrM4V3fsYynSvATsIStsFbiMjC0nJuE7bLVmkF+SiYQOuvCc +4xS4n3C53Hh3LYAF/SWR8cjaUtN0NUB6omd+Jxq8Y/IRehnc6iv0/GgDzM/XORQZ6Dp tGg+FM4Lr6Lk60NBU9stYCGNQpQaIUEAgFS/arLkQfqmYHwEkHq68WAAV8ZvdHdM011w Fl0L78i47ghoUwkYXLQWmB4NEXiPJWveWGwaC3ajwYpFjHWHABmhEInnDruupm/Sdkik i//hIcMTZ8pJMUOQrEKUrPewlpRN2i1vyjuI15UxiINZaXIgQlaIAH/evOw8Lsc6iO/r Pfzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732157621; x=1732762421; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Moeko09cNn/tBMWxRyaAP4nMoxzoQVrPZMKwS5ag9u4=; b=plU9Uwycu0h05xzFfaJANWebVYUt7xBvXU4obZGS2PksHk2yktHu+OHSRBV6iR9P1z DAXpdQFfPnlSBY2ZTl3qA1MiRaHnDVou0XQryUpmbmMdAX6/JHOw/6CLe5yTGdSugM3D PAAdDdBpmYgew45E8ALYpC2SxhcLZfmiVlz3EJkVnguSmW8pEARp/e7KpgxhfbvfYiYG I141ILBzd2wjiwnTUM1gUhRW8n9hGsVJMd2w63vkSzbdGue2mopMFpCBHSHAMAiNN2IF CbgsHsiby9qpWKl2zaGfg+YBd+kflpNYv1D7mCR3Wl1h09FkN7VS0sljk7VQfZ32ACWH j+nQ== X-Forwarded-Encrypted: i=1; AJvYcCVl0pCIW8oUzuc5byRk2TEnky6DTHgL/V3Yd6COJjVViK+/5XwWgMmjrAcgw7W/3Gd/xvC3Yktp4ez1@vger.kernel.org, AJvYcCWYhNXBFJyZkKCBRnjXBZ36Dx02WOuXoUd7XrttoSY2oMRPH7VVDOjDj1rN82S7GJWKVhytTgEow8WO0RKV@vger.kernel.org X-Gm-Message-State: AOJu0Yz2Hcwb9EnA+iyvI89wDuarfKSrZFWeiMNQ+bnv44S5dRemgIGC x7t6xLSGNIWktVZTGElIDDdi7U04Y+XgVoqAKcK3ODhkR1317ZTo X-Google-Smtp-Source: AGHT+IHfi9U3ChAkSgcxwjTETaNCq22J6zc0QHGyI9uwWq7ryknGbpWpSp8Z2Ihu5uyhiDydYDfSfg== X-Received: by 2002:a05:690c:4b11:b0:6ee:b43b:62fd with SMTP id 00721157ae682-6eebd2d1a9amr60919277b3.41.1732157620851; Wed, 20 Nov 2024 18:53:40 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e309-7a4e-e779-1177-8427-3602.emome-ip6.hinet.net. [2001:b400:e309:7a4e:e779:1177:8427:3602]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fbb64f5514sm285513a12.34.2024.11.20.18.53.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 18:53:40 -0800 (PST) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/6] ARM: dts: aspeed: Harma: add e1s power monitor Date: Thu, 21 Nov 2024 10:53:21 +0800 Message-Id: <20241121025323.1403409-5-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241121025323.1403409-1-peteryin.openbmc@gmail.com> References: <20241121025323.1403409-1-peteryin.openbmc@gmail.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 E1S power monitor device. Signed-off-by: Peter Yin --- .../arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/= arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index ce1731bdc1af..9d7e7208562b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -354,11 +354,22 @@ imux22: i2c@0 { #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0>; + + power-monitor@45 { + compatible =3D "ti,ina230"; + reg =3D <0x45>; + }; + }; imux23: i2c@1 { #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <1>; + + power-monitor@45 { + compatible =3D "ti,ina230"; + reg =3D <0x45>; + }; }; }; }; --=20 2.25.1 From nobody Thu Jan 30 05:16:43 2025 Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7401197531; Thu, 21 Nov 2024 02:53:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157626; cv=none; b=XLasAazpwkTak9FDvxvvhiu24QkG3oaC3L4lqt8goYhHt2lUGbf8YN3ZdjTTRMHaSNTHtIi6QofBmbOuTmilX9P4ZDecVwjj8n+EYGSp+xBiJDl4OWea82RpxjrgJrJZ1uUTe4Z24+STh/9isrcoRixFoy8r32ao+DJ6RSS2FGQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157626; c=relaxed/simple; bh=Zoej5bs/m8hJTMD3G6AdGwEKkQ5iouMMeKxD1Smvb2U=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=OfLK+BWL62i6QqE3Kda/C0FOXql24T8aHrxMf2NWW1I6irbghDFPpEdUrTyXx0Bn1GzlmFm9JbAoDl3l1x6bA+sgy3WwGeMF/ntpFxnrazk/dgiBhqIddD2Idtu2GU5SGDUpoinSAJa6UbzGiZxDwi0VcYY3/9yK1Gd0WOtbWws= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M3xEBqVm; arc=none smtp.client-ip=209.85.219.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M3xEBqVm" Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-e382589e8fdso416756276.0; Wed, 20 Nov 2024 18:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732157624; x=1732762424; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eNks32tb/xOghmG+mNYQSKO0C3AuMd7n2d+nPZVJVl4=; b=M3xEBqVmsV4Du4EXxAmVcUuir0q4rHvlM9K5VkMiGPpg42iwGj8tGMCJnkA9IajD3h 43RlglAyXWr23AKTvwGe58OLXM8n3m2JatJLIJTz0gNMLP+8dSiLUK7+69+j/x/7wQsy drD3HFqOB9LwtMDktC4tNiA29zHcGXjhPPDiQQvJzfKocKNq5rM+kkWr34uyJQnbtA4t 22Z85WiJ18vChgfT4uzKDF4siIs2N4K2DreKXoBfkS2fC9SeNqrSm0oP8Xwm5ukXbVwQ 60iARmZly+lGe5OPylwusBeJzLaWVq8fJFOfXAul25g1TvMyhbqehhRgXBeqghFQNBpg fVcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732157624; x=1732762424; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eNks32tb/xOghmG+mNYQSKO0C3AuMd7n2d+nPZVJVl4=; b=goHQ0/M6uq79AGRIZj8U0B9Al74aj/P6ka7Tiy+aTsnXWc/yXX4NGQddsF8NgHuB8G 73rCg6y4soDj0DKH0t9TvBvTFL/Z2vPtyrQimWQZy7yQisq2JbeG6sTKxjldC0H/sVTS CXATsYkWW3lIXnso0oq4PPFsznPnCWWbU+ovNZoEvcaXum/T9EgTDRcDFx18Z+1iVfBb csB+fjuO8/KzBXGUMHu9hmXfvpJrYfR2aBsluC6oxNp3SmLd+8bqb+f5lWPqvctfKj/g TGFikCb2Leh+CzzkxOsz7FTnhkqRPwcalILvTzhDVZEmh4WaIVG3I50LmlVFcQBSiLjC XOEA== X-Forwarded-Encrypted: i=1; AJvYcCUibyEJyFfccY0RLp4rh3LgwS9ny9dt+VRB//1WZGv2gIRwbso4THkOIVEcKz8Lb1CdUw+xlVhrgbqb8ezZ@vger.kernel.org, AJvYcCVQfnBe7jORm9S3jADiER8LZShAeXJeAB79rFf1i8opAfrPXk3bFq29Vhh3/ciT8CU81RMQC+QwkAD0@vger.kernel.org X-Gm-Message-State: AOJu0YwmaKD5r6Df4V1n3eiJ5/rNJ6XY5QyjIUnJiWldpCjZDq973mPv IkHAlCShZ41zGhXQ/gngLuU66XlN10iF6SjEnSsv881zXGy6pXcZ X-Google-Smtp-Source: AGHT+IFMgccuI6rNZuzdmJfzJU0QMp14kZJiCMh2XqmUc3OoqgAkCbJZmDufzaxQBAaiW1nvsjTGRw== X-Received: by 2002:a05:6902:2487:b0:e38:7d0d:d7df with SMTP id 3f1490d57ef6-e38cb7173ebmr4643665276.50.1732157623896; Wed, 20 Nov 2024 18:53:43 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e309-7a4e-e779-1177-8427-3602.emome-ip6.hinet.net. [2001:b400:e309:7a4e:e779:1177:8427:3602]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fbb64f5514sm285513a12.34.2024.11.20.18.53.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 18:53:43 -0800 (PST) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/6] ARM: dts: aspeed: Harma: fan board io-expander Date: Thu, 21 Nov 2024 10:53:22 +0800 Message-Id: <20241121025323.1403409-6-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241121025323.1403409-1-peteryin.openbmc@gmail.com> References: <20241121025323.1403409-1-peteryin.openbmc@gmail.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 fan board gpio io-expander to check fan board status. Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/= arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 9d7e7208562b..58eba5fb6262 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -218,6 +218,25 @@ temperature-sensor@4b { compatible =3D "ti,tmp75"; reg =3D <0x4b>; }; + + gpio@12 { + compatible =3D "nxp,pca9555"; + reg =3D <0x12>; + gpio-controller; + #gpio-cells =3D <2>; + interrupt-parent =3D <&sgpiom0>; + interrupts =3D <116 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names =3D + "","", + "","", + "","", + "","", + "","", + "","", + "","fcb1-activate", + "",""; + }; }; =20 &i2c1 { @@ -273,6 +292,25 @@ temperature-sensor@4b { compatible =3D "ti,tmp75"; reg =3D <0x4b>; }; + + gpio@12 { + compatible =3D "nxp,pca9555"; + reg =3D <0x12>; + gpio-controller; + #gpio-cells =3D <2>; + interrupt-parent =3D <&sgpiom0>; + interrupts =3D <114 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names =3D + "","", + "","", + "","", + "","", + "","", + "","", + "","fcb0-activate", + "",""; + }; }; =20 &i2c3 { --=20 2.25.1 From nobody Thu Jan 30 05:16:43 2025 Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D40A219CD1D; Thu, 21 Nov 2024 02:53:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157629; cv=none; b=DXj0Mg4Btm3PMnbyq83HkkzD22PhcXXsq/W9DBiDweVSW/QlLHGginw5IrUBLNcxA4RCl2Me+jhtANO8BAp2xC/mMw/JO+lIb+KQTeIBu+ZJ3gfkv30meVxbJCkbNu69oljtl9Hwbi8U92M11/yxpjvHc7dZkD/gAlrxi4hdrLc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732157629; c=relaxed/simple; bh=OSaV9yhfaiRJQCqUOYO4E35IP2OS3XtBR3isnThTRXg=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WkR75bhcl+S4kR5S56PGcfy7vge1dXYNTxVWu18fsS5kcvocJqrHGbE91YA/WLx9Tdqjyh81JueWXlTTOSeQYEooqqHAp6oTV1L2spSfX9szsMMdoDw479IkUSuRHyqy1dR6av/MKhkMJlMLdQ+d0vl641pvOWxcQDPqbAlqrm4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OmbieKGs; arc=none smtp.client-ip=209.85.160.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OmbieKGs" Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-296252514c2so385331fac.3; Wed, 20 Nov 2024 18:53:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732157627; x=1732762427; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=1dXl5oVn1MSHtvZwlH+NvQIwSyHnFTQpHuAwir1q04Y=; b=OmbieKGsXRt7c5+CzUMto5sNoMlNbmQzIUB7/8OdFz5m5Lh7M2MVHg3VlzXze6eCHj Q6vBP13S3jAnGA5TCdSPglEugvrGZO8iQRn1qnG96XFQ43CuWvDduLusguiEXqwkojK3 s+2FSLXlLLaUSBqJRpXYXSSLOUTB7uLH8pmO+Xko6YeTWY8UwHIsS8LOVrvCCk+LIYrk ngsQ8EZeKaM00jyBZIEBIyg3B4wjJ5eV5phhMTI8Ine8s84iiTQkXbmGVarbV0ifdiNu +1+gJADt1iQ8xex2YJNO6FC0wu06JofMW1wA3nrGlK+CQe7AI3gnwI5ocmTGOQJ4simE dZzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732157627; x=1732762427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1dXl5oVn1MSHtvZwlH+NvQIwSyHnFTQpHuAwir1q04Y=; b=eDSMWKPSFSn5h+R26GlWZi0mU/HGEml1YYoBTKj01IFe2qKS2wrzEWU+DmzNwcmOzh mRLZT0xbOZRz1GiS9bXFhbTs0n12BiG3qDNnqClZf3+S7zat5vxBrjSvoTvUNK1bKTy4 +sUhFKnTkY2KGd6XFEfhiHrjDTofJ+ePVn6+Ghx1p04N2o66yRnV/M1BnU/8Bo/5wJrL mBU6TW9s/gcOUcyQOzdFR+5xbpyVFsQtnp7SuNlHyO2T03sGxUkOJntIhhVT9x0v7nh4 GC24hV4vDdbIsWBs1MRwR7y7s/GjQARxHgBqw/wdPreXag7lfzXhCtu98pa+OAB4Rw+y ipcQ== X-Forwarded-Encrypted: i=1; AJvYcCWxgtmBqa9L6UBgZhrc2ArA8NAL+Y7NOUcnu+KTYUfHyvQTSAsxTKShyxx2BSztdy5i6o2c5iOdMMuCIyvp@vger.kernel.org, AJvYcCXZjmxK8WMZ7f1VtCDSCmpSTYjwI5FC+9iSH113Y1gvgDrHKwVzwqFgKh1byVy1b6q+DNG91n3MOQ3P@vger.kernel.org X-Gm-Message-State: AOJu0Yz85iEZxlpUf38M+xOTxzWbG2EY/37e83CFuSYT0z01FXmOgkOX /FcVvtiyx5aqnL/SPJ2+Gkv89c8v7T+ilhjnI9bsRpDEDhR+9h7R X-Google-Smtp-Source: AGHT+IGfUxN+yNPBtbcXbTFe/qYk+jbA7fDrMhXuaqkExtEYuXDRgyQhDfpiy7nwzeimN/QIstDcWQ== X-Received: by 2002:a05:6870:d24b:b0:270:1fc6:18 with SMTP id 586e51a60fabf-296d9a6957dmr5514274fac.3.1732157626867; Wed, 20 Nov 2024 18:53:46 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e309-7a4e-e779-1177-8427-3602.emome-ip6.hinet.net. [2001:b400:e309:7a4e:e779:1177:8427:3602]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fbb64f5514sm285513a12.34.2024.11.20.18.53.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 18:53:46 -0800 (PST) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] ARM: dts: aspeed: Harma: add adc128d818 Date: Thu, 21 Nov 2024 10:53:23 +0800 Message-Id: <20241121025323.1403409-7-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241121025323.1403409-1-peteryin.openbmc@gmail.com> References: <20241121025323.1403409-1-peteryin.openbmc@gmail.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 ADC128D818 to bus 22 and bus 23 for voltage monitoring. Signed-off-by: Peter Yin --- .../boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/= arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 58eba5fb6262..947622ead349 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -529,6 +529,19 @@ eeprom@54 { compatible =3D "atmel,24c64"; reg =3D <0x54>; }; + + adc@1d { + compatible =3D "ti,adc128d818"; + reg =3D <0x1d>; + ti,mode =3D /bits/ 8 <1>; + }; + + adc@1f { + compatible =3D "ti,adc128d818"; + reg =3D <0x1f>; + ti,mode =3D /bits/ 8 <1>; + }; + }; imux30: i2c@2 { #address-cells =3D <1>; --=20 2.25.1