From nobody Thu Dec 25 10:53:19 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B4A17134A8; Thu, 18 Jan 2024 08:22:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705566179; cv=none; b=j+S3Nk97uGN3wuqZLqpofylg3sBKoKXqNMEj4txi3QSnMJhKGPYGFSTT1lt+GaDp4B8Hz8COMNrbozayZfLHTp6WExouq52LYdGME4OpBCHaXNIybD0l7q0LiAiukVYu0MiXM1mSXjrQxGrPKqLKJ/f0+KYhspLUfOFnFiv6jog= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705566179; c=relaxed/simple; bh=a/cZdGJuuVrU9Ek8D9oilewhzZsfNMnr7caWbQucbUk=; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-Endpoint-Received:X-Original-From:Reply-To; b=PcO8onAfoSbnaxNfjZ9YfAJAyX7qQA0d1zW51oiu0UfzGia3eNOBD1TGOu/HQ2ipX2GJCLEIcN7sjKSew9YzciIDH30xvxAMsSp7sNgAHhjJG/aCyHg0xhxujO+EyKeurycJrXlCk2Nm/arjLu9+SKmI5wX8Joog19Gkute1mxU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UPFdF8a3; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UPFdF8a3" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4E859C41630; Thu, 18 Jan 2024 08:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705566179; bh=a/cZdGJuuVrU9Ek8D9oilewhzZsfNMnr7caWbQucbUk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=UPFdF8a3EPNH7Z0UqMtBkux6UCHQxHabOk+aiA98iQx4lpbeVQp5nhiWEtS1UPoU4 n4XzXTPjD98n2qb2df9gsDfk/BOknGLb7IaI88+Po/TRfAwCw9kWVRmPztlE3HSGaF b51Qfr0t6c6urPI933zJCA8cXMw7QD1b87XQjzyLk7IqbraUQ77Z44bJn7u8piXo+p dPzZtU9BLi2QnRup+zLdPIPv1WgUzx3VM181vAyoBP6bfTITQcC2qVWNyC93v9cW69 EwJMvSTWeK0hwbvGngjeyGP5ypwGdd4eJEuQKjM/E0+sG/ifodvdbhY6VoKGgB0gBZ /ZuK1uhHpM1AQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4106EC47DB1; Thu, 18 Jan 2024 08:22:59 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Thu, 18 Jan 2024 11:20:56 +0300 Subject: [PATCH v7 13/39] dt-bindings: pwm: Add Cirrus EP93xx Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240118-ep93xx-v7-13-d953846ae771@maquefel.me> References: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> In-Reply-To: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Sverdlin , Nikita Shubin Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705566176; l=1848; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=yiCeIO46pBt38m6arFX6dYafL64TrLSuKy+InISqKkU=; =?utf-8?q?b=3Dw8Yjf4SWzXVP?= =?utf-8?q?b7HxuYY/ZOvwMzW9mem8nLJbLZrmHS228hxVyDwgj+m9an977wrlo1kDJPCxMr6m?= Uf5yQAocDeOhPvFiebQk0PX0mhs/p489sQibmAuyZ/B3XZTgD+PW X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin Reply-To: From: Nikita Shubin Add YAML bindings for ep93xx SoC PWM. Acked-by: Uwe Kleine-K=C3=B6nig Reviewed-by: Krzysztof Kozlowski Signed-off-by: Nikita Shubin --- .../devicetree/bindings/pwm/cirrus,ep9301-pwm.yaml | 53 ++++++++++++++++++= ++++ 1 file changed, 53 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/cirrus,ep9301-pwm.yaml b= /Documentation/devicetree/bindings/pwm/cirrus,ep9301-pwm.yaml new file mode 100644 index 000000000000..903210ef9c31 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/cirrus,ep9301-pwm.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/cirrus,ep9301-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic ep93xx PWM controller + +maintainers: + - Alexander Sverdlin + - Nikita Shubin + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-pwm + - items: + - enum: + - cirrus,ep9302-pwm + - cirrus,ep9307-pwm + - cirrus,ep9312-pwm + - cirrus,ep9315-pwm + - const: cirrus,ep9301-pwm + + reg: + maxItems: 1 + + clocks: + items: + - description: SoC PWM clock + + "#pwm-cells": + const: 3 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + pwm@80910000 { + compatible =3D "cirrus,ep9301-pwm"; + reg =3D <0x80910000 0x10>; + clocks =3D <&syscon EP93XX_CLK_PWM>; + #pwm-cells =3D <3>; + }; --=20 2.41.0