From patchwork Mon Nov 11 09:43:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13870471 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8F3CED2E9CD for ; Mon, 11 Nov 2024 09:52:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=58c4YWEBXyCwGMl0ggHufA6EWS8/x/3Jjol810uZQ1Y=; b=dGw1p+B6/fkc1bfmS4nQrP2dJ8 yt1/B8F6ssaPfuQ4rEI+zpCR1+qmgUU9HOr+yV0pYHznZByG0e6NqdvPspt+RKQ/rSgu/GN7ZM2lf 2LMypWEfGBJpODDbc4kU80sjPzvATMT+PPn++PuoX+QhQIujEPYmucfpOOlUPWpjifbMY4QFr9/hu wF7l7eq0BmFbwnp7/076+2dtirNAcaKlwiBOuaj87KpMsgOQ4wLwgaHeXSz8VgDYkgN3rw08B9HTS MexDxBYbGbgM7Reh9fTpcbhmV41ZOVDzRL9Xbsc9c4RVpLVgi/tr4yiuAuXX5VsyCkdaTNYTjDBPw qrz/DuOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tAR5r-0000000HBVZ-2hj2; Mon, 11 Nov 2024 09:52:23 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tAQzc-0000000HA58-3qWB for linux-arm-kernel@lists.infradead.org; Mon, 11 Nov 2024 09:45:58 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-20cdda5cfb6so43060725ad.3 for ; Mon, 11 Nov 2024 01:45:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731318356; x=1731923156; darn=lists.infradead.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=FP/H7hx688IIZXFJZII1mt2yR4C9/sbWfwlSWHBJp8Rl3CpxOr05vjPJVjolNbdYzC 86nRQE5kldFqkmHwVvFUfP6r1EQ8uqcwU9ZtlQSk/2vOz6qjzK0HoHjSGEHneEkqds/T hrk+NwoGh+mGGKUVxjlAnvw600uH0RNrhjVx3WI1JQJRDC6mDkrz94S58R/NmOvncFCq Y/cYiBYk3lWFsHK4hC07n5VUJfepgIACIAvkQq2mHEvwAw4A5x3I9kYh9wR+QmYGXCdv ENBXCtSScbQqgogImc52CV9TMqxQ9S8AqLPNNwXG9P/Sp573vWOydbvt+Bi4LkkNSWx/ wSeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731318356; x=1731923156; 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=ptoqZD+G53Q5AriWox6NdwQ/LMV+GGFc6SGTd5/Qp83REiZc1miOWb7AeLpUZeHzy8 nYbQx6CHqe3LgL3JypAxDKXtK6G0MMmvjCwudpPwRV7J9eJNJA++q3RpvCE1WnhUs5ur Zboa6n313zQkhieTg7+ijnlw/WErlMDesYs834duCdX9TJh0AGL3j0D2zOXive7RLOA6 My1FEop6awwuP3pCMn3vfGHht0NrOEQuw0PI03wVU6fcBq+7tFEZPObLlSOYcxpNjh21 JBHZZANwftRBCZxzJl4P9K5tnORNy94jAjh8HHvWj5W+DofwjHNj4B5wxEn2UMHc2Lyw /x1A== X-Forwarded-Encrypted: i=1; AJvYcCWVyNuW57LVs+YEm9AZDj4KbO+Iq22W8PMPUK4guRMNjoz+shOPIMlrxX+s4/3QUlzesmC5gwvCOhtF1qLFAgRx@lists.infradead.org X-Gm-Message-State: AOJu0Yy2ndS7g1t9tW2TDd8M3jrJdTbhtrAl/zZhYJ/kXkl4lCfAVHd6 Hp8BzrcpiI26C5riO6y2diSERgZ1/Q0TM0eyOgmT+UMZ6JiFexQd X-Google-Smtp-Source: AGHT+IEX9nBe6zOXu4Czcqkfj3xLinKY8e+SL7CCUn1NiuO6HMbeZ+foSn1y1YJElfeQZ9VKBu9SKA== X-Received: by 2002:a17:902:d4c5:b0:20e:a2f7:8ab9 with SMTP id d9443c01a7336-21183542c89mr168471015ad.27.1731318356014; Mon, 11 Nov 2024 01:45:56 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177dc826fsm72248725ad.11.2024.11.11.01.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 01:45:55 -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 v1 1/5] ARM: dts: aspeed: Harma: Revise node name Date: Mon, 11 Nov 2024 17:43:45 +0800 Message-Id: <20241111094349.2894060-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> References: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241111_014556_978434_C6152B58 X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = "okay"; - max31790@5e{ + pwm@5e{ compatible = "max31790"; reg = <0x5e>; #address-cells = <1>; @@ -238,7 +238,7 @@ eeprom@50 { &i2c2 { status = "okay"; - max31790@5e{ + pwm@5e{ compatible = "max31790"; reg = <0x5e>; #address-cells = <1>; @@ -311,7 +311,7 @@ eeprom@52 { reg = <0x52>; }; - delta_brick@69 { + power-monitor@69 { compatible = "pmbus"; reg = <0x69>; }; From patchwork Mon Nov 11 09:43:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13870472 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC324D2E9C9 for ; Mon, 11 Nov 2024 09:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qh0sbGLe3R9T6iLNooRlLszG+yIe2rtAwnz37rl7QI0=; b=J47CvGgFQm0fC94id85ESiJgaC mGFRJQvyo/3fv05U4pQvoCTmgJJVcaBt7FiMzaKvophWQfkX7V+azzbeoPzGD2SfKnRpR4UqBE9xS 2J85qadC9MiSOoyEv1TqMIpzvP+2imbRGeVcyFfFWcihMM97WfneTgT8THJy7iM1Yy61S4LTKFDBg oLPY/OHlZ9J2g6oIa58lSaCu82mQwwlHO7Mr19Bt+ZXOljpgPdE9cGY0HMpD49rGtoeV18IvMq6hu BXGYryoe1QJfuH03fjKVJIYS6IIsQt7U66D0Gb9CTKu77Y3oyk4jRIpd82E/qg9HE2I9BRLqY0TRB qPFIS9hA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tAR7b-0000000HBiO-1dhK; Mon, 11 Nov 2024 09:54:11 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tAQze-0000000HA5a-3mW9 for linux-arm-kernel@lists.infradead.org; Mon, 11 Nov 2024 09:46:00 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-211a4682fcaso2804065ad.2 for ; Mon, 11 Nov 2024 01:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731318358; x=1731923158; darn=lists.infradead.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=YnLCuPvwnu1MbskANwRL9OijJH13IarfM65+/jJMe7r+Lp/EIm0J1DBpGu6HZ88Aik LzIzGsY8z64zwvqCF86Xl7iXVQDfW93BBdIfcUpzgGxmXaUrnK1GilrikjHwDcjLaQyG 9kEErFjoL/EXiqPMFoTqD9MtC5k8GFVZ8tD1zXX+dEL9er0wt5in2iO7bd198kbqY889 BoLQXGtRZU1grQzwJyFbBTIQiwXe6maI7gHVjCVxvISaNknj7QbOGm6f6f6BPMX0GpJb MbVsEYSIIR/cLmKrG/JvCTu/cmSUPT010r0pqabwlg5tHFz0V1SSSoaEtTWGrh78I3HB 5k1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731318358; x=1731923158; 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=wR8HRYO3GZDcXyDzOxmip2RQtsrrspMDt4XiM8eJHMUVcOboHvfIUzjSCof7Zwe8zI pX8kpP1hVRuk5Y6HNfurQqoIHZfTbtMpWT0NK94ygkXhJlj37GjusiR9Gy4EOye7lNcG AAQECqq+nWCLnQntxJOim4j3Z9b50TygImVYMewjIpjsu4uujbEX7PI1NSQ3zX4PHkln zPmrpKbvvQsWfkqQ55Yrcco/pf8VwLLKRBoKcks32mB3izzhomuIoFjQtjGaBBPzHulP FivMMEsv+kRPQaG8onoJyH5OOd5mYS6hmanWRGtXlMJEkY8S+Pbxgxwo6oWlkBHdbagV eh/Q== X-Forwarded-Encrypted: i=1; AJvYcCUiBbQNe8cAxccpart/VJ6Kbe4zHOoEH6c+G5jKlGOeYJh16khp1J7mI6AzaUabBMU1xOGuIGmHq/5aEWQnZm0p@lists.infradead.org X-Gm-Message-State: AOJu0YwLZn9vxqkQFiD+WJfpXHOaGXwy1EZXb8RQMEpFixJt6PdIDi+i L+IiQ41PJdjByRy/nupHcdaRfnpBeo9BhJhwmhelv/ay67M8iRSy X-Google-Smtp-Source: AGHT+IEduPFER/8zbCIpz3Qeo+YquIeSgZo4edxmkNCTUQhErCW4SvbzAD9W8yw8RfIcEx/aOFKrAg== X-Received: by 2002:a17:902:db0d:b0:20c:6b11:deef with SMTP id d9443c01a7336-211835bb654mr154930535ad.48.1731318358386; Mon, 11 Nov 2024 01:45:58 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177dc826fsm72248725ad.11.2024.11.11.01.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 01:45:58 -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 v1 2/5] ARM: dts: aspeed: Harma: Add retimer device Date: Mon, 11 Nov 2024 17:43:46 +0800 Message-Id: <20241111094349.2894060-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> References: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241111_014558_959194_CA55C2C0 X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = <1>; #size-cells = <0>; reg = <1>; + retimer@24 { + compatible = "asteralabs,pt5161l"; + reg = <0x24>; + }; }; }; }; @@ -429,6 +433,10 @@ eeprom@52 { &i2c12 { status = "okay"; + retimer@24 { + compatible = "asteralabs,pt5161l"; + reg = <0x24>; + }; }; &i2c13 { From patchwork Mon Nov 11 09:43:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13870473 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E2628D2E9CF for ; Mon, 11 Nov 2024 09:56:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hnd0dMgn8pF5mC6ybOYdJ6wVojOcLARfVRQ6oD52meo=; b=3MOKz5DBBQ1NHktt/An4Iz+ebP 1g9yvKQpfxG5YbPOeXAfMHREQ3tX3usr2dS6W3IAys8NtBri18v2UKgnhRdZRymcSk37UdSYjoJzx nVSg0AKyOghje9nlTDskeqG40JpGurUG2S9SfyXFzFgbSHxFWL+s2VKyqmXlvHhnXDHshHZLMpi82 nsAZe5iD4MJ1LpZDaF+5h2zysdmbA5E036nqlZXDdYzC/W6k3sms3wksnrQUYo2gEKbY6jf1xhAwL U46+ebMIbgjpzW0nPcUWU3s0j+0WTbflS2JccSjFqGUnb6Kt6/l2rJRkvXKaejAzXiJU1IAEo/QXl uTB81hVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tAR9J-0000000HBrJ-3FWM; Mon, 11 Nov 2024 09:55:57 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tAQzh-0000000HA5w-38yh for linux-arm-kernel@lists.infradead.org; Mon, 11 Nov 2024 09:46:03 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-21116b187c4so33942295ad.3 for ; Mon, 11 Nov 2024 01:46:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731318361; x=1731923161; darn=lists.infradead.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=hnd0dMgn8pF5mC6ybOYdJ6wVojOcLARfVRQ6oD52meo=; b=ODpCPkSJo9PyF8HdZARR4Mt8gaQgY9rhzGslyS0ty8phjpRD48dCuxkhumeu2JuLNB jqGECbB2BUOnmNKJsgcDkF3LMmrBfgV2+mKGBLsU+0R97pDr5ZvsXCJMqMxed4n3n5Jw BL1P8ENJ9p4zr3Wtnvs+JkD/e4lXIHiFsozQqPZ6JWvje1e2zUS2HBCvAlvF0y7McM06 A7bs/TecMSjfvHEh8LrwzjzmZswqeyqdVG4UZtnV2IBdf+KXkvm2syno9Oq+F2Dk+XrM q+mC9IgMKEoKkCewrWWiaV34OqsckLy2pONHv7NFRYu43TncLSb4hky/pMdez+Iu9OvW uyYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731318361; x=1731923161; 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=hnd0dMgn8pF5mC6ybOYdJ6wVojOcLARfVRQ6oD52meo=; b=VVO+nejhf4dwbqGh1BVGkYE0wVKJ3YO06Y7u0SEDsZIJ/qVDVO8z9/6ZhHKdKRda+d ZHCp3VxU+dy1GBsOxHheBAv/Kt4l1CQFLCpdSeB1xRlC0vH0HtxjHPJJVAqME4LX4yNg 5/bOq2BEK+gwBoA0IN/dOXOCq78PoCRecRBI+bytVZx0s3m+gqdE+owjZ5SH/vCnCnig 24yJaZDkMvtbv3Gxs1ppFCXjNQs53BBcHFg5VQqcJyVsCcPtcEQ8OtvrBG2LzvhlPvEg e5TUyHZybih4E7FPydIuvdm7mm8BxPjHyqYeavXsKbv8KoZUv7De8e/lNFRhO7ztQZX5 o3pg== X-Forwarded-Encrypted: i=1; AJvYcCUX3QzizI47A5nCgX1fLNy9Zzv9XQyReUrZRxAmn6nKoam9Gj4t7fr3yNaJMk6CMUiHAKW2XKjFgn7fOuLH69v6@lists.infradead.org X-Gm-Message-State: AOJu0Ywlok+1G4eCn4jqYOfi8oeqWQykLBRtJZlrCyWwjC0KPqyRriEw 5EgnsBW7ON/7vcL6KjTYw05E7u8qoHWvQTTMi6PSB3YkZW/B9tlb X-Google-Smtp-Source: AGHT+IHJPX81v+bCNaryh8mrbkn4Vw2k+4EN2NzDFSUrUCEELhKBfLTnc5EyUfjXpNmdcZ3GqJq0Xw== X-Received: by 2002:a17:903:2347:b0:20b:b455:eb4f with SMTP id d9443c01a7336-21183d6eff4mr178322555ad.25.1731318360826; Mon, 11 Nov 2024 01:46:00 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177dc826fsm72248725ad.11.2024.11.11.01.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 01:46:00 -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 v1 3/5] ARM: dts: aspeed: Harma: Revise GPIO line name Date: Mon, 11 Nov 2024 17:43:47 +0800 Message-Id: <20241111094349.2894060-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> References: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241111_014601_810452_ACA75C69 X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add: "ac-power-button", "asic0-card-type-detection0-n" "asic0-card-type-detection1-n" "asic0-card-type-detection2-n" "cpu0-prochot-alert", "cpu0-thermtrip-alert", "irq-uv-detect-alert", "irq-hsc-alert", "uart-switch-button" "uart-switch-lsb" "uart-switch-msb" "leakage-detect-alert", "power-card-enable", "power-fault-n", "power-hsc-good", "power-chassis-good" "presence-post-card", "presence-cmm" "pvdd11-ocp-alert" "reset-control-cmos-clear" "reset-cause-pcie", "reset-cause-platrst", "P0_I3C_APML_ALERT_L", Rename: "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 = <0x31>; gpio-controller; #gpio-cells = <2>; - - gpio-line-names = - "","","","", - "","","presence-cmm","", - "","","","", - "","","",""; }; // 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 = + /*18A0-18A7*/ "ac-power-button","","","","","","","", + /*18B0-18B7*/ "","","","","","","","", + /*18C0-18C7*/ "","","","","","","","", + /*18D0-18D7*/ "","","","","","","","", + /*18E0-18E3*/ "","","","","","","",""; }; &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*/ From patchwork Mon Nov 11 09:43:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13870474 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B833D2E9D0 for ; Mon, 11 Nov 2024 09:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Moeko09cNn/tBMWxRyaAP4nMoxzoQVrPZMKwS5ag9u4=; b=FnWPP7pSMqvJPL5CzgTephbvfO StHV8BOS2D029n4boT7yjsq2QH6yiEKtPv77cmBskfUey7cGdXisigGN4Vr830Nc13oDkqxicatsZ R/65tEX8NBvvBm+GqDMVrFjeBt0zeLwO4+mGsfHPeojiPaeBYOpFGw5LFnJqIY5WhvN1Kjx+u8fmx Kt5bF4YCEGsfllay8CI5DMP2uSeYuBamfUP49ItJZJZUwlbzk3tdp+KJke6RUZWqd3zh0wIA6nD8t wstaqpfsNNtpKoiTvcyQX0xTXG01/SyPIfK9rB2I3vf4tG/Es4/0ubyjoEPZUOVI/krkIGjyITMEr mHytgnEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tARB3-0000000HC3U-2QMz; Mon, 11 Nov 2024 09:57:45 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tAQzk-0000000HA6v-1X0q for linux-arm-kernel@lists.infradead.org; Mon, 11 Nov 2024 09:46:06 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-20ca388d242so43392485ad.2 for ; Mon, 11 Nov 2024 01:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731318363; x=1731923163; darn=lists.infradead.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=VgcOiS+JfpLPsZNJNROYCL62usBpBljE62U914dSNYZB/e7S1Audh97kOwUXUQk/VD SyuEf8rYewm84lPFIB9mO1c59xvLUQHxYyhavaxmXYLXBkp04QUHFk4PgNGs06girb3N SXVD9mXvT4XDmTIaVS8TNf4T9jksAbP3GPnRvTNxhWzx8aqntXnaokTAeEu4hh3LX195 9Iy9L/AzkggBN8VHN/V/zoLyzaFhLtumcrJY13+WccWzB/H+r307xWlqdur8wkl4Op1T AxVn9X0uaL31ILlu9FEemOTlsP4wULTJGNyHY3akcSj2fTufSCk8QjF142HzZf2ldQbS 7eKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731318363; x=1731923163; 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=SKpAYyWMBmd4OCtUZ+QtV2kCjqeQavWtgKsG4+0lvNp0Pim0kUxFwMrBrLES5+RhJc 0jgL59dThP3+/SZdt9ifOFRUb6f6u9YLeeMkOOhlAgZ60oX5MsP/oqbFKrDTVtvXCdjQ bW0tkrxFOyekLK05TNH7bvh8RwKc9A4BEZwaTkWDAMPQl6oCLDf6KCjgPQreN660YZva vsMYTUAcaY9FT0D5PXIWU3vMLoOnLvuPilzjYqnxXVdxc7aVcB/NX24yx4R/K5CfgcHX ZHrOa0Rou4J2fy3IBnnrVhUOojq7YMQh0h4iFm8dHorImrFFVQ0JKoo8fLfcbAnnyB0/ r2MA== X-Forwarded-Encrypted: i=1; AJvYcCXk4iHrg0m3bvTCA8YuHOBs3DnMoTxzKlUYSmfWmly64sk9C+gHzhG+FGZ1rPm3Hb+Dk6whMCDaSq/2IKCTY8/R@lists.infradead.org X-Gm-Message-State: AOJu0Ywu7d6xSTkImvny4rgDCT5k6PM65I09maXHzb/RoK73+vToKA4a PU9rTZJky7/gFaVDKDxclsM0AXjmgfVyODmzT8RSWASwO/fL7rza X-Google-Smtp-Source: AGHT+IESsUyRzaYuCfvnsyqDABRyOahsKXzjXNQUOb+dN8bhzGQnX6lynJCsKMqXKxgd1GTq7ZrUHA== X-Received: by 2002:a17:902:fc4b:b0:20c:f9ec:cd8a with SMTP id d9443c01a7336-21183d11392mr184701115ad.7.1731318363232; Mon, 11 Nov 2024 01:46:03 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177dc826fsm72248725ad.11.2024.11.11.01.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 01:46:02 -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 v1 4/5] ARM: dts: aspeed: Harma: add e1s power monitor Date: Mon, 11 Nov 2024 17:43:48 +0800 Message-Id: <20241111094349.2894060-5-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> References: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241111_014604_481605_EBCDF5C0 X-CRM114-Status: GOOD ( 10.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = <1>; #size-cells = <0>; reg = <0>; + + power-monitor@45 { + compatible = "ti,ina230"; + reg = <0x45>; + }; + }; imux23: i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; + + power-monitor@45 { + compatible = "ti,ina230"; + reg = <0x45>; + }; }; }; }; From patchwork Mon Nov 11 09:43:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13870477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 105E4D2E9D0 for ; Mon, 11 Nov 2024 09:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eNks32tb/xOghmG+mNYQSKO0C3AuMd7n2d+nPZVJVl4=; b=QOdk0awtHQcjGjJjPclhsek6Ue +M7Vl2z2A8PdddZTkmw5s6tIzCqxX6Qt2SIY/eiwxXYF+Pyrr8SMA70lrZPv/Vvwa/voUaTnpfGQJ 4ZhXtkl3PBQBEoHlcfFdMpXYcKeg0jWvfDc3vW7mCY6a7FW5jtYy/8Z6r0OJh3kmoXbUxQagzF2at ft6iIFWi5Y4a8zE9T6/xyZy7eAsX5e12TjRMZBuAzZg8VkXZTNSlmJttHwxcHiXlrzQ/0hY1Cp+jQ KeNrkWstk32xiBolAmb7humX5JvWFPE4VsMjwKyUV68OcMozeXn9Bo5egxWRa4iS38Ztt3jZfklol GI6/nugw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tARCm-0000000HCF2-0ndU; Mon, 11 Nov 2024 09:59:32 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tAQzn-0000000HA7z-00Aj for linux-arm-kernel@lists.infradead.org; Mon, 11 Nov 2024 09:46:08 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-211a4682fcaso2805045ad.2 for ; Mon, 11 Nov 2024 01:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731318365; x=1731923165; darn=lists.infradead.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=HrOQPe3ekX08h7hauuzcxSxkB4YRfoCNt6g0OgSzJJ2xiHVG4ePc5OdKSeNzhWIHWd ih17uQqhhDsmqRCN/slzNpSwOaDaTVvEOm5XKxLNJ52Iltx9++RKphVza0x4gG8nxGvf /4Vxw2IH2AxNoNa/VjqxWUInaLqKIpxG5bhL5GY1asguEyOCppKMgfk/SuB5JDK8ekcZ FEZ2nfVHgv/FL/goH9C2ZkFuq5AvPv2quOTFtfKJRHhyU8eETcdcFS6GY3KtFS/DHmur 1PhNW9GedumRTZjbMS24Y//HQzCI5x0RP3w/P2OT27r1rTPrURY/pNhHCmZI+ZVznwqx /FdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731318365; x=1731923165; 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=bpgMeBX5efbfZrPeBsi3awWL8rexbC7feQFAACUcytKn9ev94oL1eN+OJjwkOaZ6cA XkdFls45jmuzVZDeqDk5/sHRrvP+GTc7mdZGAoWoQctRGamIQ/dKTMGVKBpUp+vW/GWC 8l2F2/oLlCg3TilJLajJjtEYNhyOvJ9pkF0rync3gPCqmAUj7+sK+fPJd2zg9azl1pPz YOZ+OB5OQFMf3OsKqwWX0EzzNh3wj30Pdd2l3mbxbvcJ1kJkHH6wom6V1XVD9qrFf/PD 8Bn5mLE2ACyIyNioXk8jekNnPWeLKzpj3KT2N/GpedLQesr/+vpaOcgn7a/qM/Xu4qDR kbxw== X-Forwarded-Encrypted: i=1; AJvYcCUjp2ucV1whN+eQmEpp7Xf3RN1iPVGh88SOvTiT/lcirmtKoDwjtVrv7xiZOK9+77ljVIRWZCwPo2WDazouLAsx@lists.infradead.org X-Gm-Message-State: AOJu0YzlrQCG3QzBIooH9oLqY5FdI+ZBzvi4RN3me5bt4zWyvDfUR5gC TGTyksT0XqXEe7u5Qp8dXtEm84g9JpWrd3zt7aJPDcZE0bFzaqko X-Google-Smtp-Source: AGHT+IE1c5elCHCi3OEQodIARSHjGMgZMZMY65tQlUc5wZSO5OedFsdVLtGbaV9F3x5W+AiCReKDzg== X-Received: by 2002:a17:903:2b08:b0:20c:f292:3a21 with SMTP id d9443c01a7336-21183507b88mr163069235ad.15.1731318365569; Mon, 11 Nov 2024 01:46:05 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177dc826fsm72248725ad.11.2024.11.11.01.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 01:46:05 -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 v1 5/5] ARM: dts: aspeed: Harma: fan board io-expander Date: Mon, 11 Nov 2024 17:43:49 +0800 Message-Id: <20241111094349.2894060-6-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> References: <20241111094349.2894060-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241111_014607_086371_0920E60F X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = "ti,tmp75"; reg = <0x4b>; }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <116 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "","", + "","", + "","", + "","", + "","", + "","", + "","fcb1-activate", + "",""; + }; }; &i2c1 { @@ -273,6 +292,25 @@ temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <114 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "","", + "","", + "","", + "","", + "","", + "","", + "","fcb0-activate", + "",""; + }; }; &i2c3 {