From patchwork Wed Jul 10 23:41:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Stark X-Patchwork-Id: 13729844 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8F16AC3DA42 for ; Wed, 10 Jul 2024 23:41:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YRc32hqviJee52gRGbKzD/ErbPZsdtscmzXEncQ5jf8=; b=AhRbiYmL1PvzsC /XWN548QDbA8zRrvbxj2BRiPixRS70Rrld+zYoYaikO8tb1FTTESifGlizBnhy5EOHgaI/bLmvjs+ cuXMjuFCHFL7QdTYzk7e2Pl8WGGZCq8ww/AWp8Cxt4wUY2EaUEI4vczZ7x7LyIjB7FwKR6rATYxil NcIvWXgbaUdIUM4ZyqPH5+EIP75dZHnKGFHAF4fJFgThxt/JMqKBeRa6UaUzJe+4Xxrx6jQVS4U7v 0MOoiTGcNDPz4+XmrqUu/w4tZVgG6/ARbdFo+BYeboksTGr285m2DmIEomgdgb58SELVYoyIgmnR5 wfD/RMCueW3KBOdXCOOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRgwU-0000000C6dA-1xuh; Wed, 10 Jul 2024 23:41:46 +0000 Received: from mx1.sberdevices.ru ([37.18.73.165]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRgwB-0000000C6Wn-2B3x; Wed, 10 Jul 2024 23:41:30 +0000 Received: from p-infra-ksmg-sc-msk01.sberdevices.ru (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id A032B10000C; Thu, 11 Jul 2024 02:41:23 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru A032B10000C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1720654883; bh=8i5Z3Q938Hng3eekptCv0bet0XPj9y0elsKI+ej4mzU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=bBX7uD8qdTEF2iWaKaeHytZwQBvFHeqXWgg/bTP1ZG4Xw6h3HtZAWgNyw6T4TE2Ka JatG67Wwx5/4l34Q55PTLfboBoS306sl35TMIh37EksWXHn431wumwVVij+Ng0KRBr tJBcDBPNItokrOr1amFYGQMH4qdW66ohdM1y1K0bZSb/MaoCUpDYZhrmOw7EJrT5uy kAvhTq3/tD7VRlWszU3RdFGL/WORZYlQQex+zBQi6uZtPr0x+bxhXbO7v0HOit6RXS cEDvP25WG65bzKIiFuCmhyjCQ7q/n6B6SVNRgUERIBX3Qo8iKOewl/1MXXV7+9XONV Vc9LCI3/T3BZQ== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Thu, 11 Jul 2024 02:41:23 +0300 (MSK) Received: from work.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 11 Jul 2024 02:41:23 +0300 From: George Stark To: , , , , , , , , CC: , , , , , , George Stark , Dmitry Rokosov Subject: [PATCH v4 2/3] dt-bindings: pwm: amlogic: Add new bindings for meson A1 PWM Date: Thu, 11 Jul 2024 02:41:15 +0300 Message-ID: <20240710234116.2370655-3-gnstark@salutedevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240710234116.2370655-1-gnstark@salutedevices.com> References: <20240710234116.2370655-1-gnstark@salutedevices.com> MIME-Version: 1.0 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 186446 [Jul 10 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 X-KSMG-AntiSpam-Envelope-From: gnstark@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 24 0.3.24 186c4d603b899ccfd4883d230c53f273b80e467f, {Tracking_from_domain_doesnt_match_to}, 100.64.160.123:7.1.2;smtp.sberdevices.ru:5.0.1,7.1.1;127.0.0.199:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;salutedevices.com:7.1.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/07/10 21:42:00 #25942395 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240710_164128_256575_949BF4D4 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org The chip has 3 dual-channel PWM modules PWM_AB, PWM_CD, PWM_EF. Signed-off-by: George Stark Signed-off-by: Dmitry Rokosov --- .../devicetree/bindings/pwm/pwm-amlogic.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml index 267908c2bf7b..e021cf59421a 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml +++ b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml @@ -37,6 +37,10 @@ properties: - enum: - amlogic,meson8-pwm-v2 - amlogic,meson-s4-pwm + - items: + - enum: + - amlogic,meson-a1-pwm + - const: amlogic,meson-s4-pwm - items: - enum: - amlogic,meson8b-pwm-v2 @@ -139,6 +143,16 @@ allOf: required: - clocks + - if: + properties: + compatible: + contains: + enum: + - amlogic,meson-a1-pwm + then: + required: + - power-domains + additionalProperties: false examples: