Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp203829rdb; Thu, 18 Jan 2024 00:33:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFwKx9UbXpUnhgcRV/WEGpB7WIfJMXRoDgx8OIsKQOsV/hgpusSNzRg6t2d2nRX59PaWBMW X-Received: by 2002:a05:6808:14c6:b0:3bd:9ca5:e83a with SMTP id f6-20020a05680814c600b003bd9ca5e83amr686628oiw.15.1705566802326; Thu, 18 Jan 2024 00:33:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705566802; cv=pass; d=google.com; s=arc-20160816; b=EmfmvZpOERM9MjRsP9oRtqUJeIt8HH+bF2DKrvOEPQQ/5QPJFGvYRXVcjVbNH5cCkl b3kbB2VpbrCp9ObnjB4UVK/Z7zBsyfs/j/9Jf9NppqCX3YLVWdy/lEk52MX/1DQpVXmM v66V7lF5e1cAEuc/fGun7Gk5WdfFvDGpnGjmALKPZ5YWE1bPN2KUt/PZuLfPGlv1srMy xaH229W+e7CqhL0RPPPvkTnPavAkJlsHFjB3B/EQPbc0UpRBE7dHw+Mu4OivWQTqvv6Q +D7npdukq/gWr7jppREYPDZ4H4CrS36ecqOlRexZa+/hC7HZOr4zDS0xr3KNVJ28Q5IH QMZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=lDanKa6biOSMcdpV3el5K98avC+hy0Qiy3wCta3es1I=; fh=gJh77Avw4IhkYeeYewwevPNz85+tUhVW6VY//mTMoDU=; b=X7QJv1zTIsAxKfjhRJw8UbJxm2JHVgskzRqgTxHN2K4UgACmf+5IpRc5LdwEHlapBh gxLg50xCsW+zA2MPqREDflurZyd5IDAy/1Is7rZHI6ralP6PYDnWT4LncpNX/b8rdQCs 04hvNtavLD4E6o1xTbqk24pfg/6jSCFiQSp836WxQgPUtnTRx/8ndevaiYCfHIhWRIWK UcmD8BWMPLNoUhs6lq7auBa1AdOdcGI1LyUHU0GmhAKzBoZS5iPVLspfzdNlPfB+HWhO fBvN/C/dlOPkBebrh7MpKp3MbhldnEA9GlcwOZC/wgLWSzaxKsY3uCK64kzvblq791Ze XSjA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UPFdF8a3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-29860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a21-20020a62e215000000b006dae5688384si3113697pfi.154.2024.01.18.00.33.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 00:33:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UPFdF8a3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-29860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6C7AEB25935 for ; Thu, 18 Jan 2024 08:26:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BC1A2941D; Thu, 18 Jan 2024 08:23:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UPFdF8a3" 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 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: 8bit 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önig 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 = "cirrus,ep9301-pwm"; + reg = <0x80910000 0x10>; + clocks = <&syscon EP93XX_CLK_PWM>; + #pwm-cells = <3>; + }; -- 2.41.0