Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6532352ybe; Wed, 18 Sep 2019 05:13:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyxIBOrkz53q1D6x4OF+OS14hJ36wpRcBj+RGZqkyNaTWsqjPWGYba0NlRyvW+p4fciqpi X-Received: by 2002:a17:906:409b:: with SMTP id u27mr9179206ejj.295.1568808783798; Wed, 18 Sep 2019 05:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568808783; cv=none; d=google.com; s=arc-20160816; b=MJkpv3H5gJ5dSWQltavZ4ZDbkKojX7hgosIqGrVleOOI1ZWcprk9qkZxQoH+5duVyN 0XHJ4weLtkhCNTxjhL9rgl4WYPjvmQHO0yLJCCYDJTn3kq3bGv1lJCCJ8hfmR6NUOQvp y2RR58tzIzWrfmfFq0V4eCRkjbm9hYooQknlYjpGTc3tGCpYu+9nQu5s0r39kZdLt0By ifPNYNMCQBUutj7JYn4C1ypuIkob40uv4LKNYKHNHHpcMQpQcR/NvePsgSlqJiLwepqC wT0lDuf7NUqWiSq6XuMwFop6gpYtKDy75VZ4zCz2yhSyFLmJU3YyHHbwnStZSCekaJXU vC3g== 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=w/LnDY98m8yZvhoJ8hgrRBM08j9dy4DAai93GkRfZIY=; b=qQgZKeU2P2EyiOf/JspC8l3De6yzvwMmEREP989KSaPpp638D3axC/xlpC/gyVpuZ0 FGyqRQvZXP0etckbxMLElGMxN/6C/vObhxIgYG2g1BtWHdSbj0o1TQAwAQ7DskyqGpvP 5VA9ldPMlySgqEID7oEr/W5TYBJcnndeSWM3SavPMcbtzqOdsqeruWZBn+/WZXIY5TXP Pn31toTpRRTF+FR8FFK/6yDAtWC05lVKo3jAZCIxJsDwgfTjfF/DCnP3rlOCOxxQqSil BeNvQeJNxcjw356GkhjCWCq1MFLQE7LGuMCLYYUxmfbJeANg1UpqgazF7QTJtLiQtkuD w4WA== 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 q18si2752593ejf.153.2019.09.18.05.12.40; Wed, 18 Sep 2019 05:13:03 -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 S1730958AbfIRJar (ORCPT + 99 others); Wed, 18 Sep 2019 05:30:47 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:41761 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730886AbfIRJae (ORCPT ); Wed, 18 Sep 2019 05:30:34 -0400 X-UUID: b875e6f36739409d953cb1601143ca32-20190918 X-UUID: b875e6f36739409d953cb1601143ca32-20190918 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1070762403; Wed, 18 Sep 2019 17:30:31 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 18 Sep 2019 17:30:27 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 18 Sep 2019 17:30:27 +0800 From: Sam Shih To: Rob Herring , Mark Rutland , Matthias Brugger , Thierry Reding CC: Ryder Lee , John Crispin , , , , , Sam Shih Subject: [PATCH v8 11/11] arm: dts: mediatek: add mt7629 pwm support Date: Wed, 18 Sep 2019 17:28:59 +0800 Message-ID: <1568798939-16038-12-git-send-email-sam.shih@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1568798939-16038-1-git-send-email-sam.shih@mediatek.com> References: <1568798939-16038-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. Signed-off-by: Sam Shih --- arch/arm/boot/dts/mt7629.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi index 9608bc2ccb3f..493be9a9453b 100644 --- a/arch/arm/boot/dts/mt7629.dtsi +++ b/arch/arm/boot/dts/mt7629.dtsi @@ -241,6 +241,22 @@ status = "disabled"; }; + pwm: pwm@11006000 { + compatible = "mediatek,mt7629-pwm", + "mediatek,mt7622-pwm"; + reg = <0 0x11006000 0 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