diff options
Diffstat (limited to 'queue-6.6/arm64-dts-mediatek-mt7986-drop-invalid-properties-fr.patch')
-rw-r--r-- | queue-6.6/arm64-dts-mediatek-mt7986-drop-invalid-properties-fr.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/queue-6.6/arm64-dts-mediatek-mt7986-drop-invalid-properties-fr.patch b/queue-6.6/arm64-dts-mediatek-mt7986-drop-invalid-properties-fr.patch new file mode 100644 index 0000000000..8c19380d29 --- /dev/null +++ b/queue-6.6/arm64-dts-mediatek-mt7986-drop-invalid-properties-fr.patch @@ -0,0 +1,47 @@ +From d3ed2377ae53a1b9c4234f04ce2598ad49430176 Mon Sep 17 00:00:00 2001 +From: Sasha Levin <sashal@kernel.org> +Date: Tue, 13 Feb 2024 06:37:37 +0100 +Subject: arm64: dts: mediatek: mt7986: drop invalid properties from ethsys +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +From: Rafał Miłecki <rafal@milecki.pl> + +[ Upstream commit 3b449bfd2ff6c5d3ceecfcb18528ff8e1b4ac2fd ] + +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 <sam.shih@mediatek.com> +Signed-off-by: Rafał Miłecki <rafal@milecki.pl> +Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> +Link: https://lore.kernel.org/r/20240213053739.14387-1-zajec5@gmail.com +Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> +Signed-off-by: Sasha Levin <sashal@kernel.org> +--- + 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 eba5e27a1bbea..850b664dfa13d 100644 +--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi ++++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +@@ -501,8 +501,6 @@ + compatible = "mediatek,mt7986-ethsys", + "syscon"; + reg = <0 0x15000000 0 0x1000>; +- #address-cells = <1>; +- #size-cells = <1>; + #clock-cells = <1>; + #reset-cells = <1>; + }; +-- +2.43.0 + |