Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp759592qtx; Mon, 31 Oct 2022 13:12:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5pwWRS8KSHXH/rNjQCcuviq0k1SOFRnAuuvD0m1yxb6/7M9+LhN1xkVD4aAql2S6mq8B7h X-Received: by 2002:a05:6402:5187:b0:461:ac01:7512 with SMTP id q7-20020a056402518700b00461ac017512mr15357980edd.327.1667247146444; Mon, 31 Oct 2022 13:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667247146; cv=none; d=google.com; s=arc-20160816; b=soumml29i7m2Md1m2VTdr0Y7kleG//Oa4X30sUzqLwrZhbjLzt38p+hq22XBoZUdMl MuFiI+1lRx3x5mhHJ2mAMzBXy0GUvyMwKCTu1iSfcldiErzEG7uoDvF2TmYeDIHQ0Hmv ZjU/fwFpGDJTHxtkOPfQu19D0WuuMXx/KVI8kNdm9UcSoA+6rhXAGI3xp5NDytxSA6g1 gUa+IoWQJiiG0NgzRwYLvhFw1TvaI2kSY2ae5rM4Z4L0hdfSUMMSS4aBBrsLQRB0nCHI 5mGoZ30ZvPb6ndL4TtprgSTS7MBm5vTVSLTzRJmThFgTbOXV1VLUlFWxQdAQjhBwuq9B 9w1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=cwno6K2Qqv+JXL4Utet5qWElq4dGxhdrJi1ZpXfBTwc=; b=HToAQ9zuOWAgtoap8Le9nJhBDChyy5ZgBkgivCc4aXjJGLp/8rKKjefPjc7RmxdFEC 3znrZ02F0S2UKZTzUklwrHBLL0OXiANyjQ/h2Q8y9yNGuoiUJPUgtmzSkviW1/keR7qG +y2Q8t86DPLhKK4KzvuMakw3D9227xJLtq3qnKTbRPAfsHa5BkJqIRZAsXzEEkywe+Sr lkFXvl6Aoyr85RSAst/PUu6rV8k/9LVC4Z2bPrApHCFfa5YOeAmKbDhyS2lgUpWwvBld D7eIg/ZIerMEolfPd2Tukqx4aU1KTjxmbm2W6vJ2kADssLq6EBkqZ2p/CewojFmFjcid OFyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020a1709064d5100b00787c0e9818csi6880060ejv.568.2022.10.31.13.12.02; Mon, 31 Oct 2022 13:12:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229750AbiJaTXs (ORCPT + 98 others); Mon, 31 Oct 2022 15:23:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbiJaTXp (ORCPT ); Mon, 31 Oct 2022 15:23:45 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30CF212AE0; Mon, 31 Oct 2022 12:23:41 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94.2) (envelope-from ) id 1opaNj-0008Uc-L3; Mon, 31 Oct 2022 20:23:35 +0100 Date: Mon, 31 Oct 2022 19:23:28 +0000 From: Daniel Golle To: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Matthias Brugger Cc: Fabien Parent , Zhi Mao , Sam Shih Subject: [PATCH v2] dt-bindings: pwm: mediatek: Add compatible for MT7986 Message-ID: References: <6f28ccf3-ea27-9d5e-bd67-14f7729f713f@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f28ccf3-ea27-9d5e-bd67-14f7729f713f@linaro.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add new compatible string for MT7986 PWM and list compatible units for existing entries. Also make sure the number of pwm1-X clocks is listed for all supported units. Signed-off-by: Daniel Golle --- .../devicetree/bindings/pwm/pwm-mediatek.txt | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt index 554c96b6d0c3e0..952a338e06e7c5 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt @@ -2,14 +2,15 @@ MediaTek PWM controller Required properties: - compatible: should be "mediatek,-pwm": - - "mediatek,mt2712-pwm": found on mt2712 SoC. + - "mediatek,mt2712-pwm", "mediatek,mt6795-pwm": found on mt2712 SoC. - "mediatek,mt6795-pwm": found on mt6795 SoC. - - "mediatek,mt7622-pwm": found on mt7622 SoC. - - "mediatek,mt7623-pwm": found on mt7623 SoC. + - "mediatek,mt7622-pwm", "mediatek,mt8195-pwm", "mediatek,mt8183-pwm", "mediatek,mt7986-pwm": found on mt7622 SoC. + - "mediatek,mt7623-pwm", "mediatek,mt7628-pwm": found on mt7623 SoC. - "mediatek,mt7628-pwm": found on mt7628 SoC. - "mediatek,mt7629-pwm": found on mt7629 SoC. - - "mediatek,mt8183-pwm": found on mt8183 SoC. - - "mediatek,mt8195-pwm", "mediatek,mt8183-pwm": found on mt8195 SoC. + - "mediatek,mt7986-pwm": found on mt7986 SoC. + - "mediatek,mt8183-pwm", "mediatek,mt7986-pwm": found on mt8183 SoC. + - "mediatek,mt8195-pwm", "mediatek,mt8183-pwm", "mediatek,mt7986-pwm": found on mt8195 SoC. - "mediatek,mt8365-pwm": found on mt8365 SoC. - "mediatek,mt8516-pwm": found on mt8516 SoC. - reg: physical base address and length of the controller's registers. @@ -20,11 +21,14 @@ Required properties: has no clocks - "top": the top clock generator - "main": clock used by the PWM core + - "pwm1" : the PWM1 clock for mt7629 + - "pwm1-2": the two per PWM clocks for mt7986 - "pwm1-3": the three per PWM clocks for mt8365 - - "pwm1-8": the eight per PWM clocks for mt2712 + - "pwm1-4": the four per PWM clocks for mt7628 or mt8183 + - "pwm1-5": the five per PWM clocks for mt7623 or mt8516 - "pwm1-6": the six per PWM clocks for mt7622 - - "pwm1-5": the five per PWM clocks for mt7623 - - "pwm1" : the PWM1 clock for mt7629 + - "pwm1-7": the seven per PWM clocks for mt6795 + - "pwm1-8": the eight per PWM clocks for mt2712 - pinctrl-names: Must contain a "default" entry. - pinctrl-0: One property must exist for each entry in pinctrl-names. See pinctrl/pinctrl-bindings.txt for details of the property values. -- 2.38.1