From patchwork Tue Feb 13 05:37:37 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: 13554451 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 93518C48BC3 for ; Tue, 13 Feb 2024 05:38:18 +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:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=q5tHCA5O+frIBZ+6HMpOwVvkCP3ROlu+yL3d5MmXR2A=; b=ZTeUuoVliyrVnz cEAMvsOIsVdTFPXidsbF2fY2GySO+XLrHxaCi9/31b/eqLbtzpJnVYmlEbPDl7bbY2+sY6f56KN3l TkG1axr5zLvMTbxH2wiqlhm5G18/kER8zldTilUrPkgRCZ/McQdE+OSl4Lk1hTP7/JPGraZaleA4D qOBMkfDL9avfFbf+RsIRT/b+VSgUXQxwhmPxNHJPgfsa7Arg2wZXt4IgloY0AXVsGXQ0kxsGWt+Hc kkpsEil6ugfNOZoQgbY0Syd8T7eVHmOqWm9nIWSZh+qw0wlirpE6nlkOr7Tpa1vx8KUxX25zdc9px fAcQ7GXgoe/Pq+VuZH5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZlUd-000000080eo-2ChZ; Tue, 13 Feb 2024 05:38:07 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZlUa-000000080dq-0HTM; Tue, 13 Feb 2024 05:38:05 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2d0f1ec376bso24337911fa.1; Mon, 12 Feb 2024 21:38:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707802681; x=1708407481; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=y6whheju3NN4BqY6LFcpmmPqXluoagcef/LFMHep7Sw=; b=FL/Yjid846NAV0OftY/ropeI3PMEshZDDfUVT2VePc5iLnC8CJz/qlZ4/5ubOJuA74 TU8QxPsrlF/mHge9KPaxLKE0jvWG+NG45cOW9CQzbHGCTA/NE0D+EyWqDcectvf2kgsW L4ujV15ou6Gq+LWAEt3YVkPvDiTXounKKx40jc6ytXPdCqNGHpmMT+uYVoXNxLyICKet SI3inyYMv4fXDh3qXOQR2JpxE6+ON1hDzmFBBPQvPuwTnj8Ky6Tcmvwi8bM4LdGr3nkt d0YX82rnmC/VQri+y1myKjWIeTxEe6chPJU4r7QSahpfNoku7e2jPmtm5lwxeIVqcwbT vOfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707802681; x=1708407481; 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=y6whheju3NN4BqY6LFcpmmPqXluoagcef/LFMHep7Sw=; b=gXa/ahXsI1juCvPmMY/QwgtPaM7OWqM3B5YP0aZSWHNuTQ5Z+e2YobX1ISrOGA1De3 qDCcztB3XZ1hHT0wqtu2Bi0bmK/NumjigG4wFulG90GHSB8aHxaY+bzaRWRkbIvj83cg 3RVa7eX+uxxSWIFrf1RrghFHuj7Ecn9jITJpwSGUGnNVgySgLVyPnLlM3lB0Zdza8j5F WkQn7D6ac0xciDSWrA6XHpuZWPDvwR7QR4aGlxK+5LhBcSHKsXukzai/LIezxZxZnhPa ggCLOolxZ3N6+IP2K8yF5N4HXK6APRLiqfVC+oEAO0ldDxGZHNKOiEnTAQtHHS4is+Uh qt8Q== X-Forwarded-Encrypted: i=1; AJvYcCWeOGl5y+bfeWwyk1aZv1Xxgms3AuOkRvOvm53+/WOLicHxUslssob6h4/EdISqELWq7WaCdoQu07uxEMfgc4NneUOYDKr8lruQAVrY0QWuXyPeNW0Ey7znZ+W5C9ssqPFAgVJYvluyGePXnTnQ79MiHs1kJCZM1JI= X-Gm-Message-State: AOJu0YwyzmR9t0AZ5Ev9Ex4OxTaedJdl5ynQ4p6tPjZ1I6jGa3ZIP+VO jMMP6lJObXbCyVVeV8pScm3hQ2Gp7McaZu58HU3gT3uNbL8HGByN X-Google-Smtp-Source: AGHT+IEYv4/4ALvGa72xiNOOaY7e3dOG1YKfoXOw/ZHT+6/YMgv2cMGO57rgfPdiN9NDpTVQDjxNeQ== X-Received: by 2002:a05:6512:ac2:b0:511:4a01:2faa with SMTP id n2-20020a0565120ac200b005114a012faamr6840591lfu.32.1707802681119; Mon, 12 Feb 2024 21:38:01 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCW2tGrtBOg8KcRwmQRPgHXd6qJA+pLVnJmF6/vU3yx1sVl0gNb0EESWJdYs5iEbETyMYMJBl6Al6rNlTUDRqhCxcJjy5Cl6u7RBSbr2avovnwBm56c4ec/Qm1b9mfEwYlUwwR6hZaac86g914HXwvV/3/nIZPVB9Y0gK46QVRH0/893u5tjOCudcyilGfAwfVktFhGV51sLOJntmdksuIut8aNbUu6V1k2oyr3ljjz9kQzDLmNVc2zWFQqipiODhNpV+LrUiQJz5PB7rGqxCEjbpBqG+/YQ7pB4V1zk+KTR8lZZv3g9Nh8vpaP8GYhHgVAudqydYEcoXgKD03duxB5NCMJStAF1SKZMyK9gTko2J+Kfq6ehhk0HRpqhkYLTI+ZvGY0Fo3Ri1eoppMJeWKoLGcmfgcye/7mbGltoZ98aken7lT24sao6c4Rm9UjXSnjL8YGRpmQ07fZcXtZ4cO7tfSw6I7hGi9RmcDPIbnd/PlEeh4YKPlMxuOt41fXCTJ5sXBXdkrsT1KDsMHFcKNE= Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id ll9-20020a170907190900b00a3d125b9c0asm16659ejc.81.2024.02.12.21.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 21:38:00 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Sam Shih , Lorenzo Bianconi , "David S . Miller" , Daniel Golle , Frank Wunderlich , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 1/3] arm64: dts: mediatek: mt7986: drop invalid properties from ethsys Date: Tue, 13 Feb 2024 06:37:37 +0100 Message-Id: <20240213053739.14387-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_213804_149936_9A08E3F2 X-CRM114-Status: GOOD ( 11.21 ) 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 From: Rafał Miłecki Mediatek ethsys controller / syscon binding doesn't allow any subnodes so "#address-cells" and "#size-cells" are redundant (actually: disallowed). This fixes: arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: syscon@15000000: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/clock/mediatek,ethsys.yaml# Fixes: 1f9986b258c2 ("arm64: dts: mediatek: add clock support for mt7986a") Cc: Sam Shih Signed-off-by: Rafał Miłecki Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index b3f416b9a7a4..228e02954e85 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -492,8 +492,6 @@ ethsys: syscon@15000000 { compatible = "mediatek,mt7986-ethsys", "syscon"; reg = <0 0x15000000 0 0x1000>; - #address-cells = <1>; - #size-cells = <1>; #clock-cells = <1>; #reset-cells = <1>; }; From patchwork Tue Feb 13 05:37:38 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: 13554452 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 F3A10C4829A for ; Tue, 13 Feb 2024 05:38:20 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Sk4g92toDSmJYusssGm4+ciE6TOo0kfOuh5QpRgkkKo=; b=1efXZnDLZXMoDv xhNDva3xoUsrKMORKN4F/3RVEcyFza6WKMUAcQGwURUN14ZPXbw/DUIFbvtDYG9ttzry0Iv6JYuel HsLveh2Lrhyl8KoyLLPVoQb+ckU8MDaL3BLA7n4+dKM6pvcsmdrQocl07SpRgDwv+cbpLOY1c9lxv Qi0dJJVbzu4gBr0oveKO1dIM4K1KWo+rzp4ZJ5+QGfZmBtJnJizxmCn9aJwep8lOQLiZF+stj3gWX L9O5zWxkwg5OmxoniEbm4xbOh5CPFmeNopM9EOJwyttG5iZoGD9bLGox+5reM+Rz/h3p3qryowSE4 Ra/U0+Usa1IrGND1dYQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZlUh-000000080gJ-1ExS; Tue, 13 Feb 2024 05:38:11 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZlUc-000000080e8-0Vcr; Tue, 13 Feb 2024 05:38:07 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a26f73732c5so542548566b.3; Mon, 12 Feb 2024 21:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707802684; x=1708407484; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GJdBOYmZsXk7rIacYxoRlSXsJMiBHH2ge7UM4axIZqE=; b=KxYH2g89OkRJCpY7bg6hC3uWbdGEjUh/0ur8j4QFPXN4Jzefa0/IJweZZaecqTrODl Wz37Ct68kbCgbaEZX1ri9wp/jaqTZ1l5u19aMsvlpE84Cuoj5DaQ7/5GSgnuJfz89VWf h+Wp3KxjqvEnRoC70NIuHPDPF5rJo7U5scQnWypbtqWNgfvCGDl/am++EHgFvyXLiImS QhHXJenXwCC4CR1oHn7YwFcBLf2LxdnQIMyJQq8OncnrYS+eBgtZLGjn7RbYz8mG1iRR qS3qfN/xp2pl8TTqJ3aru3wsqyL2v1RsriMcGInKoeMC6p/Pg6CAU+kktJiUaAUexS4q z6pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707802684; x=1708407484; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GJdBOYmZsXk7rIacYxoRlSXsJMiBHH2ge7UM4axIZqE=; b=RlxToCDGvr384wZ/f3SYwFWTKbzkjrEpa049SS+gSADrOO4wcmQWltI8oa265bIFzS +o6sinLp/AjwK0Zm/g3uF+co2+k3/kidq/PlF4K3gWttrdAGBwGUUuf9EYUszX9Kg5TR LvvelVaZyjkC1cEIiiPQY91Y85zo6mdgOVn+81Tl1LV9Yn2lrIS2axoXm+9OAqsA/q+W tQb88KAkEWO4sK31FOKEPKW0lJeefZikiIJu3Kicot1rU/0S0baBTPavvwPFLsI3CYpK B3HoK6Ix/kvjeu/n8lsFy+8WM+qz1ifGYN3HZO4mMA2Hn4YNXeMB6/re2sO1PWhQAJ1W LFxA== X-Gm-Message-State: AOJu0YxUmottTH88JM0n1gAVFyjrb3TGhrKGUKXaurhpI0UAtSEoF4G2 PY/QwG55bHiIvXbA9AxfjIe5UFUdeBmD8ryPVizJ1xcpr51tRSdW X-Google-Smtp-Source: AGHT+IHj8PDFm9WvfH0oJ9IoTIMd7KXeKjcwCsvHZaL5xYhNGkGHRD+cGv4D2a1Wq9OVPb7T4nwSbw== X-Received: by 2002:a17:906:80c:b0:a3b:a32e:93c7 with SMTP id e12-20020a170906080c00b00a3ba32e93c7mr6387043ejd.55.1707802683510; Mon, 12 Feb 2024 21:38:03 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUeBCncLLmXxdM4x+qvGhYPF5dNohZQ7BvWWOgtW+ELCVfJwm2MTUADPrkSQBNMn0vSzoJGhSj7xNxw84HrTmHWN3tA1/096OtfW62HnnrhwmGksJ2Th9jbC9+ZcUF0X6wcZpLSWEs1J8/6DyDsma948zAPP7rea0/+XFYuLDbxDI+tI+ce9WbFP4Ki6AeWmWJNslZsxutvyOHd4axLhDIfFN06Ht18xaTI3aKO4ivnWflaCuIsVAtfnmTusBsF2F+73JCzu+PPUQPIsRLXmONqpfkBl1X003PAX/JjVxRfcMYg8S0PSn6272jurvrZpDQ1yFJVa41eaMcNz5L81yAS1wOWryAv1nR4mkG5c9smVAngEyC8zaoeTQKBz6aBU2qpm1lrOEtYNIrGuqZEkvyrTIBIcG356tUBE63GM+9v9XvTcQfK1Pc1yAaeMZTDCwkdkyB3FJExDpnhHO8WBFbI9XX810EgDsMLeZMxUIrO2UKq43pBcWCGhrcsgbD64SrGsOwy1MwX02KXDiMgVXo= Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id ll9-20020a170907190900b00a3d125b9c0asm16659ejc.81.2024.02.12.21.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 21:38:03 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Sam Shih , Lorenzo Bianconi , "David S . Miller" , Daniel Golle , Frank Wunderlich , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 2/3] arm64: dts: mediatek: mt7986: drop "#reset-cells" from Ethernet controller Date: Tue, 13 Feb 2024 06:37:38 +0100 Message-Id: <20240213053739.14387-2-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240213053739.14387-1-zajec5@gmail.com> References: <20240213053739.14387-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_213806_185495_9097BDA9 X-CRM114-Status: GOOD ( 10.84 ) 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 From: Rafał Miłecki Ethernet block doesn't include or act as a reset controller. Documentation also doesn't document "#reset-cells" for it. This fixes: arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: ethernet@15100000: Unevaluated properties are not allowed ('#reset-cells' was unexpected) from schema $id: http://devicetree.org/schemas/net/mediatek,net.yaml# Fixes: 082ff36bd5c0 ("arm64: dts: mediatek: mt7986: introduce ethernet nodes") Cc: Lorenzo Bianconi Signed-off-by: Rafał Miłecki Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index 228e02954e85..f3a2a89fada4 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -554,7 +554,6 @@ eth: ethernet@15100000 { <&topckgen CLK_TOP_SGM_325M_SEL>; assigned-clock-parents = <&apmixedsys CLK_APMIXED_NET2PLL>, <&apmixedsys CLK_APMIXED_SGMPLL>; - #reset-cells = <1>; #address-cells = <1>; #size-cells = <0>; mediatek,ethsys = <ðsys>; From patchwork Tue Feb 13 05:37:39 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: 13554453 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 A9B3CC4829A for ; Tue, 13 Feb 2024 05:38:24 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nPIKrbaTGsPzWyacHx/marYVxnStm0UrvIWi2pVEldo=; b=R4XYhYb34V8DoV VVUoddKA7pk4qzSSXNurXKUIkGyq4zmRXMnzv/2XdlvJqpEx5lN9tjNRf3fJsa5pbpk566QhUDMg0 dt71UHwhgU+ScZRv3yApp3fftlE63N9Jwqp21OsRzZw38IuuKmG9EVyeln63F4MEbqRNu3JdEXJBJ TBXYraLzpJGJnAB+Y+VtJIJ6gj2SLDpV2cKLZEB9mqGXLToIlQDWzxVuKqm7o00nUm0VFR94sApZl kkkHJvQSJTAUPyMUb+glQFC+/AU7T39Hm1B9Gx+13ZNCRrWgL1QVdY8dT4oNtWQHnh12v6GydXUug pBwJs+hmHVoQOUS5Al+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZlUl-000000080hU-1xzs; Tue, 13 Feb 2024 05:38:15 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZlUc-000000080eI-3Ogh; Tue, 13 Feb 2024 05:38:08 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a3566c0309fso476278666b.1; Mon, 12 Feb 2024 21:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707802685; x=1708407485; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bYXdB3+zSKU+ziwTscLVWPyxXG/8J4FJdNu2+Hvv5wQ=; b=mnPZ8v507VPWX/8d/SnaBzKArEMiPvDmXCoyDFuJ2I+qBjvbntbPU+eJ9E2jNIW8QD /yInY0Yk+96Xb+zEu4ZDlEjSgAQWXYFViZdBdnNOep6g1nNiJAnSQopEaq3yBOfCM2+p h07xfW+VrkjSBJsI1MQFmerdahdPXXy5/etEtDXise32P3LdZ1qtNii2USXP/YG5uOY1 eQ3sL4NhnZx/9VgXVa0wqx3yRnKv1oVpvw+I1qctB0qyVwOZKWYnxXwOBprjF7TXa5eI ruGlacijLFS9CqWA6bFycaB+97rIjcwEAFKwFN9I4tnIemSZ9fcBwMKOG6SXngoivmvz NqZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707802685; x=1708407485; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bYXdB3+zSKU+ziwTscLVWPyxXG/8J4FJdNu2+Hvv5wQ=; b=tNHIBEEhDF44In9XPSrJtN22EyXXPR9VLgNW7zjETybxXwvZdogYUzwH5nDlEZap7A cWPtjamJg+xodJtmR/Cz9/ydngk1DOG773ub6WHcDGPBp9ZuyzW3fgpjHXK3PmCtojeV M9+HqmTx4RRHqQHzXPcky2bEZGX0fSbywv/d5GPlkvF/1DZr5GgRoKgerL/vbL2+CHC3 omarlezuOzQ0xpYFpI5ssox2DvfUTVXTgC0ESMsgHFneNMn7LUBlY+v3kHPpxWKkxYvF bYKO+t6FwZSXlQjYS+VjoZTQU0ZrFj9CsBFXLDZFny3GCHq6HqurolKG6GmkqSGVZgVj R6FQ== X-Gm-Message-State: AOJu0YxfviO283p2ATil16vwj5zxRVlqbDrHCpSSd6ixHvY9HVnK8XxK W02bzpaTlxX25yH4rlZ/JtspTmeuMY6yQv47RNEIczhun1BlZEqA X-Google-Smtp-Source: AGHT+IH1RI7+JKCAoucQct5YWa3nTZGYqSTFR3J5hmCbgkfu3eIRUhtFS0zPvYnp2GIoXhZ46YJTvw== X-Received: by 2002:a17:906:370e:b0:a38:215c:89b with SMTP id d14-20020a170906370e00b00a38215c089bmr6335504ejc.73.1707802685274; Mon, 12 Feb 2024 21:38:05 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVzK/M5LmqBMpnrz+fUmQDlVL/XtC8+joam+QwRswGCuUyU/QeYQCN4iLP1hFPuUSg6PROoJPLn3bJTpX3G8I9WqT6JK0YduVZTZnfAVw6sJ26y5el3AE1I/bQXS+sT54F6pstFw7Z9PWC/jZHRRfsT7NF/3R/xCClupGPJm1R8qebInSfQTnuFRsjxyESbyWuvqRk2g9afuq3AdbDCy+8nV7uKOO595E+yrGpMvEHEU2nMNT/K7sAZA3BzEvx5h2nfTlcELq+2J/nhNMDlItRjinHMhzFDYncAqUzlN0e4PuEW7w2tY5kPvekWofxTxZysfu66X9m0ZQ/aRn9s1nuV6zHm8nb3GvlWOvS5Zm0fxZ85Atcx5Jj0c5Fg+q12QdK3DT2ZO5DWcx/3wyLMdUUesBRKwFWO/IAdJki/QqSINXqmMUo6lgCJvj8RnDvgvTO6jqoXLZzvKHx4YLP+7B/5tP8MMvHL+/zqtFEegDlrIKJqFixrRaX92wB5WTQ2eKCF+vuzOtfyyVwxjGY2UGY= Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id ll9-20020a170907190900b00a3d125b9c0asm16659ejc.81.2024.02.12.21.38.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 21:38:04 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Sam Shih , Lorenzo Bianconi , "David S . Miller" , Daniel Golle , Frank Wunderlich , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 3/3] arm64: dts: mediatek: mt7986: drop invalid thermal block clock Date: Tue, 13 Feb 2024 06:37:39 +0100 Message-Id: <20240213053739.14387-3-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240213053739.14387-1-zajec5@gmail.com> References: <20240213053739.14387-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_213806_880519_818CC04C X-CRM114-Status: GOOD ( 11.33 ) 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 From: Rafał Miłecki Thermal block uses only two clocks. Its binding doesn't document or allow "adc_32k". Also Linux driver doesn't support it. It has been additionally verified by Angelo by his detailed research on MT7981 / MT7986 clocks (thanks!). This fixes: arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: thermal@1100c800: clocks: [[4, 27], [4, 44], [4, 45]] is too long from schema $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml# arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: thermal@1100c800: clock-names: ['therm', 'auxadc', 'adc_32k'] is too long from schema $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml# Fixes: 0a9615d58d04 ("arm64: dts: mt7986: add thermal and efuse") Cc: Daniel Golle Link: https://lore.kernel.org/linux-devicetree/17d143aa-576e-4d67-a0ea-b79f3518b81c@collabora.com/ Signed-off-by: Rafał Miłecki Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index f3a2a89fada4..559990dcd1d1 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -332,9 +332,8 @@ thermal: thermal@1100c800 { reg = <0 0x1100c800 0 0x800>; interrupts = ; clocks = <&infracfg CLK_INFRA_THERM_CK>, - <&infracfg CLK_INFRA_ADC_26M_CK>, - <&infracfg CLK_INFRA_ADC_FRC_CK>; - clock-names = "therm", "auxadc", "adc_32k"; + <&infracfg CLK_INFRA_ADC_26M_CK>; + clock-names = "therm", "auxadc"; nvmem-cells = <&thermal_calibration>; nvmem-cell-names = "calibration-data"; #thermal-sensor-cells = <1>;