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: PeterYin X-Patchwork-Id: 13573114 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 78AE4C48BF6 for ; Tue, 27 Feb 2024 01:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LisJNfRHaLK+Stu75pT9wS0NIO7Eb4n0C3+WyPw8ep0=; b=RfPsKGn8XJiP/h uf5U6A0H20IS+8MUeAijV4lTTRxru4eroANvCRRXt42x9ElpXm+k4L6IrsqqkCEBqiL3CwlJy7U/3 Zmvt8BbgkSuPcliKRh0kUeBm73lzPhA5lFx6vFSfeAFBlZpJZe1YRnbXhrZmrjCum7qeyZzS8bwxm vsopjubA3N8VwmgnPelPA25C07vgR/PqPcwfFr5wUU+CDjyDm0DE7hfy80vV9v+KmcDDLjzaBd3JG LHi4sgRG6kjSehXZfrLIi8Bb/aBgxeUEzuZy/rnU5Se8jB1s4jzyQzzpeRYlwvJUtIFVHs+A+4tPk V79bYJuyBZvOz/xbGAMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZO-00000003Lqd-1ACn; Tue, 27 Feb 2024 01:47:46 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZ6-00000003LlF-0QIW for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:29 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1dbae7b8ff2so17992585ad.3 for ; Mon, 26 Feb 2024 17:47:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998447; x=1709603247; 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=LtUXz+HyXntUYvPu0c3yAr8OxqLOOI9DlELoYq4T+Ug=; b=CPBpc0HTARqiuQMG0f32GzziBi8pjPh8qJEWItTnIGd1/cmSkAmw5Irr1mojKouiLP WKC4wEZc+YycFkppIx66xZJd5yRnfqNBLoX0YW0SejwS1J4SlfufarOcRVcx7dJbHjoe xK1YnrO2zyi/+Zgb2faRqyjBFKKtas1vZrJLvO+DL3xhFf1G5JOsiqz5LY8/RkNJ+gCU ZMZ+H5yt+wInRFdvMWP7Km1bbk7aVq1L+VPY4N/RjJ8cHitnFu+R5qjB9VRoShWzJhgJ nc6Cwxo0pemQ35NhWsBtK3K4wdXbd3IK6GYLmpIv3iMEc1NtkGqaZDS8+GRpBO+ZxLqy /ABg== 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=l7+D1fnGOIKPwPmpiEIfsID6vRqvnbzszIbLws0YbiYBx3qbqXAt9xajDZQYDzES7b FaPGAtqmk6JYoW83XJX7ws9oXPfwxejv8ccC/kSqY54RrhmFwGo15+Dccb3hPHL5//v4 cBxerVk1rAspsb8W2xD0lMGyUblq86ZdekP/ZSpoTST5fVjrIsUgVvqogD84B0LE876H W3uf37aBlvE2ormDvyM9DdynJu6xVsbTj6z3AKYEICjTMpw99Y+xWRJICUxJlQh5/XPl Klya6dR5K90N02amBkRxOrgAmfMC8eRGZ5XchTj2HGqhzL4CrAB7TKJpSFwogUHhpCWV WC6A== X-Forwarded-Encrypted: i=1; AJvYcCV2FQdNwYMQi0MwLgf1RT31axnyvDNSAq+v8AEJK/Lb+e+qb8IX5FgRNR9TEr08V9MU2svfHKbSMgG1+H+QIQThcG+hMwfeC7orWapbevd1TFpoYq8= X-Gm-Message-State: AOJu0YxgEIm6WDGwvYkZuBCSVIoi9G3TweSBoP/JzCjHG9I4oGCTp4kb WpMFEq+Nxto4TJkjclsIzx+tags9irxB00oklVzv9MgLoj8wX+wb 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174728_167688_063BAD72 X-CRM114-Status: GOOD ( 13.16 ) 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 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: PeterYin X-Patchwork-Id: 13573113 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 7C321C48BF6 for ; Tue, 27 Feb 2024 01:47:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sv9Akjk0h0/0SBQ9X9M3amjvmkShp6f1Vzw0lSNDqIQ=; b=AppbOiU+qlY1ML qQmfczgh0NZeHr9y+ZmpyCaoRG6y+zWCpCP3Vk4eHBJfVFhKMVCBWGR4V3pl+Igbi/lnQoKhiA35x eIOLom1vm2/pGHcR3mkocH+iXZmBdU2AvkDFcw/TZx6WeN/YfNuzMerawkzDdsLicHGe1DkZS7dcQ EYW3axV1hsqI2FlP9tydeixmSueYHPlWopuinZmHrl7rVhh4HXkkB3TB3I9N+jJDrF8GVsRwXAoU/ iK4C5pxwJ52Sgqx1pJ/j7V1iNcrmiZip1pvTrdT84GI1WLA5bTqjIAHvVV2o/sBZyMyKVGTWNYQXu aRsk/sILhDToxpHThMLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZP-00000003LrK-0SFn; Tue, 27 Feb 2024 01:47:47 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZ9-00000003Lm4-1B97 for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:32 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1dc0d11d1b7so29783225ad.2 for ; Mon, 26 Feb 2024 17:47:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998450; x=1709603250; 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=pegTGAgIl7701EaFNdsQSg89lpjeCGj36MeNrr3t5wk=; b=OA+ySRoQnFTniZjENvCN7NXJ/al7Iye38gmmhrB6ES4SBK7IXzYMBMOKZ0rng4IDb/ /UZrZ2cZ7SddBboBTWCv8LNEMOAG+MBca/5TPYki4JPTZKgirxzAE8dvHIgm99hQJI7p 1MoKBVXEjb3z1kBoir18ZmuMfv1UxwNuwdRnWLFz0KfGe1UkaQpRynz3Z7d7Qxh5ZdZu saOKmW1+rG5leMnD+nchvq8ETYytxJBl5LXcTpESaGlWsITphgprrm/VtMg8triRwzTv UX6sI2HdwiBDFwEHhEqRq8ExAQYphYks96G0fmy1rkSJCfAjJ2P1lIwh/cOGNaYjKOz4 UUdg== 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=gVuY/rE7RiW+ST60G405zv6OyiqN1scXgYRPH3wSb3689lzq56OuleKCXTTHo/dOjM 2KMzWuio0HEwz1mRHUWmUhu4IKLGVnqgYzwks7V9kUY7zc+Md/L+DhCczla6woI2iHL/ jsB5dte+8ohF0bqITvOzvzSHTR7302S/r5d8bTVuRjN71p96YJa39A4LQSqVOSENkzbT XXWAlCpXdTpnIiBeNd5dE3G+TUUUpL9JFjrfWoh1qqrrIAy39eOVPnYeDjZRpwrr0zdK 3zFrR2GE+vAHdGuWQtMl1tde3/lR8ksFmV+OglV5ZnNXBHyPrTxDnn19O2ce+T/0NQyx VOdw== X-Forwarded-Encrypted: i=1; AJvYcCXTx1U2GQWsf0P2jF2QKbNXgad9C/zSqs6apyPjkhDye4tlH3VeLqppCsavHP3utVqk60kbF4fYo/M7yjcwJVZ+RS/UtoLULyI7r4ga6leNufBv/e0= X-Gm-Message-State: AOJu0YxG3rD1RkW2Oq+NwNnj/k4IMfTD381KO9HVQwpRP69nQauIdnr2 9UIWaT6La6Q4dnr33+y6F6tRZGJtahjLq1uZidxZpDMijK0suXAd 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174731_343647_10AB5E6E X-CRM114-Status: GOOD ( 12.69 ) 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 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: PeterYin X-Patchwork-Id: 13573222 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 7878DC5478C for ; Tue, 27 Feb 2024 03:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=55Saun2tijhXZh3M2STTB/Uez7rzppITeMyQXC2lJUg=; b=fOZRuN+umTAG0y L0WX19t8Gv09JDYeTc+tfwSjN00yTK+Y1kBs66cMvfWMFAbAwChUDijShP9tGuP1CqGpDiF+T3PvR wp+gSX8BNCnrImXf4Hp17PcpY23dqUU8Ie4otFj6bjfEgLqzCJ1CMmrg6ur5ePUr25e7AXI70Sf6w oN/rZwErO3Yb3P257m3kx6XAuVGlPmif0lwY0lEChBd1+f9SW9aBVxnatmL4R758y1zQT3EllYQWn A1/+dVPUe0tS2406eGqAqH6JDaHOVIonYohkBQWguLUKl2zwpnXnuU5t09x9E1vKdDWYZ0ApeZo+Q uxt5Y9gnn/bnMk1yq4Gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1renil-00000003Y5a-1b97; Tue, 27 Feb 2024 03:01:31 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZC-00000003LnA-10d1 for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:35 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1dca160163dso15394955ad.3 for ; Mon, 26 Feb 2024 17:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998453; x=1709603253; 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=KHfABZko5E3OyVpk0Pm7Tx9/GwQM3X5Y0l7yapoWLPM=; b=I6B2W6mVm8Ev6hyk4cpUGvTQMnrimIrMwYGEiTNqGnJArJ4VdQDs5pEP+P/lU7hSJI 3uk8jDRtRCKioz4hkRRTkocZrG/C0IJSbW/hnQe3x1FC9icxFxxefhryC+8j9SWv/foH qaHWC9yq4FV5cTyxqlxfrQOkcq2/jatMEouDaoeXUOImJ3Zh+q1UVjCjmcr+Ds0bm/sT 4aFrHImiPCxZMbbuxfnFGyPQognpDoOuNI68a7YZQeWq+ovEW9SIpC0SSq8Mi0IT5VZ9 NHbV/CKVJd+ywOBODp0K0rx77W/3DqSa5IeSsULqGiVmz21eJeIn7EMjb0mimRj76NZr Ut/g== 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=KQsph3qOe+XRbc7TxzQ6euAkutK+ZrIWG9aLIB0VIs6OA4ZDoYWztybbW00G7WCgLK BKRpmEsrVyhRyA9TGtqzf/Q1BPFvCjCRvsKEztnBNtq9NMZAoC/Eewbq+bG6D6O/TsHN WZXf/2dlHrudXlKQ6nxhbJ1wlpd5HNHnvQZilRp9Yyg4Lsxo5+ytoQkWiHig7EweQx3D ySouyC6IDVJqiRRl/oVpWjOHlb2bTxkc3CyUsDYN0wrPk+m2yFep9yZKXOlqx2FXqNx8 I28YxZ/GU7DnfPdZf/P+iBOvJRfLgGBVJcCn+H+qGf+S4+YHtDrCUXeMsE9iNovQEk8E MdUA== X-Forwarded-Encrypted: i=1; AJvYcCVRN8YK/YkhC5YQDgxNjC1fc4Oy/P24eO7DUetdpl9kltI3UHErQ4iVc+i5qQg/azxyL9wPyE5Bn7ptjoXqridL3213DsouWq5k68jbC/J+ZYfDVDc= X-Gm-Message-State: AOJu0Yzf8s8sPSjBdMe4WrZ9gIER1HPpD0D4H0WpYmwnbf6WpRSBWN29 twaYTl5MJQYsOc8rxGConO38gGF6anPYt2bod6MxfldMoLdh2lhm 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174734_296491_7D224423 X-CRM114-Status: GOOD ( 10.47 ) 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 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: PeterYin X-Patchwork-Id: 13573116 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 14F4BC54E41 for ; Tue, 27 Feb 2024 01:48:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nqr5as7BSn16lPAb4liGU0Z7RU0zaVtplcJfv1RURj0=; b=EgBzb1YK3sXAgK i74qk25sHxyjifaJxj82yMn0NL/ZAIK38sHHTQ1axFuKFaLyf+HkPYSbF9Bie1ZSGLBajxlfkgU6t i+Aq5Eaktq+AiwgIGa0Y9MXhI5IeaCMEpD9SSvdDlb0zTQJ9Z5LwN7SB3jA/O46b2+shBiIIb0Dnu wv+PkYXzCb+HW8E0PVzSJIuqH1HNk391b334a5us+S51zSVPLvBFcnmOwyn3brFIdJl4qFbiv+QTT uExni5iouheMpTYnEbROHz8rHkP7Rnizwa4SKUGEHlvcOQ6AsTDsXhsrUCnsXn+EE0HF3WVXoxWWu Ewajrut4YNDTp0WWrUZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rema0-00000003MCi-1da0; Tue, 27 Feb 2024 01:48:24 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZN-00000003Lo0-0lB8 for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:49 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1dc98892850so17719135ad.0 for ; Mon, 26 Feb 2024 17:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998456; x=1709603256; 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=4mmt0UdSDV+w1BWZtmNFxfAxPy3KjCbVYZPCzBNdDlQ=; b=lSS/DP/A2jm2pzzpCF2djziENqki2cpTVeMyliaWcUXOcwiqcJLIJbAutrlcWM9lIP fBjVpWk+j0Gpm8LRbkxUGyGiF9oUoIm18NXp6zoyo7QKmf/hxoWy7UhVAGixb6iln0NX VyG8qf73ppKLKy2X7AuNNuA9k4uKmdumOWeMNcqSZPrEVtN1K8o/6BB7ChtsGpEF9Aje uBcMSoPLqtPaCVzTmdbbLB6o7cqt9wlC6ZHkbbwvtmb14xSpid5bFpGwa6aQUuArSR5d nhiB5hUlQ/q8KmhRMHjLvFvpgno/ZH8xMTB7jihbG0X/JaYVYkYm0iQMYL74UDWPmRiY +0/Q== 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=OuMFHB9cQ0lZQZJjBcFAwU3wHPlWOOSJ8/Rddy0Y6keBoXaQMxTMu62+X2OrGo0OPj kLnHE360eo4Sz0uYQ0ISDIE1Y8AZSPa+2CAC2H3Buyh6GJPbud6yTIJE2KULtJivWLn9 EQUIHsz98i+cXFTA/i4ZPE6LybCAeele3tWr70iNiAwQ9ZccalscWl+0ncWs08IyPQL1 idoHfND15fFCAtqZyS39u712GQB18mlYTPfX6djtMjU+HGGRRLh19w4ONnTnadSemz7i xpdl4WhaZvlM51FMi+kZeS8+6T8r+gyLF5uNyIldLVkJmLFremdKIdiSQvwyK9P+mjvh rK3A== X-Forwarded-Encrypted: i=1; AJvYcCUpneIfMCbeL/2akq30UntPKyU/gz5FMJi+Jd8t6WIPH8uAQVGj+ulSVtfTPiC+aXCGws3Y+KN8BitwTO1uVgIBpyaMHk6pOLqnWARZi0o6kpvY/Ns= X-Gm-Message-State: AOJu0YwYSP7+ut0LvMIxYbNvjbEv7YKXM6nm5d9CSNtBb1fwh7pXFj2U 54pF9IroUVLYO0UCMWjw6c7P1puj1GPa4007i+d16MaXnP9To9Rd 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174745_313297_33E00324 X-CRM114-Status: GOOD ( 12.08 ) 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 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: PeterYin X-Patchwork-Id: 13573115 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 54F36C5478C for ; Tue, 27 Feb 2024 01:48:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TA1INbI5MK2t/7a2TpbKiis1/vb3OkJQ6X56MUGbAuQ=; b=yc7ho2EsLqlYK8 f4af45XKokjUMgJZziQ7FtcXFZCPXPXpeUhZG+M2wlmrHQpMMFiX+C1IYFeUWhAu4vFH+sAgZ9J9n mLzdJ4Yt9m2rj8OfHaE8vlCwTQp1ZQ4sgvy0xn9Rkxwns9vUjiqZBATy6pMyi2Fzfhjp/3JTpzOOW wrlDYI9ILZW4h3HI3fgZkpIKAzs7oYzpk9Q2u1bNFbN3KJVjDButiL5h+YQG8IMwF3C9bD72NZ6NW x+do473EmCgZEInBolftWsh7EIOVviKhGH4GXXAxN+fShzpcYCnT4vy6SmbEekFdrDFk2HW7bi9/O jfeVkdV0NqxNDjJrbdzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZy-00000003MB2-06Mb; Tue, 27 Feb 2024 01:48:22 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZN-00000003LoB-0qJb for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:51 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1dc75972f25so30878275ad.1 for ; Mon, 26 Feb 2024 17:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998459; x=1709603259; 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=7+fqIWtBV/T+80XSNaZFcmZX/ftnbYEEAJ0ueKG+0WM=; b=FdPa55x9G9hRDWEzYMLaBzeGiegssuDe307IlbzcZs5ReJZgaOa/QIBghecmZRc9ag GLnIM4FlwDFalgmfke0xNhy2+rlz/LVY3y/QifMEsHFXlJPashclAZ+D0wSdZOgkgCTe C+0T0EO3eDLJit1Dkn/fF2jO8vYA587T77ZX/lkOGRKsPMBTCQ9g4ipbsbIIjR13A2hs xSUi3tCxdYu16U9kR0ViPg6Gjf1P4Fon6LR5C2KpqlnVxitpC+D064sJY/HYQU4XlGf8 acYQUZKyD5UN72/arXQYc7aU8wPa+mhdjzCFJ/CQVyZq+vFgpK4vqDrjzWZ6mITGcmvp U0kA== 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=AaQI5JSSmTMu2Ebegd4UCbH2hWM3rAAL1Bb8TlJT/mRJ5eKQ89uK1MkdQIEb+QqZDa IIKjkS2e9qkyE+aQvlIJO1B1nPA3mWZKdVVOnH/AaaR2jqJ0qfGnOoJmTpObTriBH7x2 cwfs7vF1znBlqlVHm2LqIQU3kIjPcjxfGpjCCNWYcgAQMl6JwOkOg1WQfgDkJQgVoaV2 9ffH3EdkrOnTKRV7kPlDeNih+b76AiC5V3YViEpFtC0E19BEDbH1yrqYB4RlRfWner8o fKRyUR/J60RFhCJgRlDOKPf91nglD6KJPWqXChFYj/S8aRIVTaX5QFL04fkCudZZNY9Y T6JQ== X-Forwarded-Encrypted: i=1; AJvYcCWYwygL02a5JBXsa/1rvLTk+1NNsQI+UsZfcPnLTx/VjMdpuwzdUyFPZAzelwUWCyGQx1yousEIj1rElAWXjXSdlXh30O59rrPTtPqoW/KFej1SWKs= X-Gm-Message-State: AOJu0YwhSuz7/DI6WQc47bzyF0xKCRQk4Uj2cWZXQPtba0vAoDMhriGM KS3zkNKd3LxwGlsn6iNDle3hmJshZTLrLI9eocqKUQeEnsCz0g5MSLsNfCX3 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174745_330185_14BF2A77 X-CRM114-Status: GOOD ( 10.88 ) 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 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: PeterYin X-Patchwork-Id: 13573117 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 68054C48BF6 for ; Tue, 27 Feb 2024 01:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fkDugr65ac2jDZ9wxpOwPOTXuRSGz2Ps2WV15bGXSrI=; b=lcuGp0UWrgYU3S L5yQbYIF2OeAQ27KwFdDhtJkHUMBraGhw/OhKYJliI+hi982tcANTBKhGmCYNwJKGoMd85clcIwRC JWXcQ8DdZUAryiOPXv1Bce8A8XGkWFzFGd7J3WOn4MlxXiKklBXHB4fBkzwNS3PG2g0pRy8eTcET3 hGzj0W9dsmdc+mzx7MMdMzSnzV3sak6DRXBc9p25mAA2KmxOMQp7RC21djs6DECDDgG/osA6d/io4 8q4tge6DfGpbINfl1LEc1DRAROF2CGQuCOCJuXokOVv0GdzYqoVqLmtV5oorDkJqdiwTUuJfPrUQm JXG789Mp7qWkmVworIKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rema2-00000003MEX-1JjF; Tue, 27 Feb 2024 01:48:26 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZN-00000003LoQ-1BtV for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:51 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1dc1ff3ba1aso31278525ad.3 for ; Mon, 26 Feb 2024 17:47:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998462; x=1709603262; 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=eE+ArNThktHqxq53xyc4RaWaWv+q0sBFJ+ThRmH5j0U=; b=RDrvsJYp8q4lod7qQKpFN5uLIt1/8oA255xWpQP0863j8zbYuRsTWrPZkr6VAAOcrZ EUKyrsyxcB5/21dqM4uLHlsPKgFuihPyeopzlZvWg++PcXVJVVN8reZSJBb2YXuxn1bP AmHSa5t8BB5PzNjOGis3V4JIfE9ylPkm+tWzcF90JBgUfcTJ4ZGKmPX6ksRSmQ72Ekp1 XHu1IVXBOZ9g87a71ZHny5XZCSIA0mzf01L5Txa3rnr9myqYiXHe25MOKF1pbPRcm/46 WWjcM0wAe8eaU2OM2w4ZFOT7DLy5LdZaURUuMsDhkDJ185j82MVRrHHvMjE0EMI4i3B5 xu6g== 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=aZLUq/AfBz/dYydEL8jRvcOPH4adWrMNr2y2iY+LTC9PTRpYHJtWc4+yrjet7eMQPv F53yeh+cl5w+xAQ4iQODjRMutHYBwUiqDLnjY0dxOAmWfRNdmkONf4BlzD9xmNa8op7z OuiY3ZWNDKWXPIzpzYK+1N/4dfGn0rxZdAiUPR4Iv6LfJkgLOzT3dTgFPiM+NcZfIWb4 0SqNPrrkTFm2dtNyVeNcgaf2Fm07gGT22GxJCTzl5bivheNSTeGANedcU9bBUT1EBsQh cq5RW0piW9OcK8kJIqihO83YJFnzA9ggfQ1MYrwyjdKMDDnKp5l6A2O7/p2wwuFl2b/0 02lw== X-Forwarded-Encrypted: i=1; AJvYcCVoxGXWSiHJ2YLGp66AkDXeT4vyq/I6K4KKDpQTydIzoMyTDmJsSS3MQHv7HAcA9tNmJYJEz2SRGyYLLIuIC0bjn+t8j7ydRUeCa9oxdy3nxF2dM5M= X-Gm-Message-State: AOJu0YynJcl/2zAtfR4zXlYdogNBrMCOzxxIOCYSqLH0C352TwI3b7Tf 3uVIdoPBbIKMrN/ynu9y6lYoi93DwT0URni8hJnrFMHbFRp8L/wM 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174745_497342_7DA297E7 X-CRM114-Status: GOOD ( 11.36 ) 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 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: PeterYin X-Patchwork-Id: 13573119 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 7E926C54E41 for ; Tue, 27 Feb 2024 01:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rWJvk4Ce6IbroyuZkLa0lcdogmYnZ55ZIikQQH+pqNs=; b=VPgwODtT4XrY+y 6Hpc2ogBrMmjE9dAPfiYmmLt+YCTQnedXVjCGNhCLmPiPpXqEjGci2YOY6XCClkd6P/EwBDgB+aOA vDUq2623HZJFs6Vl843+H8NO66UTB+tdWT/8m0aMLUWrMGLur4vEoyM/4BEuNQU9ufksfgGGK9G7M ry+zXZzcBqBFgr8KDA0j88y8yEwzUbU0wUritkkSVcf2Lxu998a1o0kN3C+rsBCGmXKj+5ecA4p8T NxE3ykr8Egg2N7IV2eXATV3mT2Ltd5Bnx+E9HjDSfJLBvsu+ofqk6UwmCt0PzfQMwCYg2aFM/G88T cZJVb+q6CVgUdDkJj99A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rema4-00000003MFo-0iL8; Tue, 27 Feb 2024 01:48:28 +0000 Received: from mail-pg1-f171.google.com ([209.85.215.171]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZN-00000003Lov-3uaM for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:52 +0000 Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-5e42b4bbfa4so2802480a12.1 for ; Mon, 26 Feb 2024 17:47:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998464; x=1709603264; 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=WeUVH1enZnNU18wYfElV/S7pL59t5rpG29uXETSjnD8=; b=ak/bkBEqFe20JX2n+3rxb1bcAp2Ou4+B8MssVtOTAKoTjCrhSfjbAUsLF1G1LdWedi xeCHKkEI/wRUg9hdJadOtdbqOl+kM0HeYJcWxnUyfIyhRuixd5uhximYozOXTfO/4WlI HhSl9DKXMR7iLnMmMQoMOagXQva8VPsKaIQGG49OzlxggeTJHEBWCEMnmsvpj2ciPqTQ u2baWyIDNfIz8Cuij9hC1FiVHQhtRAujXwUQklrhgaaGjQA58F+1Wr2Z2zdJmjRe0Bln dVjGO2zG2vZ5rAEAhlgamuLBdYpZwJHN7YH0ym7QrN2aDZJlkj4gBFaCcvq78w3tlb5j grrQ== 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=Pv7SVlCb1FHURHyECY7/KYwJ9nyAtFQdMZvxY50N+sjUu+Jqedt/RnibvhjUwoplMG xMLLi71ta513TbpktpFPyIDesRVCcAOJr7bBBrFOK+jfuCLqITgG5p1bEnQpFmF8khq8 I9GwYGUBMA3hlC/7uIJx+2y0HX0cWfZ8nt3PVf1Eu8v4XVgrPMfLES/k3yixTSoM82Ii 2YtnT8s6/NYjhD3TcWc+JEsA1NHLgpGzvAMWeWAha7/SgE49lOY+E+b6Mvkii9Ph5lfx orUuvDGX6oEwzxG2QnX+Kk644IoYLu3aiosTEWg10CmLNVBYLn4nAkaj+BmOIlh5NoLB yRvw== X-Forwarded-Encrypted: i=1; AJvYcCWKO8bmIQcJYZ0E76QmdakJfHCc3ElUW3nPiI5JipaAv7mY7X7sQcB8b4Rb30IPO4jNiWR825d/KwwNFVBeBDbAcJ1Qn1BJlyJa2pj7rJ6ulsv4n3U= X-Gm-Message-State: AOJu0Yzet75mNn2h6XXPnmWqauIFx1i2Tm3qXCQ7J/7CRTwZFT8eXgmT aUOx0L6yE21fzgpXPKc9exduk7kvWZI5sIlW5ORDiS7STljseV1n 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174745_996616_B4F3BD75 X-CRM114-Status: GOOD ( 11.51 ) 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 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: PeterYin X-Patchwork-Id: 13573118 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 6F18AC5478C for ; Tue, 27 Feb 2024 01:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=B7Iq2n9uY9Lx6POBKmNaJtJ0x5l9Wdo9wbccg3ApZSA=; b=G92oyKE0vNNajw 5DAhEbQ0o58CqDkW5zQSy2avHq75FE/JpJjbGfT+yV4bjzKbBawDWuBDSHd8wClDLrmf0Hn2B5zCZ dSAWcll4mpA+7ysaQ50JdT11Z2F3WpEtVw2h5OmnA8wNSiO7LkfxKQnidvRo11MvPL/HDccnX8gwL 2t2eeNOso4tTDjVMAmAg0IPdWEPuJVqwkqCtUjcVWDoFsbqvcsLw0FwY+F5ifkLtzCrEeMDYvN0D7 0KYRToovPuz7nyr704XcrTtthit85v+2ltS3M7Wcwv/VTfEW+F8NhqVvFCaNBh3qf9HRSrch285PA CkZbryhoQKHU3BNvLOfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rema5-00000003MHJ-3hFV; Tue, 27 Feb 2024 01:48:29 +0000 Received: from mail-pl1-f181.google.com ([209.85.214.181]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZR-00000003LsA-0nKb for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:54 +0000 Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1dba177c596so23679455ad.0 for ; Mon, 26 Feb 2024 17:47:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998467; x=1709603267; 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=Hs0kTt521WxQulVTrFgJYAGsV52YNUczVxWl9CdT+ko=; b=HFWEq/Ckzh3w9zcL9gtHhmSNHX6s44OiHscfdgT3x/yZ5oL8UcSPRbhP8hBualw732 bGjNtbN+AGCrmSknnOL/HnvUCbk+xSx+oVjxm7LoiBspIMIMS3vhU4b19lex2y6xujpj cY54HksH7L+WY9EGHnCcYir29SnZuEfLwHitRMKimZ4fhlHGfNReDsCsfkyEhO5LpEn5 SFBOALpF+HcTtflIH58KqAJF9NhqA0TvGl4Ytdcojad/eSj5rgQ46AehDcZ7wB1zCPBz fKV3uj5n4nvL4o6eXFEmnzyzfMs3D8xPBTlCYFdTIEHryu2r2zjtCQsMDzsmMocFGU9s c4Sw== 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=UMwD5zJpjx8Gec7qSypSk5X18z1mYTP8uWRzR0e4JB5Gq8gGNF1VITFp/YHDrJxhRQ dDCkAPa8UkJaFk+v6wzUeokxGjxFOzv7sb0ypxN5tfkSxIJJKCdgrFUykIQvYDFvdENd cR8f51PncEBL6DjdNGEPIyLdmQYyMQukfXHK8Oc90NwjStdCN/bClHUCmbzabNIeHR0P yEm3FFEr1sHWEAuXrmyKwAZSaJe3sITzuFZftLFTc04ifO2pVfz7LKe1D4qk4OxsKCal TnOeRSSX0wVaqqOTRCAQhCtAvfw8CZMfgatvb/wQMFXM4oNwDf5LUlAyY72hoA8uT5da CcgQ== X-Forwarded-Encrypted: i=1; AJvYcCUqV+9bPYPMcMoEaytwBkq8AnI382tO7APYuZwaLLjA1BkLPKvrejYy9Sav91KnynariQ9E8EsDaCFuLVqtjZH+yvNwqJPXA+55QWP5RdOC+OoaBfI= X-Gm-Message-State: AOJu0YxA2Pti4rnnC+3RzLrUDrLGECj/sbCvjcSEJ9+JW06Cwmzopb5/ xnqMk7Y3QuL4W6+I7LXVQYZOxNh7b2VbJNaKQbhfyIBDI1G+4lsc 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174749_381679_4A741839 X-CRM114-Status: UNSURE ( 9.70 ) 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 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: PeterYin X-Patchwork-Id: 13573121 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 9F6C4C54E51 for ; Tue, 27 Feb 2024 01:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yQXgYp5SWxE70Af6nhkL4J26F2ayGvQsVs92GYAx6EI=; b=t4sJPrY7QWMBkl U7bAkTR4Tp0QJN0vTxqdzpA8SR/7HiWLYYbdSXFsr9Fu8wJBjLXDSzdpR7cjrqn0ZrmZ0xZhvCVqz vIE/vMq5uIGYpYMP7v9z809sVNJ0Qesll9mLtrQ8KxQb1FciglJ4diH8vWarsk/f+TkOzX3BO71OK sonSyUJ0141hzpjR+4FaUu8VLBNseA4jUREDIsnklDZTgywhe3NSEZou3mX1cJcsQ25lXO0r3Dlvv y08xyBN8Kzjp7isBG3n2MK0rbnzFp9TmDimClBX3fzZjFRnNGcs5EMGE25SDLVQR/u2fL8VdcFmsn F2mtnEM8Bhw/B4Y9+sFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rema7-00000003MIS-1gIl; Tue, 27 Feb 2024 01:48:31 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZT-00000003LuT-2qIv for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:55 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1d7881b1843so28774165ad.3 for ; Mon, 26 Feb 2024 17:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998470; x=1709603270; 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=aW3rP8p4z3TO0Ihdn0FuHfBWSAl8GOUADIxx8TKfnls=; b=nSOcb0Ke8An1PhePfqhYyRIfpFDPWEPR1d18EOP1GhmrXIeGI5M508bXtb6bBztR// VPFnJLblrcf0y9fMi8bvQk0cLJjL1b1Gq5cW8MpY/gEmQq+6pPF7rI1cdqpxHIsTGnZC pHlhO+C/LPm4juGFDvLJsaeCOtxqUDOnNjrK9pmhfNnvsYXx+MYmQ/6+FKOws1tNduaE tQzyQM4dOJjwzt35vuS/TKlWk6yzJfWSIhVaTS43LF6FcVm8Nr+102AM56AeP61H5iX4 gwiI/TrO35KGUb+gFZM0Y8beri3xjyViuG/Pjqpf2JG87KYPt4EBxeq1msVwh3W72yIt EoGw== 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=TURW6cMOGps2FyTQdmeoQqIjwqlbRTwVv1nXmsESccgGxOU31FogI8WsqMD3ojPV0v TO1QSqqR3w/pQqqq0XeLH9y5HIhdCHv2sxdxYUdvmPtOuVXZO61ZL/cQWif3eKA+sABM AZUOltfF/N/SLg8MO4tibrqeN4H4WJAlYmX5tzNFA1SBC3C0j2nbplHaxn6i69Z3rFCV AKf297fk3X4lvFXwbTTH6DIIPPfAp5jSufAjWMlsUTwSJuBbxNe7crpZyhLe5+HOPT5E CnqOI8TNIkwLHaKa8h8yySDSN/GSA4abVgC6IqQn2xekJygtJt7DXNdn9RHIdKateted OTjA== X-Forwarded-Encrypted: i=1; AJvYcCUhHg2h0GrNwpeIXqMgnISlID3Z0fGmdw20aqKL9d4l4Fqwmd3WaB+GSssB4OLqJ4yoDwPinGr2Fjl1vg9Utw0ctLoSeKEZd0fptZx/kLABkF6Hw2M= X-Gm-Message-State: AOJu0Yz2cn2LYsd8cYJxwn92inJRI7UHoiJ5T4lwuGpofMFSZoKiNHsW dhHw83ULEsoqQfTbCORVW7tjKkVU7Ket8K3BQR2qSCTx6mR8DiDZ 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174751_877103_2005E17E X-CRM114-Status: GOOD ( 10.27 ) 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 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: PeterYin X-Patchwork-Id: 13573120 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 58F21C5478C for ; Tue, 27 Feb 2024 01:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=epmRXQ/RoReqBhcsHOtgVoHdyWEQjXquZgGEMMqluyg=; b=0NHn3c9mNlp9Ht h/Cc6fNox0YTfdx4FVShotOxoEr58Ou+HIf4AWis3np3TyTMskl30tXip9fnJeWPTNh0G54nAvDxp +w/+Wu/fcVR5ZI6lg12VjyZ0vjnbWlmGh+yVX6+zEVGCfUGFn7nm8CHsIoGAT2t9aNv8mqJeN3KBQ isoWIdXA6kK/Cnj4SIkHkvv1Kp1kJcmnfmqFeUcHgjZK8f5Dwb55D7cy+lQc7tUcEl6BdqrFHRHSw QCW88Y1MxU+DKcHGdFAcOWN2cWqcjsQXzxm/aEb3JnRJBvHTwh8qJCf0qOdTjWKqo+Iuv3pxw9KcR LYAeRe3LHkGctZh4bXlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1remaB-00000003MLI-0QzJ; Tue, 27 Feb 2024 01:48:35 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1remZW-00000003Lwy-0J8u for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 01:47:56 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1dc3b4b9b62so32300615ad.1 for ; Mon, 26 Feb 2024 17:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708998473; x=1709603273; 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=xrsvdI1lEYG0uIgU/VTd61D6Q1rZXhoZ89VFb5WgrsQ=; b=D7wDoG1KQ+MNB73oURLBeJKXy6kMU9iFHAVnbaDTPMwnUvsz6mAzpeNLlVZICkWElr LTuY1Aox2xCuDZKAF9EUZ/+NMr0PEGEB7pxsQCR28IAY9UvdKWfaTxyJ7Mk3xZs3gYyh TTMQC6OQGUrtxkcFCa0fnG455jEo7FKzurIR6hEgTcHkEL8Wn0ujh1mZPdS/uR2w3F5q FfJ+O5tzGtKJJUSOxICX6TuGZvNBRw/RO/SgJM/2C91NOQ+03GffuSG5rH0yUoC2nGd/ K9oTPAy/ev/3aI/nHflWfeqHMMX2+bvuavJZdm+++ACOhmIwDLLBy71IZv5wcBx3MqNQ dogQ== 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=BGadGTSzKGLPOXd1M0mAfbh4IuqognkkERrXJIoMFFuF5NHRA+R8K5coCe2kpFxDeG mFp410A/VMp0BpVrxecqwun6+0QHU+bH2SXIk0kgcfHN98MV8w77WeJQ24eXcgW+CFQu sz8DqkfBYGqxTYLPZ+3tm8OmNo4sfsquh8Xm4SkiPKAfR+sxV7Ij5pdGolexKp30+CO/ bjKkiEAyifhQArAw0dyzdfVXXkEGKkx/a6pzXRzOwZEQg21f1lEm6lf4fbxxXoEgZ4VH Oej6LuP6zsWMwm6rMvDm9Mal6sD9pTNwUMgy381i7OintpYTRpocgAM3V7Mb/Xfo02rd BdKw== X-Forwarded-Encrypted: i=1; AJvYcCX/9NeeWggD8K3GhTged1U5TDl3oSq+EGZbXK+tDuZlkQ0e3kVI6cWvjTBy+4yjBVup+yZkU8UMAwcQU0GFT+h2hcmF2/a+oCwFt6+5ZbOX0wdjcW0= X-Gm-Message-State: AOJu0YwbHS+GXwxswFmTenA+RU6jbpt2SCKPvLb0I41uV7xstkgUqDVF /RPV1wS9WrC2qaLFh6hEETyXgH5gwBauCigCV594oNRA01l6nRLo 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_174754_295821_1865981C X-CRM114-Status: GOOD ( 12.05 ) 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 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>; };