From patchwork Mon Jan 1 18:20: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: 13508685 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 9FD65C4706F for ; Mon, 1 Jan 2024 18:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: 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=DPm4c5DYT5Zmo2gaDoGeMn3Bu+iK5tjKX0Cq3z61PYE=; b=nr2YVOQXc0qREq cMlbPpK27waBMOUAySLoHqZJFAluYs8LqCn0ArMygdbcNke1UDs+w9XU7+6aETUqAeBbADZl0oDya UVYMrdkHPY0zzwBX4SKp8bAaL308ekLo720/swm6XEZw9Jd+8LqqJiCRe4aPz7nIXh0zJ7OTTGFhv exoBUgyXZrAN4HHrqEwt/nkt5Xl+6+c8hKMSoBESDXRMO6ArpMkGgBxiMtWZ5KXzpefxMrlaHxvxD LP0ajX4PARoCScQEIrPn7sAFPiWR288E8zwmtMNElS75FQtnVRH4VFWZPnPgTTr5sHMlPpk1qT20l urjDjasXlWe/nVVHxChA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKMuS-006cht-1C; Mon, 01 Jan 2024 18:21:08 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKMuM-006cgU-3D; Mon, 01 Jan 2024 18:21:06 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-553ba2f0c8fso9834869a12.1; Mon, 01 Jan 2024 10:21:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704133260; x=1704738060; 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=DPm4c5DYT5Zmo2gaDoGeMn3Bu+iK5tjKX0Cq3z61PYE=; b=iY7dePN+Lxwohp/Zdi4WWptSYSEBbMLSy7mp6V8Ec+x2mdo8mzDRPRaXwF+CBmyCty ws0rcxOCkKp7U5iVh77lOglWrE9APj+I7fIklvUobkqC3dENZocEXTpabWvG4Y8SNKAm Ko3HzkPcfQuADZboxCijjnpntI9o6dtb9lL3KXL/28PDnLkefQhvJHcCOyYcjtZ64NYM ut6kOGFhck884HQcAVHMPfz8Z3IA2dOTz3lOX+bv16qIe8DCepIgc3KY9XYvAlkLo65R vmaYbyKmMJY02Gt4M4/xxN4aCuMFDDRU470q1gp6O2xdQeTD4Z8i3Z9vovxFAszHD0UH BUaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704133260; x=1704738060; 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=DPm4c5DYT5Zmo2gaDoGeMn3Bu+iK5tjKX0Cq3z61PYE=; b=Wst8UI/PDXaA7ROgssbWElc/5LtaTp/1+6lK3lLPvwF2Qivu2i3od7lKQf+eaYGGWe T/uAHV33maSh7DLhtVwpFEj4VNyggUCzA3dnK0daTmfqbDxj9N3Fkkpmd9TsiGHFq7Jo uiD0+eksZ4fnbQxwb1aLX/A8XnhhCChrO7x69usxShZALEEEVWTPaGzcouxzKheB1sru t6A6VqtKAq82OoXUKELJQD5VoBcsphKlf2XFQCpMiyu0LZYTYbovIX2XU4Jlfyw08TOv bCQXszif7qw6f3FIISOUismrzOGMHJu9rUwnECHvqBTX06t/MYOao7BRWr++227hhPJB S36g== X-Gm-Message-State: AOJu0YxKbsPWypcfwsP2fdzEA7QiYe0RowoTCSdnlsaEjnKvFpuguqyF nKL1L/tK9N+7V3ooHDG6i64= X-Google-Smtp-Source: AGHT+IGyY9jxT5FqCqbXgI3vZSMoZINZcxNXlDUZJjQ6ZuEBYYskwIOImbwBCZqWCEK5QOXNZy/OfQ== X-Received: by 2002:a50:d552:0:b0:554:94f1:bb03 with SMTP id f18-20020a50d552000000b0055494f1bb03mr6481550edj.154.1704133260175; Mon, 01 Jan 2024 10:21:00 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id fp21-20020a1709069e1500b00a26ade46619sm10297441ejc.121.2024.01.01.10.20.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 10:20:59 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno Subject: [PATCH 1/2] arm64: dts: mediatek: mt7986: drop "#clock-cells" from PWM Date: Mon, 1 Jan 2024 19:20:39 +0100 Message-Id: <20240101182040.28538-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-20240101_102103_057712_DB2B2485 X-CRM114-Status: GOOD ( 11.73 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , Sam Shih , Daniel Golle , Rob Herring , linux-mediatek@lists.infradead.org, Krzysztof Kozlowski , =?utf-8?b?UmFmYcWC?= =?utf-8?b?IE1pxYJlY2tp?= , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki PWM is not a clock provider and its binding doesn't specify "#clock-cells" property. This fixes: arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: pwm@10048000: '#clock-cells' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/pwm/mediatek,mt2712-pwm.yaml# Fixes: eabb04df46c6 ("arm64: dts: mt7986: add PWM") Cc: Daniel Golle Signed-off-by: Rafał Miłecki --- 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 6caac6ebede4..8a64d1027c46 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -196,7 +196,6 @@ pio: pinctrl@1001f000 { pwm: pwm@10048000 { compatible = "mediatek,mt7986-pwm"; reg = <0 0x10048000 0 0x1000>; - #clock-cells = <1>; #pwm-cells = <2>; interrupts = ; clocks = <&topckgen CLK_TOP_PWM_SEL>, From patchwork Mon Jan 1 18:20:40 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: 13508684 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 2EEF0C47073 for ; Mon, 1 Jan 2024 18:21:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WN7lb14KPF1jcY+S5H9uyOeC9EUq5Bw6nAEJovrtnGA=; b=rUkUeh1O3GH6IK dcc+j0Lj6D8b1B2sHJi9I084F/lo+VUqCZoP1iSeKVA8f3CzJVf+E9a4aKQfl7WKw1/a89PZfOxcv susIppJ9RzVvGarEW/buRTMb+zqWJyP97X7lTQBeEfyF2OueVD1/rqfZ/MaMTl9lSEekA/fH1qyCr TxrS36hCT6hTUERB+AaXXAHAu4zFPPo86mDyUgEzpU7w+AdpM6MUQ1IZormhWsNV3o9yKhRny1Ajj d3SAODnFEFXD6J+oSvplW/wZ06tRpLo7On1qLyuuwoJKy/anrpjMEossb6pT1JU8PhSOIVKB/qxdN tHxmp0kMDA/tjMK4bdjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKMuU-006ciD-0n; Mon, 01 Jan 2024 18:21:10 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKMuP-006chD-2Y; Mon, 01 Jan 2024 18:21:07 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40d899205c7so5929485e9.2; Mon, 01 Jan 2024 10:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704133263; x=1704738063; 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=WN7lb14KPF1jcY+S5H9uyOeC9EUq5Bw6nAEJovrtnGA=; b=BK5IbCUhliQGeL3gzM4vGeF58r2M6VyeQQDLteHZ5DwHNoHk/rgZzwWjfY0IVYdDy9 bm/dIAWAWQYEWjFyfDafdjxFEDhUOTJk2QRXorvIGqp47RN4rk3ElMk+zrSc27PfjHMS 3vK/PkxXsmsEWApoiOaNidHRuGC0UN6euPO73Vds/C9+BVjPcfQ36oKgzLtFQJtlG54v BGxgAN7RuYLFLdpfZkhSoBHb4FM33hpMf2+i5SeNmM71v4evMEmSZAz3tEh8iSwzKUBE BlqlB+U0Pb5IvC5sQSfM+SZDC9HoZDCSXk8JnoGvXytAsnMAgokLCt8eI4+GTXG8y9eJ r4Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704133263; x=1704738063; 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=WN7lb14KPF1jcY+S5H9uyOeC9EUq5Bw6nAEJovrtnGA=; b=AuFdGX753W9IAseObPNgGQXKj3YYCO02+FpajD2IduZMJMnYfv2enDp/pM+Zq/DHbR P2W5f7hvCt9iuE2ughEUvei+kKXC1TGAPtTAO6Z0FMKv7U2irOBk7RP3aFG4kEFPpBAP JpSmgJru7iWGKPF5DGufMoGwaVfS2cf5Ccs15Q4+hN4zKx0CekjWs6mz3DhSesT0xvGP NOlx6uzxrvdMDcWXdez70jkNOW3O+D5jaf3+rLYpvs7ABIK/1aU5N0CltwpVCK1uil5T aOKUlXsIHtG+ufKo7cCOgGU0IjSDzL3LYx5HELkDY8y+lovaPJ40Le+67NI8G0wCxy0L FX2g== X-Gm-Message-State: AOJu0YykExHyTPSESFX/N94U2rs6Nr4WD/HuIa38lxfJiN+DNvRIct9X GAElmtCyyZrlDrkn/dBZZNE= X-Google-Smtp-Source: AGHT+IFbNNwNCK9LDY1srSnGLyUQneeU4/f8818QnoX31Dxz9FOc5qZnuXXb2otpzNudIQj9HADs8w== X-Received: by 2002:a05:600c:19d1:b0:40d:5f46:2e26 with SMTP id u17-20020a05600c19d100b0040d5f462e26mr3853830wmq.164.1704133262982; Mon, 01 Jan 2024 10:21:02 -0800 (PST) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id fp21-20020a1709069e1500b00a26ade46619sm10297441ejc.121.2024.01.01.10.21.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 10:21:02 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Matthias Brugger , AngeloGioacchino Del Regno Subject: [PATCH 2/2] arm64: dts: mediatek: mt7986: add "#reset-cells" to infracfg Date: Mon, 1 Jan 2024 19:20:40 +0100 Message-Id: <20240101182040.28538-2-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240101182040.28538-1-zajec5@gmail.com> References: <20240101182040.28538-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240101_102105_851207_FFA35F10 X-CRM114-Status: GOOD ( 11.67 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , Sam Shih , Daniel Golle , Rob Herring , linux-mediatek@lists.infradead.org, Krzysztof Kozlowski , =?utf-8?b?UmFmYcWC?= =?utf-8?b?IE1pxYJlY2tp?= , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki MT7986's Infrastructure System Configuration Controller includes reset controller. It can reset blocks as specified in the include/dt-bindings/reset/mt7986-resets.h . Add #reset-cells so it can be referenced properly. This fixes: arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: infracfg@10001000: '#reset-cells' is a required property from schema $id: http://devicetree.org/schemas/arm/mediatek/mediatek,infracfg.yaml# Fixes: 1f9986b258c2 ("arm64: dts: mediatek: add clock support for mt7986a") Cc: Sam Shih Signed-off-by: Rafał Miłecki --- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index 8a64d1027c46..b3f416b9a7a4 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -144,6 +144,7 @@ infracfg: infracfg@10001000 { compatible = "mediatek,mt7986-infracfg", "syscon"; reg = <0 0x10001000 0 0x1000>; #clock-cells = <1>; + #reset-cells = <1>; }; wed_pcie: wed-pcie@10003000 {