From patchwork Thu Nov 21 02:53:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13881602 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 9DE06D75BA3 for ; Thu, 21 Nov 2024 02:55:37 +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=WKNlsOS3V+tExmK/6MsSVmekqS R3kArRNAVx11vu3c/UYcHGQoPb0Jf9bbQDJKUt9Yu12YfEEf6pMapNoaLCqFlAl6EBJ2U3EGQ6dmg 8D6tbcRl+t6/fN6Eiwr5XB44qXpOxjnpCMcWc/WLRQ/eC0miKomOHwBDtsyC3NS1tkgSkTL3M/lgE /lKrH60w57hPT/SL5ZxvW2cZtWmF6KaqUd96l1vHLXUYCqQpLH/UhoS0EeNznT8M3z//uw81m5GrZ TrcY5u5LTzqeZkWHZv/O1xrTfdiYQpC4eHM+z01sh+ZJyNsUiiXzxjC0VQYOxu95MKrkjgLhIO3+W ctJI/72w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDxLr-0000000GdaD-0mf4; Thu, 21 Nov 2024 02:55:27 +0000 Received: from mail-yw1-x112a.google.com ([2607:f8b0:4864:20::112a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDxK1-0000000Gd9W-22EX for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2024 02:53:34 +0000 Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-6eeca160f14so3901827b3.2 for ; Wed, 20 Nov 2024 18:53:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732157612; x=1732762412; 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=jkm+QvnNkDvw/KV26vI+tIvV/PdPxSO1prNZUNTTemgjsJk0YLMGPyLtYbw4oUZfyL AC0WxQ5xCs235EUgCe8xkKaPUywWx9D6EdWzLNGmHfYBc3DjX60RME781n9EWT44SrXy L0Qt8tNVhHjcnOadd2FkzOT4iPwd4gC34XkQnAfjiPjJrT8hUxPzW9HDSZ1bTwWHR0aO oyeSIhGZNPTcDcL1cK6oNRipETcV49l+GHoY349qwlmszYvchEaZOaQM5g8QEmVQ8YBX xXHnQQrCsb/Ybt5OWQodqERSN+a/VeS1k2Cg7qDpDyPVeBSmt7SYDirWRsCVmaR2Ve7i wktg== 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=MoLdqIJDO5T60RIUEEEVbk7xO23xo2FpYVc9bSOJiwE8h99lAtMBT4fBf95riD076N fm5Dg1lysrx3ntWNKm2zwrvzSs0LcoRWTbiuRWmw5w4ju1C3luv3DoJZKKmQKnp+rV0I U8R2FnbbUWen3//Xz7tbWI7sf3OREo0BSFsRt+4M9T7FmWFHnu9wz0d3IHXjo7ptqPzy wz7EIlkX4RAuzf83Zna1WjyRSGS2cx803K8/v8E0xeYB5q4v2wYMofsqd5BUQkDromPp YXQXEprok4Ckqr/a8fVzzXNI2Bdm+f0Kkj8zALkfy0uJePlZcVBul8Ffl1Etu+ItcUWW tUCA== X-Forwarded-Encrypted: i=1; AJvYcCUJ5opozWdlJeaJ6EK9pS/rXJ0Bxd3kytLTEfqux7uLdg8eVWXi18kSQZB8wdI45eX9RD9DlI0xH5Um6kGsX9GI@lists.infradead.org X-Gm-Message-State: AOJu0YyByybM36bMLe3s1dODpOL3Styt3jOO/EzCyE3kUMNhFrcn+v3Z 6KK/aFHQcD4a0ZQXPII4rZej19IDq+VlIHMP+CHtURpfaDLEkAOM 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241120_185333_528181_927B47B1 X-CRM114-Status: GOOD ( 11.52 ) 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 Thu Nov 21 02:53:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13881603 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 1FE94D75BA3 for ; Thu, 21 Nov 2024 02:56:33 +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=a+u5zYdEGIV0iHr34Kjy57q8B7 G1RKd5XFub3XGte7Dx1bKEtzzMUdgrLE0a59yTPU6HOZeG2cYnPzkk6Uf5PE0PHj8tGEo6pX2mH8O HFC0wcFboeuBO/f1TO/ScxRABxO8bKBf45tEcuaCC+BAQMr3+cRvXlZY+ruHcy/yrH68V+paVotMh BCYo1LC4ma4tUaB++CQh1EL0UV27SAvGoB2yLYtCaGcqrMF1DgvIbM/FQThOXRPqfDKBP6qJu4U+1 edBvIje/Jml4X8PkvE9oWZUr6k8bfxaENWZudfPf3BXnguFtipbHPZz6Hte25Nu6M0i6V/dvyH2wK RGz6gpog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDxMk-0000000Gdhv-3KKS; Thu, 21 Nov 2024 02:56:22 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDxK3-0000000GdA0-3ybx for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2024 02:53:37 +0000 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-7187e0041d5so189155a34.2 for ; 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=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=Y8VKhvqdgMRii0gJmJdKHXWwofs1ACblPcZhv0wmcyAighLpIFHCgNRWKJi0ACQ5+r VoIWC7Tnt2IXbVFjOPzT+cr/c5Sjakw/JJOr2hB1l7SLLBbQmdMBllwEAqb39wu/cZUz pOLpSu5z28Nq8HknX6Kva2p8ZH8dNslehyG8vZbWrnQKoXK+adDoJ0vm7tFDPEvTS0qL 9i2S+ZeHCMXiI7mrbdo4fkaT1TFuwzHuPNdhOC8Qr8u3obuxchixhS87XGpRVgrW03is OSZGUT9CNttH/xebEAkz6OWMFdWWMQQDYy7v+rGO4HypqOkVtkE6kx2kgsJHAb0Sm/Pb rHBw== 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=BlCKNk5Y/fp2WqrCjHdbtjXC4JhqsLImACeqG1iQiqE4bWcRuDk191RrKZd1rHl8RY Hc4JlmLVIGbSzx5q9shv74BSDm14lLvehOxrgLCrR5OavLhMJzgm54PVKnA97FpGB2d+ svrkiGNHiLJhv7zwr2O8b02tce9qfN0pj74rsyemyfz8R2o6OevujpZMwG5wW46r31aj hQzyWgQ2e7izVqM4To2yLg05zZGUVT3UPZiQScsgJ9OrUzifML+k+kPNrMhn918qZAH+ OuFSRU5M59Uqx1nDZo6YKH6lUibS2j6bdfuOENBd8KAlW9MyzpgYwMjJMBZ+2iR+ukfE xIyA== X-Forwarded-Encrypted: i=1; AJvYcCVpEt9r0RETkf+O19Y7wHm/g5LVRdHj+DYCK/344FJ+eQoor+ghaONj49Fea2TG/e58UrmEceumPDIPvYzxlL5M@lists.infradead.org X-Gm-Message-State: AOJu0Yw69wjFp1REC4E5OKCE2+nIL0ddnYyoK9oQhJmtCsJVCF58nIsY eK1rYEOhQnd4IirF8xWPfZv7g9jDY+2SPCLR530eLDICfSvClvhm 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241120_185335_987863_BA86E08F X-CRM114-Status: GOOD ( 10.63 ) 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 Thu Nov 21 02:53:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13881604 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 A0049D75BA3 for ; Thu, 21 Nov 2024 02:57:29 +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=7hFpMGE8s7psUHx3+Wdj8euFlIX9fVjcGzp1EwkK8LE=; b=DDfa3DBU7zet0Tx5CepIDFiTx/ vOGqIovC/CMFtA6lEIXdtlqUurz8IiWyZVdohktarvT7g5TQiBZM+2r5fMJWNiIk/RsamGyIHgHAS MIDcKD3fQm+e+/aBoVWhKU67/nhrULILwTAmZJWT1hu+8jtyGfmh9c9jr5toqZjv4W0EpTAXz4jd8 l8NzdoDk+2N+2CezDyDHyi2z33SDytbVWLFmsA+xlfxgE6jkeabbxsp13JGcbBHQ7ZKPw9y38POcU z170ccQqIa0st0QTJnQxFpe3hvV8TVTgUF6/qcGi0iYJo/MbmOu2FnW92RNqbjcQGO21a6HD1G+Ia s4m4Oe7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDxNf-0000000GdqU-24Gr; Thu, 21 Nov 2024 02:57:19 +0000 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDxK7-0000000GdAe-06Ni for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2024 02:53:40 +0000 Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-71811707775so195915a34.3 for ; 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=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=7hFpMGE8s7psUHx3+Wdj8euFlIX9fVjcGzp1EwkK8LE=; b=fRUOe4gAQdCsKHeuwKIJYg3t9emR79XxvQxbEko4MJFQTzo0nGL23y4nWyGhjkz4Hc lU5K8LRq5WXu3saaNXroXjx6BzvEruEgLxVWMxwAmH9iyJXNJffwknX2P6g0VOZDNLgW jmznS5xYY2toupZ7uDAsx7cDOUPhv3pX4XL0Qlf/U948eIcGa3Yo+A4b1FQJl3XVLrnN nCDqdypQOleJCr+rSlsBCjQLWegswFTCIEoWLYxEydXjGyjHIFdjX28887PL0exff4YO fqzAhdU0587T5YPxd2OULKxbtvQObDwtAK6QUK8gYcJiTWCpOyS3ClwGSeS6AK/SL5IP ZCOA== 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=W66zCV8JWI0FL9+YTZa1rHjORWCVRk+pLfKVz5Dk2+IkW1oxANyJ9HoH2x1P7l8W2D wm4LbRPF6vCN7gVgj22yg1BmG3o9pMzBXR7pyaB2vVqBKesc+U0gtzACUbzlVsS2S5kW 0TGF+2evDavVQqI2iTthxrKXo/HmEqQXcu/r6YzO7xajm78wrjOND3AKVJ0CZCJRXk7i MP3ngguxNb3CiAuSwv4CtV7ghTtAz0Qshnnn5IgSJsrlwx/Sz9UeiBJvygtrH/2SM4UD S5rfnUbInrrZ+alOwqT+W00QtDI88h4j8HOLNjDhzXoOoyc2aw+NjZjy/a2hSTyXoQjx kV1A== X-Forwarded-Encrypted: i=1; AJvYcCXzSv0rpqABzExX32yo7QA90BVuqxBrBWKE42FP3UgQMl4oYfuvTpzKzQKqrQMheaTwayLvXpfeRbbRKeXfR09T@lists.infradead.org X-Gm-Message-State: AOJu0YxZ3o7qrsGXPks17oKZkCZ3hQfV28z3OdIjn7cp7sFVLDwKhP2O OqQEuSt3yzWA5gfM+cCiWkfhdFWnihjQwzgyNFSARm8SGmrINWVRbY1A1Q== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241120_185339_066333_57C78C01 X-CRM114-Status: GOOD ( 10.48 ) 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", // 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 signal "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 = <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 Thu Nov 21 02:53:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13881605 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 BC673D75BA1 for ; Thu, 21 Nov 2024 02:58:27 +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=NqMQ/rehuwlIOPl3/TtJw7csyZ tekoAoOXrVocw8oFhheXtFanelt3Ks0uOZslU8dBQ5I2aRZ55dPdAZwqHJfVq+Bc8WOMaakUD/Vi5 bQ5PDaCfOsmYVqC+zCcWTrPmENaP3reDZ703GYmwNTudSR78jbq8b9Y9MqDsb7o6N5dzPne5dweVh JxkCZ7bgYpznVFCLUYlppL5QR4zby3Ld+mZuAkSC5vX8/E2QubsBLNNmC6TziG8rp2tAuNCJ6ur+A y0zFNlu4uPQbxdP/qEf3vTOjijqHHi7pn+naiaA8trSwPNRZ5VUWwZXfs5KgVLe1/xhPpZpDVf16W /yUema3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDxOZ-0000000Gdww-0cJV; Thu, 21 Nov 2024 02:58:15 +0000 Received: from mail-yw1-x1132.google.com ([2607:f8b0:4864:20::1132]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDxK9-0000000GdBP-3Z6g for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2024 02:53:42 +0000 Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-6ee9d50efaaso3811547b3.1 for ; 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=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=D0i+jbF4pf5SBnyxQamY6WKVzcSZTE3UHwBrQkZhUoAvRNXyjU7E3LPboFmPxcR1zb ws0Rwn/YOJGHGzaxiVy1UpSwGMZBsr9WT71lq4li3EgAQrnMVbwyrFhtXCXAfO+vBey9 L6fy8pGrWyUMuQP33S/neoAAxK3hFQ0n3zpcIJFramq7mbQdAsLeqZqwSWlUMqrC6+tV HJt0uIR8WcdWi0T4C4rGdx38EgdKlc9O0gEt8yHY2KPvORUn64UO4SOO/L9olcchueYQ vd655gMEjwTukeF1CngIXCP0821/aT0rtNQf3pZEhv3vNFJWl9SMVq3kqYjGx6CzNE5i 0IrA== 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=cM1BFh1SRA3gPxeiZdshCtnOjznLuKEeb5OiHT52q8dWfPprEDB8w2f3AOul/HDNaQ hPCV6n3nQmoOEZrw27tkfptR8DmOc9dVOl78DXgmV40epZS4Ps9o46lHtuw9dru/9Y9C a07jDITZcgZ7krPEDvmCs0bij8SmMK+XSlLsHRNdqJKcreJZsMJavWq/K5b5/9r1TfAB SGmzOwcJiQGlGq16EdYscANOmoyXC4t4nFI9N2Lqjj/ZGxQ5U2cnvvb8htdiOB8NWNhb u1K046GKglr1SGNF0CtIZSerszUUKvRM5pvYPHjFPyGppj2xzMNO7fVhqu4WIEN8abFX Uy7A== X-Forwarded-Encrypted: i=1; AJvYcCWze3klxyIcOcW2Q/g1qExOHPMgz2aYNyRI3r/bepfDBb6lMKaqmhU8hU8JnFx42GCAVjnpP6373YsTOfI4dkjY@lists.infradead.org X-Gm-Message-State: AOJu0YxExEGH4il7aDMBV1+IUnO9AWS2rfqWat41tz5hBDPtSEioTo4Q V0vOkNeQdJHfkZxxSEdXV41SKrKKhZw3YuE7V30z+hvQ5Qshz424 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241120_185341_888139_E68A5A3C X-CRM114-Status: GOOD ( 10.21 ) 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 Thu Nov 21 02:53:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13881606 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 049E5D75BA3 for ; Thu, 21 Nov 2024 02:59: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=eNks32tb/xOghmG+mNYQSKO0C3AuMd7n2d+nPZVJVl4=; b=HN7sPxBY+kLq+7w+79qox+1QEo JTQtxFr7aRMO0ERv+QNTVIFBYCttNCj+N5RqwgHhb1BubDB5ohqNNG/5nWJdHQ9eH3NQpsYaOMclX hc2Rag69qCnIYqCPz+D4XTBTx+tz6qx3dvkCA2dYl/vg2xB5GsDs1BPsFQIx8bw2w9uI+0gVPGtmq fF6JhV4fMKn/K8EUFAmIbt4wBSPS0PerXmwNdOY/86p1l4opTulhN5p+Giu05YaDtQ7kgdttyr3E1 7/LZwd4yVeaHOFuj/GaQZMDwOYpFd8PngBoFz2qWcXFsVagFTgsu3tcJm7ldYEIKNKYBbNyFNcdyr EquJ3/Ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDxPS-0000000Ge3D-33Va; Thu, 21 Nov 2024 02:59:10 +0000 Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDxKD-0000000GdCK-0AkL for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2024 02:53:46 +0000 Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-e382589e8fdso416755276.0 for ; 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=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=e47If3wMa28+h6jafQ/OcfDQEwhJIAKqRuaSpejgO9ZBYF+zvZW9gIV/RVPFSQg7cA dSVJ2lrBi2gCdQVBXgw6SRIv3msqSiwZ7sD9wcPkEkVuIpq67ShLajk3qhzPcH9B5Xpu 5AN2MWCztA23Dly7Pm/d004ixIPcgxvX0QmyRyJfoTuNFDXpitsCbtKFbvPf0Bu0xzQi L2yzcvbSboBoMECj8naWflrK3hhUfvaEZQiE837DUHGNJD8oimw7WWeOI7Q/ZRuYVs/B 8YZMqSgazivfO3oh0XYANZpEY2lpvhUeFdjl32236TyNjnBjh6JNu3GFRZKKD8OlKUna NsYg== 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=p+45Bi2kHFA6OA3HqRO6AdMsvu2BG6v3IYiODIIxzV0qcxwei2sJmR34DA5z73r9ZB yFZXbxgx8E+SSfMcH6Re1eYyhnYH4VymPMc+wKEC3VY3qAsvzSo8V5xv07eSXC/MVfYS /st3zO0UEovFe5nwLkziHgGKnSzO0zgP4dRoJ+TwOXu1I7qwpHozWpLYzEIdU2dX1TUk ZlgPPCvfDxVNLwqDKERnkBLZVDrNd4tgU8i0iXTiUGNp/SNOqHtaP537Q/KCJXZ1fX2j 4F/qczsDeyhjIsCxy0Kj13mUpnV25R5WcEy4RKFpV8/60aXv9pIHNXxp0WMb+j9gGA9c QVrw== X-Forwarded-Encrypted: i=1; AJvYcCV4VULRcM36jEMwHyopG9mx0q9eYYjYILZzXdNMC0rhueS2OJHs+PIj6eMs5iD2L6Gw2sDp+1I6tw8gGYjoexcW@lists.infradead.org X-Gm-Message-State: AOJu0YwSDcfISbvjc2hrvbCKjfuygPBJzz23AygB4bzn8GM4H8JZkh+1 esmF3zMZEu+INwQ86f13vwVbOsQHjr+LHLDiRw0jOyBElfpAqJBd 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241120_185345_076529_9B05EB22 X-CRM114-Status: UNSURE ( 9.88 ) 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 { From patchwork Thu Nov 21 02:53:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13881607 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 512FED75BA1 for ; Thu, 21 Nov 2024 03:00:18 +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=1dXl5oVn1MSHtvZwlH+NvQIwSyHnFTQpHuAwir1q04Y=; b=fPsTLr3ngmCeHzPAOr4jd1dMMY dpcd9G4oUNxEeAPAPVQ96MTd6luRWCEHnKjN9zCJSlu365eNnZ7hpni+HhEgJv82zyTjfkAL5A8RL l1hHh6rh+hH+WgA56z3nMEM3FNbpNICjR8RaCtLaGnS5DK4zF26Wct0o7xhSZ/4l14P4r47WlP1Or bgQQqX8FvxfoYjpGvBCPvw+dgEI08bDLxglSjd5bLm8FqweoPZtdyv+OuhGZloPwSQ/n6W0FDkSBX H96NRmw+JXZ0W1bqQC+IlpIhEJqbNqRRUq5+iH6ytNqUrGEvfQd3q/yaRiqVwxawEyTC4OyLR2SGc Ecg4IKEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDxQN-0000000Ge9P-1UdE; Thu, 21 Nov 2024 03:00:07 +0000 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDxKG-0000000GdDQ-0EM3 for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2024 02:53:49 +0000 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-296252514c2so385330fac.3 for ; 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=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=1dXl5oVn1MSHtvZwlH+NvQIwSyHnFTQpHuAwir1q04Y=; b=ld8h+x+YuH1lds5LLykBWGyf/Li/dIkuv56JZtetZUZi49UBPEtkzdjjwXeaxFFFgr M8TTwh0cmdV8ywaqny4ZvOZIeFw+14/AfLwiWAj4086zJdIPxsUQi0nfPn03vWdwfXDh a6rkcvThReopMqwQaIjvFrhj05khkfMBLmwqpItBiqjRMJFi869T8/EdFGQDEx5Dyv+u /P9DTuA0FoW09MY3nrP2c+aGHdeo6ndw4hKCkJ/3mHCbVdOvVQ1eroZY0tuQArLpXy9n 7/W8sSNo5df9/JWN0BtqIq/UTe6w/LCuXPzb6ZKzIezV2p8Ng0ITwAZfBXMiTxNcfUic xlUg== 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=F8TosDtVLLm3sqamJ4I3kP/bojTTkXZgkOVKhryFcRTjTnN0xXTfzyPyzXXFpbW1Q/ Y5Mts9/FyVagswK3duMKz/cE7SbZNTtjDG9FcUy6adt7a2hHGhnYllJps4XC0KKjGVSn IDFZ7IeYVqZowJbHdJ3NcTV1Y+FaTBFdfCbefu6wkPuh8MdEFSmiBJNpbD4+w9iY5mQd sKqA3zCfAapjhZxgDX+EhMQnlYjMYkx9lVMDAHrfc08e6xL4R4UQcoMhAk47VkNhhNaO /1UT6Bcle0NAmjj3WKlzFBGWbzbjsVeM58sCxQwO4Nu3Pp7mysvYZmS0SGCouaWWBlyd AC1Q== X-Forwarded-Encrypted: i=1; AJvYcCVN63qEI9kwJRgEBR08h3Zv+6C2eTgRPm52l7k+FT5VElVJ/cIhYi30xjhngdoF2Z4p5N4K8K+bj7I4CaQWBLyZ@lists.infradead.org X-Gm-Message-State: AOJu0YzkM9QFMbF2Il2LJ46YtV4kwBbbNYBdfvQW85ptud5IP+FKr08T r+4FfBOBfaLqlcZX45GvKaDERSfB2XzMARbaqDZRseUHlidMgzkG 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241120_185348_091918_69699045 X-CRM114-Status: GOOD ( 10.74 ) 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 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 = "atmel,24c64"; reg = <0x54>; }; + + adc@1d { + compatible = "ti,adc128d818"; + reg = <0x1d>; + ti,mode = /bits/ 8 <1>; + }; + + adc@1f { + compatible = "ti,adc128d818"; + reg = <0x1f>; + ti,mode = /bits/ 8 <1>; + }; + }; imux30: i2c@2 { #address-cells = <1>;