From patchwork Tue Oct 3 11:13:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 147828 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp2008299vqb; Tue, 3 Oct 2023 04:15:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfq9SCYTypxYtj7nLw/jtEQ6ZREictbPPxk5aCiNJfE7c3kEYIaxoFZHEA5nBTp7rvh1Jq X-Received: by 2002:a05:6a00:2e01:b0:693:3fa0:5ffb with SMTP id fc1-20020a056a002e0100b006933fa05ffbmr16666179pfb.21.1696331710527; Tue, 03 Oct 2023 04:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696331710; cv=none; d=google.com; s=arc-20160816; b=vGpJaL1K/TLvK4YeuF6hGeVqWF65pfYxG2GIGVHXkX/peEtxitkrb7vLq+U0Vqg7xD 8vy6sOBhjx6vlbt+tOtTPc5cm81M9jmXjIs2khwKX+vRCvM2uuqiaMg1aCbPDQU3oHfI pegakbgnzlnvSkZosyW/KcHts085LdpDw3jkKX6NaMt/mQIf3y6dxTLxVmNKO44pr6TG D66lhJTdMWf8H6P9SwDjyk4XvQ+hudI0umy8ieD9h6rVdqW1ihAKpjKS3PbMnPoKkXlw A/kZTRrxa44bFYjxVU7Ak9mzIYA4n6QT/Y39dIaqBwhzgs9ft5+pSpHoXVMs6XgFQyw1 EiKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=4gs8TGWI7jJ2RaG6p7NpQZXXHltGhHTkQt8/Upgwu3c=; fh=JPO2+f63+RHq4wEjU5sG6+ULTeOmtHRO30pRZqPOR7A=; b=Fs+opavt3Y+Jtlh/2D9BUK7D4nwW47JM2PXDh9cq9Fi8UF6bjeeSG4LZbSso01ZQG7 UkUuGy82CX/haVm1SDjnaWcH/TcnzEb/PvD/a3RNp3d1fWIr+Pb+shcbgiXY0D5IvRan 3SpDgDz3lZwd3bpCPorz8g6m76QCLyB8cfnxzd6fA9zWO+/J2xfdTE02ZPEYt7BYGbs8 7Un5E2TgT+xHC2FS3oxuWss7IUxGlF4vL7CyrpdMsrzGcqM4fS3gKT7bqI64cZaVLsLT EM1HpyKz2aaIx3l9unBm6QZRnFC2tLweoM6DI7g0JHQgMqfJ+GUWaLTDMCYsZExiaMcg VDaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QfGay9Yj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id g19-20020a056a00079300b00690c19cb105si1176758pfu.250.2023.10.03.04.15.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 04:15:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QfGay9Yj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5198680CE7FC; Tue, 3 Oct 2023 04:15:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240081AbjJCLOb (ORCPT + 18 others); Tue, 3 Oct 2023 07:14:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239971AbjJCLOS (ORCPT ); Tue, 3 Oct 2023 07:14:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B59CAF; Tue, 3 Oct 2023 04:13:58 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 204196607328; Tue, 3 Oct 2023 12:13:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696331637; bh=FvSi3BSwzuy5WbsL2UYcyLOhw7c/SDxzR3WOj7ZEBrg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=QfGay9YjZBSiEdEo2C8XiZnfHw9DmvvyRvqzvqIAdIhB6YirsTKyMaY9cD5NANA9H 7RuW7xOY4kUs1iksNfpQullJg0oGbdYocdtZXoAP1LqOO8J3gHHmg4zOmI1jcraAdV z/oXOm+83hEguOAyElTDFcUnBob6APkhAjjvpvb+FHmBFWLOm8qJDhEgFKd+D1tzzy ofw/8YwhQJXl7eokusuTrEyvq/y4zVYS9F68O64bNDikSpOBWchY8mKaTJ0vg9a21N 0zn+o49BwZx+g8DGl3nQE8LlSe0iuC/WATrKGI/kLE1WASGpFsHj0Nc3e6wIdBPp/5 +Gifj5NeDaCCw== From: AngeloGioacchino Del Regno Date: Tue, 03 Oct 2023 13:13:46 +0200 Subject: [PATCH 4/5] arm64: dts: mediatek: fix t-phy unit name MIME-Version: 1.0 Message-Id: <20231003-mediatek-fixes-v6-7-v1-4-dad7cd62a8ff@collabora.com> References: <20231003-mediatek-fixes-v6-7-v1-0-dad7cd62a8ff@collabora.com> In-Reply-To: <20231003-mediatek-fixes-v6-7-v1-0-dad7cd62a8ff@collabora.com> To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Fabien Parent , Miles Chen , Macpaul Lin , Chunfeng Yun , Sam Shih , Frank Wunderlich , Jieyy Yang , Tinghan Shen , Seiya Wang , soc@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, Eugen Hristev X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1934; i=angelogioacchino.delregno@collabora.com; h=from:subject:message-id; bh=USC6QZCCqTLO2M1u4nBUCKN+Ny3rpy5drCaAShL4ZgE=; b=owGbwMvMwCU2y4zl/NrpLRWMp9WSGFKlv+c/sCjWTUr0qDf89Cz97rdNdu8v7G7U2qjGuuh2X7X3 +566jlIWBjEuBlkxRRb1uzXZz9esZDzSfrYEZg4rE8gQBi5OAZjIAW6Gf/qisTLXJhpvWH3P7XXHj+ fPwiMF4zzWT+YSW7gxdU5ZkwrD/wCppheShevm/9HRZPDUK+n7fHCPt1DDyZktinW3PrHysAAA X-Developer-Key: i=angelogioacchino.delregno@collabora.com; a=openpgp; fpr=57152E620CAF29C5DBE574766833ABB5BEBAF7B7 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 03 Oct 2023 04:15:08 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778732719794397435 X-GMAIL-MSGID: 1778732719794397435 From: Eugen Hristev dtbs_check throws a warning at t-phy nodes: Warning (unit_address_vs_reg): /t-phy@1a243000: node has a unit name, but no reg or ranges property Warning (unit_address_vs_reg): /soc/t-phy@11c00000: node has a unit name, but no reg or ranges property The ranges is empty thus removing the `@1a243000`, `@11c00000` from the node name. Fixes: 6029cae696c8 ("arm64: dts: mediatek: mt7622: harmonize node names and compatibles") Fixes: 918aed7abd2d ("arm64: dts: mt7986: add pcie related device nodes") Signed-off-by: Eugen Hristev Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20230814093931.9298-2-eugen.hristev@collabora.com --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index 36ef2dbe8add..3ee9266fa8e9 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -905,7 +905,7 @@ sata: sata@1a200000 { status = "disabled"; }; - sata_phy: t-phy@1a243000 { + sata_phy: t-phy { compatible = "mediatek,mt7622-tphy", "mediatek,generic-tphy-v1"; #address-cells = <2>; diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index 68539ea788df..24eda00e320d 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -434,7 +434,7 @@ pcie_intc: interrupt-controller { }; }; - pcie_phy: t-phy@11c00000 { + pcie_phy: t-phy { compatible = "mediatek,mt7986-tphy", "mediatek,generic-tphy-v2"; #address-cells = <2>;