Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp586497ybl; Fri, 16 Aug 2019 00:27:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhEXrYhgb3hwM4ZBmxwAWoWhdomFu8UCHBa9kDAZhLDHxoVtCvhNzgDj8f9NCRXMZC+a8O X-Received: by 2002:a63:2252:: with SMTP id t18mr6590929pgm.5.1565940428550; Fri, 16 Aug 2019 00:27:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565940428; cv=none; d=google.com; s=arc-20160816; b=yANAD3zvQQe9epy01QF2zCtVgv3zXw1Fs3QJI0a+QIiBWQdd4AE6LbpD/31UGCc9OY 02euEGwM3MP36o2N0CODlFkyuFy57+/gPm6fe4iXzP4JrECL/uz8TLZrvokH89Bhm/FU uOhMrxI8E2g1CjfYqJIab95Dgrz875RqeawQ+/knAxtQuMJs3LwT+c0L9yD2X+9MuxgJ R2vNllp7Wa4Lcn4ul68R1cTh4cEX0DAztEd/AVd7byr+d3XpyxPzk+33LddLTaxcmINk nrrvlQHWIy5LnkOp7lh1kXbh8dNX9wIZhilmqGaIoNJ+Qe4Ts/ZwLvQIWUSv/Ok65Al3 Fgww== 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=3b1xVdcHJrG5V82zTBJYx4wFj/X6SOU5OTz3/EX8M0I=; b=Kz5+ffg3NCeqHSUI11LZx6nrsHtT42QY7N+s/Fep/1g6k+XZ0BmuFCpgaIk+ftK9rm 2k7zgbKWpU/QMaV//ZuTF0dknLWwFGiQ0M95IU7uyoJy6WmRPqX8piJorfc4FiSPpQv3 /N+sCZCRWTZmuZ/o6Mu/ke8H+Zv/PNlbSEsLFMcE145F9M0L72J1RPX/3PwOXV+UmJBO ASnrBmHOP+lIOyRuVPc2qcMtwu112bmEBzHNohfqo2v4i09bJAygaKTRB3HpmgzHzWNE j8pUBK7qZDH/H3SFbdoNU8hsSTmYYSFwDlXN1ai++r/65dtfkfi0dQW3Oym7fPMYsmWq OjYQ== 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 186si3279330pgc.248.2019.08.16.00.26.43; Fri, 16 Aug 2019 00:27:08 -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 S1727140AbfHPHXB (ORCPT + 99 others); Fri, 16 Aug 2019 03:23:01 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:4667 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727032AbfHPHWv (ORCPT ); Fri, 16 Aug 2019 03:22:51 -0400 X-UUID: addcb72474974aed9f3de23209357a45-20190816 X-UUID: addcb72474974aed9f3de23209357a45-20190816 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1361610004; Fri, 16 Aug 2019 15:22:44 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 16 Aug 2019 15:22:47 +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; Fri, 16 Aug 2019 15:22:47 +0800 From: Sam Shih To: Rob Herring , Mark Rutland , Matthias Brugger , Thierry Reding CC: Ryder Lee , John Crispin , , , , , sam shih Subject: [PATCH 10/10] arm: dts: mediatek: add mt7629 pwm support Date: Fri, 16 Aug 2019 15:21:28 +0800 Message-ID: <1565940088-845-11-git-send-email-sam.shih@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565940088-845-1-git-send-email-sam.shih@mediatek.com> References: <1565940088-845-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 From: sam shih This adds pwm support for MT7629. Signed-off-by: Sam Shih --- arch/arm/boot/dts/mt7629.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi index 9608bc2ccb3f..10f788a93346 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