From patchwork Tue Feb 27 01:47:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904816 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Kg51GN3B; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL2z25rZz1yX4 for ; Tue, 27 Feb 2024 12:47:39 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Kg51GN3B; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL2z15mRz3d2d for ; Tue, 27 Feb 2024 12:47:39 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Kg51GN3B; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62d; helo=mail-pl1-x62d.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL2m73mwz3cNl for ; Tue, 27 Feb 2024 12:47:28 +1100 (AEDT) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1dcb3e6ff3fso7423145ad.2 for ; Mon, 26 Feb 2024 17:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998447; x=1709603247; darn=lists.ozlabs.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=LtUXz+HyXntUYvPu0c3yAr8OxqLOOI9DlELoYq4T+Ug=; b=Kg51GN3BPINHPvo3w2yOmlZ1HXik0kE6zgnfCw8O6EGdGHz02t11mQ85v8HBvWaqqf fKHMZv9bvF6IltCDza1Ipns3v6uYhmUKlMjs6Ihb0xwJF+LttLAd6ufbt1/4jpL/Z1yn jrPCuYBRYqIQ7xrudzAceJMcLc2ELNCTZWeYO7lOJ+5jwKhPhbQ3nJXs3JnGbY7OeU4o O35h8ERpPdQnBZcRsJutDlOrNb08HNYz0ctf2UMHx4+mtNG1K7B+Td7m6X/rSbmchQfb VHAOD4HMDn9fR48SHP+ShtYSYhMCviOWGXRD9G16lrKVO0b82zJa8Ip24euk50K0FxrX QRvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998447; x=1709603247; 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=LtUXz+HyXntUYvPu0c3yAr8OxqLOOI9DlELoYq4T+Ug=; b=nMOw8QdXbeW1M3/q4ZtMvD6p5FNvvtnzZy2Hs/UtKt48ayZOuORiPTwhH14/MT0PNY g/0pgCBZmKEBKqM7GOeFIrchdNtNi+winyWwHehOsVHzl0VGU5Vr5d8sK+mWucKPlD7N dn2a5rkbh/PKoWBbmDDTfoh5fnYHMySL9S2t9qnKvF6Br1uT0Q8I28qaO2k5PQT08UoP hIRb3a/yc33ko7QRJqRfsStW+8E6auKzrh13PjHa8V8M6zBtbDVRk1UB9tgSh5Q/mnIC U/jcfz2arVS7zDo61k5yt1+gBoWm54Dx74hwoKWKh4C8bN3t5PkaUcmm+ZQjZluFd+Kj dCkQ== X-Forwarded-Encrypted: i=1; AJvYcCXPYcKRmdqb3lNKQ5mwK/KaPSLeOTJ34UFxjHoBFjFvMe8LMvS8yFbWZuo/OpBGrP8EkFDPSaJ+sbKg2tfXG/ifSBuZ7tkOHd+3isHx9Q== X-Gm-Message-State: AOJu0Yz0O0a4YUJ8Qjlh405mYcJQzbhpOmzOsZxx2p3UebignI+CdQpv oZOMZ4p6OTEVpUQuHtLp9nwiVgyHtrVGIE8l8CWIhoLmAwUK5ZeB X-Google-Smtp-Source: AGHT+IE5uR+ORUDeC7BTu28ujyXZdBNceJji3J1hfR7Wribes27YPwH77+0KYoHvLZBLYGlqGfa2mw== X-Received: by 2002:a17:902:82c5:b0:1d5:f36c:8737 with SMTP id u5-20020a17090282c500b001d5f36c8737mr7880836plz.68.1708998447036; Mon, 26 Feb 2024 17:47:27 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:26 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 01/10] ARM: dts: aspeed: Harma: Revise SGPIO line name. Date: Tue, 27 Feb 2024 09:47:10 +0800 Message-Id: <20240227014719.3037588-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The same name as reset-control-smb-e1s change to reset-control-smb-e1s-0 and reset-control-smb-e1s-0. Signed-off-by: Peter Yin --- Summary: Revise linux device tree entry related to Meta(Facebook) Harma specific devices connected to BMC(AST2600) SoC. Base on : https://lore.kernel.org/all/CACPK8XePx+PvDKzPMjPRn_g9z8yrtAmLvP8Qbepm1AVjuCbaKw@mail.gmail.com/ Change log: v3 -> v4 - Patch 0010 - Revise node name - fixed PDB temperature node name in Patch 0006 v2 -> v3 - Patch 0007 - Revise max31790 address - Patch 0008 - Harma: Add NIC Fru device - Patch 0009 - Add ltc4286 device v1 -> v2 - Add infineon,slb9670 information for tpm. - Patch 0006 - Add PDB temperature. v1 - Patch 0001 - Revise SGPIO line name. - Patch 0002 - Mapping ttyS2 to UART4. - Patch 0003 - Remove Vuart. - Patch 0004 - Add cpu power good line name. - Patch 0005 - Add spi-gpio. --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 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 7db3f9eb0016..8a173863ef24 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -505,9 +505,9 @@ &sgpiom0 { "","reset-control-cpu0-p1-mux", "","reset-control-e1s-mux", "power-host-good","reset-control-mb-mux", - "","reset-control-smb-e1s", + "","reset-control-smb-e1s-0", /*E0-E3 line 64-71*/ - "","reset-control-smb-e1s", + "","reset-control-smb-e1s-1", "host-ready-n","reset-control-srst", "presence-e1s-0","reset-control-usb-hub", "","reset-control", From patchwork Tue Feb 27 01:47:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904817 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=aXLpAwJ6; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL336dBgz1yX4 for ; Tue, 27 Feb 2024 12:47:43 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=aXLpAwJ6; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL333wFpz3d2W for ; Tue, 27 Feb 2024 12:47:43 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=aXLpAwJ6; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::632; helo=mail-pl1-x632.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL2r1QLpz3cNl for ; Tue, 27 Feb 2024 12:47:32 +1100 (AEDT) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1dcab44747bso10714365ad.1 for ; Mon, 26 Feb 2024 17:47:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998450; x=1709603250; darn=lists.ozlabs.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=pegTGAgIl7701EaFNdsQSg89lpjeCGj36MeNrr3t5wk=; b=aXLpAwJ6gJ+GaT+H+ylJ6DE5JFARDlHZyvNg7Z2LB3OYdluL79uBHygOe5HljkSbeW u1+k+JpWEGiSbfHbarHEWm/48UVLCK6qpqviA3mM3tlx7eI66cMcFc0tfpIw2za36Rup NgaKc/2V7aaokSY9eU8oDyIZxg6lz0nI/epzyEqarOpaABosNXTuM/dLk6Axy4zRn5YT WDECAcU4Ciq5URVlP8CkQlIKep4V+JwGRXUiGdpCBz3oDuTJnXlP5wvv+bi0Mcl3rCHH q42yTgUZFGtUm8dyBiU2OLlXUIjuUxwUV2xZZDcJnrNnenysFcZk8cV1uMTtRJfyyb4M orBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998450; x=1709603250; 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=pegTGAgIl7701EaFNdsQSg89lpjeCGj36MeNrr3t5wk=; b=XQe8UuVOcwkv5EmvN4qv+Ob8JJXauNYKSfPiM3sMQqJANht4M1QQXGfESeJASgpQBp mjTjRuee6ZDylpuuHp353z1m8y4H/iTAB6O7UWnbYL1gnHp+K2LMlVzVVgZMiSToG84R YOr/Esp6r2MBuCeqccm01QtkVkJEITCfiNWZy9a3qzrzfGq4kfZjm2H3fci+Zrj2D4wV CPQrZcqnYhbKi06OYzSIP+dain+gvU416M3hgxq8G0LiS7N01+4D6fpPJnG0PcrjtdQC LsoP+xDZgxGks8WTlu61GI4FITpPkEYfT3K28g+g2GRz2cJWcWybmm6JWxCorsGUhxsW +www== X-Forwarded-Encrypted: i=1; AJvYcCVgVNp6Trutcy1kSJubnQYhuiN/IM1CEP6uWXcYzBDaQ5YLyWePWCpo4iNHw4IY8ZhzhZgIS+oCR97qMmtfWVZZvaO1ZMiBxIJwsviqfQ== X-Gm-Message-State: AOJu0Yw8IhruZ1QG4KRAgJRdQOmDPAhvq0m0vDcKu43RzjRn5Ak8vaEu fezpQLtnq690XMbmC/3T8VTdIJVo42EHrjNZClOPSJzkL5O5bKOW X-Google-Smtp-Source: AGHT+IEuY0YS9uhhpwyMcXgTwdMTh5gphqL/4vO6O7j6X7sRqCr2NuHIC/jNJLySO4qn3fn7Qq+ouQ== X-Received: by 2002:a17:903:192:b0:1db:4245:454b with SMTP id z18-20020a170903019200b001db4245454bmr10101016plg.57.1708998450196; Mon, 26 Feb 2024 17:47:30 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:29 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 02/10] ARM: dts: aspeed: Harma: mapping ttyS2 to UART4. Date: Tue, 27 Feb 2024 09:47:11 +0800 Message-Id: <20240227014719.3037588-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Change routing to match SOL(Serial Over LAN) settings. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 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 8a173863ef24..a0056d633eb1 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -12,8 +12,8 @@ / { aliases { serial0 = &uart1; - serial1 = &uart6; - serial2 = &uart2; + serial1 = &uart2; + serial2 = &uart4; serial4 = &uart5; i2c20 = &imux20; From patchwork Tue Feb 27 01:47:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904818 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=SE44vBGn; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL375V6vz1yX4 for ; Tue, 27 Feb 2024 12:47:47 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=SE44vBGn; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL374SpGz3dXN for ; Tue, 27 Feb 2024 12:47:47 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=SE44vBGn; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::635; helo=mail-pl1-x635.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL2v5hk8z3cPd for ; Tue, 27 Feb 2024 12:47:35 +1100 (AEDT) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1dc9222b337so19182915ad.2 for ; Mon, 26 Feb 2024 17:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998453; x=1709603253; darn=lists.ozlabs.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=KHfABZko5E3OyVpk0Pm7Tx9/GwQM3X5Y0l7yapoWLPM=; b=SE44vBGn5F6GufzR09gIDdCBJzGNcX8I/DNH22uncWBw1JiSKzDpXnnbtWyltOnc/e T+sEpHlV4++Os+oBcqMzklK7nRB37xCrtMrC0qt1otyUWxM04dCG6HsQHzZ/Pxp+3I1T o8MlJFp49V2Nn0AWEh0JbClVF8jNin7VTyQL9kZ6EvkKU77flMLUeOoCJlKbO8qbvhRo K6wBHn7zGP2sl01XbfN4HcgwGS+FwPDrjEF5dEEu1HhtmnEHUnXq3tRZbt3PaCfLSWrD ezBtbTPmZPqqhgeDL7rs+tjpdVZ4z5CxJ7utFoiDdIYKfWdGxq5sNmeJZ44uDxZEw6SH V0xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998453; x=1709603253; 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=KHfABZko5E3OyVpk0Pm7Tx9/GwQM3X5Y0l7yapoWLPM=; b=cdmRZ5QcE9b2RAIT2YaNk4y+WjShhTdAP7JwXJEW035L5DmWTdSoftaC9bOKXQACPP L51RZTNLs08VjUzMwc2NWtV5j/AfZFIvkHCr1hmPJMQy2D7ulGbm1Y6wJ/WKdWvA11BG xwy0+00HojNtY5mVqF2iBi21DoZazTWsWn/heQdMlFnX30vV4RuxbL71xaOkHUfuc4ON ucdtFYW814CR/ATuL7X5yETbkBFZYUJ/7eGpK4y+r/UAm9/+uneUKOESYg/+AhM3tvXy 8kuzpzzKigBOHrycGU4hi8Me533vFeMbJLN8APJp181yKRX4vSw3lgTW/mQWgi5THatL +g/w== X-Forwarded-Encrypted: i=1; AJvYcCVUX4ktgo9RHm8an5SL7zl3+ZvRG6HR73pF3Ng7HMTHUqPfx/HTN+a6FcjwYwWr5IJCsc5RWo95RzrPHMWtEVcDloCkPXTQQ/jBPcbTUg== X-Gm-Message-State: AOJu0Yz+AoitRTbPnOz6ZLHAWc28HlMH1SgMA9r5Z9083rTjyx3BhZYQ 33ihE17H1ZGQAR80vlEelkM77UQm6D5Qw6/pjJCPYr8KJuc5Og1b X-Google-Smtp-Source: AGHT+IHnr/SXQx/TUhSGNxXmsbhpF3PDlZn9SdYcK9U4yVXvMpnTPJMMe0fvrUhJncD1RfdDQF4Wyg== X-Received: by 2002:a17:902:c412:b0:1dc:4190:38f3 with SMTP id k18-20020a170902c41200b001dc419038f3mr12706737plk.13.1708998453069; Mon, 26 Feb 2024 17:47:33 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:32 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 03/10] ARM: dts: aspeed: Harma: Remove Vuart Date: Tue, 27 Feb 2024 09:47:12 +0800 Message-Id: <20240227014719.3037588-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Remove vuart to avoid port conflict with uart2 Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ---- 1 file changed, 4 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 a0056d633eb1..5d692e9f541e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -100,10 +100,6 @@ &uart_routing { status = "okay"; }; -&vuart1 { - status = "okay"; -}; - &wdt1 { status = "okay"; pinctrl-names = "default"; From patchwork Tue Feb 27 01:47:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904819 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=hskUHJqp; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL3D1dr4z1yX4 for ; Tue, 27 Feb 2024 12:47:52 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=hskUHJqp; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL3D0bcjz3dXQ for ; Tue, 27 Feb 2024 12:47:52 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=hskUHJqp; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62a; helo=mail-pl1-x62a.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL2y5cCNz3d2d for ; Tue, 27 Feb 2024 12:47:38 +1100 (AEDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1dca160163dso15395365ad.3 for ; Mon, 26 Feb 2024 17:47:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998456; x=1709603256; darn=lists.ozlabs.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=4mmt0UdSDV+w1BWZtmNFxfAxPy3KjCbVYZPCzBNdDlQ=; b=hskUHJqpdJf504dYaMYn6IM3RfbSsUFI8+rwLaFMCOCUwAYERnEltQPmtkJ5Vq2AO3 xgXHtOSF0ZnOk/7tKkzb2lnnKd+bRw8hH1I2JUwg4BBPl4bwypiFQTTs1BN0hLU0prGu vcPAMMnKFo7+ikxz+heY5dsFL9r+ypR2TwxEeO0NtBeCFZOvgaWWlOd3dhmtzsHlGOno 8PZikr5u6RzI+Cogv3ufMG97OAkBkG9qvA5+Sv+FuQb0+w1/86wQ+SzGvJNdkfVsVLvc 4LrwlXuo48MFEwo6Ca6vPdSK2BSs+uL3PsRrlgBXcW0J+rsqP/MQBjJDG0VMR4hxg37Q ojZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998456; x=1709603256; 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=4mmt0UdSDV+w1BWZtmNFxfAxPy3KjCbVYZPCzBNdDlQ=; b=PfZCDwyFA+5lDZdebvHa3CsPNrxD3gypmN8E06+NuCKmE2sWoK2MfaSBuSIqpVNB4R tai8SforCIeKBrPnGNL5tGN18AkNNqtBJtnlVdTz0W+KCYdz1rCJrVT4BzAzBArP30W5 wfT2H9CJyUcji/08a8FMy0Tz3K04ZU8nxxwU7abn1s1wKHc+OgWygJR0Bisj37s/imlu 9iIeMy+yod1TFVtjquSrZCquZQutwDIzRHk9n3DFuWZqDXBGRxUqOzXlwczeKu93QI7W LDTN5t0REYDW88WXpZ8WEk4gvFK6Kjn0j3O0ztm9FEbuvb/73Wey6dp8HX+m2xtOUwIO Od6Q== X-Forwarded-Encrypted: i=1; AJvYcCUBKWaiICAezdbuEoI2KKRTVZqgk9fpOrLXtBJgHZaANFtLP03hbK1jhqFLiD/+50/a5M8sj8eIz3Pue2WiBtXxlQhkIoqA7sb/D7tEkw== X-Gm-Message-State: AOJu0YycbuDc6s/eElW31YzslJG8qD89+jqVm8giFq7AqHpwEuUTiEoh TDgoXvEOKtC338Y16LWHXM4XRtMMlP6UKIJgSHhX2CYCVWQDneKu X-Google-Smtp-Source: AGHT+IF/R8F2vCv8LwWiPNVhtvuPYrnqX7K+5pgbmlEmQC5kMGnDWfZijmTSEK7X7o7tnH0QeGVCtA== X-Received: by 2002:a17:902:6546:b0:1db:aa46:4923 with SMTP id d6-20020a170902654600b001dbaa464923mr9339802pln.40.1708998456003; Mon, 26 Feb 2024 17:47:36 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:35 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 04/10] ARM: dts: aspeed: Harma: Add cpu power good line name Date: Tue, 27 Feb 2024 09:47:13 +0800 Message-Id: <20240227014719.3037588-5-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add a line name for cpu power good. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5d692e9f541e..36aad01dda20 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -501,7 +501,7 @@ &sgpiom0 { "","reset-control-cpu0-p1-mux", "","reset-control-e1s-mux", "power-host-good","reset-control-mb-mux", - "","reset-control-smb-e1s-0", + "power-cpu-good","reset-control-smb-e1s-0", /*E0-E3 line 64-71*/ "","reset-control-smb-e1s-1", "host-ready-n","reset-control-srst", From patchwork Tue Feb 27 01:47:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904820 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=IdwURT2M; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL3J3DkGz1yX4 for ; Tue, 27 Feb 2024 12:47:56 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=IdwURT2M; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL3J29hlz3dkm for ; Tue, 27 Feb 2024 12:47:56 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=IdwURT2M; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62c; helo=mail-pl1-x62c.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL313K80z3dS0 for ; Tue, 27 Feb 2024 12:47:41 +1100 (AEDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1db6e0996ceso28176385ad.2 for ; Mon, 26 Feb 2024 17:47:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998459; x=1709603259; darn=lists.ozlabs.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=7+fqIWtBV/T+80XSNaZFcmZX/ftnbYEEAJ0ueKG+0WM=; b=IdwURT2MSh+Eu+Zk5p2Yec08JJENDsjb06aozmuWu1VKbfO7vx43IXE5Bw15AZ97Rm QqDKGWaoVHHcdzqb7eY2ZAszQNmYCvH/rmwSZP5TukgFdBRXj06BTXn+9wM4RTsNDSbm 7j5372UaJV+d0yZe3HhDuvyE24ZJBe83lx6zbHB/mPHMq0ZmCef4LSRgZA7BYm8YuypP 87RBcB9bdUkvv83oq9q/qgzIWQlQsQ0WLR5iRSYveEIJ50lHMYOSsGnqRnC3y0O3VOM6 ptgFeTsFeJRuURaSZzHRQg/wWf/EEqEFLmpnHY5pKtbCkauTmFW+MDaUtMivdV7dMj4i Z5HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998459; x=1709603259; 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=7+fqIWtBV/T+80XSNaZFcmZX/ftnbYEEAJ0ueKG+0WM=; b=YLbi6ZGGQSkB2BKfQQr7PQqljwdAKnOaC14v5Jr25KlWGfWYbA2rJX521XUM2CdwU4 uCBYC5Qj4KaJseM64/K3etpLup0TEENv9usfpxt1qLLwf7h8IFyVbttp4lljiNMRjWvD JMC1vtnFX6HkOYjM4ZYAuZtTGyDwgXdnzVEVDZnORcOLbwnmTv+l08iXZMWXT+c7Yf9f RMcWeD+QLH6q7VhR3znmRMDkOTyL/dK3SZUuBy4Awfjod889wUDkM4bf5QyGT3n+dD06 C41vXm4y+IT0S/b2l89UHuTLwCpPH2khyHG1PKaDWneC8AK8qlgZkKgbzozMuekkeons Qf4g== X-Forwarded-Encrypted: i=1; AJvYcCUUylY6QZ/L2Y4QY8wP82ChLd9j3rYuchT/Wb9pAglmtbROZEvjpe+VRjS31GMYzchnT/8PqwC0z/l+xge227uPk2uywB5OExwM4i9DFQ== X-Gm-Message-State: AOJu0YyZGgXX9qmz+KkWekrsp4GvAqJGGRB6+8oQuQBiOWBOEbt4h31h t7Gnl2YVVWTNiuX05VdBzsP35bXVjQYZvwOV2l1lN/vmnhKtrfSI X-Google-Smtp-Source: AGHT+IEZepgeDkUT9RDJvALOKsdiZXgwdG6lSfCTNXsWgnFPt2uDjmBS4/7sgyCrveGYIUTBsjSkzw== X-Received: by 2002:a17:902:9a4b:b0:1db:f952:eebf with SMTP id x11-20020a1709029a4b00b001dbf952eebfmr7108683plv.44.1708998458872; Mon, 26 Feb 2024 17:47:38 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:38 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 05/10] ARM: dts: aspeed: Harma: Add spi-gpio Date: Tue, 27 Feb 2024 09:47:14 +0800 Message-Id: <20240227014719.3037588-6-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add spi-gpio for tpm device. Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 21 +++++++++++++++++++ 1 file changed, 21 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 36aad01dda20..ca3052cce0e0 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -28,6 +28,8 @@ aliases { i2c29 = &imux29; i2c30 = &imux30; i2c31 = &imux31; + + spi1 = &spi_gpio; }; chosen { @@ -67,6 +69,25 @@ led-2 { gpios = <&gpio0 124 GPIO_ACTIVE_HIGH>; }; }; + + spi_gpio: spi-gpio { + status = "okay"; + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; // HOST BIOS Debug From patchwork Tue Feb 27 01:47:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904821 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=EkH7Pt3v; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL3N4nsZz1yX4 for ; Tue, 27 Feb 2024 12:48:00 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=EkH7Pt3v; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL3N3m6gz3vXf for ; Tue, 27 Feb 2024 12:48:00 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=EkH7Pt3v; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::630; helo=mail-pl1-x630.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL332wFKz3d39 for ; Tue, 27 Feb 2024 12:47:43 +1100 (AEDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1dca8b86ee7so12551285ad.2 for ; Mon, 26 Feb 2024 17:47:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998462; x=1709603262; darn=lists.ozlabs.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=eE+ArNThktHqxq53xyc4RaWaWv+q0sBFJ+ThRmH5j0U=; b=EkH7Pt3vWiDDl08M42oPkQQA+hU6oFclwUyeRsEy0Q4WjXXlayqxvngrWrxrDtS9hA 9fwzlvbsZBY0ig/vev+KrpoIrMDiGKo4LzrDoKr+iRix29l/hoXyxrrUSxHAVveC9cGE bNS+CmGk7gTpdGItnsvZh8ZsFoWupWE0ShskJtvgeJMFNJsk0eCBeFpkQY4ixSiCCOuW 9cYyQ5XDSeAYvLcSK88z9xFiPKYeaKx7PXo/KxnSEeKhEw9VH+5j3rnRfZ7ic6JVjSFH AhQZ72daT7UiTbptSVa3k67l/o64JJ+Y0zyVRrxuXKhH+bTk03FXPvt3q8UwKcoxjb8e 86Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998462; x=1709603262; 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=eE+ArNThktHqxq53xyc4RaWaWv+q0sBFJ+ThRmH5j0U=; b=nY+Q4xu4UKhjM6LhBIDprGPxk9FLzSH89TEi5M/F8hk6QqB21PNUyTa7LlMg7oPMBM kbU/Hl4ZVMeUtjJ2V4hNcyI80siEbp1KdtDdlrRchBaebvaYntAvZGBx2r7OQpYZsDzH 72uu8CDvPoh5SSD18WbdAYktvYjhIMOsjWAzXMwvs2DWV36YuJXnR4yfMiV/Yz3k4nHy HRO+hucR816DxzXnajYTeiSnAcI6riJE/dXoxIrJ891U3gBRv8umFBt5AYAEWzLdOzcz qsAW2QuMy0W1rE9I4TL215C6EjMdD47yhe0FPvisnlle24gDz6N9DbgCiNFphr4agnK1 gtoA== X-Forwarded-Encrypted: i=1; AJvYcCW8gJgHhIZfsl49KGHxH92e+/K9cXPPjDeP/9IxDZAFG6C2D6YGvjW1AJ1NriVHv2H6sfCpl2C1S/8fJCaHeux9Uke1dmVS6FghDiQZMA== X-Gm-Message-State: AOJu0YxfvpOQuLRqzPQeKXLgUj0Fk4mAn3wfMIVz5lCQiPmE0qdpXUlx G33osFM8R6F4FR4JVtjwav1IpRi5h9maV9lTZAumaK9aEn1O59st X-Google-Smtp-Source: AGHT+IGUkrUYzuWekhnfwHEaJElaB5YlO8KX43Tz0JCPBvqLuayKsT3ekwmZgSKD3IxpMHae2CmDbg== X-Received: by 2002:a17:902:6e10:b0:1dc:6152:7c24 with SMTP id u16-20020a1709026e1000b001dc61527c24mr6961774plk.43.1708998461762; Mon, 26 Feb 2024 17:47:41 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:41 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 06/10] ARM: dts: aspeed: Harma: Add PDB temperature Date: Tue, 27 Feb 2024 09:47:15 +0800 Message-Id: <20240227014719.3037588-7-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add PDB temperature sensor. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 ca3052cce0e0..5c3fa8bbaced 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -203,7 +203,7 @@ max31790@30{ &i2c1 { status = "okay"; - tmp75@4b { + temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; @@ -260,6 +260,11 @@ delta_brick@69 { compatible = "pmbus"; reg = <0x69>; }; + + temperature-sensor@49 { + compatible = "ti,tmp75"; + reg = <0x49>; + }; }; &i2c5 { From patchwork Tue Feb 27 01:47:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904822 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=gCtx2LGU; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL3T4gsTz1yX4 for ; Tue, 27 Feb 2024 12:48:05 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=gCtx2LGU; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL3T3Zhpz3vXX for ; Tue, 27 Feb 2024 12:48:05 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=gCtx2LGU; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::536; helo=mail-pg1-x536.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL373BsCz3dX6 for ; Tue, 27 Feb 2024 12:47:47 +1100 (AEDT) Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-53fbf2c42bfso3577729a12.3 for ; Mon, 26 Feb 2024 17:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998464; x=1709603264; darn=lists.ozlabs.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=WeUVH1enZnNU18wYfElV/S7pL59t5rpG29uXETSjnD8=; b=gCtx2LGUeM7SXcvKunmNp+0wPEKWMk0ocxcXE9l8uPSK+xiH3EDZKXApVpJsfAL6RU H+QmdbhScGTjLkwXKEA3bos7wsGTftFwHu9I7wvIdywnBzgWzN1j4FRuG/hdTh2ngVsz IpADd89eCrN2VCHxaDiZHOA/fDz1d3SDmqvRLSvF1B1bnUJ0MeoU8CrO4N5wmMTfwMV5 L8XylerRvZ75BpgPADdsNtQyeBI355q4ut/tOVjh6Yf/bjYQdJmoPZWKbQkCk/Z/IWSE beETMf98PQBTTsMmoUVdEX/c50ZKFoyRk6CQql4vslxORWRihze6Sdm8HKNOM9ipoUBv n1Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998464; x=1709603264; 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=WeUVH1enZnNU18wYfElV/S7pL59t5rpG29uXETSjnD8=; b=QoZcD5YtGvFdtsHjTBRyyczDg5rSwWHzXfwZ66oFI1VM2QuAFlzjqApQdRWpYQ30KK 6DxxgD3xNf5iH5WExK/CVqNoY3qYhmhk6EU4yAW3vl/rYfCyWr8/+zMaOhnE5FKImNwi F02UVgUQuGw+b4RTIWRU17KQLGbdTaz77jVCG/HjTM53MIhW9V78EXg0kWefQVv8R/Ne /NWrI8un/DV/138Qk7Kx/ecGjCIe4W6q3G17EzSHo8xE/g9XP1xxjRStvDbPxiZJYmMk wtqzVPZuJELaXqu2At/di9CST4fClbdQ8RFmOx0uetggV35Dy3Mt3P4BAGOq0aARTk+f 1plA== X-Forwarded-Encrypted: i=1; AJvYcCUMzD2Jt2w+sC2pgE7OcmQzOXnbcvsoE1xLWh2olZnAbyVAwOuF5GU9FtxrTx3YS4NQ8jVhA3QAAlEIwRRgPNGN2JX2uXp7AtYbpHjbQA== X-Gm-Message-State: AOJu0YxyQDJ9ci+051Ln2JgOZ6oqSxz3waytBxZsBxnlhAPAaIo3lWGe wX5w/4imHmXEf+n0OjM+OVnV8vWsLaPrLzbJ8Ki/18HBqmqNrlah X-Google-Smtp-Source: AGHT+IF/Ku+RIpOrUIY/aJ7uNPcDkGlC4OFk6afz/ulTHSCfoWsoNZFTnnp/YaBtuRHdqfJv6tNwOA== X-Received: by 2002:a05:6a20:c916:b0:1a1:b38:be61 with SMTP id gx22-20020a056a20c91600b001a10b38be61mr881754pzb.51.1708998464656; Mon, 26 Feb 2024 17:47:44 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:44 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 07/10] ARM: dts: aspeed: Harma: Revise max31790 address Date: Tue, 27 Feb 2024 09:47:16 +0800 Message-Id: <20240227014719.3037588-8-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Revise max31790 address from 0x30 to 0x5e Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 5c3fa8bbaced..7e98af5836cf 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -192,9 +192,9 @@ &kcs3 { &i2c0 { status = "okay"; - max31790@30{ + max31790@5e{ compatible = "max31790"; - reg = <0x30>; + reg = <0x5e>; #address-cells = <1>; #size-cells = <0>; }; @@ -212,9 +212,9 @@ temperature-sensor@4b { &i2c2 { status = "okay"; - max31790@30{ + max31790@5e{ compatible = "max31790"; - reg = <0x30>; + reg = <0x5e>; #address-cells = <1>; #size-cells = <0>; }; From patchwork Tue Feb 27 01:47:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904823 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Ty0a3EMq; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL3Y5wpRz1yX4 for ; Tue, 27 Feb 2024 12:48:09 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Ty0a3EMq; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL3Y4tTHz3vYc for ; Tue, 27 Feb 2024 12:48:09 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Ty0a3EMq; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62d; helo=mail-pl1-x62d.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL392167z3cVd for ; Tue, 27 Feb 2024 12:47:49 +1100 (AEDT) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1dba177c596so23679435ad.0 for ; Mon, 26 Feb 2024 17:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998467; x=1709603267; darn=lists.ozlabs.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=Hs0kTt521WxQulVTrFgJYAGsV52YNUczVxWl9CdT+ko=; b=Ty0a3EMqJl1bb0FHACGUt1KZiZAb0wN+emNd3w0CFLzTaMBO5gsDUhCbnJaePqdqa2 MK4PmTmymro49Ht6/xnOFUxBttY/yAFFKBF7IOICXo9M5aE2NGM0SpsGNZBPzaDmeAC7 Mb4gIbLHbRasDrJdESZkxN+BL1ONWhNSaE03IsVspPNXomEvF5qY8yD+Dy8+nMARl7Mo UvCNkxZX7mytpYQ4W+nyAHgfxaHdPpXFBvnQNaJGsbT14tDk3DoSfZojSGnqo5ZqTMSV tMKoXXXMZ95k4p7gR4lfGGBGgrOyjTEvebNeJHI81fBmj+tQlpiBATXlrQSkWCPKWxO1 6+mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998467; x=1709603267; 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=Hs0kTt521WxQulVTrFgJYAGsV52YNUczVxWl9CdT+ko=; b=sX2SLOh6gF7ax6ZpWRqogmQppM/SPlJH4jlk4WvJiGxjr+LFHSTZyDMa0qqJDcy43d S7OMHqOjQtT8yOX4pEAcYYGwACPu/1QFy23FQNxHFt2yBmTsca8n/zzC5iUsmf+7nP+L rD/kR/VnfAQJ9npW8qV97xyTj025DCtOjrNOYYjkW3ReJMM7riPOWw5HWArQzuLxuwgO hT+Py6F63k8pbOuz86aCsje4sa0jTtqqT2hGTseX0YkTvH2+oM+Ztiy4mT2s9lTnnop7 uVeIg3+ejyV/T3ezOvpqDwsUUeEvoKQcbrvFcrdXjAV1kGmCbiHSy5UY89ONIQxoLKNv D27A== X-Forwarded-Encrypted: i=1; AJvYcCUMf4VCtfu2bsDmxZqIAzKdkSAlglLqN2pLEgdOZRpGuNEWaMThNKP3Nq6IAkHEDfEayHR/lgi3fsC3fDkffgVH0inAEnxmDw2DWFSwBg== X-Gm-Message-State: AOJu0YxCAb65Yb1Q+IUuj55n19xIWd5fNS4LQSJ/3i/48lAo0CJKEr+9 ORzri51QeZ7I223IPHWTnR66e2W+LsPHeoqJiJ+IUybm60NDPaEf X-Google-Smtp-Source: AGHT+IGuCy8bpvvHRwtyY97TpNDqZJzgeQPnK+BX4u53CAN/uvQNpPDyoQQPZHSXZR3chccrAq0OwA== X-Received: by 2002:a17:902:654f:b0:1dc:15f5:fde3 with SMTP id d15-20020a170902654f00b001dc15f5fde3mr8724505pln.4.1708998467634; Mon, 26 Feb 2024 17:47:47 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:47 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 08/10] ARM: dts: aspeed: Harma: Add NIC Fru device Date: Tue, 27 Feb 2024 09:47:17 +0800 Message-Id: <20240227014719.3037588-9-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add MB NIC Device Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 6 ++++++ 1 file changed, 6 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 7e98af5836cf..6e9e6e559838 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -207,6 +207,12 @@ temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; + + // MB NIC FRU + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; &i2c2 { From patchwork Tue Feb 27 01:47:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904824 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TBiTQ8h7; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL3f08N5z1yX4 for ; Tue, 27 Feb 2024 12:48:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TBiTQ8h7; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL3d6FLyz3vZB for ; Tue, 27 Feb 2024 12:48:13 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TBiTQ8h7; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::630; helo=mail-pl1-x630.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL3D1JtCz3dXP for ; Tue, 27 Feb 2024 12:47:52 +1100 (AEDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1dc09556599so32668245ad.1 for ; Mon, 26 Feb 2024 17:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998470; x=1709603270; darn=lists.ozlabs.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=aW3rP8p4z3TO0Ihdn0FuHfBWSAl8GOUADIxx8TKfnls=; b=TBiTQ8h7qpWyBxNvVCSbM0Tt0Kp24jIJXbnp1NXmo8tGlj2uvKct0KckYRCCmMsixM osEpYLBtwAVdSubu5sZtT92HfeEujOAvORF+D5wzWqRgvCJEvWYKeqwhPm0+AUojPmNn 8A26gxKe4QCn8syALmIbnd3IYEvRUueO7/1EdLoiGtImTcuOITVAw1Wn49bTfl0mVUey OI2xCZyCC/DNf0gWWSDCL3Cqd6vDStjZkLhzXvxxLY3HfdWLMH2wustI1us9efMpodYU BeedPBiVBs/kBe6NaiJvjhIuVloOQTwe1CYgDFPIbvryuQFh8lyrXXaaJMlZ7Wwtrgbm MGPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998470; x=1709603270; 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=aW3rP8p4z3TO0Ihdn0FuHfBWSAl8GOUADIxx8TKfnls=; b=LJSrUrAPuos6ogtbV7vyaA+lqfYNRBXN7H0Usa9SuCdtckNRqF93LNciaMmtXwFzNl h6gm4Sn9BHR5b0t1VgApEDhdM/XLGmmaQY8uAFFw/lJZ07N+Ykfvo5GcsbNe1FEAf64Y 9q4vBduXdhUXh+2qiRoQh33tm759PqTkDJ6UUjOuAPChfsIufMCy3zyj4Y7zuhA7WOF1 LapPRG+uYdyVMvGJYS7T8XJxHqNTWNnH+J9KeJLZEtdDrZWUbKMURgvllWZLqbTWrB35 fRZ3akxjV9ngw8A5jCbj/UHrX0/nGygQFD3d8FVHr+ci0lxEtCcXQJEL8IJrm1ch8FEh Tsng== X-Forwarded-Encrypted: i=1; AJvYcCXU3FU4IHM2K8Py/4Dl0guI4KWb47xnaqUpJAWn/bGK/BWinX4+RMK4Q6i9LkGSLFIw1MN6pGkZQQjMAmkTJcRBb+iXhRNjEz7oI8ZOow== X-Gm-Message-State: AOJu0YyQn1LW0luda3ZRKxPHlJJ+IuAPvJm522Lkxuzf5Ox98LlY+v2g cIxZJIrVH7d9eo9HL8YHoHoP3GOgoaw9d3H+h6l1xmKvCXxAvyCQ X-Google-Smtp-Source: AGHT+IEBX4FYb4gOFGZPwQ743sNbT9oZl7lMS6oM4vUbM7iuca8bfrna2+jJ549qvM3NYZaT4J9nHA== X-Received: by 2002:a17:902:7613:b0:1dc:63a0:8c6d with SMTP id k19-20020a170902761300b001dc63a08c6dmr9180109pll.40.1708998470559; Mon, 26 Feb 2024 17:47:50 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:50 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 09/10] ARM: dts: aspeed: Harma: Add ltc4286 device Date: Tue, 27 Feb 2024 09:47:18 +0800 Message-Id: <20240227014719.3037588-10-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add ltc4286 device. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 7 +++++++ 1 file changed, 7 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 6e9e6e559838..7dd48c384a4d 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -271,6 +271,13 @@ temperature-sensor@49 { compatible = "ti,tmp75"; reg = <0x49>; }; + + power-monitor@22 { + compatible = "lltc,ltc4286"; + reg = <0x22>; + adi,vrange-low-enable; + shunt-resistor-micro-ohms = <500>; + }; }; &i2c5 { From patchwork Tue Feb 27 01:47:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1904825 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=lPLT/TN3; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TkL3k1K8Hz1yX4 for ; Tue, 27 Feb 2024 12:48:18 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=lPLT/TN3; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TkL3k0Hh5z3vZT for ; Tue, 27 Feb 2024 12:48:18 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=lPLT/TN3; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::630; helo=mail-pl1-x630.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TkL3H0xKJz3dXM for ; Tue, 27 Feb 2024 12:47:55 +1100 (AEDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1dba177c596so23679925ad.0 for ; Mon, 26 Feb 2024 17:47:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998473; x=1709603273; darn=lists.ozlabs.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=xrsvdI1lEYG0uIgU/VTd61D6Q1rZXhoZ89VFb5WgrsQ=; b=lPLT/TN3AslAiL8aY2ElcaKPCq1OvgYpmzzcajnoRqyV9kYonzYuQOyhkqDcLyAO9c ie3cJLQSc+m/+Y4BcB8/VIY//owqzJ81oC6Hw4KPztg2yIgGs85MShQ7OftZN3LxHvgJ D/C5JesQugtD/makRnVWdvQAkk7tkREh/0DFZJOmt7NYkwQNdxSrjCWppri7iDMpLnsi I1evvoLsrhJi5sdAokry3CnVzhpTy06ypF8YK6bndaFsThaNPK5uT58ZlyD/tnrM9OEt NY1lXRCHbnhUcO9hR0sxSouPlwFzNfURbP8UT3Jk/eRuK3D1upnE+MwYr0qX612khO0S 4a5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708998473; x=1709603273; 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=xrsvdI1lEYG0uIgU/VTd61D6Q1rZXhoZ89VFb5WgrsQ=; b=d60ZnSCk4MoofQG1RmqU+r5qrwjVytuzC5YpaH5W0TW00ihbhHm9CCtBLuSnW1Bs1f Rfwh/ewwnI6SI7vg25sqSw3SBmcCcqLXw5QmTm0dgyhA2Xu9jZuK9u78yghCf6dF+zeJ bT8bbfK1IBCfSYi49Gd7HTnjKKRLkEbnvp74QJqXaUfxD2PYUt23Yfcgf9LZmeSZq82I ComAE+5qD2jMcozgOgepJLJVHpivUAvtGdfIZQpU8rtjP+NE4rS5rEZCdDppAf3OjllM k2q16zuRzBmLEkb09HJOKvCGq6Ia94KUIbU0WpVg387Ar+jlR76tAE0X+R+QAdzv5wBU ggOA== X-Forwarded-Encrypted: i=1; AJvYcCVy6tHRsUqF8XaWS/0hTJXnGwvM5vTMAl1rtBlsSXddnDqM76D3eICiyqcXZLApW4bDl2rTP3+WEWhIVrrr5gGR3BuTXZeYeCmDwnZQ5A== X-Gm-Message-State: AOJu0YwDceuoTI8QR6oZ7CuRQUYkt3z+EGMYBr644eDwtBDW1wUGbx9b ViVOyU2Pif2e16ota4gEOycjztf5laA2oKcpt045Xq5jh5UvvmOR X-Google-Smtp-Source: AGHT+IH1epM57xXjOkh3hVvEgpaSGXhUd8RokuHIrZStTeRvVbdlTK3D3B+Zt3WIw8AxLNLwL73gNw== X-Received: by 2002:a17:902:c946:b0:1dc:8546:1584 with SMTP id i6-20020a170902c94600b001dc85461584mr10319395pla.0.1708998473472; Mon, 26 Feb 2024 17:47:53 -0800 (PST) Received: from localhost.localdomain (2001-b400-e381-af24-f369-7cbc-56bf-1d54.emome-ip6.hinet.net. [2001:b400:e381:af24:f369:7cbc:56bf:1d54]) by smtp.gmail.com with ESMTPSA id kl14-20020a170903074e00b001db4b3769f6sm318893plb.280.2024.02.26.17.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:47:53 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 v4 10/10] ARM: dts: aspeed: Harma: Revise node name Date: Tue, 27 Feb 2024 09:47:19 +0800 Message-Id: <20240227014719.3037588-11-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> References: <20240227014719.3037588-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" 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 7dd48c384a4d..530f69005857 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -192,7 +192,7 @@ &kcs3 { &i2c0 { status = "okay"; - max31790@5e{ + pwm@5e{ compatible = "max31790"; reg = <0x5e>; #address-cells = <1>; @@ -218,7 +218,7 @@ eeprom@50 { &i2c2 { status = "okay"; - max31790@5e{ + pwm@5e{ compatible = "max31790"; reg = <0x5e>; #address-cells = <1>; @@ -262,7 +262,7 @@ eeprom@52 { reg = <0x52>; }; - delta_brick@69 { + power-monitor@69 { compatible = "pmbus"; reg = <0x69>; };