From patchwork Fri Mar 1 07:47:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 208678 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp920437dyb; Thu, 29 Feb 2024 23:48:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX/BGC3hMaQohTkW9ohyDQbQESm1BhQQUeitZF7TPkgjpwmGhM1EdZ9OnTYPMHpjw9X4ouGFkhVZHUu5L/Z0blm+fZRGQ== X-Google-Smtp-Source: AGHT+IFnq7ViLtsa9as5fShUH+EZQA7pONp6Dyp3JjzMdHRFPLBRMTejmg4ymbG85vwpmU+4A4ch X-Received: by 2002:a17:906:16d0:b0:a44:296a:5e4c with SMTP id t16-20020a17090616d000b00a44296a5e4cmr764922ejd.26.1709279314818; Thu, 29 Feb 2024 23:48:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709279314; cv=pass; d=google.com; s=arc-20160816; b=Tklvej4Shhs8ICuWeib2/88hFuN6oBnkBXhSyNzfvycAHILA3Q1pUsduR4m3qA7Jhx eqiMKomVNedOdmqCErOgP42Wgr+yWbfYjp7Qn5kJyqHiXCbUfCTGi0xAw3Lr8ZH17n7d eJ8hdBZTHuYtRhgQiM3hwy2CtU3WnbmT6nHdvARVMfcWuCtqk5HIv//QrRO6cowPRMfg 5Adm3n89MmF04OX5/It4/jeHY+KxfOhcAmifMQ6yLcG9pqam8HwequS6ad9vmoY7vx3W maAC6JYV2MvqfgTz6sck8sGNggpubu+himCGeKzaoLMDLMGHpZmktFLa1r3NawzoSnb0 +8Jg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=blIn0p2u3QS9iJ7wxkzaIEJOBeHVH2WoSM8ME7du+Nk=; fh=N06e2SV+E9/2X4bQl6Sk2bIe95a46gonVPF6zLMvtX0=; b=IZXdDre3ore1ZMt8g1Rk/KvU9a0ScvpsttnkbsIWDdBs8qLhbuiVLVfDNNcZzc1FqO iM6e22qfkJ3N8fl2DaN/I34yyXAmA/PqvlgN/9cntBN8vxAbXmRuJHeevHv28EX3XfaX z+GuKwvY+TR8HBmgQyuuklRM9DCqtNv/EnTLtXkLx9YiRuf8AD007mV4VPJme2ewOub/ g9tsxArfFUW4CmrcVMRo2JTFAg7+vu/YQ3qfl+5Fci+jh++m0CUeNMGGGnnVFbnEyarw /5HroWZucbtE0ncbZt79eQEq9R4GGxam+S8W3GasGp8L9pquA36f7HmfMUhqd1XdVjI9 v9iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hGO07pqJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88026-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88026-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id xa9-20020a170907b9c900b00a3ec7482fa7si1274477ejc.915.2024.02.29.23.48.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 23:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88026-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hGO07pqJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88026-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88026-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3F8AE1F21AD7 for ; Fri, 1 Mar 2024 07:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82E8E69976; Fri, 1 Mar 2024 07:48:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hGO07pqJ" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8E6D50275; Fri, 1 Mar 2024 07:48:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709279288; cv=none; b=cOGGWy7VXf+Sa4BMwtVlNAYlNr2fm4cQZ546xO05DC8r6cnC7Z/CTvD6tg+ixjZFI1tl4FzCbHWtJ4Uchay+moQ0RVhHK14XOTpQFtOEdSQKJ/s0mssFVbtVQyLgZyJ989GG2lY5IHJR/tQ3XQlH7NSAWMZbh23F/78MuYzhVIY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709279288; c=relaxed/simple; bh=Pofs6Iq1R1/s2g+DzmAmCcTOqm3WK2u+gBotuVmy8uI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=FoWXB+jPgqEPjzLLEOkaCND4Oa8Wkkfk9dTmnFRmcM49aR2+7tI4vdtQuzVJDq/6XDAjatebedmYmE9PxlJfmzz2KYWs2AUI9G7/OQ584ULz+jfr5wWXSBoq0GnxCSLoX5LO6KU50LZW9Biqqb/GHj9CNkB0sZsVkQXZfaEOQS4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hGO07pqJ; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a28a6cef709so278799766b.1; Thu, 29 Feb 2024 23:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709279285; x=1709884085; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=blIn0p2u3QS9iJ7wxkzaIEJOBeHVH2WoSM8ME7du+Nk=; b=hGO07pqJ6weukzqtPRODYokchILfX8JQEygCESdX/MGS/K+iS1oWz8LlCZ1keq0Tah lPVvygFD8meNAxXpa+vY+c9Omx6OtogCYfLVWgfIl7nNhTZ2By91p8CBD0cq4MQ6Sxig cy11q6zf3Zu3retZROXB2k1R96SnPHYZ/4CH3CynjTPaq8SHrVNJhY9wWM0G8rJVhODN f+KodzL4gdiEXQAeEEIfiSkpq39Vq4QmWtsdGKl7iGlRQqzKywIPN6Qx/u9x/NmP3wII 3XxbloQEaAKwGYgPASeawlnir1hr3xelZsfBpadD6SAMjttaTB5hazqzZoRslsErmW82 OqnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709279285; x=1709884085; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=blIn0p2u3QS9iJ7wxkzaIEJOBeHVH2WoSM8ME7du+Nk=; b=D6goiLuDKyiPiGeozWn/L6t7uubV8VBio2dZbBcuDkDq18S7SiPbU60UHowgK/ul+f So6hp2V5WuZToVAgFpgsOVSlriubViE415RdT9A0jE+nn3ewO/69qWswmOSPMwrqS7h5 Fy+gxWO5+AuJWrHB3QLFTZN9rDhDl/3MHliRSZor160xs+YI3ZPZ696kTUxLnrTMiEG2 zpwBVVvDR1kGe4pwNFLtHkjTgDp9C0e7sov05IF45H5eclDlMIFZHd96PHVulRlcRtu3 65PMaAmlwG+Vflg9q6BNLXaikBdExS/ZNJ/zdrPEcjjOZw/7f0uY9L7SN0BDcPfVQb6e eIGQ== X-Forwarded-Encrypted: i=1; AJvYcCUoEoJH02FM5j0nsemadM7c1+yQG3MiI4j7xumL8P/NLVc9RD04OoQx7K68Q0kdgynvZEaCtErnXVlWvr1mnHvuGJqVmZWD9NR8NfBi X-Gm-Message-State: AOJu0YxZV03c+/yMKx9rklnucMgMqAByLQ8114yv4DthtTP7qG5MEWHF zKtvBEyYNCaaE+RvF+rsly6MYPrYIMfWvjLU1E6wjXQ5DkMGXsro X-Received: by 2002:a17:906:c49:b0:a3e:e678:556 with SMTP id t9-20020a1709060c4900b00a3ee6780556mr646579ejf.58.1709279284547; Thu, 29 Feb 2024 23:48:04 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id f26-20020a170906139a00b00a4417c46efbsm1438684ejc.82.2024.02.29.23.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 23:48:03 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] arm64: dts: mediatek: mt2712: fix validation errors Date: Fri, 1 Mar 2024 08:47:41 +0100 Message-Id: <20240301074741.8362-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792309266735326749 X-GMAIL-MSGID: 1792309266735326749 From: Rafał Miłecki 1. Fixup infracfg clock controller binding It also acts as reset controller so #reset-cells is required. 2. Use -pins suffix for pinctrl This fixes: arch/arm64/boot/dts/mediatek/mt2712-evb.dtb: syscon@10001000: '#reset-cells' is a required property from schema $id: http://devicetree.org/schemas/arm/mediatek/mediatek,infracfg.yaml# arch/arm64/boot/dts/mediatek/mt2712-evb.dtb: pinctrl@1000b000: 'eth_default', 'eth_sleep', 'usb0_iddig', 'usb1_iddig' do not match any of the regexes: 'pinctrl-[0-9]+', 'pins$' from schema $id: http://devicetree.org/schemas/pinctrl/mediatek,mt65xx-pinctrl.yaml# Signed-off-by: Rafał Miłecki --- arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 8 ++++---- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts index 0c38f7b51763..234e3b23d7a8 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts @@ -129,7 +129,7 @@ ethernet_phy0: ethernet-phy@5 { }; &pio { - eth_default: eth_default { + eth_default: eth-default-pins { tx_pins { pinmux = , , @@ -156,7 +156,7 @@ mdio_pins { }; }; - eth_sleep: eth_sleep { + eth_sleep: eth-sleep-pins { tx_pins { pinmux = , , @@ -182,14 +182,14 @@ mdio_pins { }; }; - usb0_id_pins_float: usb0_iddig { + usb0_id_pins_float: usb0-iddig-pins { pins_iddig { pinmux = ; bias-pull-up; }; }; - usb1_id_pins_float: usb1_iddig { + usb1_id_pins_float: usb1-iddig-pins { pins_iddig { pinmux = ; bias-pull-up; diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index 6d218caa198c..082672efba0a 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -249,10 +249,11 @@ topckgen: syscon@10000000 { #clock-cells = <1>; }; - infracfg: syscon@10001000 { + infracfg: clock-controller@10001000 { compatible = "mediatek,mt2712-infracfg", "syscon"; reg = <0 0x10001000 0 0x1000>; #clock-cells = <1>; + #reset-cells = <1>; }; pericfg: syscon@10003000 {