From nobody Fri Dec 19 11:02:51 2025 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23575157495; Tue, 2 Jul 2024 12:34:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.89.224.132 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719923683; cv=none; b=uWoAuzKWn0u3nIfQv72iL+TLAgX0NENfiLoKdHf7f7lbOzmqnX4rd3bgCSYMTE1VH9xBFYY3VOUk1nelgjDsiV3rSNl4egdfq95z74v9VLRfrygnNtpKyDtu4fmMtkb6nSc83ryMH8qybRl9yItGgIr7ong76ZJ47KX4PGh7XcE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719923683; c=relaxed/simple; bh=v+Wbyz/uzFYfYzbt91vusJuku2xYijWJ5vYIZM7Xt5U=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fSXmjG/dbfzqlFHg25m/wp7BIQh72CEUBSY/TcRXi2pM9cm8zULhHzNb/fSdUcY36WI5y+qGZWRIsd0i2bZE11FQbC8ZpymWMg3yY9TWMJ1z3KSnn65xuXdwzndZjRkUzmZ1ejKkitlAE0zFsI18Zh9NjrYk2cOQTdeNKfR7aSc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=salutedevices.com; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=kR6wFef3; arc=none smtp.client-ip=45.89.224.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="kR6wFef3" Received: from p-infra-ksmg-sc-msk02.sberdevices.ru (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id AD3CB12000A; Tue, 2 Jul 2024 15:34:38 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru AD3CB12000A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1719923678; bh=YsS86RGaWExWmogxSn78oIF5DsMJBNENJhMMxRJtIAU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=kR6wFef3eWU8Hrl+Xy7DtWV8JIK1j8YqN7i3lPlYpNENXaWaIz24ir8De36fY7+Ts FCbmSIRoSOvWOzkITB4L4fdpAFpUGnPF3Mmtwsa473dW3JCvl/14iLnDa0uCsXC936 aDbTJAyASh71oK8ZGdEWKAYeosHURipACFOATWgMSb2DRnmxUaPlWHvuKolzZGWjh7 /iUCv9rpTzuOc10ZV80jHCi0SU4o6AQM83DtvLfymBG3pV0sfduN1kZ9RTHoVO9jUj 6XRgig/dREh930fsj9AxL7hEiWZQYHCFQOwJvk1OgZkoaIO57iiveqmKbY40Flh7z1 9/cBMbXC1RF1Q== 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; Tue, 2 Jul 2024 15:34:38 +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; Tue, 2 Jul 2024 15:34:38 +0300 From: George Stark To: , , , , , , , , CC: , , , , , , George Stark , Dmitry Rokosov Subject: [PATCH v3 1/2] dt-bindings: pwm: amlogic: Add new bindings for meson A1 PWM Date: Tue, 2 Jul 2024 15:34:24 +0300 Message-ID: <20240702123425.584610-2-gnstark@salutedevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240702123425.584610-1-gnstark@salutedevices.com> References: <20240702123425.584610-1-gnstark@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) 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: 186277 [Jul 02 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: 21 0.3.21 ebee5449fc125b2da45f1a6a6bc2c5c0c3ad0e05, {Tracking_from_domain_doesnt_match_to}, smtp.sberdevices.ru:7.1.1,5.0.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;100.64.160.123:7.1.2;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/02 07:59:00 #25796134 X-KSMG-AntiVirus-Status: Clean, skipped Content-Type: text/plain; charset="utf-8" The chip has 3 dual-channel PWM modules PWM_AB, PWM_CD, PWM_EF. Signed-off-by: George Stark Signed-off-by: Dmitry Rokosov Acked-by: Conor Dooley --- .../devicetree/bindings/pwm/pwm-amlogic.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml b/Docum= entation/devicetree/bindings/pwm/pwm-amlogic.yaml index 1d71d4f8f328..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 @@ -56,6 +60,9 @@ properties: minItems: 1 maxItems: 2 =20 + power-domains: + maxItems: 1 + "#pwm-cells": const: 3 =20 @@ -136,6 +143,16 @@ allOf: required: - clocks =20 + - if: + properties: + compatible: + contains: + enum: + - amlogic,meson-a1-pwm + then: + required: + - power-domains + additionalProperties: false =20 examples: --=20 2.25.1