Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3204263lqp; Tue, 26 Mar 2024 02:39:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWM8v7oxoEciCRczVRCK2lfA1ZmAQPoZsnmuZj/MXkihp7sN20LZ0oM4fCy3FZbmxvV2r2ZkRv0fXsPD9FW4MtoLv3Q/QcWVegdJ8HGww== X-Google-Smtp-Source: AGHT+IHaUNCcDyU2J1ZrwSEQb1oxjrYmHZYFv4RrClxDjZYmJv1mZClXVSZzZN26e3a34FqIO2wa X-Received: by 2002:a05:6a00:170b:b0:6ea:b610:eaff with SMTP id h11-20020a056a00170b00b006eab610eaffmr3460041pfc.21.1711445951602; Tue, 26 Mar 2024 02:39:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711445951; cv=pass; d=google.com; s=arc-20160816; b=TtQ764BJH6uuxLh/qRcWDY7WpC5nNQmVtuRk1TCOHEngOWpf2IAc2OxuV4l6M0e4+G hAIXomhGasKent2/sUaoZfZie84/kJRjRSKoqPxLkJ0/7lb/Tbh4+YaP4v43uB+mIC2p FQV4GJdOBcOfkhnZWYT+IuLIlpLHtHwsGH1AdyMm+0c4vjyLCNgfOebUoxAVUR7T6hTN P3Vl9rdQ3KHMDw1g+0KOVIKS7WfYYhrhynDMDhAOD/1+sOBH+EoM53cdP6ZGjiiW3Cmg PWm/HcYwWMUsoUlODpKAQOuTzyRuRfLxxE6/0aOGBomWfwQJd3t8ko4iBsvqNVXvy32k nj6A== 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=H2/QVXU903qMXOXyUSBhoKTtDj7owp6KCfRwpQ3+uT8=; b=TEz6a/HyMR4yT9xyTisD7KB1mTJaE+swvNTv228R0PI1Dr7K9AmHQEPZPQkQlTO+QJ Fo+dnu9gvfk1CVDSpg6uE+TB4+MjOXPfqn0fDxcLm873MJULBUcovUTwhs7xYpepBHbK 0LCwcJLTsd6O+ov1nY0/9hanQMAaWn9oE66YWZkmyr2a+w32iF7kM4Qw77Yznm21fzL3 GsKdEDvBmLykAgiQaW/AAVbqZRl9DmxRoBlvwSP7fYOrXIwrpr6tmJq96aQoSFaR2wne fGwFm2MDYnlcjy0p0WDJE/NLXvaWj9R1uHB0s79ni/BrGY9isOuHFTCI2DsF6tL/DfYv XvLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cZZvFx2n; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118646-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118646-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. [147.75.48.161]) by mx.google.com with ESMTPS id ei49-20020a056a0080f100b006ea8148913esi6817595pfb.338.2024.03.26.02.39.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 02:39:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118646-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cZZvFx2n; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118646-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118646-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 63768B25FB1 for ; Tue, 26 Mar 2024 09:25:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DDCB81ABA; Tue, 26 Mar 2024 09:20:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cZZvFx2n" 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 3AE866BB4C; Tue, 26 Mar 2024 09:20:42 +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=1711444842; cv=none; b=tsY6HdKviQapBInhg4gDKNMf1/7pUKuRPniDUDQ225zHyq4BnrynwgzS/itFNS/O+6zUXsKBgZMND4vNp4CPuq5FPl8inp17FsSyLPCJiXo/QM81kUFhR72OViRxIGp1go4y2ipUYEf5OApPLbjCo+EFLg75L8HNfZIkD7vuDHM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711444842; c=relaxed/simple; bh=a/cZdGJuuVrU9Ek8D9oilewhzZsfNMnr7caWbQucbUk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=e5JbkVQ+/D8uDY3uG8BMObVjC6PHTmN7hlVnBV7CP4Ik/nFoujHQ3YWQFAeXT4aoE0W9ImqUEiwYwVSkG9LVd3ZjTFcdmj7S+Tcb7Uz0tdxIwiiK2MIK/jYxRumbccgxZ9teMF8ahXpfq+Xg2go2xbhLe3LVYRi3VHgU2OKyufc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cZZvFx2n; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 8BF4AC32791; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711444841; bh=a/cZdGJuuVrU9Ek8D9oilewhzZsfNMnr7caWbQucbUk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=cZZvFx2n8bpYz0zW3hGOIzdmY3AOIZMBThuFbgA/0mezBBGawwzU5RPiHPukAeS8X TC/+jlD0A6V8YXOKvP1ML1Tb1+HPekuxWwWU46vr9l+Yqwfw0u188MX7N32RhMl9/3 KTT6yfG1FxBNYVkzp9O77DQ7oy9AS3Gj1Rcm2mXFsFxjFTkUvPB+lkFtHDtvaopiXd Vn+Q/pM5I1LlXrnSh8JB53ZnIhvYiY1QYjySJIyVJ1IQ7G3we9aKoFWlYXEBpVJWy5 L6zNuipOxbFsbMZ86NI2zkuaWgFUTOUtf2LJh+kziq1PW9yfbCCtcxNaCYr6VdvE6C ur+TTpLjs/UWQ== 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 81099CD1280; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Tue, 26 Mar 2024 12:18:39 +0300 Subject: [PATCH v9 12/38] 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: <20240326-ep93xx-v9-12-156e2ae5dfc8@maquefel.me> References: <20240326-ep93xx-v9-0-156e2ae5dfc8@maquefel.me> In-Reply-To: <20240326-ep93xx-v9-0-156e2ae5dfc8@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=1711444837; l=1848; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=yiCeIO46pBt38m6arFX6dYafL64TrLSuKy+InISqKkU=; b=R9Go8yn7wmlJhjN9k9V8ThMGwlzrTkPzjB0NUfy1Map/EfDt1b6/SE0maAa+A7MlmLdDEK7SI/hH 4HK/CNoGBeGyFXBamWAKTlr48VTNHgJZq59+Byp7mTVXNn4x1yQn 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: nikita.shubin@maquefel.me 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