From patchwork Tue Dec 17 09:12:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 13911530 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 B26EFE7716A for ; Tue, 17 Dec 2024 09:45:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=C8h/MyuJwdeGXW4ofS5c+hgK4FOJksGuc8nzkWhgdCI=; b=u5sC2iPNNnKyYatVQfHNQ+ioQO F/OF0Q+wtp9lN0j2YLVwM/r3vuwHTGF21kbIPOMg5wJLODMYqVS+5ksXqP7/bWct1RUS43gu42YBn lCKw+RBFBRXTE7fFGUuk9Sv/JAxZFuQWfqlfqlvU4dZLILo8kxgpTH5HWEt+p5v28XacrTd2ik64l CI0bbbRaOqqEKR3H2Y8bVZFU4A2E3aQnpeVcHoAotK3gSt0111WAoRRoTbO3BJcoZ5crzHiYj0IS2 cxwIbmmShctzUbNVB8BFp0VGCyiHr8aGNO1XruKDbtTwfHvCx3OkPMqX7jIr+GLVATdiLWbyx39Ap L/+TTm5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNU8f-0000000CybP-3pdm; Tue, 17 Dec 2024 09:45:13 +0000 Received: from mxout3.routing.net ([2a03:2900:1:a::8]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNTdc-0000000Cr9N-0Gb1; Tue, 17 Dec 2024 09:13:09 +0000 Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout3.routing.net (Postfix) with ESMTP id B7915605C5; Tue, 17 Dec 2024 09:13:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1734426786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C8h/MyuJwdeGXW4ofS5c+hgK4FOJksGuc8nzkWhgdCI=; b=OKRwAqfjKCg8YA4Wy1uhR2lrIC+ch/jCsDLINkcUJY+gI5768GxVUizjtOZcFTByRaTTxF R0SIjFDwAz6NCc85Pm4KcundlOwPnF6okqNVmBXv6skkE7dC6ALxg8DlFPg/oeMDMOY7hZ uG6r/fnNhUvTYoA/xCrN4G2T4ocd87g= Received: from frank-u24.. (fttx-pool-217.61.150.187.bambit.de [217.61.150.187]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 16D471004DD; Tue, 17 Dec 2024 09:13:06 +0000 (UTC) From: Frank Wunderlich To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Frank Wunderlich , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 21/22] arm64: dts: mediatek: mt7988a-bpi-r4: Enable pwm Date: Tue, 17 Dec 2024 10:12:35 +0100 Message-ID: <20241217091238.16032-22-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241217091238.16032-1-linux@fw-web.de> References: <20241217091238.16032-1-linux@fw-web.de> MIME-Version: 1.0 X-Mail-ID: 06251409-219d-4ed4-92b7-bc12e315d345 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241217_011308_240497_5D59881F X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. 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: Frank Wunderlich Enable pwm on Bananapi R4 board. Signed-off-by: Frank Wunderlich Reviewed-by: AngeloGioacchino Del Regno --- changes: v3: - change commit title to habe r4 prefix --- arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts | 4 ++++ arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts index 08d664d6449b..4b1eaf818b66 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts +++ b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts @@ -302,6 +302,10 @@ mux { }; }; +&pwm { + status = "okay"; +}; + &serial0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi index f3e942db0b99..6f6a1a1c1d78 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi @@ -211,7 +211,7 @@ mux { }; }; - pwm@10048000 { + pwm: pwm@10048000 { compatible = "mediatek,mt7988-pwm"; reg = <0 0x10048000 0 0x1000>; clocks = <&infracfg CLK_INFRA_66M_PWM_BCK>,