Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6738852ybn; Mon, 30 Sep 2019 03:01:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbXjeXL8GaQQ5SrRuKeZaXKBdA0s5oH3MdoHT4ZidtI5VEdUg5b620/jcGPFIBYCLlTb9H X-Received: by 2002:a17:906:8041:: with SMTP id x1mr18405762ejw.132.1569837667507; Mon, 30 Sep 2019 03:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569837667; cv=none; d=google.com; s=arc-20160816; b=gevLdLTnwaWII5Z1QelQh+UFnc8Hutq2/XSmulLzHyi7dwF0Otrzq3mOyyS5r/R8UY dlc3MrK+L4CiBLMGkFUVHe071T5+QhKMzJwRTDvggbcbHBQk1ZisRJQeTvP8hZt3BR5I z3jG5L4UEQcKx3NI8yYRK32KWR1IkDOC3O2YociqS2r+wS9hKpLL528FBmU6rAsBdznN 0hfUmsJATKdYA+v2veiEn6JKInVT4HQDlFTOpIVtC3Tim5RZn8fhE0RiwPqaOV/y46Ka XdVofrnXVWaZis9NUvlYueXLtppDKwWW7KcfJsuxMclTwvwlkbzG8DoQxsRHPKjCOXEP 1G0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=K1nthBzzEeP2mMmkQCiB8o2BWP091lvQlMISkghzzSw=; b=kGKJJdarL8AonVpLsr/pb2UT3MeMO3yMNmwyXytlz+NQa9vHmhU1XBQEbXeBgOuCcR Rq+lX16jiMlxw6CrUhimVcxPt0xATHOQDno7sF9UTLPCt0RLlVzm5tlMlbmPqbT3tgIN vndYNWw5H5vjBf4gf+Yc72PZ6op+Fgkq+jvbCnfTRSgmppPQzaipsYwH0qf92Zu40nV9 J3lzCbqkI9aX3HbIObeIZERYqd/B1KcCaLyL3hV+Gok3h83IKEHKxMxCFRIuEA4uG4qn pzhiZ9hqGiGvXbKc3dhaUj+v/LV9ZjTGFMjUmktT89bhSFocTRf+Pd/l/WsF72Nhk8te sC9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6si6490470edm.316.2019.09.30.03.00.43; Mon, 30 Sep 2019 03:01:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730487AbfI3KAH (ORCPT + 99 others); Mon, 30 Sep 2019 06:00:07 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:37136 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727025AbfI3KAG (ORCPT ); Mon, 30 Sep 2019 06:00:06 -0400 X-UUID: 58f3b47440eb4673a4332262ebe6a910-20190930 X-UUID: 58f3b47440eb4673a4332262ebe6a910-20190930 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1474856802; Mon, 30 Sep 2019 18:00:01 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 30 Sep 2019 17:59:58 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 30 Sep 2019 17:59:57 +0800 From: Sam Shih To: Matthias Brugger , Rob Herring , Mark Rutland CC: , , , , Sam Shih Subject: [PATCH 1/1] arm: dts: mediatek: add mt7629 pwm support Date: Mon, 30 Sep 2019 17:59:45 +0800 Message-ID: <1569837585-13247-2-git-send-email-sam.shih@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1569837585-13247-1-git-send-email-sam.shih@mediatek.com> References: <1569837585-13247-1-git-send-email-sam.shih@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds pwm support for MT7629. Used: https://patchwork.kernel.org/patch/11160851/ Signed-off-by: Sam Shih --- arch/arm/boot/dts/mt7629.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi index 9608bc2ccb3f..24375fc5f936 100644 --- a/arch/arm/boot/dts/mt7629.dtsi +++ b/arch/arm/boot/dts/mt7629.dtsi @@ -241,6 +241,21 @@ status = "disabled"; }; + pwm: pwm@11006000 { + compatible = "mediatek,mt7629-pwm"; + reg = <0x11006000 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_PWM_SEL>, + <&pericfg CLK_PERI_PWM_PD>, + <&pericfg CLK_PERI_PWM1_PD>; + clock-names = "top", "main", "pwm1"; + assigned-clocks = <&topckgen CLK_TOP_PWM_SEL>; + assigned-clock-parents = + <&topckgen CLK_TOP_UNIVPLL2_D4>; + num-pwms = <1>; + status = "disabled"; + }; + i2c: i2c@11007000 { compatible = "mediatek,mt7629-i2c", "mediatek,mt2712-i2c"; -- 2.17.1