Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1372069ybj; Fri, 20 Sep 2019 09:23:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqx61iebtvtSuVIvUvmk1Wa5YdyFHVBsVM/MBaL5RYCWPOZVD1T2Qjxh3TNg8PIb5VOeFbHM X-Received: by 2002:a17:906:f13:: with SMTP id z19mr20340722eji.209.1568996613833; Fri, 20 Sep 2019 09:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568996613; cv=none; d=google.com; s=arc-20160816; b=Jbek/b1cDAcLImG9k2eZdxUK7Rb/v9FarNEGW6YysU+MZ3/8e6Lv2Lm9TE31Mbdx6U LkmWNEdbCFxYbdMF4ku3Xtw3nunk95lv6qyiqtLyAlMWcwcWwduIiJLkLpU8IZAFyGb5 7xTFSaKwLRFpR74KGQUeFoqnSzqtr0GpjS+dLoNubHkg6v8UYeve7aTE53lps4R+R+pw 76GNFPf2r/e39AnEjOzaBB7sGU1M88gSfERPuuFfPZYLPWWI0BGqS8uoBNddcLI+ilIH Yryx+n6oj+PoCALOBfk17MyvSZr18J7u0EP5vOYQo8waQcPLiLpMVOrNGiMSufed8Q1H HLsA== 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=OloYOAKSFtzTIN3dEGpiSkHC4JDqLBUunG2KayBX/r55fjhkoFXA700G7Vz2bLCZMW rv0fLkjSWYLMxLhoQcL5qDv9etinsFeSgaZ6RF5Ai2KnXSuIiQ1NEIGZEm9y1yyjhsRR lUSCVU3s96JPro3Z5B6dGqsbJMqiTmCvGcMqljvrfDnpPWHpyyuLQeRmAM4EOE5Eej77 BftyRR5VhQbxMgvqFcyc1jZ64kTBqAbWfD/l9eD3qMpQH96cMDw4SedYiIORxsIpHPTS gCS/YyzoB60idI+MtKzyJcKskb5HslztIIOLeNkrYA7xGAJ2MGMXCDmrr14IermAfv+b BbFg== 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 q1si1311217ejx.323.2019.09.20.09.23.07; Fri, 20 Sep 2019 09:23:33 -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 S2406390AbfISWvF (ORCPT + 99 others); Thu, 19 Sep 2019 18:51:05 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:15517 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2406265AbfISWvE (ORCPT ); Thu, 19 Sep 2019 18:51:04 -0400 X-UUID: aa3dadb3c3ad422aa92039e5f83f200b-20190920 X-UUID: aa3dadb3c3ad422aa92039e5f83f200b-20190920 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 701943192; Fri, 20 Sep 2019 06:51:01 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 20 Sep 2019 06:50:59 +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; Fri, 20 Sep 2019 06:50:56 +0800 From: Sam Shih To: Rob Herring , Mark Rutland , Matthias Brugger , Thierry Reding CC: Ryder Lee , John Crispin , , , , , Sam Shih Subject: [PATCH v9 11/11] arm: dts: mediatek: add mt7629 pwm support Date: Fri, 20 Sep 2019 06:49:11 +0800 Message-ID: <1568933351-8584-12-git-send-email-sam.shih@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1568933351-8584-1-git-send-email-sam.shih@mediatek.com> References: <1568933351-8584-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