From patchwork Thu Aug 1 16:01:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13750698 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 1CB85C3DA4A for ; Thu, 1 Aug 2024 16:09:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8dzaqkiR2ify4Vskwae+HmUaR4MwIa3K/TPMIOUHQcw=; b=qTyyK+rsXajkc8dgLeHXc16Ycs z8FRxdrDPRVydQwkD4i4Famvxv5qoFo/4EYQT7KEy/Ug3Qabv6kc0pDEo/dEyxJIR4t5j4Le/wAlS nyrLTwPNXl2s2OfDHJJslCzFwj45LN3A0uPqH2kO30UPNDrwjhSVycVw6HIsa1wpeqeS4bKq3zEwe HScXN17Dzt+VHagjjUaWExpXxW/DWpqnQWwY6J3EiIdBwUrZpb/MH9R6ubT/8nz6Q8EvgtF7gHHCl 6csvtDyltXANEmalMO2NHRejKFE1FDeEiuH+vo6VrPtXD+tz19xy/iAs0FEh6lseuDGBZS6baD0Xv YdM9IEUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZYMl-00000005zPv-2Spn; Thu, 01 Aug 2024 16:09:23 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZYHh-00000005xZL-1YH4 for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 16:04:10 +0000 Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-2cf93dc11c6so4200476a91.1 for ; Thu, 01 Aug 2024 09:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722528248; x=1723133048; 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=RKyZJTX0qjJ52TPdjw/05DMbb8hPeprseBuKT2muzwq4gm7Cv2LHwz21B4WsPSVJXv bb9VbKTpFcyq+9PkvWhHCCJfzJ/XairrL5SxYe4DjYyQ1GxbRaLEZ9Qh//OWupn5EF7a +Xdi8A1kR9IGAFXnokl9L8yDgSvdDSp8PCbqPDKu30Fo0klrcRt9x2Hqz/3lHdvMyjUv Nsklea0jSA99wcvdXjlUvgGVLqKNG1ler44QKx17pJrn9R/kk/cwz2xFisJ8cHzhgtYy n6C89GAHrnvg0ftbz8Cgiy4NpHndz/CzhLkN3rjEFqluFgyiwcArP9snjLMoM6tHk1DK KP2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722528248; x=1723133048; 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=d7bxYPunn66LAMy//IAeesYRLOQ5xRCUWbJflBFb/TtgwTPw1ym52YZPKQS9DyPOUc /f0rcm0DT2lgd1Uk1iY8EJgV0pu7EZXV3Rpa+F4b9hseTCIcC9F63raGxQI9xvDxfbiF nV3YBtemYk+wASsc+UHRngOWtjCiYYxYLy3GVeTK+aBhM49vQwLyvRLUu3P48soMhpHD COOcnh6sHIm4rnXvNr2aBiMNuECINRL6EC6xSjinBf/PbIhLCWvQPzV0jBu6JxlH8B0f WBlOgGaryo7VGSAnnjAwIShI5OA0IFFBXwsL9Qq5r1aBfg/SFWAvsJ/YGwKwlBX5KNOB 0F9w== X-Forwarded-Encrypted: i=1; AJvYcCVtoKtJsvrzTpq6IazQvR5P1k3a8XTNUGbfDcZh9OJ08jD/xTpmRp1Ju8G6H4aBerUSE2nYRCx6po0ZN1fQAkmqpDSMmSIhAWpce/MHc3moXygUCqI= X-Gm-Message-State: AOJu0YyjpiEy7gVuuUJc2nsP0heXIekaJoncGUXmMAuJK07vAE54L/TT 5j9AnoHgQ0f4ZEGzPgM5u0FSeIWUL1ITnIBIKZXEMA7ic4oGNYWW X-Google-Smtp-Source: AGHT+IGZRKqfnu6C1bL7fmLXc0sB0d/soJJoNHZHBvLfRySEEQSR37WC2HqKtNNgef4+UmDFfkXHcQ== X-Received: by 2002:a17:90a:6387:b0:2c9:9c25:7581 with SMTP id 98e67ed59e1d1-2cff9419cdcmr831272a91.16.1722528248036; Thu, 01 Aug 2024 09:04:08 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cfdc4cf181sm3535268a91.37.2024.08.01.09.04.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Aug 2024 09:04:07 -0700 (PDT) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 10/11] ARM: dts: aspeed: Harma: fixed dtb_check warning Date: Fri, 2 Aug 2024 00:01:34 +0800 Message-Id: <20240801160136.1281291-11-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240801160136.1281291-1-peteryin.openbmc@gmail.com> References: <20240801160136.1281291-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-20240801_090409_429649_8BDEFFD9 X-CRM114-Status: GOOD ( 11.25 ) 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 =