Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3772330imu; Sun, 11 Nov 2018 23:34:51 -0800 (PST) X-Google-Smtp-Source: AJdET5ehmRveV9lqnmxu6tZpl21dWW4ksg4EgCF9Tbx2sVaYAhGzpo3Rki7CbR6DYZd/IYne5zBC X-Received: by 2002:a17:902:4827:: with SMTP id s36-v6mr18322056pld.226.1542008091091; Sun, 11 Nov 2018 23:34:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542008091; cv=none; d=google.com; s=arc-20160816; b=FffsLY28gcPJ1DxbjWOv3SZMCg61y42OkJAEwTHyslFuLC2kTuE7nmiOHHcV5ZQWjb 4RvMlo0725lcDe41HLHV56Rs7glD6mSfGA/C/Vf6V6ZhjSeM9XerlbNNz/UBiDc+Dqo/ jBjZGi1nUcKwYvtPMYr3E7RuMlKAK+nv23w6omH4qBW2CSlEeB1zlEOGEU8Z0V2a+qbZ HzaurmxbbnmG22bS2VxXgLvPps/D/yrjRFxCxX+gfDsW6kY82yBI56Xfk+TqNGfDe2sy ZJq9UXfrEZnJR2nhK+VAoKf+92l9CMqoyqv8SLDps1ANfifL2YWrkOL5aTXFKMN0tYjo nGvA== 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=U1llrjwroTXM3JYKQDmFvYZu7qrqODH/QyvS/TRyw1Y=; b=b/L89Q3zM4VjTrpa+gsSy55U1I9gGHHeCuuYKzngK6nhdoc3GlttvsvrkEZymQczpZ X+yKYNCFqJ82yb6+GrGhtQcEDSft/UwB+c/f3XcpLaSiDncXMzxJj/eAWQunSZyKtJf7 qUkWDqAn4+D+Ul8a+5M6Wj6crZmI6+lxulHyYnVbEbC2fzYyR4Dn9VD4+iz5p+9Rp37N 3J3bxMyVTR8RTtaB+LLG3tO+aJA5vWa4Z9v92QhtLEq0cqhcX8+DIe5GfVGT4QKyJ20w jVY72sD0lBK0//O7wFqu66Mi+sPFFi0sm2z4FFB2LhyjVR96ID9FSoVEibNj+txNKhMQ JQzw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g18si16044304pgg.522.2018.11.11.23.34.27; Sun, 11 Nov 2018 23:34:51 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727103AbeKLR0E (ORCPT + 99 others); Mon, 12 Nov 2018 12:26:04 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:43756 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726971AbeKLR0E (ORCPT ); Mon, 12 Nov 2018 12:26:04 -0500 X-UUID: fedcd3bd2abd4584837b1c93561a7bf2-20181112 X-UUID: fedcd3bd2abd4584837b1c93561a7bf2-20181112 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1646237168; Mon, 12 Nov 2018 15:34:00 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 12 Nov 2018 15:33:58 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 12 Nov 2018 15:33:59 +0800 From: Ryder Lee To: Thierry Reding CC: Rob Herring , , Weijie Gao , Roy Luo , , , , , Ryder Lee Subject: [PATCH v1 2/3] pwm: mediatek: add pwm support for MT7629 SoC Date: Mon, 12 Nov 2018 15:33:56 +0800 Message-ID: <9043534495d49c532bdb0b904344b77faeb41359.1542007642.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <4c9044427b1aab373acd6ac76f0c905e2be79784.1542007642.git.ryder.lee@mediatek.com> References: <4c9044427b1aab373acd6ac76f0c905e2be79784.1542007642.git.ryder.lee@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 controller support for MT7629 SoC. Signed-off-by: Ryder Lee --- drivers/pwm/pwm-mediatek.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c index 9400c41..4ed95e5 100644 --- a/drivers/pwm/pwm-mediatek.c +++ b/drivers/pwm/pwm-mediatek.c @@ -292,11 +292,16 @@ static int mtk_pwm_remove(struct platform_device *pdev) .pwm45_fixup = true, }; +static const struct mtk_pwm_platform_data mt7629_pwm_data = { + .num_pwms = 1, +}; + static const struct of_device_id mtk_pwm_of_match[] = { { .compatible = "mediatek,mt2712-pwm", .data = &mt2712_pwm_data }, { .compatible = "mediatek,mt7622-pwm", .data = &mt7622_pwm_data }, { .compatible = "mediatek,mt7623-pwm", .data = &mt7623_pwm_data }, { .compatible = "mediatek,mt7628-pwm", .data = &mt7628_pwm_data }, + { .compatible = "mediatek,mt7629-pwm", .data = &mt7629_pwm_data }, { }, }; MODULE_DEVICE_TABLE(of, mtk_pwm_of_match); -- 1.9.1