Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6301355ybe; Wed, 18 Sep 2019 00:56:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvW6g/+PADd1n1LLK2/wDuT2/geBhWjAi0oFgcXaDWs1HrYxoj+hWfdMch+gh8eU4BvUhq X-Received: by 2002:a17:906:b6d0:: with SMTP id ec16mr8339724ejb.206.1568793381542; Wed, 18 Sep 2019 00:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568793381; cv=none; d=google.com; s=arc-20160816; b=tEdw3Sul4qWfBk4zt0RuGPt00zK+0P+JB27gUHGw3MYyVDIXXDXvCyDReQ6bOMBFd4 4q4TqrYSzkkTxL2JVum9wZljnPAYOND3G+l4lZAmihKYhjN6a1YK6N3jfZE8YTZUoQlJ jfLTP9J05h7ybyN7ixWMS5zFv4InyzDNLHQLK7mIiQP4+tFfAsR/fp01myEwPxT1ha6Y gQ1yDPqzHK7Rlwlk35LXtzBbvmC3R4nX01KwPvSKYyxjINkkPtUbk7/ll+R9yb2y+Xqm LUIq/m1A+g1u2UUslJvSVXuoGlzEebwTQI6aYA90LPfJVzUQG/Z6js+6jjqqo97a8xBa OfFw== 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=oNuQrbUygILLRDU0AQhcm+2D8u8xf7nvKaLwfVX5utLC1aHJ7UUfkkeUmciIpbvZHc 8sHYZC8TaL9wC8xoTNu1yWdzoaq5w4o+XzqLlo3ORyixVsh9eROBRwU7eA4ti+iVCSEZ hNzSqfw3LtX504Xr9aqrXWA0C8hCqeVEjmQt0iDt1Lho+mK5sjBCDe+IQtq+d2ajJ3DS vF/CijtNEEW9zwQJtwr8VQRRWYku2KE3FK4p9CGT87hXg6KwaG0QSZOHCeM2522FRpBQ hR0SqtAwajcGHqK6yAGJrj3CzKhNxIfc1lGlcwB2sCcZZluYtKWCwsS5aYDPJrL/DqSW DcWA== 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 z9si2881912edz.77.2019.09.18.00.55.57; Wed, 18 Sep 2019 00:56:21 -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 S1728596AbfIRFvc (ORCPT + 99 others); Wed, 18 Sep 2019 01:51:32 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:24519 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728394AbfIRFva (ORCPT ); Wed, 18 Sep 2019 01:51:30 -0400 X-UUID: 3bedb23932be4b0f805037f5d569f9fd-20190918 X-UUID: 3bedb23932be4b0f805037f5d569f9fd-20190918 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 577048816; Wed, 18 Sep 2019 13:51:25 +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; Wed, 18 Sep 2019 13:51:21 +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; Wed, 18 Sep 2019 13:51:21 +0800 From: Sam Shih To: Rob Herring , Mark Rutland , Matthias Brugger , Thierry Reding CC: Ryder Lee , John Crispin , , , , , Sam Shih Subject: [RESEND, PATCH v7 11/11] arm: dts: mediatek: add mt7629 pwm support Date: Wed, 18 Sep 2019 13:50:11 +0800 Message-ID: <1568785811-9577-12-git-send-email-sam.shih@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1568785811-9577-1-git-send-email-sam.shih@mediatek.com> References: <1568785811-9577-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