Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5419066ybx; Sun, 10 Nov 2019 12:53:52 -0800 (PST) X-Google-Smtp-Source: APXvYqw0lBZRvqDoBu2P5Q/aVQqsOuNlXTdWIUvl+pxsL2nOHGv9qT9/EX7Lmol9DV9Ofw/x3Jwa X-Received: by 2002:a05:6402:57:: with SMTP id f23mr22519101edu.257.1573419232375; Sun, 10 Nov 2019 12:53:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573419232; cv=none; d=google.com; s=arc-20160816; b=vRYFH9eHSYtndx3za6Q5Jj6ujr0lj2Klk3+OBrvYf32eCNhhhVFIGJs3/1lpdNicXI +1jQhmbQCziQBi/m1775+M6TjD63vuhYR5AyqyFBzOUPzpmo8lMVpkZUWnSipPF32hwV yMNLxcyhXWWBe9q+mz0H1jlg9Po6wg8Yp+1oW7XEuAl7vddhz6EYgKJ36A99Jz8pOzVo J5Cr+WP7RFKoRJDTpLG108MHJ7Rg1ne39VAFNpRhF9uRrUS0SaH8o77q+fStG2qJ9Nnv nm0PX8LT07CU5o4gMsYkeXoMpDXqrUJO5HwNhn+gD6Lo/T6c/8f6BISfCXxjHQya4lz4 kxiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=Ho3Z9+dyLzWgXFFV/oKnRZdWGk0Oq6P4ftGFLTY36fk=; b=01g6BBxynJ7hG7gu/r5GU3gIZ6XhMkad4LwwRlJmjL+7CrWf6+A1GHxdyLxGGPutp1 1VlpMSY+nuoQN12qzANZjN+dM3bX+c4Fzvf21cHfZypw/SvunWZ2xI7kbI2IC4dPXFri LaVXrjrGUWwWZED8y17hRSNSmHhCkx5VdTnB7PbYOobIDkNRTd6JVQjwKpObTIvcHhRF xwJK42XZsRn1OwQMuKITgWQHtQa1md0ZETAZIsVrqICGA+/ekulrsJHNAMaR7R8GJdtw E1WQdNNYqq5F5ROROLrpydVN+m2mIlh5084RYwH5lQ0r786NfOpPVdw7MKPVc51pNSdh WpTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vbk73AhZ; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c53si9392436eda.396.2019.11.10.12.53.29; Sun, 10 Nov 2019 12:53:52 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vbk73AhZ; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727030AbfKJUvP (ORCPT + 99 others); Sun, 10 Nov 2019 15:51:15 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44344 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726800AbfKJUvP (ORCPT ); Sun, 10 Nov 2019 15:51:15 -0500 Received: by mail-wr1-f67.google.com with SMTP id f2so12413346wrs.11; Sun, 10 Nov 2019 12:51:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Ho3Z9+dyLzWgXFFV/oKnRZdWGk0Oq6P4ftGFLTY36fk=; b=vbk73AhZrRABAzA0KdgOWo7U4zGNAJ7O1qUM82AkSTtwOpBdEaLMYK5l3pkfvWoN0C O8EgHb9inEsyNlZwgbC3exesFDpKicwh4XmSfdh6R/Guc9FM4ajnGwW78rUUd2Yv/d4I RXfQEMfZwwavPOrIqYhacQpy6DX/JRM0EndgiLWIyl1TpsPEecVCKUMJ1gNnTNKwsnU/ yjxASCwosmvTUvImjKgNFc6xe5cVHPNWSlGmgV5GZiB7TgiUp84XxHkGy9X3NlhRl9DG jpdahDzMk+whrrNYs6eOI8OukmBhiNdru3rJV1Cqdy9h3oMwMVjVY9ngHiyhIk4OBaWx JT1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Ho3Z9+dyLzWgXFFV/oKnRZdWGk0Oq6P4ftGFLTY36fk=; b=dCMs6Nrv1/XeCyRETjn0s+m1+slSW5F0480J2F/+n9MogdwacEHLZOp3CUwt3glpme uDxq9JF7dT3UraH6hgjyFOqbwFEQaXPaCGSoExWX/f6RF3zKdFG5xbyCycInUY7xPvTH MrrL5K2o1djsFQ1SyAH75yOfSjAnGMqscOvh7U3Md0YbVXnVYnTtysxGpX4pzGM0sdLu 2nsRh0OOFyrCe5IYpZh7POo57HNzug7yTrEu7SNyCKF0l30Jcd2xM5nFjT5mx1HHGSaE jm3GqulmGvyS973gS+m7gO/Tf/qX4Ox/k8gyYMwT8QCJz7KdOXexbHd0Obguu90oFsvA U7ng== X-Gm-Message-State: APjAAAU8BaEjemagiAfnuCH5dV2umM1t6Lff3xIHIopezNr6ESWzpoCn r69TY298BlRvMw/YVpNxw3M= X-Received: by 2002:adf:9ec7:: with SMTP id b7mr18162618wrf.221.1573419071748; Sun, 10 Nov 2019 12:51:11 -0800 (PST) Received: from ziggy.stardust ([95.169.226.39]) by smtp.gmail.com with ESMTPSA id g5sm13851536wma.43.2019.11.10.12.51.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Nov 2019 12:51:10 -0800 (PST) Subject: Re: [RESEND, PATCH 1/1] arm: dts: mediatek: add mt7629 pwm support To: Sam Shih , Rob Herring , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <1571751001-28588-1-git-send-email-sam.shih@mediatek.com> <1571751001-28588-2-git-send-email-sam.shih@mediatek.com> From: Matthias Brugger Autocrypt: addr=matthias.bgg@gmail.com; prefer-encrypt=mutual; keydata= mQINBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi0WZwslCNaGFrS4M7OH+aOJeqK fx5dIv2CEbxc6xnHY7dwkcHikTA4QdbdFeUSuj4YhIZ+0QlDVtS1QEXyvZbZky7ur9rHkZvP ZqlUsLJ2nOqsmahMTIQ8Mgx9SLEShWqD4kOF4zNfPJsgEMB49KbS2o9jxbGB+JKupjNddfxZ HlH1KF8QwCMZEYaTNogrVazuEJzx6JdRpR3sFda/0x5qjTadwIW6Cl9tkqe2h391dOGX1eOA 1ntn9O/39KqSrWNGvm+1raHK+Ev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noat4GCnL5gy/m0Qk45l4PFqwWXVLo9AQg2Kp3mlI FZ6fsEKIAN5hxlbNvNb9V2Zo5bFZjPWPFTxOteM0omUAS+QopwU0yPLLGJVf2iCmItHcUXI+ r2JwH1CJjrHWeQEI2ucSKsNa8FllDmG/fQ== Message-ID: <31fddc2b-65c7-02e8-dca2-b5d6dc050f87@gmail.com> Date: Sun, 10 Nov 2019 21:51:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <1571751001-28588-2-git-send-email-sam.shih@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/10/2019 15:30, Sam Shih wrote: > This adds pwm support for MT7629. > Used: > https://patchwork.kernel.org/patch/11160851/ > > Signed-off-by: Sam Shih > --- > arch/arm/boot/dts/mt7629.dtsi | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi > index 9608bc2ccb3f..24375fc5f936 100644 > --- a/arch/arm/boot/dts/mt7629.dtsi > +++ b/arch/arm/boot/dts/mt7629.dtsi > @@ -241,6 +241,21 @@ > status = "disabled"; > }; > > + pwm: pwm@11006000 { > + compatible = "mediatek,mt7629-pwm"; > + reg = <0x11006000 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>; num-pwms is not defined. Did you mean pwm-cells? Regards, Matthias > + status = "disabled"; > + }; > + > i2c: i2c@11007000 { > compatible = "mediatek,mt7629-i2c", > "mediatek,mt2712-i2c"; >