Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1155048rbb; Sun, 25 Feb 2024 23:41:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWfB5/ilMtPsWjNQM1e8kQCwQicXcTQJBKQ2BBmPWAYbaJFXTv5nn07ExF49zENZu/Q+gfbUwsaES6ISsYl2SHaEzEYmfQhKA8Kzbewmg== X-Google-Smtp-Source: AGHT+IEZvUu2YThIQlUMhEIYmuPqzukyhsUfB6ZlFH35hOrHYqsw3V4/ukdAV6xUzlvN4xq9Zrpn X-Received: by 2002:a17:90a:9103:b0:299:8942:a35c with SMTP id k3-20020a17090a910300b002998942a35cmr3185161pjo.44.1708933305936; Sun, 25 Feb 2024 23:41:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708933305; cv=pass; d=google.com; s=arc-20160816; b=QhoZTgYr8b4o0k0PrPeR/7yauP0D6GfvGsNsdbNP0MUGeW3kjEF45jv+C/xgrFCD/I YLd/Zvs4f141tgzeG7AMjoMj5vc16yL+x7KNU5fFh5QvhAw31CL91mMXJF0HE2bzOLSw AkMddOjej3WQkn+2YiXSJAZBUSEKnp1gOAT3laKYEWIoSJ+R+h5ZKi7AS0ZRWK497gzl PaVjITdPN67PyVwcixHYWbZj9v5pSWXZEPnVuLhNXCXZ0ypB23vV4Ed4pTDPVtJJuvh9 CMbG7M6lYBG5g9yQdR0rA1WeOIjWrsQVzQPoGzksYQDHBfdt3B7Xa/mU53NqpjQR2zcx uAYQ== 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=udXO4lp1HWyT4SDvXfEyR5MXKaubH5SQjZiLBjdsBDF3EN2lFbvbAWtgsB+z2rZBFP RE436xYoD2+RSYWLkYGsiXuQ2Zdr4SI9rPb9wouZjPPkOjo30OFDj/1w9r2LgNs+J8X/ xsehxc8F7WhBuZ9IwjJttC28wywpguYuE/kC8RujC8zPOALsYqpiGgVwP8O3FYZunhQj IFQ+WFIjm5+qOD4Ss4Z368LTHxhxnnjQV2sO2IDXXy3ClyzD0AI5Hxh9dJ5FUDq3Tlm0 zngYSBxiO5vn44HMUaYBAvgPZQ41iv8HLyl+jGH/IDuCn2oEGIG3ybANyTjvDciKb9wE OU/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qk6dZav7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80646-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id mu3-20020a17090b388300b00298b0fab60csi3427682pjb.72.2024.02.25.23.41.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:41:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qk6dZav7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80646-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0FAED285A20 for ; Mon, 26 Feb 2024 07:34:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 498EC3A1C3; Mon, 26 Feb 2024 07:31:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qk6dZav7" 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 933D21C68F; Mon, 26 Feb 2024 07:31:22 +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=1708932682; cv=none; b=MdAM2l5EtrlWTAa9kQ5ZKb+hHZSZO8SjnYymO1IkA5WiSoPfuC97fQZuYdUOvC7AWfio1CdDS6FAgzmMd3yMpJDs/Kibeqq8LB7o7fvEErhcRaP1BY2RFSwe6gFEQ62q9E5LvJF5Slfb/GEa/5qFUlkYwJoMClB4pTuqPvmml2Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708932682; c=relaxed/simple; bh=a/cZdGJuuVrU9Ek8D9oilewhzZsfNMnr7caWbQucbUk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KW1nWNRYhAR+ZzzxtJuxVzNcI2GblUjM3VeN2N4nYKkQTS0Eo/oqqeGJNt6vZSJubzjfrEkQ/s+q+KTVbtF0NXQXRYZ1wJbN/9+/Iy6JS2uCyWjYfU4wSyY2sgrXxtWboOWmOeppOJGD7IQ/p1Ru1pdtBTNq8GXRtjzJ2ekce74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qk6dZav7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 7613BC32788; Mon, 26 Feb 2024 07:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708932682; bh=a/cZdGJuuVrU9Ek8D9oilewhzZsfNMnr7caWbQucbUk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=qk6dZav7s+A4d4CFww9p6Nr/0MUU5i+MkPflCQdHaNEZrQmjwQFMJRzcE1oXjN3V/ OEvb8Q5craw+cu0aRdy6nbdLoTe8RQmwW6cH5r+cNnifcftX7/m7633sm673KH3r16 JKkEflbYrZlQKbh3ZbDBwp5jWm2lSRLJ0D7YftLJ5NPtbKXNf/w+x+7nZI/w6AeFVu 9RFQ8jI4zSxj1eyGXlZdJFGpI5qhjk49HKyOHfSCa2TFIpaeExP/k1yJi6MtSyRj3k bNSSxlgVDdhFxWTxfbQT6haNbvA4r2/ELKysoeJ+YPJc1VGLn0KV21gej/r7eGl637 nLUvhR1v97vNQ== 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 60F1EC48BF6; Mon, 26 Feb 2024 07:31:22 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Mon, 26 Feb 2024 10:30:08 +0300 Subject: [PATCH v8 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: <20240226-ep93xx-v8-12-3136dca7238f@maquefel.me> References: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me> In-Reply-To: <20240226-ep93xx-v8-0-3136dca7238f@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=1708932678; l=1848; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=yiCeIO46pBt38m6arFX6dYafL64TrLSuKy+InISqKkU=; =?utf-8?q?b=3D/ooglb4B595l?= =?utf-8?q?y1L082Ry8IkNCo2FqMyYUuZBjAA4pBKqQuMeqXfwyaDAqC2zLCdk67XIZ0r7Jza2?= bx0wekPRCzRkP5IVJgjj/p3YFFBPCcoQazlGDwGnviUNI/OWl5ha 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