From patchwork Thu Jun 27 07:00:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13713880 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 0F5EDC3064D for ; Thu, 27 Jun 2024 07:01:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8dzaqkiR2ify4Vskwae+HmUaR4MwIa3K/TPMIOUHQcw=; b=dcfJG6q5ve4HjT3ZDZl1oF+Sfa h6M7yPl3G+H4+c7+Knqx715CxgLe+Nc28EBSIFYTmUfpWpH26BydVkG3RUbZNDVxFwOwiyXaOYBp3 umd60r6BabHP6T9AOiy2OZxyD1up0MVxcx/glmliam5Uo1GxkcZhItI+UI45ndHIDhVJfss8ARTJb UsGMvoWiCuP3vdO3gQxHff8ZPRTQvPy/9PeoV10wYMUX7NlC+vaYsuM1W3kuJ2lIp8h7DZ8FVfxU0 NRiSPlDOBNORjrBFXlGIG9SYXdznuoCExyz71Vo21wNwDTEDc8qB1+05QcqP0dJDlnfv3f9I7EU7o G679IkPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMj8Z-00000009TFz-2bcx; Thu, 27 Jun 2024 07:01:43 +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 1sMj7m-00000009SoC-1eWJ for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 07:00:57 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1f480624d10so62446525ad.1 for ; Thu, 27 Jun 2024 00:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719471651; x=1720076451; 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=8dzaqkiR2ify4Vskwae+HmUaR4MwIa3K/TPMIOUHQcw=; b=K2XjgJxw1ga776pvWa587ybaTK9mjKHb9gCrvws/kYWXXzpTS1lwPTc8SKojrB/bH2 R0c+d7TBGR0F6OxfYDC1w9B+iSUAIbTO88jddFcTGoKfYvnFZymJqfS5TnBkT5JJU9GG Y0XUUGWstHI6s4W/DALCYEOFIhd24/ACwYWmLsOpenRPPKRTYEbstYlr0xB8IgHCCvVe 5HunnJdVoTBh/QTZ2ClBDU41hI+Kox5x6L/mG/xZ4/7rzlJ9iPtAi+2ufqDhlAVlwKo7 q77D6uuy/cGqEjsuCRc7IFKgJgtY/xE87AWxdzkU6/f3H96IccNfj7sy46mVi0fZxNzY CRfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719471651; x=1720076451; 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=8dzaqkiR2ify4Vskwae+HmUaR4MwIa3K/TPMIOUHQcw=; b=EDpexT08/2BqGfzthUgrR7WoDDoL5eMmzfxNvfKKNJTPcrQKKytmQ+rRtb8atP1YQE U4+bdT0+K7jDjkjQt5SJ/d1bG50fns8zkuH7fN+2GVnds3JDHMsxoqo1rEfUv20cYjIY IqNQo+c6uLvG6F0MCv1QCPrkr3RGIOebdc9stZQZUNxjb4fGGQteqLe7FcfjSkGKkbpl pepgZadOv+HjPvyFDyv/q3GAsrVVHuKWxzjRj+8YomvKV+sa3WyaG1vmj5eczFt6B3Am d3UdrPs2uvunHJgOt0nuXQb8IIw1oXpJCc2IPjMJSTEAQFOuZhS3/JMg1fD7vixoBHNy kWcg== X-Forwarded-Encrypted: i=1; AJvYcCWik/imPrx91rT/cn2uVistHJej2sb8e+qf35S74RtlJ90xJuoegNg/jKqUVnf5wGYm1yDY1uPgmUdm0CbB91Zq+XbgS7mMBIbe4i/grfX6sI11t3A= X-Gm-Message-State: AOJu0YyYOJL1b+UtBz56Xcc3woX8BarrACoZ4v+IfIoZeeUiNzQMuMcx 3N5EXqUhI1hll/7f5TcpESk0DHoAxMsItOhrhOWfQglNvWqvGMju X-Google-Smtp-Source: AGHT+IEC7Ygr0pioIKKRbqWm3kRv8g7wmdoUnBAyVJDURMtcNT/d33EnEqVuDE4hLtrf3M80ksmcwA== X-Received: by 2002:a17:902:e812:b0:1f7:1ba3:b91c with SMTP id d9443c01a7336-1fa1d3de7cbmr155406425ad.1.1719471651197; Thu, 27 Jun 2024 00:00:51 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e306-713d-05da-7754-dfb7-477a.emome-ip6.hinet.net. [2001:b400:e306:713d:5da:7754:dfb7:477a]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1faac997ed1sm5962145ad.211.2024.06.27.00.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 00:00:50 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, amithash@meta.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/10] ARM: dts: aspeed: Harma: fixed dtb_check warning Date: Thu, 27 Jun 2024 15:00:12 +0800 Message-Id: <20240627070013.2509150-11-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240627070013.2509150-1-peteryin.openbmc@gmail.com> References: <20240627070013.2509150-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-20240627_000055_278801_C3A1BEED X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 1. revise spi-gpio node and property name. 2. revise tpm node name 3. remove max-ngpios Signed-off-by: Peter Yin --- .../arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 11 +++++------ 1 file changed, 5 insertions(+), 6 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 0dd0566bbf27..4421822eb134 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -70,19 +70,19 @@ led-2 { }; }; - spi_gpio: spi-gpio { + spi_gpio: spi { 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>; + sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; + miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; num-chipselects = <1>; cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; - tpmdev@0 { + tpm@0 { compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; spi-max-frequency = <33000000>; reg = <0>; @@ -640,7 +640,6 @@ &gpio1 { &sgpiom0 { status = "okay"; - max-ngpios = <128>; ngpios = <128>; bus-frequency = <2000000>; gpio-line-names =