From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f13.google.com (mail-wm2-f13.google.com [74.125.225.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AC91513566 for ; Tue, 29 Sep 2026 12:58:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790686717; cv=none; b=FZHLoDehJXtaGq1oSg29HZBnKtCCKTdShk7ai1oFtVqXd0o+CA8tiKo0wX/9LPp7Lg6oB6sUWDfikaJt5+WiE2OHJek/1x1RUUD/cASg3pMR9jQDuHevy1olMOg51a51oQB2SAv0KW9BKrbLlanLyfaL80gOM+jPxHGSlfUQFK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790686717; c=relaxed/simple; bh=Go39NKKMwkuXXP/SejpjyZo/TgbX2bfpHuiP0B8nCjc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cp9rMT0E+CiSxXCINaQljdPn3v6wibtQw/vx7S4LfJcXPS61FY3ryRQLgAxmMfuGJR2aPAplG85QthOoUu1MHjQ1PTBDYTgiwdb04yAAwFhyJjimnRkoVpiWAro3Y+4YioAHWcR8pmKX3qjjQbdb2ThE8uGsUb9dcxT0hhJZo1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Km1ZcSou; arc=none smtp.client-ip=74.125.225.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Km1ZcSou" Received: by mail-wm2-f13.google.com with SMTP id 5b1f17b1804b1-49e721b5503so39111545e9.0 for ; Tue, 29 Sep 2026 05:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1790686714; x=1791291514; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=piB6olxsDjTKBBKWtT/80MoIuyo/txOuxpczb55KJIY=; b=Km1ZcSouHj1xJ6Pb/cCmthnOI+xJR4FZ8KHMc+mJfjRnm7g0DbGb2R4Tix2GT56dy1 5Xvjv+y+Dxie1tvr9Q6e/GSdNwjmzMf4YS17su/Cki6XfZO7hleXtAUSdtDvQF8MD+k1 mzpdWKyiqcXsS5h5XegNivuWv8uD7ETjiMQodD481S2iCJhuYJ7bIRqxhOL/kwVs2lES 7T/rb+ikC1M5lMAG7+y0bjHoP9/Xp93vUWRdSmYZtdzqUGC+yefJ+Q6wGBRHITmTlhh0 DE29s/QAMDNb3iH5j8V/LchkpavF1S1XT16NWQDSuLmIhrRI7mdgyMMtVLhaK5z5KdOZ HThg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790686714; x=1791291514; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=piB6olxsDjTKBBKWtT/80MoIuyo/txOuxpczb55KJIY=; b=yWZzkpGTjTPcoNUI63404GCEPISdbqm2iWlz/KevD15oHnQKjvo97KHgjf9G6Z6bge Yz2EGJnbqY2zm8yrvuBPeyXRbtw7waCIcu8HYCpS2lei0t7VZ3YyaJw3n27dN2qhTa/Z laRe5Hg+uxH5Afjj9EVlXuvZ9Bb2/J1HeFLTHzAiF6muIt9m0ga7J0JOXMna3hFIq2qv jnrBJYATnI3WoPGoY45xkiiTkSFzrKArhWNnMt4ZF7ewasfFZQBYyl8eKHGoHEv4Xo5W yigNYHR/iCK4SbVek6Izvq/HZ30mGOHMNxR6UYOWZXm9nOklt5T13G/7tH4g7W2Je5wH 1Zbw== X-Forwarded-Encrypted: i=1; AKwUvBxMDrdYNXUoc+CwU5rqDtC41fY0n1dfxqlTdBsItG/AwJwSJ2QzW79MRlc17x0iaukkfPoOe0q6dOswAvw=@vger.kernel.org X-Gm-Message-State: AFuF++mdmLdAqOHcVcLGHgeGZADR/ww6itNXxP7OZ3NvFoJ1z9vkfNrx PBVZ28mr+WQ1gUsFLiBDtnnGSur7gwx62hx7BWwsdedT/PJlhuprO6zD7FUb3Yrfr7o= X-Gm-Gg: AYBFou1jiJOddD3fbai5CiYjLyYcat2eJ7K2t0PDeU4BnzbpfkbwBbpbIAGpSWjyyvU NyORkBAQAFWh0eFItNHlZrbRpUBf4X8s730JZly/0iR5Y7Yf/nd1CANijW0tzdQ8EXoDKVoV3+0 NodRwXl207uID1PgukAw2fnuSTrpa0HA9C2c8eLiVQ9elihKo6LuUMnntJzv+T+iZBnFnRjYU7L 89axEIegSIw7WtFL0mG1Oc+C+bIPyLOrjE/VEtX88S/9xCXtv33lUD2S3ZuO9b7gNxY4OuniKRW q6DlyhjhvVgNRc6yMRtH2rrylQXRUt57WTCnM/L2VefexNUNxR/YoVfnyYrz+U+vIc4NvOKqKkN CmLikRE4NcG6ilLpOLDdLcsTP9VMj99tpnPWTe9FrptPsFJFJWNtfuBwEhwnx0vru+dk/SCqcVC mZ8W4DvfJA/ZcXsVaUbmgLQffb6GrWZu4jSmVr4uBBIkPEOBpSYiTm4DH3FYoU+2zLofRH9vS9s QntdVa1 X-Received: by 2002:a05:600c:4ed2:b0:49f:e3f2:f5a3 with SMTP id 5b1f17b1804b1-49fe6685393mr284862965e9.0.1790686713541; Tue, 29 Sep 2026 05:58:33 -0700 (PDT) Received: from localhost ([195.94.147.179]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a00cfe13a1sm75682335e9.5.2026.09.29.05.58.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2026 05:58:33 -0700 (PDT) From: Andrea della Porta To: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , linux-pwm@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Andrea della Porta , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Naushir Patuck , Stanimir Varbanov , mbrugger@suse.com, Sean Young , Julian Braha , "Gary Guo" , Christophe JAILLET Cc: Krzysztof Kozlowski Subject: [PATCH v12 1/2] dt-bindings: pwm: Add Raspberry Pi RP1 PWM controller Date: Tue, 29 Sep 2026 15:02:11 +0200 Message-ID: X-Mailer: git-send-email 2.51.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Naushir Patuck Add the devicetree binding documentation for the PWM controller found in the Raspberry Pi RP1 chipset. Signed-off-by: Naushir Patuck Co-developed-by: Stanimir Varbanov Signed-off-by: Stanimir Varbanov Signed-off-by: Andrea della Porta Reviewed-by: Krzysztof Kozlowski --- .../bindings/pwm/raspberrypi,rp1-pwm.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/raspberrypi,rp1-pwm.yaml diff --git a/Documentation/devicetree/bindings/pwm/raspberrypi,rp1-pwm.yaml b/Documentation/devicetree/bindings/pwm/raspberrypi,rp1-pwm.yaml new file mode 100644 index 0000000000000..be020583fd0ba --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/raspberrypi,rp1-pwm.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/raspberrypi,rp1-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raspberry Pi RP1 PWM controller + +maintainers: + - Naushir Patuck + - Andrea della Porta + - Stanimir Varbanov + +allOf: + - $ref: pwm.yaml# + +description: | + The PWM peripheral is a flexible waveform generator with a + variety of operational modes. It has the following features: + - four independent output channels + - 32-bit counter widths + - Seven output generation modes + - Optional per-channel output inversion + - Optional duty-cycle data FIFO with DMA support + - Optional sigma-delta noise shaping engine + Serves as a fan speed provider to other nodes for a PWM-connected + fan. + +properties: + compatible: + const: raspberrypi,rp1-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#pwm-cells": + const: 3 + + dmas: + maxItems: 1 + description: | + Phandle to the DMA controller and the channel specifier for + the duty-cycle FIFO. + + dma-names: + items: + - const: tx + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + pwm@98000 { + compatible = "raspberrypi,rp1-pwm"; + reg = <0x98000 0x100>; + clocks = <&rp1_clocks 17>; + #pwm-cells = <3>; + }; -- 2.35.3