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: 13508686 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 A3A6DC4706F for ; Mon, 1 Jan 2024 18:21:37 +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=GOFpArAy2rLSWDj1zAGKF+L4y/gUrb3EVm0tOk1iI9s=; b=MamNpqSbQ919m3 wQRH7taWFFecxovMH8C4IdaSA0dBaQL2s/PMOWk1YH7qCERLb7ypaBVPWdYIS+uTe0NNQrHhRSEmS PkD5Lxkc/jYNOGRnOnMOsxW6nxuIuF7BZc7QfzU3E8iSnDc2M23TSDf75PLRrgfS6XW6tQTIIlWY3 Z35FKNPW3D3VB6LfKpAlhvXTNCrHGRnmqYtmlsKW9OpQbg635WDln/bKEx2NSwsr11fQYoEF/9jGS jKSVDvkxhyEtlckTALE3LEd621hzY4hoeGjM1AOh3IOFuzE/L/LQvHexVouM+fXVxR7OYTns3jxSI gNWyGj00GLjcK5ygRmnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKMuR-006chp-2x; Mon, 01 Jan 2024 18:21:07 +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 Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Wunderlich , Daniel Golle , Sam Shih , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= 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-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 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>,