Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1832245ybl; Wed, 28 Aug 2019 22:47:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkZj1YXhSiL5qh4rCWusJzKelFCi8L2U9yov9DjW8SIaGVk6upKjWhw4rxBmXFPtYRhMiI X-Received: by 2002:a65:5289:: with SMTP id y9mr6698171pgp.445.1567057623175; Wed, 28 Aug 2019 22:47:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567057623; cv=none; d=google.com; s=arc-20160816; b=tnCoHQcAQzfK8f/CULylEVLb54uzFc8TC/DZ+1Kp3KaJ3lzTU7CXYxEb4KaJeFUwje U3Qcl/Fa+UO9xYgAzZk+NjzoxBlFoN8KZabdFBCTEI4sQ8nhjrfhL/zmx/uQljcNuEbz sUJDHVgxdu1Y/Jy/7Z1KZz53gTFLkxpzFX9d+AoHnyIw5XxVgROnvOyBy7bJFMxaBB0j DsPsl5QCT5FjNxkL26ZpY2inQAKETrrn0O9pR0fsNZ7wr79uKSjJ5n00Ho3EDUVKgwnT yV/414MJ6SJpsuensAaeZC01mwumxKH7WzTM81/uImklkY1ULUHruv8cyDkx6a854wup Cw+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=w/LnDY98m8yZvhoJ8hgrRBM08j9dy4DAai93GkRfZIY=; b=ybaZXESrsKkM6syrhu5t33DU6U/hgZyRiPA6gMLHKyY5vK4qeoqZqbjCe6ePvz4p+W K/vf0PwdyIhjC1R3wrd/lVzthT1EgeGulRl9Ph605OfiZUEtWdwSe9P1loGNmRbgg8wK Q/RGwWprFWQmVMLx/eizNVqniwASbErJJwKW94CeCOTN5rFLIjzaKEZc+gdeH1w5jDfm fs+NQHMLKweBdmkpa3toCCYOjSMtx+cxK15L3j6V+u4z5FL0eRtv7khBuEwhSv+MlI1e T8wI0nUWS9dfQ9mVcH8g/qI2mBclexVzaNqsVsK6Y/sDSni03d0WCsgVwJqhhUWOrND5 lYsA== 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 v33si1056651pgk.152.2019.08.28.22.46.47; Wed, 28 Aug 2019 22:47: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 S1727763AbfH2Foj (ORCPT + 99 others); Thu, 29 Aug 2019 01:44:39 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:44738 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726069AbfH2Foi (ORCPT ); Thu, 29 Aug 2019 01:44:38 -0400 X-UUID: babf47e8ee6b4294a6d2dbbb5361f31c-20190829 X-UUID: babf47e8ee6b4294a6d2dbbb5361f31c-20190829 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 315126136; Thu, 29 Aug 2019 13:44:35 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 29 Aug 2019 13:44:39 +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; Thu, 29 Aug 2019 13:44:39 +0800 From: Sam Shih To: Rob Herring , Mark Rutland , Matthias Brugger , Thierry Reding CC: Ryder Lee , John Crispin , , , , , Sam Shih Subject: [PATCH v6 11/11] arm: dts: mediatek: add mt7629 pwm support Date: Thu, 29 Aug 2019 13:39:20 +0800 Message-ID: <1567057160-552-12-git-send-email-sam.shih@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1567057160-552-1-git-send-email-sam.shih@mediatek.com> References: <1567057160-552-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