Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5689441ybg; Tue, 22 Oct 2019 07:03:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6u+2d29r8EgOjKvmGiXpVt0YM/wsoY6jZbrPjXloKnRIQkr0vZfcxGbyxEW6rkh5xBSQV X-Received: by 2002:a50:9993:: with SMTP id m19mr7838720edb.208.1571752987561; Tue, 22 Oct 2019 07:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571752987; cv=none; d=google.com; s=arc-20160816; b=zrVumJN8Tqj8pHnVA9FgbBfpWXbGAB803pU04bnJo/wUhsoPqGahH6w+7bu8QXjIC3 3r3OVIwKVn8w+BGXZuUMavDBe9mDpsOVp1U2l4w9/xzP0PcgEE1xNCAlrLIl8dY0O1ee I4DfdpafaDj97hka2Iuq3jgNbIneLpZlTgfjVEbk5i+jLALrHXwvyKVioRyAPoGHyuNp VF5wuy1s0hNLq1VkCehJcBhRwCXune5x9qjvTow4NNjDWwpf3keMF6dTZesl2vx0FLf0 OSBosOeOfYNYehWamUwL4WRGt940mlfynBs1/+6yBxUoATY/FTns5Wi43d//FUdMVRDK S34Q== 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=dqLkgs4+FsnCA5utohm4b8IuEVxBGDepg36y5HsqaCyU+owhKUWzCTwdAtMxA0ShnJ lCydglsDohots36sR5T201zK+2nMuoMqwtA0nl0PWWQBZwskyDK/Tgd4SFYrXJ3b3EWI Y8nGH6nnPiYuEkd9H9/t5yi3Rc3i4l0zN2vGLqL/+NwN3nI8xBS6M8Y8bfJGu0rj4O0Y OkvSQHv5bk0qqzXN6vNjXajWlHDvybEiI304YQ3e09pLnJsgoXx/gpEYftPolymB0CPv b7feISa/9c5QOeQPTPeZ3/St6SH7KiQrlq9vOkRK9G6MajmiDn2/JgqfjOZKybeEe2go LKyA== 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 v18si10070048ejd.115.2019.10.22.07.02.08; Tue, 22 Oct 2019 07:03: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 S2387893AbfJVNaV (ORCPT + 99 others); Tue, 22 Oct 2019 09:30:21 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:26819 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730981AbfJVNaU (ORCPT ); Tue, 22 Oct 2019 09:30:20 -0400 X-UUID: fe6f9d5ca1904e649a664df5bf5a9507-20191022 X-UUID: fe6f9d5ca1904e649a664df5bf5a9507-20191022 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 522666648; Tue, 22 Oct 2019 21:30:16 +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; Tue, 22 Oct 2019 21:30:14 +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; Tue, 22 Oct 2019 21:30:13 +0800 From: Sam Shih To: Matthias Brugger , Rob Herring , Mark Rutland CC: , , , , Sam Shih Subject: [RESEND, PATCH 1/1] arm: dts: mediatek: add mt7629 pwm support Date: Tue, 22 Oct 2019 21:30:01 +0800 Message-ID: <1571751001-28588-2-git-send-email-sam.shih@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1571751001-28588-1-git-send-email-sam.shih@mediatek.com> References: <1571751001-28588-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