From patchwork Mon Nov 12 07:33:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 10678281 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A95FE14BD for ; Mon, 12 Nov 2018 07:34:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9430F2999D for ; Mon, 12 Nov 2018 07:34:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87E2329FF4; Mon, 12 Nov 2018 07:34:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 391A52999D for ; Mon, 12 Nov 2018 07:34:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RDCq+n+2JEqXqryX4GCfVPh1F8v+TdI86x8j5dj7dSw=; b=tgsysIkVAmcHro ugqD2MFlQAs4CddUfouMAtFIeZdU1DYeP1GKkmJHhtvUceoZuzYICllaDBO28h8qnCCy+7CACVeiK BCQk+hwMg4XXXD9QuJjb0bFkMXUQv34ET9hHMB/6qEv1Q/n6Ux9Qc7vnyzfBKsC3Hcv7+TLNWQ5YK O1aPA3u3q9dZWq3DlkOqKknwvAgP4GrpNCKNseJcmf0VzLjYhLWcJ1kER2ngd6bct0809Y2M9jmgP rjDZQrDKV3qRvBwDdAVJOAkAaq76fG4dlwibVPkT5KddTWuzTcDKxCVb6+/Tz+j54ftKgwPZAiWWi FcgQ0jeELHQ+FbBM3KZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6kG-00039w-1f; Mon, 12 Nov 2018 07:34:52 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6k5-0002xA-Nu; Mon, 12 Nov 2018 07:34:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bCjXENVTVZeMCgV8j7+juzdLPBVqdx102eVV8jv8o1c=; b=kaw+/l77nn/mrgiyC3FvSLRu9h zceSBk7JLfRfTZbiyVwRJqI9Y74f7Qj4R5veagnuh6j6AcyXzMag9UVG7bZWnCxx+N3W1lTwTbzZY z7EL6dEie0efcIjJlP98iZh7AL0hFB9DcDU+9kclUL0Xm4foHVypm0yloQYMDHPu+idq8qV1lNdwZ zUxpVpbO9uyyE3cJIE5bpoezKHzY9xfuGR5xI0EtShUAN0JuFy/JvfQlCYDYNA8QC0YizLkBBprCx RcYxLsO4qzvGqG1leUtA/NZdLPB4pFjtsJXIHE1oO58YjGHrQqPk59frsZkLnLd5qZywmUU3dF79k dPgjbbMg==; Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6k2-0003Qc-9Q; Mon, 12 Nov 2018 07:34:40 +0000 X-UUID: 96b39717492f48c88fa6820196486667-20181112 X-UUID: 96b39717492f48c88fa6820196486667-20181112 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1053846219; Mon, 12 Nov 2018 15:34:01 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) 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:58 +0800 From: Ryder Lee To: Thierry Reding Subject: [PATCH v1 1/3] pwm: mediatek: drop flag 'has_clks' Date: Mon, 12 Nov 2018 15:33:55 +0800 Message-ID: <4c9044427b1aab373acd6ac76f0c905e2be79784.1542007642.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-TM-SNTS-SMTP: 9CC1BC1682D59B70097A40A4036CFB37126FE60CAC2EC16B44782C046213A3A72000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181112_073438_611022_004087EC X-CRM114-Status: GOOD ( 16.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ryder Lee , Weijie Gao , linux-kernel@vger.kernel.org, llinux-pwm@vger.kernel.org, Roy Luo , Rob Herring , linux-mediatek@lists.infradead.org, John Crispin , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The flag 'has_clks' and related checks are superfluous as the CCF subsystem does this for you. Cc: John Crispin Signed-off-by: Ryder Lee --- drivers/pwm/pwm-mediatek.c | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c index eb6674c..9400c41 100644 --- a/drivers/pwm/pwm-mediatek.c +++ b/drivers/pwm/pwm-mediatek.c @@ -57,7 +57,6 @@ enum { struct mtk_pwm_platform_data { unsigned int num_pwms; bool pwm45_fixup; - bool has_clks; }; /** @@ -87,9 +86,6 @@ static int mtk_pwm_clk_enable(struct pwm_chip *chip, struct pwm_device *pwm) struct mtk_pwm_chip *pc = to_mtk_pwm_chip(chip); int ret; - if (!pc->soc->has_clks) - return 0; - ret = clk_prepare_enable(pc->clks[MTK_CLK_TOP]); if (ret < 0) return ret; @@ -116,9 +112,6 @@ static void mtk_pwm_clk_disable(struct pwm_chip *chip, struct pwm_device *pwm) { struct mtk_pwm_chip *pc = to_mtk_pwm_chip(chip); - if (!pc->soc->has_clks) - return; - clk_disable_unprepare(pc->clks[MTK_CLK_PWM1 + pwm->hwpwm]); clk_disable_unprepare(pc->clks[MTK_CLK_MAIN]); clk_disable_unprepare(pc->clks[MTK_CLK_TOP]); @@ -246,12 +239,13 @@ static int mtk_pwm_probe(struct platform_device *pdev) if (IS_ERR(pc->regs)) return PTR_ERR(pc->regs); - for (i = 0; i < data->num_pwms + 2 && pc->soc->has_clks; i++) { + for (i = 0; i < data->num_pwms + 2; i++) { pc->clks[i] = devm_clk_get(&pdev->dev, mtk_pwm_clk_name[i]); if (IS_ERR(pc->clks[i])) { - dev_err(&pdev->dev, "clock: %s fail: %ld\n", - mtk_pwm_clk_name[i], PTR_ERR(pc->clks[i])); - return PTR_ERR(pc->clks[i]); + if (PTR_ERR(pc->clks[i]) == -EPROBE_DEFER) + return -EPROBE_DEFER; + + pc->clks[i] = NULL; } } @@ -281,25 +275,21 @@ static int mtk_pwm_remove(struct platform_device *pdev) static const struct mtk_pwm_platform_data mt2712_pwm_data = { .num_pwms = 8, .pwm45_fixup = false, - .has_clks = true, }; static const struct mtk_pwm_platform_data mt7622_pwm_data = { .num_pwms = 6, .pwm45_fixup = false, - .has_clks = true, }; static const struct mtk_pwm_platform_data mt7623_pwm_data = { .num_pwms = 5, .pwm45_fixup = true, - .has_clks = true, }; static const struct mtk_pwm_platform_data mt7628_pwm_data = { .num_pwms = 4, .pwm45_fixup = true, - .has_clks = false, }; static const struct of_device_id mtk_pwm_of_match[] = { From patchwork Mon Nov 12 07:33:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 10678273 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 915EB14BD for ; Mon, 12 Nov 2018 07:34:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DBFF2999D for ; Mon, 12 Nov 2018 07:34:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7071529FF4; Mon, 12 Nov 2018 07:34:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 43A032999D for ; Mon, 12 Nov 2018 07:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EVPCZ8AaNq2GSQrwq5Rtlsfy+oVd49low0kwN8yBabU=; b=OEp/+c1UJKFU/m WGORD1yrsYDoGBSt7N5xGvp54Mse9tsNLOoTn8YhLbFTLTs1uwYH0I9kxwd/YFtYQr1LdQju8ZvX1 cmQPMrkz5xS1CudV4xhYeSMDAF7veQQD+GfL8rq6hHaMHqAa/jUYcXmbhr3uZeJaCziDgmb5Oa06S FH3lQPHgFo/fPwV20brIWpmw47d4YqYi9MzD9Sa4j6Q8Pg3yxVVnKbQUyNvUKyAqthp+C/q9OEe6z OE2O1nk+y8dSYDuOJ7OjUUMJSQZioOfvP/MajUqN92+YWa2KuEOplJgdcWJKweKBqATi9HbWAM67E ojO8eBzLORlWL2DOjw7A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6jr-0002eb-7y; Mon, 12 Nov 2018 07:34:27 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6jp-0002df-9K; Mon, 12 Nov 2018 07:34:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=U1llrjwroTXM3JYKQDmFvYZu7qrqODH/QyvS/TRyw1Y=; b=spiOZjlIad6WIOfq7Lkn/yDw6 UDgsGMSqmECiyMY1E4HiW67Qv1lIyFPAl92SLF75RfUzO3DO80tpsuuPLI+pWRL/3mKS83uVtutF9 he3odxZ3N0tIBS6bWf9kfdsGmZ13bXqJ9imNfzq7lMY1YEmsvqkbEBNhxwyxYC+y2bXJ99b4ttTd5 DFyAGjfx2pMN03YsdhnRcidi8EZxRb8xieK+ybq0xnIO+w9xkr3tQwhwCq2tYjNzsJ6p2UCINDLyS +JZh1bppOk0e7lJrLbj0xqKyHLgFs8gopaZWrB45UF113WJnLdfe++u7rk/3vLIWw78p3ZYMtJUgJ 3D2mnPCnQ==; Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6jl-0003Pw-S9; Mon, 12 Nov 2018 07:34:23 +0000 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 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 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181112_073422_183879_E5FA5D57 X-CRM114-Status: GOOD ( 14.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ryder Lee , Weijie Gao , linux-kernel@vger.kernel.org, llinux-pwm@vger.kernel.org, Roy Luo , Rob Herring , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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); From patchwork Mon Nov 12 07:33:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 10678275 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C96AB14E2 for ; Mon, 12 Nov 2018 07:34:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B58872999D for ; Mon, 12 Nov 2018 07:34:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A916429FF4; Mon, 12 Nov 2018 07:34:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A8BCC2999D for ; Mon, 12 Nov 2018 07:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lu7/o3Mo6YzctleOeGvRdx9fm8sT/4/LYIo3xByAFYs=; b=mOpuHS6OUNI+7M pVuDb2GcbXbjqYUXYUoual93UHsdQ+jgjNfpHU/mhQF/wFg4QgGTwd8NJCn0mDWR6x0jMguoaJDMD 69y3kayGMDa+2u3WbFoWjnyoqpBTlTWWYHQjhxRTHT+yokS2pGMnKThRkEVohwJ1PUHQ/uQOO5pxv qvSFiy72AEURUNxCXgWysWUeUWxM7nzzG/tB+qmVgZwGAHCwZ+/das7b7ESIlV+OC7Mb9wbgik6eE Ff7WC3MMzv38hqF2P+UeL33Y9ourXo52H1DkOFug6KpMgrnSSm1nkK9hFK/NWrBJqBMhIKVbid4DT TquPuk7bwAxsmIgMRIZQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6k6-0002xy-Dg; Mon, 12 Nov 2018 07:34:42 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6k5-0002x4-Bk; Mon, 12 Nov 2018 07:34:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6iVfepD60+k70X9C/hdxPLBwOSdyvZoWXL219Xtxvbk=; b=qJ/OGZW4FhTGAvZh917ydp/ej nOoXC+xP+husiEYkOjCwuTWD/FIyAdFZ5zj9eu29v7KuRV21/KAC1PT0SrQYbesP9yPb2ZeZQaKLE EOFQz0Leo05QmbeBaUphkq9xZq5SWSVIBq/g5ycfps/V6xHC3mJpXH7+Bm7W4psOG/euva0AjhttB 7BgzdB66J4BgcIWcLnzQATrc6rArvvurFOm4CKu+5cCw4eyl9aNilAZqf59Qn1hTmcOH0BVZgOZa0 ffl2bcJjRVNtlVqKUDXBAczUSypgFQEkyT9Blmg23d3OD4DumoVwdm9nswv2FABlIxHAdFAUVBk7F rEIGiNZ6Q==; Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM6k2-0003Qd-9m; Mon, 12 Nov 2018 07:34:39 +0000 X-UUID: b91e327d10c34a9ab42dceb53f16f16d-20181112 X-UUID: b91e327d10c34a9ab42dceb53f16f16d-20181112 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1717830483; Mon, 12 Nov 2018 15:34:01 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 12 Nov 2018 15:33:59 +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 Subject: [PATCH v1 3/3] dt-bindings: pwm: update bindings for MT7629 SoC Date: Mon, 12 Nov 2018 15:33:57 +0800 Message-ID: <630234ce3f13d93650c820be8f1724b84dd3c0ba.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 X-TM-SNTS-SMTP: 14FF2CD7B5E919DCB3244DE2E7A5433404ED33E998F77B697A39853FBCD8A84B2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181112_073438_618227_006132F7 X-CRM114-Status: GOOD ( 10.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ryder Lee , Weijie Gao , linux-kernel@vger.kernel.org, llinux-pwm@vger.kernel.org, Roy Luo , Rob Herring , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This updates bindings for MT7629 pwm controller. Signed-off-by: Ryder Lee --- Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt index 991728c..4a2885b 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt @@ -6,6 +6,7 @@ Required properties: - "mediatek,mt7622-pwm": found on mt7622 SoC. - "mediatek,mt7623-pwm": found on mt7623 SoC. - "mediatek,mt7628-pwm": found on mt7628 SoC. + - "mediatek,mt7629-pwm": found on mt7629 SoC. - reg: physical base address and length of the controller's registers. - #pwm-cells: must be 2. See pwm.txt in this directory for a description of the cell format.