Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6678844ybn; Mon, 30 Sep 2019 01:53:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCXffSL90xoc0awqiJVm0isEiM5rmu7gu6SVvFcU4tLyhWQStYIMUgbEQUqGXlwplC5UDW X-Received: by 2002:a05:6402:121a:: with SMTP id c26mr18726440edw.100.1569833591041; Mon, 30 Sep 2019 01:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569833591; cv=none; d=google.com; s=arc-20160816; b=P9lQBXI3+UpvtDheh5RuZgA9umfEX0xP2FCB/sIzfoBhJcyHyCMiOQvoRPp4m9vE4l eKNsSlsA1cjic1bNLSoMCyPVd4cQX+Rjg2StrHM138penxg0uOG4DnXSjOD8IY6Lsble 33z8UMP8r8aL2esnt2IWAOIAY+wZ9gSelXbPkNjvgli/tqBMlKO9K1iRsukQLXtLFbTn 5jmg8zUrc5Lu/vyyE0h1oilm4bm2tsznn7QDjsljqU7PMD2/VE6i3fvYtai05Mn7y0wy l14Ouh2m9trd9fgxEOt72JWxC562UGp08NMmsLm5O1P48yixXFtQ612JiwfWTBuybqcQ Xefw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=bvRUhq8TLliEc9uI6vOujDF/mjF2kVo413EASEvDANs=; b=fJ/M6Xj2UYLeEwRbtZfgAvSSl45am2jaGZL+jk39YlBU2nDiGuhIxjto8JKS59JQnA 1hseld+unoaO8l7IGSerd4lL5AmHCpWDfZ4G2KHNt2EWzcvfCvqZrqI3dLebXniw1uUQ VXdM6EKX8O2rFtAiNGoiwvoiJOlrvy+AxTSxUCL10XOGqs1ZSkucPkiccS7jRebcs8oc wTWwZkWcoaZjlHNd0H9u/HAULQ2w0aXgpLLore6Fg/7//89IvTe1YgGP8cBTvUamZTbD zRyg2mtB0hcKZIioH/eSdIugt0YZBdABEovYula4A0+zWTCqKAC/iMh0svaWPdrdQxCA g3Lw== 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 j18si6607638ejv.201.2019.09.30.01.52.46; Mon, 30 Sep 2019 01:53:11 -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 S1730201AbfI3IvR (ORCPT + 99 others); Mon, 30 Sep 2019 04:51:17 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:63238 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726008AbfI3IvQ (ORCPT ); Mon, 30 Sep 2019 04:51:16 -0400 X-UUID: 6f8aa737f23f496cbbcd03217376e47f-20190930 X-UUID: 6f8aa737f23f496cbbcd03217376e47f-20190930 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 249343122; Mon, 30 Sep 2019 16:51:10 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 30 Sep 2019 16:51:06 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 30 Sep 2019 16:51:06 +0800 Message-ID: <1569833468.32131.4.camel@mtksdccf07> Subject: Re: [PATCH v10 08/12] pwm: mediatek: Add MT7629 compatible string From: Sam Shih To: Thierry Reding CC: Rob Herring , Mark Rutland , Matthias Brugger , Ryder Lee , John Crispin , , , , Date: Mon, 30 Sep 2019 16:51:08 +0800 In-Reply-To: <20190927112831.GA1171568@ulmo> References: <1569421957-20765-1-git-send-email-sam.shih@mediatek.com> <1569421957-20765-9-git-send-email-sam.shih@mediatek.com> <20190927112831.GA1171568@ulmo> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-TM-SNTS-SMTP: 117A8A6215936262384F6F70692A074F4A2330135B41FEF58EBF2008F4C56AEB2000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, 2019-09-27 at 13:28 +0200, Thierry Reding wrote: > On Wed, Sep 25, 2019 at 10:32:33PM +0800, Sam Shih wrote: > > This adds pwm support for MT7629, and separate mt7629 compatible string > > from mt7622 > > > > Signed-off-by: Sam Shih > > --- > > drivers/pwm/pwm-mediatek.c | 6 ++++++ > > 1 file changed, 6 insertions(+) > > I picked this patch up and made some minor adjustments to make it build > without the num_pwms patches. With that I don't think there's anything > left from this series that you need. Yes, I think the driver should work once dtsi updated. ("[v10,12/12] arm: dts: mediatek: add mt7629 pwm support") But, due to we use comaptible string separately for every SoC now, The comaptible string in dt-bindings should be "mediatek,mt7629-pwm". I think we should use "[v10,11/12] dt-bindings: pwm: update bindings for MT7629" to replace commit 1c00ad6ebf36aa3b0fa598a48b8ae59782be4121, Or maybe we need a little modification like this ? diff --git a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt ... - - "mediatek,mt7629-pwm", "mediatek,mt7622-pwm": found on mt7629 SoC. + - "mediatek,mt7629-pwm": found on mt7629 SoC. Thanks, Regards, Sam