Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3425741ybl; Mon, 19 Aug 2019 18:46:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzh/UUEHsOM7SF29kYu3splr+lG6ZDYAb4BNVuLnhV4RitSN1w89kpx0WlOmrSgPH+Kovc5 X-Received: by 2002:a17:902:f095:: with SMTP id go21mr25588880plb.216.1566265609724; Mon, 19 Aug 2019 18:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566265609; cv=none; d=google.com; s=arc-20160816; b=oqic0ePg0nxesQ0SWF9gKpHqPrLgW0lppLdDJdQT4Oj36SCMwbytJhDV78Zcda7x02 OGX1EO2VkmOL+0mZ1O0yxYR/4rBj0L6q7xrVkoJO6hQbHEEMY5jqhbzDEVTEWuwIM3Dp 9cSm+TkrnZSi39sfmGC2VX1LpPEhM4yLns+qPWViKLmQDOfm0NFOhsht/fVQ5O9qiA5N 5wjBzgWOxuZsfAwH1ALuZ/JGkOfFTbLyTQi0cce+Usp/7gK3p8qe+hlKijZD2Hm9Dpov jcb1okfsl68BSiBps3SCANh69RjYqXGJLZIzfX8RWXXkQoYhaNXKHhomv2ocBDsCVgsP 9w/Q== 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=XSNWG5rpz14K3RHapfHqKEWRaWE96A411FS13ClhZ4A=; b=MW9hJVMuI1VXDLAefuFgDHIItZPYxeZdM0CA/fS2Tb8mUOPgyVP6kMMjGZauMOe0iO iK1rYOF8lGAhcPdbbzRMq5h2FT6SbQ4gLxt8ZvMr6Z2PQdK6sZLJsnzNAfhvWu68r1V5 AdqgV6/DRFvV1ALNhV4azLOo9NjkHHEY4t5D5XyPvuIoFHht7IKGkNFFsIiP5Gvmqw8C ptrcRegiSrMv9acdPsvX3aWDbBfE+9VQNzBhkm4Rx/U/8CtfnPX/0VPPmdQEET+c9ele 9GDucGjBINElg2QPTd3iTr9V6gjto7gGA1wdTCoY8JGEdliz2rFvJecIPrXPA1aBPPMW aFXQ== 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 s4si4132889pfe.173.2019.08.19.18.46.34; Mon, 19 Aug 2019 18:46:49 -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 S1729084AbfHTBo1 (ORCPT + 99 others); Mon, 19 Aug 2019 21:44:27 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:11439 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729053AbfHTBoZ (ORCPT ); Mon, 19 Aug 2019 21:44:25 -0400 X-UUID: e08ce07557be4b7c9fa6dad5383e7afd-20190820 X-UUID: e08ce07557be4b7c9fa6dad5383e7afd-20190820 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 1171190120; Tue, 20 Aug 2019 09:44:18 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 20 Aug 2019 09:44:16 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 20 Aug 2019 09:44:16 +0800 From: Sam Shih To: Rob Herring , Mark Rutland , Matthias Brugger , Thierry Reding CC: Ryder Lee , John Crispin , , , , , sam shih Subject: [PATCH v4 10/10] arm: dts: mediatek: add mt7629 pwm support Date: Tue, 20 Aug 2019 09:40:25 +0800 Message-ID: <1566265225-27452-11-git-send-email-sam.shih@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1566265225-27452-1-git-send-email-sam.shih@mediatek.com> References: <1566265225-27452-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 | 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