From patchwork Mon Nov 28 11:20:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 26652 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5599188wrr; Mon, 28 Nov 2022 03:43:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf6GNarTKTeuU816gKcd6bBV7uX+g6uXSTohs3qgBjGPQt988iQ2yTWBK/69U7aBQXpThljn X-Received: by 2002:a17:907:c60d:b0:7bf:5fa6:b9b8 with SMTP id ud13-20020a170907c60d00b007bf5fa6b9b8mr4862276ejc.383.1669635795113; Mon, 28 Nov 2022 03:43:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669635795; cv=none; d=google.com; s=arc-20160816; b=GjKX0mUwSqnGdUIMJ6hVYTGFUmVdE768e5o8jAJwHxKypPlX3EkmGzlckAgFx1WQdq BzSQaA8Ngab5nE5K88YqvTsJkqPd07PSAeXOPNnNlGw0qWi3CIXRVHld5JvwnEnD500N 2tD+zYo8qex/GyX4Qss8bdK4ryvnzjSmWwwTtux6syoMcRw/lug9V4taR/NOSEIJuTjg rlSV65MFN/9Fw42mzDkLYZCEVo76bS3d1Pe0UqrDFLrC7KsX7ZO0p1Eegv1DpmCOZZj1 jdRSbGhOYklaFGPRyQupaYwEkKK8QgLTUH9ScAPuRAt9RAAJbbrH8sWttAvHDfCdVSOY vwKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NuA0GggvFnL6xorv923s6HYLTCa7eZERPeLUA+fkC5g=; b=o8wTWa3AnJLWVSBQ9mIB6J9K9fAjWC+jGBUwtKNf+/1t4MFcmUyNCnolFzlNeJGbwd Q8SFTsaCNORakrCJFj6o89RZAsyGKZqhY7hQh+xJCo5DHraqRpCOk4kWRYmJ59zq7PlQ X9X4JHLyq7EHZBJb4M027vVLVGkgfUc6FqCAzN9t6IuC25pGi7osF7/+UZYdJiTOUV3i ya4kpSJY3Ao+YTDpuLx3Q+HRNkEYYvioT1IQxySVz+eZ0RgIwZJbhhxedytb7CtFnYVw vpnfNHVV/TfB4IzTYlyhzq80EsZLR+24uIEAPBP/6F1obrvnXnXR1vN8I3BGmuok2Dyk KyUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="ATmJ7/+J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v22-20020a056402349600b00462e5235356si11332705edc.619.2022.11.28.03.42.51; Mon, 28 Nov 2022 03:43:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="ATmJ7/+J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231372AbiK1LWZ (ORCPT + 99 others); Mon, 28 Nov 2022 06:22:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231365AbiK1LV6 (ORCPT ); Mon, 28 Nov 2022 06:21:58 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 786DB1C91B; Mon, 28 Nov 2022 03:20:36 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4BB2E660294D; Mon, 28 Nov 2022 11:20:34 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1669634435; bh=0/HOyrOTrjT43+4gbX6kjcJ+lmgqvtIXNi+Hvx25WNc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ATmJ7/+JQK0ca/cSCQ2o9iLlMZ80XEh0q9IJdyHKw8ro20J/ctNnVYIJJwmJhlhxQ CT3+RxkpZ4bDrSRNd/RMTYbqdUbkLDyS7PYzIjYhmwSV39sCc4/nDw0L+m8nOr1//F VprN5G8TwBRBglCudv+8906HGFAcN4If2Hi2TP/O7ctZ8tyEYvWi2wfxqnoEbukv4l 75AA6IxlIhXy7Wp0TRV4XY63jmwpbK8aPpfFhVWhle2ApCp+Uup3i48wmk39ix3Aly v+chLF5d+a/TZbQj4Ow8FXX7pkHD3Ie8ys55dRa6/iW63DYrEVIHDvHDsUl6U90MXe tcJnQg0/rBLMg== From: AngeloGioacchino Del Regno To: krzysztof.kozlowski+dt@linaro.org Cc: thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, robh+dt@kernel.org, matthias.bgg@gmail.com, john@phrozen.org, sean.wang@mediatek.com, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, AngeloGioacchino Del Regno Subject: [PATCH v1 1/2] arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node Date: Mon, 28 Nov 2022 12:20:27 +0100 Message-Id: <20221128112028.58021-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221128112028.58021-1-angelogioacchino.delregno@collabora.com> References: <20221128112028.58021-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750740023324405704?= X-GMAIL-MSGID: =?utf-8?q?1750740023324405704?= Specify #pwm-cells on pwm@11006000 to make it actually usable. Fixes: ae457b7679c4 ("arm64: dts: mt7622: add SoC and peripheral related device nodes") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index 146e18b5b1f4..f321c6d0fd7c 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -435,6 +435,7 @@ uart3: serial@11005000 { pwm: pwm@11006000 { compatible = "mediatek,mt7622-pwm"; reg = <0 0x11006000 0 0x1000>; + #pwm-cells = <2>; interrupts = ; clocks = <&topckgen CLK_TOP_PWM_SEL>, <&pericfg CLK_PERI_PWM_PD>,